repo stringlengths 4 140 | commit_id stringlengths 7 7 | rel_path stringlengths 1 3.5k | language stringclasses 37
values | url stringlengths 37 3.56k | raw_url stringlengths 54 3.58k | key stringlengths 20 3.54k | ok bool 1
class | status int64 200 200 | bytes int64 48 425k | content stringlengths 40 425k | worker_id int64 0 7 |
|---|---|---|---|---|---|---|---|---|---|---|---|
kiritoInd/FirstStore | 1661dc6 | lib/src/features/itemsDesc/views/ItemDetailsPage.dart | Dart | www.github.com/kiritoInd/FirstStore/tree/main/lib/src/features/itemsDesc/views/ItemDetailsPage.dart | https://raw.githubusercontent.com/kiritoInd/FirstStore/1661dc6/lib/src/features/itemsDesc/views/ItemDetailsPage.dart | kiritoInd/FirstStore 1661dc6 lib/src/features/itemsDesc/views/ItemDetailsPage.dart | true | 200 | 7,284 | import 'package:easyshop_app/src/features/itemsDesc/views/ratingPage.dart';
import 'package:easyshop_app/src/features/itemsDesc/views/widgets/rating.dart';
import 'package:easyshop_app/src/features/login/view/widgets/customElevatedButton.dart';
import 'package:easyshop_app/src/res/color_Pallet.dart';
import 'package:fl... | 3 |
nnowaf/mainumum | 5d361a7 | lib/font/customfont.dart | Dart | www.github.com/nnowaf/mainumum/tree/main/lib/font/customfont.dart | https://raw.githubusercontent.com/nnowaf/mainumum/5d361a7/lib/font/customfont.dart | nnowaf/mainumum 5d361a7 lib/font/customfont.dart | true | 200 | 356 |
import 'package:flutter/material.dart';
class FontCustom extends StatelessWidget {
@override
Widget build(BuildContext context){
return Center(
child: Text(
'Customing Text with Font',
style: TextStyle(
fontFamily: 'Roboto', fontSize: 32.0,
fontWeight: FontWeight.bol... | 4 |
samo388/final | 9a5987e | lib/main.dart | Dart | www.github.com/samo388/final/tree/main/lib/main.dart | https://raw.githubusercontent.com/samo388/final/9a5987e/lib/main.dart | samo388/final 9a5987e lib/main.dart | true | 200 | 1,897 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:finalpro/cubits/auth_cubit.dart';
import 'package:finalpro/firebase_options.dart';
import 'package:finalpro/home_... | 7 |
WarMac4964/BaatCheet | b49244c | lib/widgets/chat/message_bubble.dart | Dart | www.github.com/WarMac4964/BaatCheet/tree/main/lib/widgets/chat/message_bubble.dart | https://raw.githubusercontent.com/WarMac4964/BaatCheet/b49244c/lib/widgets/chat/message_bubble.dart | WarMac4964/BaatCheet b49244c lib/widgets/chat/message_bubble.dart | true | 200 | 2,713 | import 'package:flutter/material.dart';
class MessageBubble extends StatelessWidget {
final String message;
final bool isMe;
final String username;
final String imageUrl;
const MessageBubble(
{Key key,
@required this.message,
@required this.isMe,
@required this.username,
@requi... | 2 |
AnuroopFarkya11/gesturedetector | 80560e2 | lib/NotificationApp/firebase_messaging_services/messaging_services.dart | Dart | www.github.com/AnuroopFarkya11/gesturedetector/tree/main/lib/NotificationApp/firebase_messaging_services/messaging_services.dart | https://raw.githubusercontent.com/AnuroopFarkya11/gesturedetector/80560e2/lib/NotificationApp/firebase_messaging_services/messaging_services.dart | AnuroopFarkya11/gesturedetector 80560e2 lib/NotificationApp/firebase_messaging_services/messaging_services.dart | true | 200 | 1,550 | import 'dart:convert';
import 'dart:developer';
import 'dart:io';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_messaging/firebase_messaging.dart';
import 'package:flutter/material.dart';
import 'package:http/http.dart';
class FirebaseMessagingService {
static FirebaseMessaging fMe... | 5 |
devMohaned/2019-L3by-Flutter-Version | 634ebb5 | lib/services/url_opener.dart | Dart | www.github.com/devMohaned/2019-L3by-Flutter-Version/tree/main/lib/services/url_opener.dart | https://raw.githubusercontent.com/devMohaned/2019-L3by-Flutter-Version/634ebb5/lib/services/url_opener.dart | devMohaned/2019-L3by-Flutter-Version 634ebb5 lib/services/url_opener.dart | true | 200 | 877 | import 'package:flutter/material.dart';
import 'package:url_launcher/url_launcher.dart';
class UrlOpener{
void openWhatsApp(BuildContext context,String phone) async
{
var whatsappUrl ="whatsapp://send?phone=$phone";
await canLaunch(whatsappUrl)? launch(whatsappUrl):showSnackBar(context, 'WhatsApp Applicati... | 1 |
sofianabo/VMS-main | 256321f | lib/Link/API/AdminAPI/School/School_Screen_APIs/Grade_Screen/Grade_Screen_API.dart | Dart | www.github.com/sofianabo/VMS-main/tree/main/lib/Link/API/AdminAPI/School/School_Screen_APIs/Grade_Screen/Grade_Screen_API.dart | https://raw.githubusercontent.com/sofianabo/VMS-main/256321f/lib/Link/API/AdminAPI/School/School_Screen_APIs/Grade_Screen/Grade_Screen_API.dart | sofianabo/VMS-main 256321f lib/Link/API/AdminAPI/School/School_Screen_APIs/Grade_Screen/Grade_Screen_API.dart | true | 200 | 1,428 | import 'package:dio/dio.dart';
import 'package:flutter/widgets.dart';
import 'package:get/get.dart';
import 'package:vms_school/Link/API/API.dart';
import 'package:vms_school/Link/API/Error_API.dart';
import 'package:vms_school/Link/Controller/AdminController/School_Controllers/Grade_Controller.dart';
import 'package:v... | 6 |
junhyeon-Lee/naemonemon | 8704b05 | lib/models/local_model/group/group.dart | Dart | www.github.com/junhyeon-Lee/naemonemon/tree/main/lib/models/local_model/group/group.dart | https://raw.githubusercontent.com/junhyeon-Lee/naemonemon/8704b05/lib/models/local_model/group/group.dart | junhyeon-Lee/naemonemon 8704b05 lib/models/local_model/group/group.dart | true | 200 | 467 | import 'package:freezed_annotation/freezed_annotation.dart';
part 'group.freezed.dart';
part 'group.g.dart';
@freezed
class Group with _$Group {
factory Group({
int? id,
required String localId,
required String groupName,
required int groupColorId,
required int groupIconId,
int? isDeleted,
... | 0 |
ajaykallingal/micro_check-customer_app | b89371b | lib/src/data/model/master/test/single_test_details.dart | Dart | www.github.com/ajaykallingal/micro_check-customer_app/tree/main/lib/src/data/model/master/test/single_test_details.dart | https://raw.githubusercontent.com/ajaykallingal/micro_check-customer_app/b89371b/lib/src/data/model/master/test/single_test_details.dart | ajaykallingal/micro_check-customer_app b89371b lib/src/data/model/master/test/single_test_details.dart | true | 200 | 5,316 | // To parse this JSON data, do
//
// final singleTestResponse = singleTestResponseFromJson(jsonString);
import 'package:meta/meta.dart';
import 'dart:convert';
SingleTestResponse singleTestResponseFromJson(String str) => SingleTestResponse.fromJson(json.decode(str));
String singleTestResponseToJson(SingleTestRes... | 3 |
singgiaditya/absenkuy | 032080b | lib/app/modules/class_schedule/controllers/class_schedule_controller.dart | Dart | www.github.com/singgiaditya/absenkuy/tree/main/lib/app/modules/class_schedule/controllers/class_schedule_controller.dart | https://raw.githubusercontent.com/singgiaditya/absenkuy/032080b/lib/app/modules/class_schedule/controllers/class_schedule_controller.dart | singgiaditya/absenkuy 032080b lib/app/modules/class_schedule/controllers/class_schedule_controller.dart | true | 200 | 484 | import 'package:get/get.dart';
class ClassScheduleController extends GetxController {
final List<String> dropdownItems = [
'Senin',
'Selasa',
'Rabu',
'Kamis',
"Jumat"
];
final selectedValue = "".obs;
@override
void onInit() {
// Initialize the selected value with the first item in t... | 7 |
AlaaKhairy0/quran_app | 9e14fc3 | lib/presentation/screens/splash_screen.dart | Dart | www.github.com/AlaaKhairy0/quran_app/tree/main/lib/presentation/screens/splash_screen.dart | https://raw.githubusercontent.com/AlaaKhairy0/quran_app/9e14fc3/lib/presentation/screens/splash_screen.dart | AlaaKhairy0/quran_app 9e14fc3 lib/presentation/screens/splash_screen.dart | true | 200 | 611 | import 'package:flutter/material.dart';
import 'package:quran_app/core/assets_manager.dart';
import 'package:quran_app/core/routes_manager.dart';
class SplashScreen extends StatelessWidget {
const SplashScreen({super.key});
@override
Widget build(BuildContext context) {
Future.delayed(
const Duratio... | 4 |
AsemAmmar99/onboarding_login_register | 47368ca | lib/presentation/router/app_router.dart | Dart | www.github.com/AsemAmmar99/onboarding_login_register/tree/main/lib/presentation/router/app_router.dart | https://raw.githubusercontent.com/AsemAmmar99/onboarding_login_register/47368ca/lib/presentation/router/app_router.dart | AsemAmmar99/onboarding_login_register 47368ca lib/presentation/router/app_router.dart | true | 200 | 1,105 | import 'package:flutter/material.dart';
import 'package:onboarding_login_register/constants/shared_preferences_keys.dart';
import 'package:onboarding_login_register/constants/screens.dart' as screens;
import '../../data/data_provider/local/cache_helper.dart';
import '../screens/login/login_screen.dart';
import '../scr... | 2 |
JpecSama/JpecSama | 11aff62 | lib/models/flashcard.dart | Dart | www.github.com/JpecSama/JpecSama/tree/main/lib/models/flashcard.dart | https://raw.githubusercontent.com/JpecSama/JpecSama/11aff62/lib/models/flashcard.dart | JpecSama/JpecSama 11aff62 lib/models/flashcard.dart | true | 200 | 1,023 | import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:jpec_sama/models/flashcard_answer.dart';
part 'flashcard.g.dart';
part 'flashcard.freezed.dart';
@freezed
class Flashcard with _$Flashcard {
const Flashcard._();
const factory Flashcard({
String? id,
@Default(0) int level,
D... | 5 |
bertoccoj/unifil_extensao_app | 2ea5e0d | lib/presentation/core/widgets/snack_bar.dart | Dart | www.github.com/bertoccoj/unifil_extensao_app/tree/main/lib/presentation/core/widgets/snack_bar.dart | https://raw.githubusercontent.com/bertoccoj/unifil_extensao_app/2ea5e0d/lib/presentation/core/widgets/snack_bar.dart | bertoccoj/unifil_extensao_app 2ea5e0d lib/presentation/core/widgets/snack_bar.dart | true | 200 | 489 | import 'package:flutter/material.dart';
mixin SnackBarHelper<T extends StatefulWidget> on State<T> {
showSnackBar({
required String text,
Duration duration = const Duration(seconds: 2),
}) {
WidgetsBinding.instance.addPostFrameCallback((timeStamp) {
ScaffoldMessenger.of(context).hideCurrentSnackB... | 0 |
nimahedayati/flutter_tailwind_theme | 2e01f3b | lib/src/flutter_tailwind_fonts.dart | Dart | www.github.com/nimahedayati/flutter_tailwind_theme/tree/main/lib/src/flutter_tailwind_fonts.dart | https://raw.githubusercontent.com/nimahedayati/flutter_tailwind_theme/2e01f3b/lib/src/flutter_tailwind_fonts.dart | nimahedayati/flutter_tailwind_theme 2e01f3b lib/src/flutter_tailwind_fonts.dart | true | 200 | 2,641 | part of flutter_tailwind_theme;
/// A utility class for defining common font sizes.
class TFontSize {
/// Extra small font size.
static double xs = 12;
/// Small font size.
static double sm = 14;
/// Base font size.
static double base = 16;
/// Large font size.
static double lg = 18;
/// Extra la... | 1 |
huuduong99/dnh_chat_module | 9243e72 | dnh_streamer_chat/packages/rest_client/lib/src/models/sender/sender.dart | Dart | www.github.com/huuduong99/dnh_chat_module/tree/main/dnh_streamer_chat/packages/rest_client/lib/src/models/sender/sender.dart | https://raw.githubusercontent.com/huuduong99/dnh_chat_module/9243e72/dnh_streamer_chat/packages/rest_client/lib/src/models/sender/sender.dart | huuduong99/dnh_chat_module 9243e72 dnh_streamer_chat/packages/rest_client/lib/src/models/sender/sender.dart | true | 200 | 331 | import 'package:freezed_annotation/freezed_annotation.dart';
part 'sender.freezed.dart';
part 'sender.g.dart';
@freezed
class Sender with _$Sender {
const factory Sender({
String? id,
String? name,
String? avatarUrl,
}) = _Sender;
factory Sender.fromJson(Map<String, dynamic> json) => _$SenderFromJs... | 6 |
Mohamad-Ammis/To-Do-app | 5169794 | lib/widgets/custom_timer_picker/hours.dart | Dart | www.github.com/Mohamad-Ammis/To-Do-app/tree/main/lib/widgets/custom_timer_picker/hours.dart | https://raw.githubusercontent.com/Mohamad-Ammis/To-Do-app/5169794/lib/widgets/custom_timer_picker/hours.dart | Mohamad-Ammis/To-Do-app 5169794 lib/widgets/custom_timer_picker/hours.dart | true | 200 | 1,308 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:to_do_app/constans.dart';
class HoursTile extends StatelessWidget {
const HoursTile({super.key, required this.hours, required this.isSelected});
final int hours;
final bool isSelected;
@override
Widget build(BuildContext c... | 3 |
janjan011029/send_money_app | dca713d | lib/widgets/transaction_header_widget.dart | Dart | www.github.com/janjan011029/send_money_app/tree/main/lib/widgets/transaction_header_widget.dart | https://raw.githubusercontent.com/janjan011029/send_money_app/dca713d/lib/widgets/transaction_header_widget.dart | janjan011029/send_money_app dca713d lib/widgets/transaction_header_widget.dart | true | 200 | 989 | import 'package:flutter/material.dart';
import 'package:send_money_app/utils/mixins/shared_style.dart';
class TransactionHeader extends StatelessWidget with SharedTextStyles {
const TransactionHeader({
super.key,
required this.title,
required this.onTap,
});
final String title;
final VoidCallback ... | 5 |
aichiko0225/ssikit_example | be601c9 | modules/ssi_service/lib/src/request/default_transformer.dart | Dart | www.github.com/aichiko0225/ssikit_example/tree/main/modules/ssi_service/lib/src/request/default_transformer.dart | https://raw.githubusercontent.com/aichiko0225/ssikit_example/be601c9/modules/ssi_service/lib/src/request/default_transformer.dart | aichiko0225/ssikit_example be601c9 modules/ssi_service/lib/src/request/default_transformer.dart | true | 200 | 989 |
import 'package:dio/dio.dart';
import 'package:ssi_service/src/request/exceptions.dart';
import 'package:ssi_service/src/request/response.dart';
import 'package:ssi_service/src/request/transformer.dart';
/// 默认的解析器,可以自定义
class DefaultHttpTransformer extends SsiTransformer {
@override
SsiResponse parse(Response r... | 4 |
ikyyy777/SiElsi-Project | 6560406 | lib/views/sinamu_views/widgets/kirim_button_widget.dart | Dart | www.github.com/ikyyy777/SiElsi-Project/tree/main/lib/views/sinamu_views/widgets/kirim_button_widget.dart | https://raw.githubusercontent.com/ikyyy777/SiElsi-Project/6560406/lib/views/sinamu_views/widgets/kirim_button_widget.dart | ikyyy777/SiElsi-Project 6560406 lib/views/sinamu_views/widgets/kirim_button_widget.dart | true | 200 | 995 | import 'package:flutter/material.dart';
import 'package:sibesi_app/constants/color_constant.dart';
import 'package:sibesi_app/constants/text_style_constant.dart';
class KirimButtonWidget extends StatelessWidget {
const KirimButtonWidget({super.key});
@override
Widget build(BuildContext context) {
return Siz... | 7 |
hager-ops/GraduationProject | d90fe01 | lib/ui/cart_page/my_address_widget.dart | Dart | www.github.com/hager-ops/GraduationProject/tree/main/lib/ui/cart_page/my_address_widget.dart | https://raw.githubusercontent.com/hager-ops/GraduationProject/d90fe01/lib/ui/cart_page/my_address_widget.dart | hager-ops/GraduationProject d90fe01 lib/ui/cart_page/my_address_widget.dart | true | 200 | 4,999 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:ecosofe_app/common/firebase_keys/firebase_keys.dart';
import 'package:ecosofe_app/common/utils/app_colors.dart';
import 'package:ecosofe_app/common/utils/app_loader.dart';
import 'package:ecosofe_app/common/utils/text_styles.dart';
import 'package:e... | 2 |
organic-nailer/flutter_fast_ui_white | 880e786 | example/lib/pages/app_bar_top_page.dart | Dart | www.github.com/organic-nailer/flutter_fast_ui_white/tree/main/example/lib/pages/app_bar_top_page.dart | https://raw.githubusercontent.com/organic-nailer/flutter_fast_ui_white/880e786/example/lib/pages/app_bar_top_page.dart | organic-nailer/flutter_fast_ui_white 880e786 example/lib/pages/app_bar_top_page.dart | true | 200 | 898 | import 'package:example/components/theme_switcher.dart';
import 'package:flutter/material.dart';
import 'package:flutter_fast_ui_white/flutter_fast_ui_white.dart';
class AppBarTopPage extends StatelessWidget {
const AppBarTopPage({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
... | 0 |
Shudh25/flutter_catalog | 9a62367 | lib/main.dart | Dart | www.github.com/Shudh25/flutter_catalog/tree/main/lib/main.dart | https://raw.githubusercontent.com/Shudh25/flutter_catalog/9a62367/lib/main.dart | Shudh25/flutter_catalog 9a62367 lib/main.dart | true | 200 | 843 | import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:flutter_catalog/pages/home_page.dart';
import 'package:flutter_catalog/pages/login_page.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext conte... | 6 |
vinodh013/itw_dashboard | edba86d | lib/features/home/widgets/what_to_sell_card.dart | Dart | www.github.com/vinodh013/itw_dashboard/tree/main/lib/features/home/widgets/what_to_sell_card.dart | https://raw.githubusercontent.com/vinodh013/itw_dashboard/edba86d/lib/features/home/widgets/what_to_sell_card.dart | vinodh013/itw_dashboard edba86d lib/features/home/widgets/what_to_sell_card.dart | true | 200 | 581 | import 'package:flutter/material.dart';
class WhatToSellCard extends StatelessWidget {
const WhatToSellCard({super.key, required this.text});
final String text;
@override
Widget build(BuildContext context) {
return Container(
height: 60,
child: Container(
margin: EdgeInsets.all(5),
... | 3 |
arifur-21/flutter-clean-architecture-api-call-app | 7613bb4 | lib/config/exceptions/app_exceptions.dart | Dart | www.github.com/arifur-21/flutter-clean-architecture-api-call-app/tree/main/lib/config/exceptions/app_exceptions.dart | https://raw.githubusercontent.com/arifur-21/flutter-clean-architecture-api-call-app/7613bb4/lib/config/exceptions/app_exceptions.dart | arifur-21/flutter-clean-architecture-api-call-app 7613bb4 lib/config/exceptions/app_exceptions.dart | true | 200 | 818 |
class AppExceptions implements Exception{
final _message;
final _prefix;
AppExceptions([this._message, this._prefix]);
@override
String toString(){
return '$_message$_prefix';
}
}
class NoInternetException extends AppExceptions{
NoInternetException([String? message]): super(message,'No Internet'... | 1 |
AhmedHamdyHassan/AlGoriza-Task1-Login-Register- | 7e6d79e | lib/widgets/custom_register_or_signin_widget.dart | Dart | www.github.com/AhmedHamdyHassan/AlGoriza-Task1-Login-Register-/tree/main/lib/widgets/custom_register_or_signin_widget.dart | https://raw.githubusercontent.com/AhmedHamdyHassan/AlGoriza-Task1-Login-Register-/7e6d79e/lib/widgets/custom_register_or_signin_widget.dart | AhmedHamdyHassan/AlGoriza-Task1-Login-Register- 7e6d79e lib/widgets/custom_register_or_signin_widget.dart | true | 200 | 1,161 | import 'package:flutter/material.dart';
class CustomRigisterOrSignInRowWidget extends StatelessWidget {
final String leadingTitle, trailingTitle;
final Function onPress;
Color? trailingTitleColor;
late bool isBold;
CustomRigisterOrSignInRowWidget({
Key? key,
required this.leadingTitle,
required t... | 4 |
munificent/temp-arg-split-sample-2 | 64d5ce7 | route_spatial_index_lat_lng.dart | Dart | www.github.com/munificent/temp-arg-split-sample-2/tree/main/route_spatial_index_lat_lng.dart | https://raw.githubusercontent.com/munificent/temp-arg-split-sample-2/64d5ce7/route_spatial_index_lat_lng.dart | munificent/temp-arg-split-sample-2 64d5ce7 route_spatial_index_lat_lng.dart | true | 200 | 757 | /// A simple geographic coordinates class that's platform-agnostic.
class LatLng {
/// The latitude in degrees. Positive values indicate north, negative values indicate south.
final double latitude;
/// The longitude in degrees. Positive values indicate east, negative values indicate west.
final double longitu... | 5 |
xwinstontanx/SenzeLife | 05ab555 | lib/src/model/user.dart | Dart | www.github.com/xwinstontanx/SenzeLife/tree/main/lib/src/model/user.dart | https://raw.githubusercontent.com/xwinstontanx/SenzeLife/05ab555/lib/src/model/user.dart | xwinstontanx/SenzeLife 05ab555 lib/src/model/user.dart | true | 200 | 914 | class User {
final String uid;
final String email;
final String name;
final String organizationID;
final String phoneNumber;
final String fcm;
final bool alertNotification;
final bool ruleBasedNotification;
User({
required this.uid,
required this.email,
required this.name,
required th... | 2 |
ahmedramadafarahat/fixitproject | 74c5f1c | lib/components/auth_button.dart | Dart | www.github.com/ahmedramadafarahat/fixitproject/tree/main/lib/components/auth_button.dart | https://raw.githubusercontent.com/ahmedramadafarahat/fixitproject/74c5f1c/lib/components/auth_button.dart | ahmedramadafarahat/fixitproject 74c5f1c lib/components/auth_button.dart | true | 200 | 1,095 | import 'package:fixit/components/constants.dart';
import 'package:flutter/material.dart';
import '../src/data/app_size.dart';
class AuthButton extends StatelessWidget {
const AuthButton(
{super.key,
required this.title,
required this.onTap,
required this.isHollow});
final String title;
f... | 7 |
NotScrum/AppTurismo | c4f4d6f | lib/pages/splash_page.dart | Dart | www.github.com/NotScrum/AppTurismo/tree/main/lib/pages/splash_page.dart | https://raw.githubusercontent.com/NotScrum/AppTurismo/c4f4d6f/lib/pages/splash_page.dart | NotScrum/AppTurismo c4f4d6f lib/pages/splash_page.dart | true | 200 | 1,103 | import 'package:flutter/material.dart';
import 'package:mislibros/pages/login_page.dart';
class SplashPage extends StatefulWidget {
const SplashPage({Key? key}) : super(key: key);
@override
State<SplashPage> createState() => _SplashPageState();
}
class _SplashPageState extends State<SplashPage> {
@override... | 0 |
dubey2709/currency_converter | 03b8882 | lib/actualdata.dart | Dart | www.github.com/dubey2709/currency_converter/tree/main/lib/actualdata.dart | https://raw.githubusercontent.com/dubey2709/currency_converter/03b8882/lib/actualdata.dart | dubey2709/currency_converter 03b8882 lib/actualdata.dart | true | 200 | 932 | import 'networking.dart';
import 'package:http/http.dart' as http;
import 'dart:convert';
const List<String> cryptoList = [
'BTC',
'ETH',
'LTC',
];
const coinAPIURL = 'https://rest.coinapi.io/v1/exchangerate';
const apiKey = '531D18D3-8136-4329-9C39-0B5276D3FA13';
class Crypto {
Future getCoinData(String sele... | 6 |
delsfi/kuisprak | 7725925 | lib/kuis_satu/mainscreen.dart | Dart | www.github.com/delsfi/kuisprak/tree/main/lib/kuis_satu/mainscreen.dart | https://raw.githubusercontent.com/delsfi/kuisprak/7725925/lib/kuis_satu/mainscreen.dart | delsfi/kuisprak 7725925 lib/kuis_satu/mainscreen.dart | true | 200 | 2,211 | import 'package:flutter/material.dart';
import 'package:kuis_praktikum_124200015/kuis_satu/game_store.dart';
import 'detailscreen.dart';
class MainScreen extends StatefulWidget {
const MainScreen({Key? key}) : super(key: key);
@override
State<MainScreen> createState() => _MainScreenState();
}
class _MainScreen... | 3 |
shabbyheart/Contact-book-apk-flutter | 66b0790 | lib/Screens/Signup/components/or_divider.dart | Dart | www.github.com/shabbyheart/Contact-book-apk-flutter/tree/main/lib/Screens/Signup/components/or_divider.dart | https://raw.githubusercontent.com/shabbyheart/Contact-book-apk-flutter/66b0790/lib/Screens/Signup/components/or_divider.dart | shabbyheart/Contact-book-apk-flutter 66b0790 lib/Screens/Signup/components/or_divider.dart | true | 200 | 1,092 | import 'package:contact_app/constants.dart';
import 'package:flutter/material.dart';
class OrDivider extends StatelessWidget {
const OrDivider({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
Size size = MediaQuery.of(context).size;
return Container(
margin: EdgeInsets... | 2 |
josuecaceres/practicas_desing_flutter | 6fedc0b | lib/src/labs/circular_progress.dart | Dart | www.github.com/josuecaceres/practicas_desing_flutter/tree/main/lib/src/labs/circular_progress.dart | https://raw.githubusercontent.com/josuecaceres/practicas_desing_flutter/6fedc0b/lib/src/labs/circular_progress.dart | josuecaceres/practicas_desing_flutter 6fedc0b lib/src/labs/circular_progress.dart | true | 200 | 2,623 | import 'dart:math';
import 'dart:ui';
import 'package:flutter/material.dart';
class CircularProgressScreen extends StatefulWidget {
const CircularProgressScreen({Key? key}) : super(key: key);
@override
State<CircularProgressScreen> createState() => _CircularProgressScreenState();
}
class _CircularProgressScree... | 7 |
nevitonviana/app-de-pat | 37914a8 | lib/app/module/auth/login/login_page.dart | Dart | www.github.com/nevitonviana/app-de-pat/tree/main/lib/app/module/auth/login/login_page.dart | https://raw.githubusercontent.com/nevitonviana/app-de-pat/37914a8/lib/app/module/auth/login/login_page.dart | nevitonviana/app-de-pat 37914a8 lib/app/module/auth/login/login_page.dart | true | 200 | 2,249 | import 'package:flutter/material.dart';
import 'package:flutter_modular/flutter_modular.dart';
import 'package:validatorless/validatorless.dart';
import '../../../core/ui/extensions/icons/cuidapet_icons.dart';
import '../../../core/ui/extensions/size_screen_extension.dart';
import '../../../core/ui/extensions/theme_ex... | 1 |
vatume/minka2 | dc44eea | minka2/lib/General/Tienda.dart | Dart | www.github.com/vatume/minka2/tree/main/minka2/lib/General/Tienda.dart | https://raw.githubusercontent.com/vatume/minka2/dc44eea/minka2/lib/General/Tienda.dart | vatume/minka2 dc44eea minka2/lib/General/Tienda.dart | true | 200 | 2,299 | import 'package:flutter/material.dart';
import 'package:swipe/General/FrutosTierra/paginaFrutosTierra.dart';
void main() => runApp(const Tienda());
class Tienda extends StatefulWidget {
const Tienda({Key? key}) : super(key: key);
@override
_Tienda createState() => _Tienda();
}
class _Tienda extends State<Tien... | 4 |
bungearnss/todo_organizations_app | 90489c5 | lib/widgets/settings/option_item.dart | Dart | www.github.com/bungearnss/todo_organizations_app/tree/main/lib/widgets/settings/option_item.dart | https://raw.githubusercontent.com/bungearnss/todo_organizations_app/90489c5/lib/widgets/settings/option_item.dart | bungearnss/todo_organizations_app 90489c5 lib/widgets/settings/option_item.dart | true | 200 | 1,573 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import '../../utility/constant.dart';
class OptionItem extends StatelessWidget {
final Function onSwitched;
final String label;
final bool status;
OptionItem(
{required this.onSwitched, required this.label, required this.s... | 6 |
AbdalrahmanAbualrous/machineversion | 96a734d | lib/page_for_motor/notification_page.dart | Dart | www.github.com/AbdalrahmanAbualrous/machineversion/tree/main/lib/page_for_motor/notification_page.dart | https://raw.githubusercontent.com/AbdalrahmanAbualrous/machineversion/96a734d/lib/page_for_motor/notification_page.dart | AbdalrahmanAbualrous/machineversion 96a734d lib/page_for_motor/notification_page.dart | true | 200 | 655 | import 'package:flutter/material.dart';
class NotificationsPage extends StatelessWidget {
const NotificationsPage({super.key});
@override
Widget build(BuildContext context) {
final isDarkMode = Theme.of(context).brightness == Brightness.dark;
return Scaffold(
appBar: AppBar(
title: const ... | 5 |
SuperCie/cafe_app | 847b0e6 | lib/data/database/historyprovider.dart | Dart | www.github.com/SuperCie/cafe_app/tree/main/lib/data/database/historyprovider.dart | https://raw.githubusercontent.com/SuperCie/cafe_app/847b0e6/lib/data/database/historyprovider.dart | SuperCie/cafe_app 847b0e6 lib/data/database/historyprovider.dart | true | 200 | 831 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:coffee_app/data/database/orderhistory.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
class Historyprovider extends ChangeNotifier {
List<Orderhistory>? _listOrder;
List<Orderhistory>? get list... | 3 |
Umaiir11/Flutter-ByteArrayToPDF | 7b0e663 | lib/ModReport.dart | Dart | www.github.com/Umaiir11/Flutter-ByteArrayToPDF/tree/main/lib/ModReport.dart | https://raw.githubusercontent.com/Umaiir11/Flutter-ByteArrayToPDF/7b0e663/lib/ModReport.dart | Umaiir11/Flutter-ByteArrayToPDF 7b0e663 lib/ModReport.dart | true | 200 | 526 | class ModRptSerAccountLedger
{
String Pr_FormName = "";
String Pr_ReportName ="";
int Pr_BranchID =1;
String Pr_AccountDID ="";
DateTime Pr_FromDate =DateTime.now();
DateTime Pr_ToDate =DateTime.now();
String Pr_City ="";
String Pr_Address ="";
String Pr_PrintedBy ="";
ModRptSerAccountLedger(
this... | 2 |
arcsalahmadi/bloom_a1 | 63b5682 | lib/screens/watering_schedule_screen.dart | Dart | www.github.com/arcsalahmadi/bloom_a1/tree/main/lib/screens/watering_schedule_screen.dart | https://raw.githubusercontent.com/arcsalahmadi/bloom_a1/63b5682/lib/screens/watering_schedule_screen.dart | arcsalahmadi/bloom_a1 63b5682 lib/screens/watering_schedule_screen.dart | true | 200 | 4,508 | import 'package:flutter/material.dart';
class WateringScheduleScreen extends StatefulWidget {
const WateringScheduleScreen({super.key});
@override
State<WateringScheduleScreen> createState() => _WateringScheduleScreenState();
}
class _WateringScheduleScreenState extends State<WateringScheduleScreen> {
int _s... | 7 |
negalxd/EliteManager | 468d798 | lib/pages/ventas/gestion_clientes_cotizaciones/gestion_clientes_item.dart | Dart | www.github.com/negalxd/EliteManager/tree/main/lib/pages/ventas/gestion_clientes_cotizaciones/gestion_clientes_item.dart | https://raw.githubusercontent.com/negalxd/EliteManager/468d798/lib/pages/ventas/gestion_clientes_cotizaciones/gestion_clientes_item.dart | negalxd/EliteManager 468d798 lib/pages/ventas/gestion_clientes_cotizaciones/gestion_clientes_item.dart | true | 200 | 11,166 | import 'package:flutter/material.dart';
import 'package:mailer/mailer.dart';
import 'package:mailer/smtp_server.dart';
class CotizacionItemCard extends StatelessWidget {
final List<Map<String, dynamic>> cotizacion;
const CotizacionItemCard({Key? key, required this.cotizacion}) : super(key: key);
Future<void> s... | 1 |
jinsha482/rapiddor_assignment | b4bbbb8 | lib/global/controllers/data_layer.controller.dart | Dart | www.github.com/jinsha482/rapiddor_assignment/tree/main/lib/global/controllers/data_layer.controller.dart | https://raw.githubusercontent.com/jinsha482/rapiddor_assignment/b4bbbb8/lib/global/controllers/data_layer.controller.dart | jinsha482/rapiddor_assignment b4bbbb8 lib/global/controllers/data_layer.controller.dart | true | 200 | 836 |
import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:http/http.dart';
import '../../modules/productlist/model/productlist.model.dart';
class DataLayerController with ChangeNotifier {
// //*---------------------------------------------------------------- Model instances Starts
List <Pr... | 4 |
rabieHs/find-mosque | 77712cd | lib/Features/home/domain/entities/drawer_item.dart | Dart | www.github.com/rabieHs/find-mosque/tree/main/lib/Features/home/domain/entities/drawer_item.dart | https://raw.githubusercontent.com/rabieHs/find-mosque/77712cd/lib/Features/home/domain/entities/drawer_item.dart | rabieHs/find-mosque 77712cd lib/Features/home/domain/entities/drawer_item.dart | true | 200 | 428 | // ignore_for_file: public_member_api_docs, sort_constructors_first
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
class DrawerItem extends Equatable {
final String title;
final IconData icon;
final int id;
const DrawerItem({
required this.id,
required this... | 6 |
nermeen841/tasame | 5f0b450 | lib/presentation/screens/consult_detail/widget/body.dart | Dart | www.github.com/nermeen841/tasame/tree/main/lib/presentation/screens/consult_detail/widget/body.dart | https://raw.githubusercontent.com/nermeen841/tasame/5f0b450/lib/presentation/screens/consult_detail/widget/body.dart | nermeen841/tasame 5f0b450 lib/presentation/screens/consult_detail/widget/body.dart | true | 200 | 2,172 | import 'package:flutter/material.dart';
import 'package:zat/core/constants/constants.dart';
import 'package:zat/core/widgets/space_widget.dart';
import 'package:zat/presentation/screens/consult_detail/widget/offers.dart';
import 'reviews.dart';
import 'user_info.dart';
class ConsultantDetailBody extends StatefulWidget... | 5 |
HadenHiles/TenThousandShotChallenge | f45929e | lib/models/firestore/LearnToPlayItem.dart | Dart | www.github.com/HadenHiles/TenThousandShotChallenge/tree/main/lib/models/firestore/LearnToPlayItem.dart | https://raw.githubusercontent.com/HadenHiles/TenThousandShotChallenge/f45929e/lib/models/firestore/LearnToPlayItem.dart | HadenHiles/TenThousandShotChallenge f45929e lib/models/firestore/LearnToPlayItem.dart | true | 200 | 771 | import 'package:cloud_firestore/cloud_firestore.dart';
class LearnToPlayItem {
final String? title;
final String? url;
final String? image;
DocumentReference? reference;
LearnToPlayItem(this.title, this.url, this.image);
LearnToPlayItem.fromMap(Map<String, dynamic> map, {this.reference})
: assert(m... | 0 |
furkanagess/elements_app | 68aa60b | lib/product/widget/sizedBox/vertical_spacer.dart | Dart | www.github.com/furkanagess/elements_app/tree/main/lib/product/widget/sizedBox/vertical_spacer.dart | https://raw.githubusercontent.com/furkanagess/elements_app/68aa60b/lib/product/widget/sizedBox/vertical_spacer.dart | furkanagess/elements_app 68aa60b lib/product/widget/sizedBox/vertical_spacer.dart | true | 200 | 374 | import 'package:elements_app/product/extensions/context_extensions.dart';
import 'package:flutter/material.dart';
class VerticalSpacer extends StatelessWidget {
const VerticalSpacer({super.key, required this.height});
final double height;
@override
Widget build(BuildContext context) {
return SizedBox(
... | 2 |
samsaie/nike_online_shop | a17d4f9 | lib/ui/product/comment/bloc/commentlistbloc_bloc.dart | Dart | www.github.com/samsaie/nike_online_shop/tree/main/lib/ui/product/comment/bloc/commentlistbloc_bloc.dart | https://raw.githubusercontent.com/samsaie/nike_online_shop/a17d4f9/lib/ui/product/comment/bloc/commentlistbloc_bloc.dart | samsaie/nike_online_shop a17d4f9 lib/ui/product/comment/bloc/commentlistbloc_bloc.dart | true | 200 | 967 | import 'package:equatable/equatable.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:nike_online_shop/common/exceptions.dart';
import 'package:nike_online_shop/data/comment.dart';
import 'package:nike_online_shop/data/reo/comment_repository.dart';
part 'commentlistbloc_event.dart';
part 'comment... | 4 |
WasimSumcircle/campMoblieCodes | 788dbfe | lib/screens/onboding/components/animatePages/animate_company.dart | Dart | www.github.com/WasimSumcircle/campMoblieCodes/tree/main/lib/screens/onboding/components/animatePages/animate_company.dart | https://raw.githubusercontent.com/WasimSumcircle/campMoblieCodes/788dbfe/lib/screens/onboding/components/animatePages/animate_company.dart | WasimSumcircle/campMoblieCodes 788dbfe lib/screens/onboding/components/animatePages/animate_company.dart | true | 200 | 6,529 | import 'dart:ui';
import 'package:campapplication/screens/entryPoint/entry_point.dart';
import 'package:campapplication/screens/home/buttons.dart';
import 'package:flutter/material.dart';
import 'package:rive/rive.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'dart:convert';
class Company... | 3 |
Ashhad08/blog_app_user_panel | 025f3cd | lib/backend/models/message_model.dart | Dart | www.github.com/Ashhad08/blog_app_user_panel/tree/main/lib/backend/models/message_model.dart | https://raw.githubusercontent.com/Ashhad08/blog_app_user_panel/025f3cd/lib/backend/models/message_model.dart | Ashhad08/blog_app_user_panel 025f3cd lib/backend/models/message_model.dart | true | 200 | 1,604 | // To parse this JSON data, do
//
// final messageModel = messageModelFromJson(jsonString);
import 'dart:convert';
MessageModel messageModelFromJson(String str) =>
MessageModel.fromJson(json.decode(str));
String messageModelToJson(MessageModel data) => json.encode(data.toJson(
messageID: data.messageId.t... | 6 |
hesham4022/Bookly-App | d947c70 | lib/features/search/presentation/views/widgets/search_view_body.dart | Dart | www.github.com/hesham4022/Bookly-App/tree/main/lib/features/search/presentation/views/widgets/search_view_body.dart | https://raw.githubusercontent.com/hesham4022/Bookly-App/d947c70/lib/features/search/presentation/views/widgets/search_view_body.dart | hesham4022/Bookly-App d947c70 lib/features/search/presentation/views/widgets/search_view_body.dart | true | 200 | 873 | import 'package:bookly/core/utils/app_styles.dart';
import 'package:bookly/features/search/presentation/views/widgets/custom_search_text_field.dart';
import 'package:bookly/features/search/presentation/views/widgets/search_result_list_view.dart';
import 'package:flutter/material.dart';
class SearchViewBody extends Sta... | 1 |
RRKawchar/chat_charm | 87c0884 | lib/src/features/call/model/call_model.dart | Dart | www.github.com/RRKawchar/chat_charm/tree/main/lib/src/features/call/model/call_model.dart | https://raw.githubusercontent.com/RRKawchar/chat_charm/87c0884/lib/src/features/call/model/call_model.dart | RRKawchar/chat_charm 87c0884 lib/src/features/call/model/call_model.dart | true | 200 | 1,671 | class CallModel {
String? id;
String? callerName;
String? callerPic;
String? callerUid;
String? callerEmail;
String? receiverName;
String? receiverPic;
String? receiverUid;
String? receiverEmail;
String? status;
String? type;
String? time;
String? timestamp;
CallModel(
{this.id,
... | 5 |
growthbook/growthbook-flutter | 6f7f0e4 | lib/src/Features/feature_data_source.dart | Dart | www.github.com/growthbook/growthbook-flutter/tree/main/lib/src/Features/feature_data_source.dart | https://raw.githubusercontent.com/growthbook/growthbook-flutter/6f7f0e4/lib/src/Features/feature_data_source.dart | growthbook/growthbook-flutter 6f7f0e4 lib/src/Features/feature_data_source.dart | true | 200 | 2,604 | import 'package:growthbook_sdk_flutter/growthbook_sdk_flutter.dart';
import 'package:growthbook_sdk_flutter/src/Model/remote_eval_model.dart';
import 'package:growthbook_sdk_flutter/src/Utils/feature_url_builder.dart';
typedef FeatureFetchSuccessCallBack = void Function(
FeaturedDataModel featuredDataModel,
);... | 7 |
MalekYasser26/NewEcommerce | f9aa3a5 | lib/Screens/HomeScreen.dart | Dart | www.github.com/MalekYasser26/NewEcommerce/tree/main/lib/Screens/HomeScreen.dart | https://raw.githubusercontent.com/MalekYasser26/NewEcommerce/f9aa3a5/lib/Screens/HomeScreen.dart | MalekYasser26/NewEcommerce f9aa3a5 lib/Screens/HomeScreen.dart | true | 200 | 6,933 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:new_ecommerce/Constants/Constants.dart';
import 'package:new_ecommerce/Cubit/login_cubit.dart';
import 'package:new_ecommerce/Widgets/CategoryItem.dart';
import 'package:new_ecommerce/Widgets/SuggestionItem.dart';
... | 0 |
hg0110/quan_ly_doanh_thu | db4e9b3 | lib/app.dart | Dart | www.github.com/hg0110/quan_ly_doanh_thu/tree/main/lib/app.dart | https://raw.githubusercontent.com/hg0110/quan_ly_doanh_thu/db4e9b3/lib/app.dart | hg0110/quan_ly_doanh_thu db4e9b3 lib/app.dart | true | 200 | 2,045 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:quan_ly_doanh_thu/pages/car/blocs/get_car_bloc/get_car_bloc.dart';
import 'package:quan_ly_doanh_thu/pages/transaction/blocs/get_transaction_bloc/get_Transaction_bloc.dart';
import 'package:quan_ly_doanh_thu/pages/u... | 2 |
Kazant1pka/test_krai | 0003e0f | lib/data/repository/auth_repository.dart | Dart | www.github.com/Kazant1pka/test_krai/tree/main/lib/data/repository/auth_repository.dart | https://raw.githubusercontent.com/Kazant1pka/test_krai/0003e0f/lib/data/repository/auth_repository.dart | Kazant1pka/test_krai 0003e0f lib/data/repository/auth_repository.dart | true | 200 | 3,047 | import 'package:firebase_auth/firebase_auth.dart' as firebase_auth;
import 'package:flutter/foundation.dart' show kIsWeb;
import 'package:krainet/domain/user.dart';
import 'package:krainet/utils/error_handler.dart';
//Класс авторизации приложения при помощи Firebase
class AuthRepository {
AuthRepository({
fireba... | 4 |
mishkov/map_with_objects | 012d6b7 | lib/providers/markers_provider.dart | Dart | www.github.com/mishkov/map_with_objects/tree/main/lib/providers/markers_provider.dart | https://raw.githubusercontent.com/mishkov/map_with_objects/012d6b7/lib/providers/markers_provider.dart | mishkov/map_with_objects 012d6b7 lib/providers/markers_provider.dart | true | 200 | 1,424 | import 'dart:convert';
import 'package:http/http.dart' as http;
import 'package:latlong2/latlong.dart';
import 'package:map_with_objects/models/map_marker.dart';
class MarkersProvider {
Future<List<MapMarker>> getMarkers(LatLng leftTopPoint, LatLng centerPoint) async {
final uri = Uri.parse('https://xn--k1aahc... | 1 |
Stevfano/Amazon_Clone | de30019 | lib/screens/home_screen.dart | Dart | www.github.com/Stevfano/Amazon_Clone/tree/main/lib/screens/home_screen.dart | https://raw.githubusercontent.com/Stevfano/Amazon_Clone/de30019/lib/screens/home_screen.dart | Stevfano/Amazon_Clone de30019 lib/screens/home_screen.dart | true | 200 | 3,012 | import 'package:amazon_clone/resources/cloudfirestore_methods.dart';
import 'package:amazon_clone/utils/constants.dart';
import 'package:amazon_clone/widgets/banner_ad_widgets.dart';
import 'package:amazon_clone/widgets/categories_horizontal_list_view.dart';
import 'package:amazon_clone/widgets/loading_widget.dart';
im... | 6 |
Ae-Mc/climbing-app | 7664c66 | lib/features/splash/presentation/bloc/splash_bloc.dart | Dart | www.github.com/Ae-Mc/climbing-app/tree/main/lib/features/splash/presentation/bloc/splash_bloc.dart | https://raw.githubusercontent.com/Ae-Mc/climbing-app/7664c66/lib/features/splash/presentation/bloc/splash_bloc.dart | Ae-Mc/climbing-app 7664c66 lib/features/splash/presentation/bloc/splash_bloc.dart | true | 200 | 1,332 | import 'package:climbing_app/core/failure.dart';
import 'package:climbing_app/features/splash/domain/repositories/startup_repository.dart';
import 'package:climbing_app/features/splash/presentation/bloc/splash_event.dart';
import 'package:climbing_app/features/splash/presentation/bloc/splash_state.dart';
import 'packag... | 0 |
januthummar09/interview_preparation_project | c386206 | lib/data/student_data.dart | Dart | www.github.com/januthummar09/interview_preparation_project/tree/main/lib/data/student_data.dart | https://raw.githubusercontent.com/januthummar09/interview_preparation_project/c386206/lib/data/student_data.dart | januthummar09/interview_preparation_project c386206 lib/data/student_data.dart | true | 200 | 345 | import '../models/student_model.dart';
class StudentData {
static List<StudentModel> getData() {
return [
StudentModel("janki", "flutter", 20),
StudentModel("Kajal", "React", 22),
StudentModel("rutik", "flutter", 21),
StudentModel("nency", "flutter", 26),
StudentModel("kinjal", "flu... | 3 |
edsonduma/stivy-app | b6b897f | lib/views/components/my_circle_button.dart | Dart | www.github.com/edsonduma/stivy-app/tree/main/lib/views/components/my_circle_button.dart | https://raw.githubusercontent.com/edsonduma/stivy-app/b6b897f/lib/views/components/my_circle_button.dart | edsonduma/stivy-app b6b897f lib/views/components/my_circle_button.dart | true | 200 | 1,065 | import 'package:flutter/material.dart';
import 'package:stivy/utils/constants.dart';
class MyCircleButton extends StatelessWidget {
final String buttonLabel;
final Widget nextScreen;
const MyCircleButton({
super.key,
required this.buttonLabel,
required this.nextScreen,
});
@override
Widget bu... | 5 |
mariam-mohamed00/todo_list | 743eb98 | lib/auth/login/login_screen.dart | Dart | www.github.com/mariam-mohamed00/todo_list/tree/main/lib/auth/login/login_screen.dart | https://raw.githubusercontent.com/mariam-mohamed00/todo_list/743eb98/lib/auth/login/login_screen.dart | mariam-mohamed00/todo_list 743eb98 lib/auth/login/login_screen.dart | true | 200 | 6,701 | // ignore_for_file: avoid_print
import 'package:app_todo_list/auth/login/login_navigator.dart';
import 'package:app_todo_list/auth/login/login_screen_view_model.dart';
import 'package:app_todo_list/providers/app_config_provider.dart';
import 'package:flutter/material.dart';
import 'package:app_todo_list/auth/widgets/c... | 4 |
giovane358/Flutter-Aplications | 8f6de3b | aplication_refuse_risk/lib/ui/appbar/appbar.dart | Dart | www.github.com/giovane358/Flutter-Aplications/tree/main/aplication_refuse_risk/lib/ui/appbar/appbar.dart | https://raw.githubusercontent.com/giovane358/Flutter-Aplications/8f6de3b/aplication_refuse_risk/lib/ui/appbar/appbar.dart | giovane358/Flutter-Aplications 8f6de3b aplication_refuse_risk/lib/ui/appbar/appbar.dart | true | 200 | 2,055 | import 'package:flutter/material.dart';
class MyhomeBar extends StatefulWidget implements PreferredSizeWidget {
const MyhomeBar({super.key});
@override
State<MyhomeBar> createState() => _MyhomeBarState();
@override
Size get preferredSize => const Size.fromHeight(100);
}
class _MyhomeBarState extends State... | 1 |
walidalayash/movie_app | 3b13b43 | lib/ui/views/movies_list/movies_list_view_model.dart | Dart | www.github.com/walidalayash/movie_app/tree/main/lib/ui/views/movies_list/movies_list_view_model.dart | https://raw.githubusercontent.com/walidalayash/movie_app/3b13b43/lib/ui/views/movies_list/movies_list_view_model.dart | walidalayash/movie_app 3b13b43 lib/ui/views/movies_list/movies_list_view_model.dart | true | 200 | 936 | import 'dart:async';
import 'package:flutter/material.dart';
import 'package:movieapp/core/repositories/movies_repository/movies_repository.dart';
import 'package:stacked/stacked.dart';
import '../../../core/models/genre/genre.dart';
import '../../../core/models/movie/movie.dart';
import '../../../locator.dart';
cla... | 6 |
dudecoderr/Mobile_Emotion_Using_Animation_in_flutter | 6a9363d | lib/home_screen.dart | Dart | www.github.com/dudecoderr/Mobile_Emotion_Using_Animation_in_flutter/tree/main/lib/home_screen.dart | https://raw.githubusercontent.com/dudecoderr/Mobile_Emotion_Using_Animation_in_flutter/6a9363d/lib/home_screen.dart | dudecoderr/Mobile_Emotion_Using_Animation_in_flutter 6a9363d lib/home_screen.dart | true | 200 | 10,512 | // ignore_for_file: library_private_types_in_public_api
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:liquid_swipe/liquid_swipe.dart';
import 'package:lottie/lottie.dart';
class ItemData {
final Color color;
final String image;
final String ... | 7 |
sumitkakshapati/ecommece_app | 4a6a188 | lib/features/homepage/ui/screens/homepage_screens.dart | Dart | www.github.com/sumitkakshapati/ecommece_app/tree/main/lib/features/homepage/ui/screens/homepage_screens.dart | https://raw.githubusercontent.com/sumitkakshapati/ecommece_app/4a6a188/lib/features/homepage/ui/screens/homepage_screens.dart | sumitkakshapati/ecommece_app 4a6a188 lib/features/homepage/ui/screens/homepage_screens.dart | true | 200 | 410 | import 'package:ecommerce_app/features/homepage/ui/widgets/homepage_widget.dart';
import 'package:flutter/material.dart';
class HomepageScreens extends StatelessWidget {
final TextEditingController searchController;
const HomepageScreens({super.key, required this.searchController});
@override
Widget build(Bui... | 2 |
Sopheap1223/Flutter | f84e2dd | STRAT CODE (1)/EX-3.dart | Dart | www.github.com/Sopheap1223/Flutter/tree/main/STRAT CODE (1)/EX-3.dart | https://raw.githubusercontent.com/Sopheap1223/Flutter/f84e2dd/STRAT%20CODE%20%281%29/EX-3.dart | Sopheap1223/Flutter f84e2dd STRAT CODE (1)/EX-3.dart | true | 200 | 2,199 | class MyDuration {
// Private field for storing duration in milliseconds
final int _milliseconds;
// Constructor to initialize MyDuration from hours
MyDuration.fromHours(int hours) : _milliseconds = hours * 60 * 60 * 1000;
// Constructor to initialize MyDuration from minutes
MyDuration.fromMinutes... | 0 |
NourElHoudaAmmari/EpiGo | 84f84c4 | lib/widgets/defaultButton.dart | Dart | www.github.com/NourElHoudaAmmari/EpiGo/tree/main/lib/widgets/defaultButton.dart | https://raw.githubusercontent.com/NourElHoudaAmmari/EpiGo/84f84c4/lib/widgets/defaultButton.dart | NourElHoudaAmmari/EpiGo 84f84c4 lib/widgets/defaultButton.dart | true | 200 | 1,091 |
import 'package:epigo_project/Utils/size_config.dart';
import 'package:flutter/material.dart';
import '../config/constants.dart';
class DefaultButton extends StatelessWidget {
final String text;
final VoidCallback press;
const DefaultButton({super.key, required this.text, required this.press,});
@overr... | 3 |
roxen-creator/liam | d920481 | lib/presentiation/resources/color_manager.dart | Dart | www.github.com/roxen-creator/liam/tree/main/lib/presentiation/resources/color_manager.dart | https://raw.githubusercontent.com/roxen-creator/liam/d920481/lib/presentiation/resources/color_manager.dart | roxen-creator/liam d920481 lib/presentiation/resources/color_manager.dart | true | 200 | 677 | import 'package:flutter/material.dart';
class ColorManager {
static Color kPrimaryColor = HexColor.fromHex("#BC8680");
static Color kSecondaryColor = HexColor.fromHex("#ded9ee");
static Color kTextColor = HexColor.fromHex("#212121");
static Color kButtonColor = HexColor.fromHex("#3967d6");
static Color kBacg... | 4 |
DefenShahria/Crafty-Bay | 229997b | lib/presentation/ui/Screens/reviewPage.dart | Dart | www.github.com/DefenShahria/Crafty-Bay/tree/main/lib/presentation/ui/Screens/reviewPage.dart | https://raw.githubusercontent.com/DefenShahria/Crafty-Bay/229997b/lib/presentation/ui/Screens/reviewPage.dart | DefenShahria/Crafty-Bay 229997b lib/presentation/ui/Screens/reviewPage.dart | true | 200 | 4,190 | import 'package:craftybay/presentation/State_holders/reviewController.dart';
import 'package:craftybay/presentation/ui/Screens/AddReviewScreen.dart';
import 'package:craftybay/presentation/ui/utility/ColorPallet.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import '../../State_holders/u... | 5 |
virgilanddante/myfuture | 6352430 | lib/screens/categories_screen.dart | Dart | www.github.com/virgilanddante/myfuture/tree/main/lib/screens/categories_screen.dart | https://raw.githubusercontent.com/virgilanddante/myfuture/6352430/lib/screens/categories_screen.dart | virgilanddante/myfuture 6352430 lib/screens/categories_screen.dart | true | 200 | 8,424 | import 'package:flutter/material.dart';
import 'package:myfuture/modules/category.dart';
import 'package:myfuture/screens/home_screens.dart';
import 'package:myfuture/services/category_service.dart';
class CategoriesScreen extends StatefulWidget {
const CategoriesScreen({super.key});
@override
State<CategoriesS... | 1 |
Devsaci/driver_app_ma2023 | f8f68d2 | lib/authentication/car_info_screen.dart | Dart | www.github.com/Devsaci/driver_app_ma2023/tree/main/lib/authentication/car_info_screen.dart | https://raw.githubusercontent.com/Devsaci/driver_app_ma2023/f8f68d2/lib/authentication/car_info_screen.dart | Devsaci/driver_app_ma2023 f8f68d2 lib/authentication/car_info_screen.dart | true | 200 | 3,740 | import 'package:flutter/material.dart';
class CarInfoScreen extends StatefulWidget {
//const CarInfoScreen({Key? key}) : super(key: key);
@override
State<CarInfoScreen> createState() => _CarInfoScreenState();
}
class _CarInfoScreenState extends State<CarInfoScreen> {
TextEditingController carModelTextEditin... | 7 |
SiddardhaD/shareRoom | c180558 | lib/screens/home/recentPost.dart | Dart | www.github.com/SiddardhaD/shareRoom/tree/main/lib/screens/home/recentPost.dart | https://raw.githubusercontent.com/SiddardhaD/shareRoom/c180558/lib/screens/home/recentPost.dart | SiddardhaD/shareRoom c180558 lib/screens/home/recentPost.dart | true | 200 | 6,366 | import 'package:cached_network_image/cached_network_image.dart';
import 'package:flutter/material.dart';
import 'package:shimmer/shimmer.dart';
import 'package:url_launcher/url_launcher.dart';
import '../descriptions/item_description_screen.dart';
import '../inbox/chat_screen.dart';
class RecentPost extends Stateless... | 6 |
Brice-Romaric/E-CARE | a744d00 | lib/pages/home_page.dart | Dart | www.github.com/Brice-Romaric/E-CARE/tree/main/lib/pages/home_page.dart | https://raw.githubusercontent.com/Brice-Romaric/E-CARE/a744d00/lib/pages/home_page.dart | Brice-Romaric/E-CARE a744d00 lib/pages/home_page.dart | true | 200 | 764 | import 'package:flutter/material.dart';
//page d'accueil
class HomePage extends StatelessWidget {
const HomePage({
super.key,
});
@override
Widget build(BuildContext context) {
return Center(
child:Column(
children: [
Image.asset("assets/images/logo1.jpg"),
SizedBox(... | 2 |
Nizam-VA/pilgrimes | 5a1ce53 | lib/screens/screen_view_all.dart | Dart | www.github.com/Nizam-VA/pilgrimes/tree/main/lib/screens/screen_view_all.dart | https://raw.githubusercontent.com/Nizam-VA/pilgrimes/5a1ce53/lib/screens/screen_view_all.dart | Nizam-VA/pilgrimes 5a1ce53 lib/screens/screen_view_all.dart | true | 200 | 1,206 | import 'package:flutter/material.dart';
import 'package:project_demo/models/pilgrim.dart';
import 'package:project_demo/screens/screen_insertion.dart';
import 'package:project_demo/services/database.dart';
import 'package:project_demo/widgets/pilgrims_list.dart';
import 'package:provider/provider.dart';
class ScreenVi... | 0 |
hamza23177/SystemSchoolMangement | 8e2410e | flutter_bart/tr_app/lib/Teacher/valuation/model.dart | Dart | www.github.com/hamza23177/SystemSchoolMangement/tree/main/flutter_bart/tr_app/lib/Teacher/valuation/model.dart | https://raw.githubusercontent.com/hamza23177/SystemSchoolMangement/8e2410e/flutter_bart/tr_app/lib/Teacher/valuation/model.dart | hamza23177/SystemSchoolMangement 8e2410e flutter_bart/tr_app/lib/Teacher/valuation/model.dart | true | 200 | 3,245 | // To parse required this JSON data, do
//
// final modelStudents = modelStudentsFromJson(jsonString);
import 'dart:convert';
List<ValuationModel> modelStudentsFromJson(String str) =>
List<ValuationModel>.from(
json.decode(str).map((x) => ValuationModel.fromJson(x)));
String modelStudentsToJson(List<... | 3 |
anshot12/alexey_web | 77ffb05 | lib/responsive_layout/laptop/body/laptop_body_part.dart | Dart | www.github.com/anshot12/alexey_web/tree/main/lib/responsive_layout/laptop/body/laptop_body_part.dart | https://raw.githubusercontent.com/anshot12/alexey_web/77ffb05/lib/responsive_layout/laptop/body/laptop_body_part.dart | anshot12/alexey_web 77ffb05 lib/responsive_layout/laptop/body/laptop_body_part.dart | true | 200 | 1,988 | import 'package:auto_size_text/auto_size_text.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_application_1/responsive_layout/laptop/body/bottom_nav_bar.dart';
import 'package:flutter_application_1/responsive_layout/laptop/body/main_part/app_bar_weather.da... | 5 |
Yoka-Jo/hotel_booking | 7295569 | lib/presentaion/main/pages/settings/widgets/build_change_app_theme.dart | Dart | www.github.com/Yoka-Jo/hotel_booking/tree/main/lib/presentaion/main/pages/settings/widgets/build_change_app_theme.dart | https://raw.githubusercontent.com/Yoka-Jo/hotel_booking/7295569/lib/presentaion/main/pages/settings/widgets/build_change_app_theme.dart | Yoka-Jo/hotel_booking 7295569 lib/presentaion/main/pages/settings/widgets/build_change_app_theme.dart | true | 200 | 1,267 | import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:hotel_booking/presentaion/resources/cubit/change_theme_cubit.dart';
import '../../../../resources/colors_manager.dart';
import '../../../../resources/strings_manager.dart';
class BuildChangeAppTheme exte... | 4 |
ConvrtX-Inc/guided-mobile | f0069ae | lib/screens/widgets/reusable_widgets/booking_payment_details.dart | Dart | www.github.com/ConvrtX-Inc/guided-mobile/tree/main/lib/screens/widgets/reusable_widgets/booking_payment_details.dart | https://raw.githubusercontent.com/ConvrtX-Inc/guided-mobile/f0069ae/lib/screens/widgets/reusable_widgets/booking_payment_details.dart | ConvrtX-Inc/guided-mobile f0069ae lib/screens/widgets/reusable_widgets/booking_payment_details.dart | true | 200 | 3,182 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:guided/constants/app_texts.dart';
import 'package:guided/screens/widgets/reusable_widgets/payment_detail.dart';
///Booking Payment Details
class BookingPaymentDetails extends StatelessWidget {
///Const... | 1 |
Omar-Aj/flutter_todo_project | 083bb98 | lib/pages/completed_tasks_page.dart | Dart | www.github.com/Omar-Aj/flutter_todo_project/tree/main/lib/pages/completed_tasks_page.dart | https://raw.githubusercontent.com/Omar-Aj/flutter_todo_project/083bb98/lib/pages/completed_tasks_page.dart | Omar-Aj/flutter_todo_project 083bb98 lib/pages/completed_tasks_page.dart | true | 200 | 1,659 | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:flutter_todo_project/components/app_bar.dart';
import 'package:flutter_todo_project/provider_tasks.dart';
class CompletedTaskPage extends StatefulWidget {
const CompletedTaskPage({super.key});
@override
State<Comple... | 7 |
JesusMayuri7/rrhh_flutter | faa0b5b | lib/app/modules/base_cas/external/certificado_cas_datasource.dart | Dart | www.github.com/JesusMayuri7/rrhh_flutter/tree/main/lib/app/modules/base_cas/external/certificado_cas_datasource.dart | https://raw.githubusercontent.com/JesusMayuri7/rrhh_flutter/faa0b5b/lib/app/modules/base_cas/external/certificado_cas_datasource.dart | JesusMayuri7/rrhh_flutter faa0b5b lib/app/modules/base_cas/external/certificado_cas_datasource.dart | true | 200 | 1,455 | import 'dart:convert';
import 'dart:io';
import 'package:rrhh_clean/core/config/i_client_custom.dart';
import 'package:rrhh_clean/core/data/models/response_model.dart';
import '../../../../core/errors/exceptions.dart';
import '../data/datasources/i_certificado_cas_datasource.dart';
import '../data/model/presupuesto_c... | 2 |
lenguyenthai123/mobile-advance-flutter-jitsi-meet-client | 27f652e | lib/screens/profile_screen.dart | Dart | www.github.com/lenguyenthai123/mobile-advance-flutter-jitsi-meet-client/tree/main/lib/screens/profile_screen.dart | https://raw.githubusercontent.com/lenguyenthai123/mobile-advance-flutter-jitsi-meet-client/27f652e/lib/screens/profile_screen.dart | lenguyenthai123/mobile-advance-flutter-jitsi-meet-client 27f652e lib/screens/profile_screen.dart | true | 200 | 7,061 | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import '../providers/auth_provider.dart';
import '../services/preferences_service.dart';
class ProfileScreen extends StatefulWidget {
const ProfileScreen({super.key});
@override
State<ProfileScreen> createState() => _ProfileScreenS... | 6 |
surajkale07/Poetroll | 9e8b5cc | lib/page-1/wishes_card.dart | Dart | www.github.com/surajkale07/Poetroll/tree/main/lib/page-1/wishes_card.dart | https://raw.githubusercontent.com/surajkale07/Poetroll/9e8b5cc/lib/page-1/wishes_card.dart | surajkale07/Poetroll 9e8b5cc lib/page-1/wishes_card.dart | true | 200 | 2,084 | import 'package:flutter/material.dart';
import 'package:myapp/page-1/wishesplayer.dart';
class WishesCard extends StatelessWidget {
final ImageProvider backgroundImage;
final String title;
final String poem_id;
final String video_url;
WishesCard({
required this.backgroundImage,
required this.title, ... | 0 |
mohadmed-adel/cti-mobile | ea8d2fa | lib/features/activeRequests/view/active-request-details/widgets/add_attachment_tap.dart | Dart | www.github.com/mohadmed-adel/cti-mobile/tree/main/lib/features/activeRequests/view/active-request-details/widgets/add_attachment_tap.dart | https://raw.githubusercontent.com/mohadmed-adel/cti-mobile/ea8d2fa/lib/features/activeRequests/view/active-request-details/widgets/add_attachment_tap.dart | mohadmed-adel/cti-mobile ea8d2fa lib/features/activeRequests/view/active-request-details/widgets/add_attachment_tap.dart | true | 200 | 3,314 | import 'dart:io';
import 'package:cti/core/constants/app_icons.dart';
import 'package:cti/features/activeRequests/services/active_request_services.dart';
import 'package:file_picker/file_picker.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:gallery_saver/gallery_... | 3 |
jainshashank7/famici_application | 4c6d908 | lib/feature/health_and_wellness/my_medication/entity/medication.dart | Dart | www.github.com/jainshashank7/famici_application/tree/main/lib/feature/health_and_wellness/my_medication/entity/medication.dart | https://raw.githubusercontent.com/jainshashank7/famici_application/4c6d908/lib/feature/health_and_wellness/my_medication/entity/medication.dart | jainshashank7/famici_application 4c6d908 lib/feature/health_and_wellness/my_medication/entity/medication.dart | true | 200 | 2,975 | import 'package:equatable/equatable.dart';
import 'package:famici/feature/health_and_wellness/my_medication/add_medication/entity/dosage.dart';
import 'package:famici/feature/health_and_wellness/my_medication/add_medication/utils/how_much_dosage_input.dart';
class Medication extends Equatable {
Medication(
{th... | 5 |
jordanSinde/tika_place | 0851fa9 | lib/features/apartment_booking/screens/apartment_list_screen.dart | Dart | www.github.com/jordanSinde/tika_place/tree/main/lib/features/apartment_booking/screens/apartment_list_screen.dart | https://raw.githubusercontent.com/jordanSinde/tika_place/0851fa9/lib/features/apartment_booking/screens/apartment_list_screen.dart | jordanSinde/tika_place 0851fa9 lib/features/apartment_booking/screens/apartment_list_screen.dart | true | 200 | 20,718 | // lib/features/apartment/screens/apartment_list_screen.dart
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:go_router/go_router.dart';
import '../../../core/config/theme/app_colors.dart';
import '../models/apartment_mock_data.dart';
import '../wi... | 1 |
adriana-medina-montiel/componentes_flutter | e42604e | lib/screens/infinite_scroll_screen.dart | Dart | www.github.com/adriana-medina-montiel/componentes_flutter/tree/main/lib/screens/infinite_scroll_screen.dart | https://raw.githubusercontent.com/adriana-medina-montiel/componentes_flutter/e42604e/lib/screens/infinite_scroll_screen.dart | adriana-medina-montiel/componentes_flutter e42604e lib/screens/infinite_scroll_screen.dart | true | 200 | 3,582 | import 'package:flutter/material.dart';
import 'package:practica3/screens/home_screen.dart';
import 'package:practica3/screens/images_screen.dart';
import 'package:practica3/screens/notifications_screen.dart';
import 'package:practica3/theme/app_theme.dart';
class InfiniteScrollScreen extends StatefulWidget {
const ... | 4 |
zeedif/FearAndHungerLocalizationTool | a0fcf25 | lib/presentation/widgets/resize_widgets/resize_horizontal_widget.dart | Dart | www.github.com/zeedif/FearAndHungerLocalizationTool/tree/main/lib/presentation/widgets/resize_widgets/resize_horizontal_widget.dart | https://raw.githubusercontent.com/zeedif/FearAndHungerLocalizationTool/a0fcf25/lib/presentation/widgets/resize_widgets/resize_horizontal_widget.dart | zeedif/FearAndHungerLocalizationTool a0fcf25 lib/presentation/widgets/resize_widgets/resize_horizontal_widget.dart | true | 200 | 4,852 | import 'dart:math';
import 'package:fear_and_hunger_localization_tool/presentation/widgets/resize_widgets/priority_size.dart';
import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';
class ResizableHorizontalWidget extends StatefulWidget {
final Widget child;
final List... | 6 |
nguyentienanh530/mlt_menu_admin_web | dbdad8a | lib/features/banner/bloc/banner_bloc.dart | Dart | www.github.com/nguyentienanh530/mlt_menu_admin_web/tree/main/lib/features/banner/bloc/banner_bloc.dart | https://raw.githubusercontent.com/nguyentienanh530/mlt_menu_admin_web/dbdad8a/lib/features/banner/bloc/banner_bloc.dart | nguyentienanh530/mlt_menu_admin_web dbdad8a lib/features/banner/bloc/banner_bloc.dart | true | 200 | 1,506 | import 'dart:async';
import 'package:banner_repository/banner_repository.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:equatable/equatable.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:mlt_menu_admin/common/bloc/bloc_helper.dart';
import 'package:mlt_menu_admin... | 2 |
ulugbek187/app_store_hidjab | f579026 | lib/screens/add_category/add_category_screen.dart | Dart | www.github.com/ulugbek187/app_store_hidjab/tree/main/lib/screens/add_category/add_category_screen.dart | https://raw.githubusercontent.com/ulugbek187/app_store_hidjab/f579026/lib/screens/add_category/add_category_screen.dart | ulugbek187/app_store_hidjab f579026 lib/screens/add_category/add_category_screen.dart | true | 200 | 7,796 | import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:provider/provider.dart';
import 'package:zoom_tap_animation/zoom_tap_animation.dart';
import '../../data/models/category_model.dart';
import '../../utils/colors/ap... | 7 |
kayleed2/holbertonschool-web_dart | 04e3242 | 0x01-dart-function/7-basketball-shots.dart | Dart | www.github.com/kayleed2/holbertonschool-web_dart/tree/main/0x01-dart-function/7-basketball-shots.dart | https://raw.githubusercontent.com/kayleed2/holbertonschool-web_dart/04e3242/0x01-dart-function/7-basketball-shots.dart | kayleed2/holbertonschool-web_dart 04e3242 0x01-dart-function/7-basketball-shots.dart | true | 200 | 519 | int whoWins(Map<String, int> team1, Map<String, int> team2) {
// calculate the total number of points for each team
int team1Points = (team1["free throws"] ?? 0) + (team1["2 pointers"] ?? 0) * 2 + (team1["3 pointers"] ?? 0) * 3;
int team2Points = (team2["free throws"] ?? 0) + (team2["2 pointers"] ?? 0) * 2 + (tea... | 0 |
dnieln7/flutter-examples | 2ee4efc | my-restaurant/lib/utils/image_utils.dart | Dart | www.github.com/dnieln7/flutter-examples/tree/main/my-restaurant/lib/utils/image_utils.dart | https://raw.githubusercontent.com/dnieln7/flutter-examples/2ee4efc/my-restaurant/lib/utils/image_utils.dart | dnieln7/flutter-examples 2ee4efc my-restaurant/lib/utils/image_utils.dart | true | 200 | 1,387 | import 'package:flutter/material.dart';
import 'package:image_picker/image_picker.dart';
import 'package:my_restaurant/widgets/sheet/image_selector_bottom_sheet.dart';
class ImageSelectorUtils {
ImageSelectorUtils({
this.height,
this.width,
this.quality,
this.camera,
this.cameraListener,
this... | 3 |
Alvinooi/mathsolver | fb0648d | lib/custom_code/widgets/chart_share_widget.dart | Dart | www.github.com/Alvinooi/mathsolver/tree/main/lib/custom_code/widgets/chart_share_widget.dart | https://raw.githubusercontent.com/Alvinooi/mathsolver/fb0648d/lib/custom_code/widgets/chart_share_widget.dart | Alvinooi/mathsolver fb0648d lib/custom_code/widgets/chart_share_widget.dart | true | 200 | 6,408 | // Automatic FlutterFlow imports
import '/backend/backend.dart';
import '/flutter_flow/flutter_flow_theme.dart';
import '/flutter_flow/flutter_flow_util.dart';
import 'index.dart'; // Imports other custom widgets
import '/custom_code/actions/index.dart'; // Imports custom actions
import '/flutter_flow/custom_functions.... | 5 |
TonyJ1028/code | edbaad3 | Dart/Part 1.Basic Structure/4.operator.dart | Dart | www.github.com/TonyJ1028/code/tree/main/Dart/Part 1.Basic Structure/4.operator.dart | https://raw.githubusercontent.com/TonyJ1028/code/edbaad3/Dart/Part%201.Basic%20Structure/4.operator.dart | TonyJ1028/code edbaad3 Dart/Part 1.Basic Structure/4.operator.dart | true | 200 | 557 | int a = 114514;
int b = 1919810;
double c = 3.141592653;
main()
{
print(a + b);
//...
print(b ~/ a);//对除法结果取整
//赋值运算符仅取整为dart独有
//关系运算符与C完全相同,返回结果亦为布尔值(true false)
//逻辑运算符同上
bool d = true;
print(!d);//!为逻辑非,仅对布尔值进行取非
int e = 10;
/*
e ??= a;??= 若e初始化时未赋值,则将a的值赋给e
a ??= b;
print(e);
*/
/... | 1 |
enginege/Doyens | cc240cd | doyens_web/web_latest/lib/screens/categories/category_pre.dart | Dart | www.github.com/enginege/Doyens/tree/main/doyens_web/web_latest/lib/screens/categories/category_pre.dart | https://raw.githubusercontent.com/enginege/Doyens/cc240cd/doyens_web/web_latest/lib/screens/categories/category_pre.dart | enginege/Doyens cc240cd doyens_web/web_latest/lib/screens/categories/category_pre.dart | true | 200 | 3,822 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
import 'package:shop_app/components/coustom_bottom_nav_bar.dart';
import 'package:shop_app/enums.dart';
import 'package:shop_app/screens/home/components/body.dart';
import 'p... | 4 |
Sonu8521/SQF-Lite-Crud- | ed7cc52 | lib/Widgets/DashBoard.dart | Dart | www.github.com/Sonu8521/SQF-Lite-Crud-/tree/main/lib/Widgets/DashBoard.dart | https://raw.githubusercontent.com/Sonu8521/SQF-Lite-Crud-/ed7cc52/lib/Widgets/DashBoard.dart | Sonu8521/SQF-Lite-Crud- ed7cc52 lib/Widgets/DashBoard.dart | true | 200 | 1,649 | import 'package:flutter/material.dart';
import 'InsertPage.dart';
import 'ViewPage.dart';
class DashBoard extends StatefulWidget {
const DashBoard({Key? key}) : super(key: key);
@override
State<DashBoard> createState() => _DashBoardState();
}
class _DashBoardState extends State<DashBoard> {
@override
Widg... | 6 |
m7mdragab74/CognoRise-Infotech | 3693e83 | bmi_calculator/lib/widgets/calc_button.dart | Dart | www.github.com/m7mdragab74/CognoRise-Infotech/tree/main/bmi_calculator/lib/widgets/calc_button.dart | https://raw.githubusercontent.com/m7mdragab74/CognoRise-Infotech/3693e83/bmi_calculator/lib/widgets/calc_button.dart | m7mdragab74/CognoRise-Infotech 3693e83 bmi_calculator/lib/widgets/calc_button.dart | true | 200 | 787 | import 'package:flutter/material.dart';
class CalcButton extends StatelessWidget {
const CalcButton({super.key, this.onTap, required this.title});
final void Function()? onTap;
final String title;
@override
Widget build(BuildContext context) {
return GestureDetector(
onTap: onTap,
child: Cont... | 2 |
shivangsorout/e_shop | 95d34ba | lib/features/home/model/product.dart | Dart | www.github.com/shivangsorout/e_shop/tree/main/lib/features/home/model/product.dart | https://raw.githubusercontent.com/shivangsorout/e_shop/95d34ba/lib/features/home/model/product.dart | shivangsorout/e_shop 95d34ba lib/features/home/model/product.dart | true | 200 | 6,080 | import 'package:e_shop/features/home/model/review.dart';
class Product {
final int id;
final String title;
final String description;
final String category;
final double price;
final num discountPercentage;
final double rating;
final int stock;
final List<String> tags;
final String? bran... | 0 |
seungminnk/newz | 3ef9fe4 | lib/feature/mypage/controller/mypage_controller.dart | Dart | www.github.com/seungminnk/newz/tree/main/lib/feature/mypage/controller/mypage_controller.dart | https://raw.githubusercontent.com/seungminnk/newz/3ef9fe4/lib/feature/mypage/controller/mypage_controller.dart | seungminnk/newz 3ef9fe4 lib/feature/mypage/controller/mypage_controller.dart | true | 200 | 2,402 | import 'package:get/get.dart';
import 'package:newz/feature/mypage/service/bookmark_api_model.dart';
import 'package:shared_preferences/shared_preferences.dart';
import '../service/mypage_api_service.dart';
class Mypagecontroller extends GetxController {
final RxBool changeKeyword = false.obs;
final RxBool isKeyw... | 3 |
halildurmus/win32_gamepad | b549b11 | lib/src/models/gamepad_battery_type.dart | Dart | www.github.com/halildurmus/win32_gamepad/tree/main/lib/src/models/gamepad_battery_type.dart | https://raw.githubusercontent.com/halildurmus/win32_gamepad/b549b11/lib/src/models/gamepad_battery_type.dart | halildurmus/win32_gamepad b549b11 lib/src/models/gamepad_battery_type.dart | true | 200 | 366 | /// The type of battery.
enum GamepadBatteryType {
/// The device is not connected.
disconnected,
/// The device is a wired device and does not have a battery.
wired,
/// The device has an alkaline battery.
alkaline,
/// The device has a nickel metal hydride battery.
nickelMetalHydride,
/// The de... | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.