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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
Muhammad-Usmaan/Final_Hackathon_ecommerce_app | a27c1c1 | lib/controllers/on_boarding_controller.dart | Dart | www.github.com/Muhammad-Usmaan/Final_Hackathon_ecommerce_app/tree/main/lib/controllers/on_boarding_controller.dart | https://raw.githubusercontent.com/Muhammad-Usmaan/Final_Hackathon_ecommerce_app/a27c1c1/lib/controllers/on_boarding_controller.dart | Muhammad-Usmaan/Final_Hackathon_ecommerce_app a27c1c1 lib/controllers/on_boarding_controller.dart | true | 200 | 1,329 | import 'package:final_hackathon_app/Views/accounts/accounts_screen.dart';
import 'package:final_hackathon_app/Views/on_boarding_screen.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
class OnBoardingController extends GetxController {
final PageController pageController = PageController... | 7 |
MayYaminThant/navigation_sample_app | 6d3e912 | naviscope/lib/history_page/history_page.dart | Dart | www.github.com/MayYaminThant/navigation_sample_app/tree/main/naviscope/lib/history_page/history_page.dart | https://raw.githubusercontent.com/MayYaminThant/navigation_sample_app/6d3e912/naviscope/lib/history_page/history_page.dart | MayYaminThant/navigation_sample_app 6d3e912 naviscope/lib/history_page/history_page.dart | true | 200 | 1,032 | import 'package:flutter/material.dart';
import 'package:naviscope/layouts/earth.dart';
import 'package:naviscope/layouts/mars.dart';
import 'package:naviscope/layouts/uranus.dart';
import 'package:naviscope/template/main_template.dart';
class HistoryPage extends StatefulWidget {
const HistoryPage({super.key});
@o... | 0 |
oso020/ISLAMI-APP | c0c518f | lib/Home/settings/settings_screen.dart | Dart | www.github.com/oso020/ISLAMI-APP/tree/main/lib/Home/settings/settings_screen.dart | https://raw.githubusercontent.com/oso020/ISLAMI-APP/c0c518f/lib/Home/settings/settings_screen.dart | oso020/ISLAMI-APP c0c518f lib/Home/settings/settings_screen.dart | true | 200 | 3,946 | import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:islami_app/Home/settings/show_bottom_modal_sheet_language.dart';
import 'package:islami_app/Home/settings/show_bottom_modal_sheet_theme.dart';
import 'package:islami_app/theme_app/color_app.dart';
impor... | 3 |
NTN106098/ecommerce_1 | a8d48ae | lib/provider/sigup_provider.dart | Dart | www.github.com/NTN106098/ecommerce_1/tree/main/lib/provider/sigup_provider.dart | https://raw.githubusercontent.com/NTN106098/ecommerce_1/a8d48ae/lib/provider/sigup_provider.dart | NTN106098/ecommerce_1 a8d48ae lib/provider/sigup_provider.dart | true | 200 | 2,019 | import 'dart:async';
import 'dart:convert';
import 'package:ecommerce_app_fhh_02/api/api_link.dart';
import 'package:ecommerce_app_fhh_02/models/user_model.dart';
import 'package:ecommerce_app_fhh_02/utils/shared_preference.dart';
import 'package:flutter/material.dart';
import 'package:http/http.dart';
enum Status {
... | 4 |
JaVergelVe/Desarrollo-Movil | 1deeaf9 | all_widget/lib/presentation/screens/infinity/infinity_screen.dart | Dart | www.github.com/JaVergelVe/Desarrollo-Movil/tree/main/all_widget/lib/presentation/screens/infinity/infinity_screen.dart | https://raw.githubusercontent.com/JaVergelVe/Desarrollo-Movil/1deeaf9/all_widget/lib/presentation/screens/infinity/infinity_screen.dart | JaVergelVe/Desarrollo-Movil 1deeaf9 all_widget/lib/presentation/screens/infinity/infinity_screen.dart | true | 200 | 2,461 | import 'package:flutter/material.dart';
class InifinityScreen extends StatelessWidget {
const InifinityScreen({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('Inifinty'),
),
body: const _InifinityView(),
);
}
}
... | 5 |
ArthurToyokawa/Aplicacoes-flutter-DDM | 7d29b2c | flutter_dnd/lib/pages/armas_cadastro.dart | Dart | www.github.com/ArthurToyokawa/Aplicacoes-flutter-DDM/tree/main/flutter_dnd/lib/pages/armas_cadastro.dart | https://raw.githubusercontent.com/ArthurToyokawa/Aplicacoes-flutter-DDM/7d29b2c/flutter_dnd/lib/pages/armas_cadastro.dart | ArthurToyokawa/Aplicacoes-flutter-DDM 7d29b2c flutter_dnd/lib/pages/armas_cadastro.dart | true | 200 | 5,328 | import 'package:flutter/material.dart';
import 'package:flutter_dnd/components/FormNumberField.dart';
import 'package:flutter_dnd/components/FormTextField.dart';
import 'package:flutter_dnd/components/bigLabel.dart';
import 'package:flutter_dnd/components/big_button.dart';
import 'package:flutter_dnd/components/leading... | 2 |
rosklyar/kaidzen | 0301818 | kaidzen_app/lib/widgets/taskType.dart | Dart | www.github.com/rosklyar/kaidzen/tree/main/kaidzen_app/lib/widgets/taskType.dart | https://raw.githubusercontent.com/rosklyar/kaidzen/0301818/kaidzen_app/lib/widgets/taskType.dart | rosklyar/kaidzen 0301818 kaidzen_app/lib/widgets/taskType.dart | true | 200 | 2,726 | import 'package:flutter/material.dart';
import '../assets/constants.dart';
class TaskTypeWidget extends StatefulWidget {
final void Function(int?)? callback;
final int initialCategory;
const TaskTypeWidget(
{Key? key, required this.callback, required this.initialCategory})
: super(key: key);
@over... | 1 |
FelipeSHenrique/flutter-foreground-service | 7e6642e | lib/main.dart | Dart | www.github.com/FelipeSHenrique/flutter-foreground-service/tree/main/lib/main.dart | https://raw.githubusercontent.com/FelipeSHenrique/flutter-foreground-service/7e6642e/lib/main.dart | FelipeSHenrique/flutter-foreground-service 7e6642e lib/main.dart | true | 200 | 748 | import 'package:flutter/material.dart';
import 'package:permission_handler/permission_handler.dart';
import 'back_services.dart';
import 'home.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await Permission.notification.isDenied.then((value) => {
if (value) {
Permission.notificati... | 0 |
lamissmessaoudi/bus-app-mobile | 2adf742 | lib/services/api/trajet_api.dart | Dart | www.github.com/lamissmessaoudi/bus-app-mobile/tree/main/lib/services/api/trajet_api.dart | https://raw.githubusercontent.com/lamissmessaoudi/bus-app-mobile/2adf742/lib/services/api/trajet_api.dart | lamissmessaoudi/bus-app-mobile 2adf742 lib/services/api/trajet_api.dart | true | 200 | 2,231 | import 'dart:convert';
import 'package:get/get.dart';
import 'package:dio/dio.dart';
import 'package:softun_bus_mobile/models/circuit_model.dart';
import 'package:softun_bus_mobile/services/shared-prefs.dart';
import 'package:softun_bus_mobile/services/urls.dart';
class TrajetService extends GetxService {
Future<Tr... | 7 |
Pushya26/todolist | 7203bc3 | lib/models/note_database.dart | Dart | www.github.com/Pushya26/todolist/tree/main/lib/models/note_database.dart | https://raw.githubusercontent.com/Pushya26/todolist/7203bc3/lib/models/note_database.dart | Pushya26/todolist 7203bc3 lib/models/note_database.dart | true | 200 | 1,431 | import 'package:flutter/material.dart';
import 'package:isar/isar.dart';
import 'package:isarcrudtute/models/notes_database.dart';
import 'pages/notes_page.dart';
class NoteDatabase extends ChangeNotiFier{
static late Isar isar;
//INITIALIZE - DATABASE
static Future<void> initialize() async{
final dir =... | 3 |
mynamegabe/ridmi | 65368c6 | android/RIDMI/lib/providers/bluetooth_provider.dart | Dart | www.github.com/mynamegabe/ridmi/tree/main/android/RIDMI/lib/providers/bluetooth_provider.dart | https://raw.githubusercontent.com/mynamegabe/ridmi/65368c6/android/RIDMI/lib/providers/bluetooth_provider.dart | mynamegabe/ridmi 65368c6 android/RIDMI/lib/providers/bluetooth_provider.dart | true | 200 | 5,943 | import 'package:flutter/material.dart';
import 'package:flutter_blue_plus/flutter_blue_plus.dart';
import '../config.dart';
import 'dart:convert';
class BluetoothProvider with ChangeNotifier {
final List<BluetoothDevice> _devices = []; // List to store discovered devices
BluetoothDevice? _connectedDevice; // Curre... | 4 |
nthingg/VinEcommerce_MO_Seller | 9dbaeb4 | lib/models/review_model.dart | Dart | www.github.com/nthingg/VinEcommerce_MO_Seller/tree/main/lib/models/review_model.dart | https://raw.githubusercontent.com/nthingg/VinEcommerce_MO_Seller/9dbaeb4/lib/models/review_model.dart | nthingg/VinEcommerce_MO_Seller 9dbaeb4 lib/models/review_model.dart | true | 200 | 564 | class Review {
int? Rate;
String? Comment;
String? CustomerAvatarUrl;
String? CustomerName;
Review(this.Rate, this.Comment, this.CustomerAvatarUrl, this.CustomerName);
int? getRate() => this.Rate;
String? getComment() => this.Comment;
String? getCustomerAvatarUrl() => this.CustomerAvatarUrl;
String?... | 6 |
iamsagar14/fluttertokendemo | c9ff568 | lib/screens/home_screen.dart | Dart | www.github.com/iamsagar14/fluttertokendemo/tree/main/lib/screens/home_screen.dart | https://raw.githubusercontent.com/iamsagar14/fluttertokendemo/c9ff568/lib/screens/home_screen.dart | iamsagar14/fluttertokendemo c9ff568 lib/screens/home_screen.dart | true | 200 | 3,088 | import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:fluttterdemowhive/model/usermodel.dart';
import 'package:fluttterdemowhive/screens/login_screen.dart';
import 'package:http/http.dart' as http;
import 'package:shared_preferences/shared_preferences.dart';
import '../model/usermodel.dart';
... | 2 |
BrianRigii/clean-todo | 9f96ac2 | lib/features/onboarding/presentation/screens/splash_screen.dart | Dart | www.github.com/BrianRigii/clean-todo/tree/main/lib/features/onboarding/presentation/screens/splash_screen.dart | https://raw.githubusercontent.com/BrianRigii/clean-todo/9f96ac2/lib/features/onboarding/presentation/screens/splash_screen.dart | BrianRigii/clean-todo 9f96ac2 lib/features/onboarding/presentation/screens/splash_screen.dart | true | 200 | 868 | import 'package:clean_todo/features/dashboard/presentation/home_screen.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:go_router/go_router.dart';
class SplashScreen extends ConsumerStatefulWidget {
const SplashScreen({super.key});
static const... | 5 |
Dboy233/nice_weather | 9034140 | lib/weathers/meteor.dart | Dart | www.github.com/Dboy233/nice_weather/tree/main/lib/weathers/meteor.dart | https://raw.githubusercontent.com/Dboy233/nice_weather/9034140/lib/weathers/meteor.dart | Dboy233/nice_weather 9034140 lib/weathers/meteor.dart | true | 200 | 5,608 | import 'dart:async';
import 'dart:math';
import 'package:flutter/material.dart';
import 'package:nice_weather/drawable_layer/drawable_layer.dart';
import '../utils.dart';
class Meteor extends DrawableLayer with AnimationAbilityMixin {
Meteor() : super(label: "流星");
final _random = xRandom;
///最多三个流星
final ... | 3 |
Tek-hp/clean_code_flutter_for_resume | 6109cff | lib/src/features/home/presentation/widgets/selection_tab.dart | Dart | www.github.com/Tek-hp/clean_code_flutter_for_resume/tree/main/lib/src/features/home/presentation/widgets/selection_tab.dart | https://raw.githubusercontent.com/Tek-hp/clean_code_flutter_for_resume/6109cff/lib/src/features/home/presentation/widgets/selection_tab.dart | Tek-hp/clean_code_flutter_for_resume 6109cff lib/src/features/home/presentation/widgets/selection_tab.dart | true | 200 | 343 | import 'package:flutter/material.dart';
class SelectionTab extends StatelessWidget {
const SelectionTab({
super.key,
required this.label,
required this.onTap,
});
final String label;
final VoidCallback onTap;
@override
Widget build(BuildContext context) {
return InkWell(onTap: onTap, chil... | 0 |
EA-flip2/Study_Buddy | 06bacee | lib/screens/pages/option3/pomodoro.dart | Dart | www.github.com/EA-flip2/Study_Buddy/tree/main/lib/screens/pages/option3/pomodoro.dart | https://raw.githubusercontent.com/EA-flip2/Study_Buddy/06bacee/lib/screens/pages/option3/pomodoro.dart | EA-flip2/Study_Buddy 06bacee lib/screens/pages/option3/pomodoro.dart | true | 200 | 2,720 | import 'dart:async';
import 'package:flutter/material.dart';
class PomodoroPage extends StatefulWidget {
@override
_PomodoroPageState createState() => _PomodoroPageState();
}
class _PomodoroPageState extends State<PomodoroPage> {
int workDuration = 25;
int breakDuration = 5;
Timer? timer;
int timeRemaini... | 4 |
Encorpluptit/FlutterII | 00d43ae | app/lib/src/ui/routes/main_routes.dart | Dart | www.github.com/Encorpluptit/FlutterII/tree/main/app/lib/src/ui/routes/main_routes.dart | https://raw.githubusercontent.com/Encorpluptit/FlutterII/00d43ae/app/lib/src/ui/routes/main_routes.dart | Encorpluptit/FlutterII 00d43ae app/lib/src/ui/routes/main_routes.dart | true | 200 | 2,108 | import 'package:flutter/material.dart';
import 'package:movieapp/src/blocs/provider.dart';
import 'package:movieapp/src/blocs/routes/routes_bloc.dart';
import 'package:movieapp/src/ui/screens/account_screen.dart';
import 'package:movieapp/src/ui/screens/genres_screen.dart';
import 'package:movieapp/src/ui/screens/movie... | 6 |
urteeej/Tark_kartu | 1eee35f | lib/4_uzduotys/garsas/s_g_uzduotis.dart | Dart | www.github.com/urteeej/Tark_kartu/tree/main/lib/4_uzduotys/garsas/s_g_uzduotis.dart | https://raw.githubusercontent.com/urteeej/Tark_kartu/1eee35f/lib/4_uzduotys/garsas/s_g_uzduotis.dart | urteeej/Tark_kartu 1eee35f lib/4_uzduotys/garsas/s_g_uzduotis.dart | true | 200 | 8,030 | import 'package:flutter/material.dart';
import 'package:audioplayers/audioplayers.dart';
import 'package:provider/provider.dart';
class GarsoSunki extends StatefulWidget {
const GarsoSunki({super.key});
@override
State<StatefulWidget> createState() => Remelis2();
}
class Remelis2 extends State<Garso... | 2 |
ebubelife/artisan_oga | bc393ec | lib/presentation/settings_page_one_screen/settings_page_one_screen.dart | Dart | www.github.com/ebubelife/artisan_oga/tree/main/lib/presentation/settings_page_one_screen/settings_page_one_screen.dart | https://raw.githubusercontent.com/ebubelife/artisan_oga/bc393ec/lib/presentation/settings_page_one_screen/settings_page_one_screen.dart | ebubelife/artisan_oga bc393ec lib/presentation/settings_page_one_screen/settings_page_one_screen.dart | true | 200 | 5,182 | import 'package:flutter/material.dart';
import 'package:artisan_oga/core/app_export.dart';
import 'package:artisan_oga/widgets/custom_bottom_bar.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:hive/hive.dart';
import 'package:page_transition/page_transition.dart';
import '../employer_profile/empl... | 5 |
solankismit/matrimonialApp | 2cc37a9 | lib/model/user_display_model.dart | Dart | www.github.com/solankismit/matrimonialApp/tree/main/lib/model/user_display_model.dart | https://raw.githubusercontent.com/solankismit/matrimonialApp/2cc37a9/lib/model/user_display_model.dart | solankismit/matrimonialApp 2cc37a9 lib/model/user_display_model.dart | true | 200 | 5,257 | class user_display_model {
int? code;
String? status;
String? message;
Metadata? metadata;
Data? data;
user_display_model(
{this.code, this.status, this.message, this.metadata, this.data});
user_display_model.fromJson(Map<String, dynamic> json) {
code = json['code'];
status = json['status'... | 1 |
Ahmedyehia122/-Sushi-Restaurant-App | 43411f9 | lib/pages/menu_page.dart | Dart | www.github.com/Ahmedyehia122/-Sushi-Restaurant-App/tree/main/lib/pages/menu_page.dart | https://raw.githubusercontent.com/Ahmedyehia122/-Sushi-Restaurant-App/43411f9/lib/pages/menu_page.dart | Ahmedyehia122/-Sushi-Restaurant-App 43411f9 lib/pages/menu_page.dart | true | 200 | 6,404 | import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:provider/provider.dart';
import 'package:sushi_restaurant_app/components/food_tile.dart';
import 'package:sushi_restaurant_app/components/my_button.dart';
import 'package:sushi_restaurant_app/model/shop.dart';
impor... | 7 |
MohanDhakal/payment_exploration | 1a7d45c | lib/views/widgets/change_password.dart | Dart | www.github.com/MohanDhakal/payment_exploration/tree/main/lib/views/widgets/change_password.dart | https://raw.githubusercontent.com/MohanDhakal/payment_exploration/1a7d45c/lib/views/widgets/change_password.dart | MohanDhakal/payment_exploration 1a7d45c lib/views/widgets/change_password.dart | true | 200 | 2,517 | import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
import '../../utils/app_colors.dart';
import '../settings.dart';
class ChangePassword extends StatelessWidget {
const ChangePassword({super.key});
@override
Widget build(BuildContext context) {
final size = MediaQuery.of(con... | 3 |
ENRexGeorge23/litheroute_maps | 9ffb1de | lib/helpers/utils.dart | Dart | www.github.com/ENRexGeorge23/litheroute_maps/tree/main/lib/helpers/utils.dart | https://raw.githubusercontent.com/ENRexGeorge23/litheroute_maps/9ffb1de/lib/helpers/utils.dart | ENRexGeorge23/litheroute_maps 9ffb1de lib/helpers/utils.dart | true | 200 | 4,531 | // ignore_for_file: constant_identifier_names, depend_on_referenced_packages
import 'dart:convert';
import 'dart:io';
import 'dart:math';
import 'dart:typed_data';
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
import 'package:mapbox_maps_flutter/mapbox_maps_flutter.dart';
import 'p... | 0 |
SVS-intern-1/OumWork | d2fd606 | flutter_facebook_clone/lib/widgets/post_widget.dart | Dart | www.github.com/SVS-intern-1/OumWork/tree/main/flutter_facebook_clone/lib/widgets/post_widget.dart | https://raw.githubusercontent.com/SVS-intern-1/OumWork/d2fd606/flutter_facebook_clone/lib/widgets/post_widget.dart | SVS-intern-1/OumWork d2fd606 flutter_facebook_clone/lib/widgets/post_widget.dart | true | 200 | 2,571 | import 'package:flutter/material.dart';
import 'package:flutter_facebook_clone/models/post.dart';
class PostWidget extends StatefulWidget {
final Post post;
PostWidget({required this.post});
@override
_PostWidgetState createState() => _PostWidgetState();
}
class _PostWidgetState extends State<PostWidget> {
... | 4 |
islam-diab/flutter_note_mate | 719e713 | lib/features/note_veiw/view/drawer/drawer_view.dart | Dart | www.github.com/islam-diab/flutter_note_mate/tree/main/lib/features/note_veiw/view/drawer/drawer_view.dart | https://raw.githubusercontent.com/islam-diab/flutter_note_mate/719e713/lib/features/note_veiw/view/drawer/drawer_view.dart | islam-diab/flutter_note_mate 719e713 lib/features/note_veiw/view/drawer/drawer_view.dart | true | 200 | 1,144 | import 'package:flutter/material.dart';
import 'package:flutter_note_mate/core/helpre/spase.dart';
import 'package:flutter_note_mate/core/theming/app_color.dart';
import 'package:flutter_note_mate/core/theming/text_styles.dart';
import 'package:flutter_note_mate/features/note_veiw/view/notes_view.dart';
import 'package... | 6 |
alagtari/digirh | 89d9b7a | lib/core/util/date_time_formatters.dart | Dart | www.github.com/alagtari/digirh/tree/main/lib/core/util/date_time_formatters.dart | https://raw.githubusercontent.com/alagtari/digirh/89d9b7a/lib/core/util/date_time_formatters.dart | alagtari/digirh 89d9b7a lib/core/util/date_time_formatters.dart | true | 200 | 680 | import 'dart:developer';
import 'package:intl/intl.dart';
String formatDate(DateTime dateTime) {
String formattedDate = DateFormat("d MMM y", "fr_FR").format(dateTime);
return formattedDate;
}
String formatTime(DateTime dateTime) {
String formattedTime = DateFormat.Hm().format(dateTime);
return fo... | 1 |
MalakHumodah/BookApplication | 5a4d485 | lib/API/Product_API/all_products_screen.dart | Dart | www.github.com/MalakHumodah/BookApplication/tree/main/lib/API/Product_API/all_products_screen.dart | https://raw.githubusercontent.com/MalakHumodah/BookApplication/5a4d485/lib/API/Product_API/all_products_screen.dart | MalakHumodah/BookApplication 5a4d485 lib/API/Product_API/all_products_screen.dart | true | 200 | 1,786 | import 'package:flutter/material.dart';
import 'package:myapp/API/Product_API/product_model.dart';
import 'package:myapp/API/Product_API/product_service.dart';
import 'package:myapp/API/Product_API/product_widget.dart';
import '../../state_management/SharedPref/user_model.dart';
class AllProductScreen extends Statefu... | 2 |
fleetimee/infinite-impermanence | 83dabdc | lib/app/modules/home_reviewer/controllers/home_reviewer_controller.dart | Dart | www.github.com/fleetimee/infinite-impermanence/tree/main/lib/app/modules/home_reviewer/controllers/home_reviewer_controller.dart | https://raw.githubusercontent.com/fleetimee/infinite-impermanence/83dabdc/lib/app/modules/home_reviewer/controllers/home_reviewer_controller.dart | fleetimee/infinite-impermanence 83dabdc lib/app/modules/home_reviewer/controllers/home_reviewer_controller.dart | true | 200 | 1,552 | // 🐦 Flutter imports:
import 'package:akm/app/widget/dialog_box.dart';
import 'package:flutter/material.dart';
// 📦 Package imports:
import 'package:firebase_auth/firebase_auth.dart';
import 'package:get/get.dart';
import 'package:google_sign_in/google_sign_in.dart';
import 'package:shared_preferences/shared_prefere... | 5 |
upgradev/cursocoderflutter | 5e1d37b | 1-Curso_Dart/4_orientacao_objeto/model/venda_item.dart | Dart | www.github.com/upgradev/cursocoderflutter/tree/main/1-Curso_Dart/4_orientacao_objeto/model/venda_item.dart | https://raw.githubusercontent.com/upgradev/cursocoderflutter/5e1d37b/1-Curso_Dart/4_orientacao_objeto/model/venda_item.dart | upgradev/cursocoderflutter 5e1d37b 1-Curso_Dart/4_orientacao_objeto/model/venda_item.dart | true | 200 | 370 | import 'produto.dart';
class VendaItem {
Produto? produto;
int quantidade;
double _preco = 0.0;
VendaItem({this.produto, this.quantidade = 1});
double get preco {
if (produto != null) {
_preco = produto!.precoComDesconto;
}
return _preco;
}
set preco(double novoPreco) {
if (novoP... | 7 |
desaiprashant000/loginpage | 7023af2 | lib/seconpage.dart | Dart | www.github.com/desaiprashant000/loginpage/tree/main/lib/seconpage.dart | https://raw.githubusercontent.com/desaiprashant000/loginpage/7023af2/lib/seconpage.dart | desaiprashant000/loginpage 7023af2 lib/seconpage.dart | true | 200 | 890 | import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'firstpage.dart';
class second extends StatefulWidget {
const second({Key? key}) : super(key: key);
@override
State<second> createState() => _secondState();
}
class _secondState extends State<second> {
... | 0 |
RhyshaKachari/NoteHub | 89ec612 | lib/model/MyNoteModel.dart | Dart | www.github.com/RhyshaKachari/NoteHub/tree/main/lib/model/MyNoteModel.dart | https://raw.githubusercontent.com/RhyshaKachari/NoteHub/89ec612/lib/model/MyNoteModel.dart | RhyshaKachari/NoteHub 89ec612 lib/model/MyNoteModel.dart | true | 200 | 1,911 | class NotesImpNames{
static final String id = "id" ;
static final String pin = "pin";
static final String title = "title";
static final String content = "content";
static final String isArchive= "isArchive";
static final String createdTime = "createdTime";
static final String TableName = "Notes";
... | 3 |
JoseRG03/RoomBox | f2db925 | lib/models/responses/voucher-response.dart | Dart | www.github.com/JoseRG03/RoomBox/tree/main/lib/models/responses/voucher-response.dart | https://raw.githubusercontent.com/JoseRG03/RoomBox/f2db925/lib/models/responses/voucher-response.dart | JoseRG03/RoomBox f2db925 lib/models/responses/voucher-response.dart | true | 200 | 1,868 | import 'package:room_box_app/models/responses/voucher-article.dart';
class VoucherResponse {
final int voucherId;
final DateTime voucherDate;
final String voucherDateDisplay;
final String paymentMethod;
final String paymentDetails;
final String clientName;
final String subtotal;
final String taxAmount;... | 4 |
mdnazisharman2803/Responsiveness | ba1487d | lib/widget/card2.dart | Dart | www.github.com/mdnazisharman2803/Responsiveness/tree/main/lib/widget/card2.dart | https://raw.githubusercontent.com/mdnazisharman2803/Responsiveness/ba1487d/lib/widget/card2.dart | mdnazisharman2803/Responsiveness ba1487d lib/widget/card2.dart | true | 200 | 803 | import 'package:flutter/material.dart';
class card2 extends StatelessWidget {
const card2({ Key? key }) : super(key: key);
@override
Widget build(BuildContext context) {
return Stack(
children: [
AspectRatio(
aspectRatio: 16/5,
child: Container(
color: Colors.purpleAccent,
... | 6 |
MuhammadAuliaKahfi/m15 | 7e442ab | button_image_picker.dart | Dart | www.github.com/MuhammadAuliaKahfi/m15/tree/main/button_image_picker.dart | https://raw.githubusercontent.com/MuhammadAuliaKahfi/m15/7e442ab/button_image_picker.dart | MuhammadAuliaKahfi/m15 7e442ab button_image_picker.dart | true | 200 | 1,829 | import 'package:flutter/material.dart';
import 'package:flutter_application_15/pertemuan15/pertemuan15_provider.dart';
import 'package:provider/provider.dart';
class ButtonImagePicker extends StatefulWidget {
final String title;
final bool isGallery
const ButtonImagePicker(
{Key? key, required this.i... | 1 |
boanergepro/youpost | e42d90a | lib/src/app.dart | Dart | www.github.com/boanergepro/youpost/tree/main/lib/src/app.dart | https://raw.githubusercontent.com/boanergepro/youpost/e42d90a/lib/src/app.dart | boanergepro/youpost e42d90a lib/src/app.dart | true | 200 | 557 | import 'package:flutter/material.dart';
import 'package:youpost/src/presentation/pages/home_page.dart';
class App extends StatelessWidget {
const App({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
theme: ThemeData(
colo... | 5 |
LeonNez/bok-choy_diseases_Model | ac87d9e | Newpage.dart | Dart | www.github.com/LeonNez/bok-choy_diseases_Model/tree/main/Newpage.dart | https://raw.githubusercontent.com/LeonNez/bok-choy_diseases_Model/ac87d9e/Newpage.dart | LeonNez/bok-choy_diseases_Model ac87d9e Newpage.dart | true | 200 | 443 | import 'package:flutter/material.dart';
class SecondRoute extends StatelessWidget {
const SecondRoute({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('Second Route'),
),
body: Column(
children: [
... | 7 |
Navrekh-Technologies-PVT-LTD/userprofile | ff41e0b | lib/presentation/tournament/start-tournament/widgets/team_card_widget.dart | Dart | www.github.com/Navrekh-Technologies-PVT-LTD/userprofile/tree/main/lib/presentation/tournament/start-tournament/widgets/team_card_widget.dart | https://raw.githubusercontent.com/Navrekh-Technologies-PVT-LTD/userprofile/ff41e0b/lib/presentation/tournament/start-tournament/widgets/team_card_widget.dart | Navrekh-Technologies-PVT-LTD/userprofile ff41e0b lib/presentation/tournament/start-tournament/widgets/team_card_widget.dart | true | 200 | 3,599 | import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:yoursportz/domain/tournament/tournaments_entity.dart';
import 'package:yoursportz/utils/color.dart';
class TeamCardWidget extends StatelessWidget {
const TeamCardWidget({
super.key,
required this.team,
... | 0 |
devlucasandrade/estudos_flutter | 1d22743 | mobx_studies_app/lib/dice/dice_widgets.dart | Dart | www.github.com/devlucasandrade/estudos_flutter/tree/main/mobx_studies_app/lib/dice/dice_widgets.dart | https://raw.githubusercontent.com/devlucasandrade/estudos_flutter/1d22743/mobx_studies_app/lib/dice/dice_widgets.dart | devlucasandrade/estudos_flutter 1d22743 mobx_studies_app/lib/dice/dice_widgets.dart | true | 200 | 2,544 | import 'package:flutter/material.dart';
import 'package:flutter_mobx/flutter_mobx.dart';
import 'package:mobx_studies_app/dice/dice_counter.dart';
import 'package:provider/provider.dart';
class DiceExample extends StatelessWidget {
const DiceExample({Key? key}) : super(key: key);
@override
Widget build(BuildCon... | 3 |
muhammed-okeily/U_Therapy | 7cf8cfe | lib/navigator/tests/Depression test/dep_Quiz_Test_Main.dart | Dart | www.github.com/muhammed-okeily/U_Therapy/tree/main/lib/navigator/tests/Depression test/dep_Quiz_Test_Main.dart | https://raw.githubusercontent.com/muhammed-okeily/U_Therapy/7cf8cfe/lib/navigator/tests/Depression%20test/dep_Quiz_Test_Main.dart | muhammed-okeily/U_Therapy 7cf8cfe lib/navigator/tests/Depression test/dep_Quiz_Test_Main.dart | true | 200 | 17,455 | import 'package:flutter/material.dart';
import 'dep_Quiz_Quiz.dart';
import 'dep_Quiz_Result.dart';
// ignore: camel_case_types
class dep_Quiz_Main extends StatefulWidget {
const dep_Quiz_Main({Key? key}) : super(key: key);
@override
State<dep_Quiz_Main> createState() => _DoubtState();
}
class _DoubtState e... | 2 |
imlimge/Flutter-PJ-LKE | 011453d | 03.플러터PJ/app_04_login/lib/main.dart | Dart | www.github.com/imlimge/Flutter-PJ-LKE/tree/main/03.플러터PJ/app_04_login/lib/main.dart | https://raw.githubusercontent.com/imlimge/Flutter-PJ-LKE/011453d/03.%ED%94%8C%EB%9F%AC%ED%84%B0PJ/app_04_login/lib/main.dart | imlimge/Flutter-PJ-LKE 011453d 03.플러터PJ/app_04_login/lib/main.dart | true | 200 | 2,093 | import 'package:flutter/material.dart';
//홈페이지
import 'package:app_04_login/pages/home_page.dart';
//로그인
import 'package:app_04_login/pages/login_page.dart';
void main() {
runApp(const MyApp());
}
/*
[ 로그인 앱 전체구성 : lib하위 ]
- 메인 출발 (추가 사이즈지정 : size.dart)
- 페이지구성 : 2개
pages / home_page.dart : 홈페이지
page... | 4 |
baraaShamma/posts_app_clean_architecture | 722357f | lib/features/posts/presentation/screen/posts_screen.dart | Dart | www.github.com/baraaShamma/posts_app_clean_architecture/tree/main/lib/features/posts/presentation/screen/posts_screen.dart | https://raw.githubusercontent.com/baraaShamma/posts_app_clean_architecture/722357f/lib/features/posts/presentation/screen/posts_screen.dart | baraaShamma/posts_app_clean_architecture 722357f lib/features/posts/presentation/screen/posts_screen.dart | true | 200 | 510 | import 'package:flutter/material.dart';
class PostsScreen extends StatelessWidget {
const PostsScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: _buildAppbar(),
body: _buildBody(),
);
}
AppBar _buildAppbar() => AppBar(
titl... | 1 |
EmanAshraf2002/bmi_calculator | ce37ff0 | lib/main.dart | Dart | www.github.com/EmanAshraf2002/bmi_calculator/tree/main/lib/main.dart | https://raw.githubusercontent.com/EmanAshraf2002/bmi_calculator/ce37ff0/lib/main.dart | EmanAshraf2002/bmi_calculator ce37ff0 lib/main.dart | true | 200 | 624 | import 'package:bmi_calculator/features/data_manager/bmi_cubit.dart';
import 'package:bmi_calculator/features/views/splash.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
void main() {
runApp(const BMIApp());
}
class BMIApp extends StatelessWidget {
const BMIApp({su... | 6 |
tungtd00/my_movie_app | 1c54449 | lib/view/auth/login/login_view.dart | Dart | www.github.com/tungtd00/my_movie_app/tree/main/lib/view/auth/login/login_view.dart | https://raw.githubusercontent.com/tungtd00/my_movie_app/1c54449/lib/view/auth/login/login_view.dart | tungtd00/my_movie_app 1c54449 lib/view/auth/login/login_view.dart | true | 200 | 3,417 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:my_movie_app/appRouter.dart';
import 'package:my_movie_app/comon/widget/textfield_custom.dart';
import 'package:my_movie_app/view/auth/login/login_controller.dart';
class LoginScreen extends StatelessWidget {
final TextEditingCont... | 5 |
23-24Sem2-Courses/ct48402-project-phuocleaf | 3198403 | lib/ui/cart/cart_manager.dart | Dart | www.github.com/23-24Sem2-Courses/ct48402-project-phuocleaf/tree/main/lib/ui/cart/cart_manager.dart | https://raw.githubusercontent.com/23-24Sem2-Courses/ct48402-project-phuocleaf/3198403/lib/ui/cart/cart_manager.dart | 23-24Sem2-Courses/ct48402-project-phuocleaf 3198403 lib/ui/cart/cart_manager.dart | true | 200 | 2,706 | import 'package:flutter/foundation.dart';
import '../../models/auth_token.dart';
import '../../models/cart_item.dart';
import '../../models/product.dart';
import '../../services/carts_service.dart';
class CartManager with ChangeNotifier {
Map<String, CartItem> _items = {};
final CartsService _cartService;
... | 7 |
leandrorochaadm/app_wallet | 4b63e8b | lib/widgets/my_button.dart | Dart | www.github.com/leandrorochaadm/app_wallet/tree/main/lib/widgets/my_button.dart | https://raw.githubusercontent.com/leandrorochaadm/app_wallet/4b63e8b/lib/widgets/my_button.dart | leandrorochaadm/app_wallet 4b63e8b lib/widgets/my_button.dart | true | 200 | 1,129 | import 'package:flutter/material.dart';
class MyButton extends StatelessWidget {
final iconImagePath;
final String buttonText;
const MyButton({
Key? key,
required this.iconImagePath,
required this.buttonText,
}) : super(key: key);
@override
Widget build(BuildContext context) {
return Colu... | 3 |
kingwill101/routed | 76a1367 | examples/kitchen_sink/lib/services/recipe_service.dart | Dart | www.github.com/kingwill101/routed/tree/main/examples/kitchen_sink/lib/services/recipe_service.dart | https://raw.githubusercontent.com/kingwill101/routed/76a1367/examples/kitchen_sink/lib/services/recipe_service.dart | kingwill101/routed 76a1367 examples/kitchen_sink/lib/services/recipe_service.dart | true | 200 | 885 | import 'package:kitchen_sink_example/consts.dart';
import 'package:kitchen_sink_example/models/recipe.dart';
class RecipeService {
static List<Recipe> getPaginatedRecipes(int offset, int limit) {
return recipes.skip(offset).take(limit).toList();
}
static Recipe? getById(String id) {
return recipes.first... | 0 |
SunyMohite/Qriteeq_Flutter | 89bc1bf | lib/modal/apiModel/res_model/app_version_res_model.dart | Dart | www.github.com/SunyMohite/Qriteeq_Flutter/tree/main/lib/modal/apiModel/res_model/app_version_res_model.dart | https://raw.githubusercontent.com/SunyMohite/Qriteeq_Flutter/89bc1bf/lib/modal/apiModel/res_model/app_version_res_model.dart | SunyMohite/Qriteeq_Flutter 89bc1bf lib/modal/apiModel/res_model/app_version_res_model.dart | true | 200 | 1,124 | class AppVersionResModel {
int? status;
bool? error;
String? message;
AppData? data;
AppVersionResModel({this.status, this.error, this.message, this.data});
AppVersionResModel.fromJson(Map<String, dynamic> json) {
status = json['status'];
error = json['error'];
message = json['message'];
d... | 2 |
Mehedihasan1998/Shoe_Store_Design | 82fb6f5 | lib/ui_pages/product_details.dart | Dart | www.github.com/Mehedihasan1998/Shoe_Store_Design/tree/main/lib/ui_pages/product_details.dart | https://raw.githubusercontent.com/Mehedihasan1998/Shoe_Store_Design/82fb6f5/lib/ui_pages/product_details.dart | Mehedihasan1998/Shoe_Store_Design 82fb6f5 lib/ui_pages/product_details.dart | true | 200 | 10,453 | import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:get/get.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:shoestore/model/item_model.dart';
class ProductDetailsPage extends StatefulWidget {
const Produ... | 6 |
HumbleGh/shortchanged | ec7cc6d | lib/widgets/notification_card.dart | Dart | www.github.com/HumbleGh/shortchanged/tree/main/lib/widgets/notification_card.dart | https://raw.githubusercontent.com/HumbleGh/shortchanged/ec7cc6d/lib/widgets/notification_card.dart | HumbleGh/shortchanged ec7cc6d lib/widgets/notification_card.dart | true | 200 | 1,647 | import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
import 'package:gap/gap.dart';
import 'package:shortchanged/utils/app_layout.dart';
import 'package:shortchanged/utils/app_style.dart';
class NotificationCard extends StatelessWidget {
const NotificationCard({super.key});
@override
W... | 1 |
msgtobala/ultrasound_clinic | c4bc2d7 | lib/containers/patient/appointment_form_container.dart | Dart | www.github.com/msgtobala/ultrasound_clinic/tree/main/lib/containers/patient/appointment_form_container.dart | https://raw.githubusercontent.com/msgtobala/ultrasound_clinic/c4bc2d7/lib/containers/patient/appointment_form_container.dart | msgtobala/ultrasound_clinic c4bc2d7 lib/containers/patient/appointment_form_container.dart | true | 200 | 2,547 | import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:provider/provider.dart';
import 'package:ultrasound_clinic/core/services/appointments/appointments_service.dart';
import 'package:ultrasound_clinic/providers/auth_provider.dart';
import 'package:ultrasound_clinic/resources... | 5 |
profullow07/Social-App-Completed-Code | ef648d4 | lib/componantes/like_button.dart | Dart | www.github.com/profullow07/Social-App-Completed-Code/tree/main/lib/componantes/like_button.dart | https://raw.githubusercontent.com/profullow07/Social-App-Completed-Code/ef648d4/lib/componantes/like_button.dart | profullow07/Social-App-Completed-Code ef648d4 lib/componantes/like_button.dart | true | 200 | 495 | import 'package:flutter/material.dart';
class LikeButton extends StatelessWidget {
final void Function()? onPressed;
final bool isLiked;
const LikeButton({
super.key,
required this.onPressed,
required this.isLiked,
});
@override
Widget build(BuildContext context) {
return IconButton(
... | 3 |
RishabhAppdv/websuites | d7e8cb4 | lib/views/rolesScreen/roles_screen_tab.dart | Dart | www.github.com/RishabhAppdv/websuites/tree/main/lib/views/rolesScreen/roles_screen_tab.dart | https://raw.githubusercontent.com/RishabhAppdv/websuites/d7e8cb4/lib/views/rolesScreen/roles_screen_tab.dart | RishabhAppdv/websuites d7e8cb4 lib/views/rolesScreen/roles_screen_tab.dart | true | 200 | 350 | import 'package:flutter/material.dart';
class RolesScreenTab extends StatefulWidget {
const RolesScreenTab({super.key});
@override
State<RolesScreenTab> createState() => _RolesScreenTabState();
}
class _RolesScreenTabState extends State<RolesScreenTab> {
@override
Widget build(BuildContext context) {
r... | 7 |
kolien5566/neogolt | 5cacd79 | lib/home_page.dart | Dart | www.github.com/kolien5566/neogolt/tree/main/lib/home_page.dart | https://raw.githubusercontent.com/kolien5566/neogolt/5cacd79/lib/home_page.dart | kolien5566/neogolt 5cacd79 lib/home_page.dart | true | 200 | 496 | import 'package:flutter/material.dart';
import 'package:neoglot/config_drawer.dart';
import 'package:neoglot/voice_chat_page.dart';
class HomePage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
backgroundColor: Theme.of(context).colorSche... | 0 |
esarabiacabrera/Reto4GPS | e458f59 | lib/interfaz/home.dart | Dart | www.github.com/esarabiacabrera/Reto4GPS/tree/main/lib/interfaz/home.dart | https://raw.githubusercontent.com/esarabiacabrera/Reto4GPS/e458f59/lib/interfaz/home.dart | esarabiacabrera/Reto4GPS e458f59 lib/interfaz/home.dart | true | 200 | 4,045 | // ignore_for_file: prefer_const_constructors, non_constant_identifier_names, prefer_interpolation_to_compose_strings, avoid_print
import 'package:flutter/material.dart';
import 'package:geolocator/geolocator.dart';
import 'package:get/get.dart';
import 'package:reto4/controlador/controladorGeneral.dart';
import 'pack... | 2 |
SejatiDimedia/HRM-POS-Inventory-P1-Tablet | e9b782b | lib/ui/hrm/dialogs/add_new_warehouse.dart | Dart | www.github.com/SejatiDimedia/HRM-POS-Inventory-P1-Tablet/tree/main/lib/ui/hrm/dialogs/add_new_warehouse.dart | https://raw.githubusercontent.com/SejatiDimedia/HRM-POS-Inventory-P1-Tablet/e9b782b/lib/ui/hrm/dialogs/add_new_warehouse.dart | SejatiDimedia/HRM-POS-Inventory-P1-Tablet e9b782b lib/ui/hrm/dialogs/add_new_warehouse.dart | true | 200 | 2,152 | import 'package:flutter/material.dart';
import '../../../core/core.dart';
class AddNewWarehouse extends StatefulWidget {
final VoidCallback onConfirmTap;
const AddNewWarehouse({super.key, required this.onConfirmTap});
@override
State<AddNewWarehouse> createState() => _AddNewWarehouseState();
}
class _AddNew... | 6 |
leobidoous/target-sistemas | 4f98c21 | lib/app/modules/style_sheet/inputs/custom_input_field.dart | Dart | www.github.com/leobidoous/target-sistemas/tree/main/lib/app/modules/style_sheet/inputs/custom_input_field.dart | https://raw.githubusercontent.com/leobidoous/target-sistemas/4f98c21/lib/app/modules/style_sheet/inputs/custom_input_field.dart | leobidoous/target-sistemas 4f98c21 lib/app/modules/style_sheet/inputs/custom_input_field.dart | true | 200 | 7,264 | import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import '../../../core/extensions/build_context_extensions.dart';
import '../../../core/themes/app_theme_base.dart';
import '../../../core/themes/app_theme_factory.dart';
import '../../../core/themes/spacing/spacing.dart';
import '../../../... | 4 |
mohamedKhaled655/movie_app | e4cae9c | lib/movies/domain/useCase/get_topRated_movie_useCase.dart | Dart | www.github.com/mohamedKhaled655/movie_app/tree/main/lib/movies/domain/useCase/get_topRated_movie_useCase.dart | https://raw.githubusercontent.com/mohamedKhaled655/movie_app/e4cae9c/lib/movies/domain/useCase/get_topRated_movie_useCase.dart | mohamedKhaled655/movie_app e4cae9c lib/movies/domain/useCase/get_topRated_movie_useCase.dart | true | 200 | 669 | import 'package:dartz/dartz.dart';
import '../../../core/error/failure.dart';
import '../../../core/usecases/base_usecase.dart';
import '../entities/movie.dart';
import '../repository/base_movie_repo.dart';
class GetTopRatedMoviesUseCase extends BaseUseCase<List<Movie>,NoParameters>{
final BaseMovieRepository base... | 1 |
theodornk/MuseumXR | bf9529a | lib/main.dart | Dart | www.github.com/theodornk/MuseumXR/tree/main/lib/main.dart | https://raw.githubusercontent.com/theodornk/MuseumXR/bf9529a/lib/main.dart | theodornk/MuseumXR bf9529a lib/main.dart | true | 200 | 5,858 | import 'package:mr_museum/screens/stream2.dart';
import 'package:universal_io/io.dart';
import 'package:easy_sidemenu/easy_sidemenu.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:mr_museum/screens/selected_headset_page.dart';
import 'package:... | 5 |
MathewKratos/petsync_customer | 74c2297 | lib/screens/verification/number_verification/number_screen.dart | Dart | www.github.com/MathewKratos/petsync_customer/tree/main/lib/screens/verification/number_verification/number_screen.dart | https://raw.githubusercontent.com/MathewKratos/petsync_customer/74c2297/lib/screens/verification/number_verification/number_screen.dart | MathewKratos/petsync_customer 74c2297 lib/screens/verification/number_verification/number_screen.dart | true | 200 | 2,908 | import 'package:flutter/material.dart';
class NumberScreen extends StatefulWidget {
const NumberScreen({super.key});
@override
State<NumberScreen> createState() => NumberScreenState();
}
class NumberScreenState extends State<NumberScreen> {
TextEditingController phoneController = TextEditingController();
f... | 3 |
DicuRazvanGabiel/transport_status | 98535b4 | lib/widgets/bottom_sheet_item.dart | Dart | www.github.com/DicuRazvanGabiel/transport_status/tree/main/lib/widgets/bottom_sheet_item.dart | https://raw.githubusercontent.com/DicuRazvanGabiel/transport_status/98535b4/lib/widgets/bottom_sheet_item.dart | DicuRazvanGabiel/transport_status 98535b4 lib/widgets/bottom_sheet_item.dart | true | 200 | 623 | import 'package:flutter/material.dart';
class BottomSheetItem extends StatelessWidget {
final IconData leadingIcon;
final IconData trailingIcon;
final String title;
final Function() onTap;
const BottomSheetItem(
{super.key,
required this.leadingIcon,
required this.trailingIcon,
requi... | 7 |
PNThanggg/Flutter-Base | 1ccad42 | my_image/lib/main.dart | Dart | www.github.com/PNThanggg/Flutter-Base/tree/main/my_image/lib/main.dart | https://raw.githubusercontent.com/PNThanggg/Flutter-Base/1ccad42/my_image/lib/main.dart | PNThanggg/Flutter-Base 1ccad42 my_image/lib/main.dart | true | 200 | 2,415 | import 'package:flutter/material.dart';
import 'app/my_image/errors.dart';
import 'app/my_image/image/image.dart';
import 'app/my_image/placeholders.dart';
import 'app/my_image/set.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@o... | 0 |
alaminrafiar/update_profile | 7ead4ad | lib/main.dart | Dart | www.github.com/alaminrafiar/update_profile/tree/main/lib/main.dart | https://raw.githubusercontent.com/alaminrafiar/update_profile/7ead4ad/lib/main.dart | alaminrafiar/update_profile 7ead4ad lib/main.dart | true | 200 | 578 | import 'package:flutter/material.dart';
import 'package:update_profile/update_Screen.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
// This widget... | 2 |
alfaizazzam/UTS_Pemrograman_Mobile_AppFaperta | cc7b5a2 | UTS/riofaiz_project_faperta/lib/prodi_detail.dart | Dart | www.github.com/alfaizazzam/UTS_Pemrograman_Mobile_AppFaperta/tree/main/UTS/riofaiz_project_faperta/lib/prodi_detail.dart | https://raw.githubusercontent.com/alfaizazzam/UTS_Pemrograman_Mobile_AppFaperta/cc7b5a2/UTS/riofaiz_project_faperta/lib/prodi_detail.dart | alfaizazzam/UTS_Pemrograman_Mobile_AppFaperta cc7b5a2 UTS/riofaiz_project_faperta/lib/prodi_detail.dart | true | 200 | 4,936 | import 'package:flutter/material.dart';
import 'prodi.dart';
class ProdiDetail extends StatelessWidget {
final ProgramStudi programStudi;
const ProdiDetail({Key? key, required this.programStudi}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
... | 4 |
dothanhbinh41/gstudent | 456feda | lib/training/views/component/record_control.dart | Dart | www.github.com/dothanhbinh41/gstudent/tree/main/lib/training/views/component/record_control.dart | https://raw.githubusercontent.com/dothanhbinh41/gstudent/456feda/lib/training/views/component/record_control.dart | dothanhbinh41/gstudent 456feda lib/training/views/component/record_control.dart | true | 200 | 2,966 | import 'package:avatar_glow/avatar_glow.dart';
import 'package:flutter/material.dart';
import 'package:speech_to_text/speech_to_text.dart' as stt;
class RecordSpeedToText extends StatefulWidget {
Function(String) callback;
RecordSpeedToText({this.callback, Key key}) : super(key: key);
@override
_RecordSpeedT... | 6 |
amaz11/dfsdfs | 0498751 | lib/module/attendence/view/animation_button.dart | Dart | www.github.com/amaz11/dfsdfs/tree/main/lib/module/attendence/view/animation_button.dart | https://raw.githubusercontent.com/amaz11/dfsdfs/0498751/lib/module/attendence/view/animation_button.dart | amaz11/dfsdfs 0498751 lib/module/attendence/view/animation_button.dart | true | 200 | 4,867 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:trealapp/core/colors/colors.dart';
import 'package:trealapp/module/attendence/controller/animation_button_contrroller.dart';
import 'dart:math' as m;
class AnimationButton extends StatelessWidget {
final VoidCallback? onComplete;
... | 1 |
EssaCoder/hather_app | 9180b6d | lib/src/models/message.dart | Dart | www.github.com/EssaCoder/hather_app/tree/main/lib/src/models/message.dart | https://raw.githubusercontent.com/EssaCoder/hather_app/9180b6d/lib/src/models/message.dart | EssaCoder/hather_app 9180b6d lib/src/models/message.dart | true | 200 | 408 | import 'package:equatable/equatable.dart';
class Message extends Equatable {
final String message;
final int status;
const Message({
required this.message,
required this.status,
});
@override
List<Object?> get props => [message, status];
factory Message.fromMap(Map<String, dynamic> map) {
... | 5 |
CodingAddict512/dcc | 550b5cd | lib/widgets/pickups/pickup_group.dart | Dart | www.github.com/CodingAddict512/dcc/tree/main/lib/widgets/pickups/pickup_group.dart | https://raw.githubusercontent.com/CodingAddict512/dcc/550b5cd/lib/widgets/pickups/pickup_group.dart | CodingAddict512/dcc 550b5cd lib/widgets/pickups/pickup_group.dart | true | 200 | 2,041 | import 'package:dcc/extensions/status.dart';
import 'package:dcc/localization/app_localizations.dart';
import 'package:dcc/models/customer.dart';
import 'package:dcc/models/pickup.dart';
import 'package:dcc/models/pickup_status.dart';
import 'package:dcc/widgets/pickups/pickup_card.dart';
import 'package:flutter/materi... | 3 |
Limardi/CourseIn | 2dc82ca | lib/widgets/Profile_page.dart | Dart | www.github.com/Limardi/CourseIn/tree/main/lib/widgets/Profile_page.dart | https://raw.githubusercontent.com/Limardi/CourseIn/2dc82ca/lib/widgets/Profile_page.dart | Limardi/CourseIn 2dc82ca lib/widgets/Profile_page.dart | true | 200 | 4,862 | import 'package:flutter/material.dart';
import 'package:project_ss/pages/taken_courses_page.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/widgets.dart';
import 'package:project_ss/view_model/me_vm.dart';
import 'package:project_ss/services/navigation.dart';
import 'package:provid... | 7 |
jipsonkj/dartprograms | 01e7dad | bin/Dart Programs/Gridview.dart | Dart | www.github.com/jipsonkj/dartprograms/tree/main/bin/Dart Programs/Gridview.dart | https://raw.githubusercontent.com/jipsonkj/dartprograms/01e7dad/bin/Dart%20Programs/Gridview.dart | jipsonkj/dartprograms 01e7dad bin/Dart Programs/Gridview.dart | true | 200 | 1,753 | import 'package:flutter/material.dart';
void main() {
runApp(Gridview1());
}
class Gridview1 extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
home: Scaffold(
appBar: AppBar(
title: Text(... | 2 |
lutfiadysh/flutter-ERP-frontend | a966271 | lib/proy/models/http/inputs_response.dart | Dart | www.github.com/lutfiadysh/flutter-ERP-frontend/tree/main/lib/proy/models/http/inputs_response.dart | https://raw.githubusercontent.com/lutfiadysh/flutter-ERP-frontend/a966271/lib/proy/models/http/inputs_response.dart | lutfiadysh/flutter-ERP-frontend a966271 lib/proy/models/http/inputs_response.dart | true | 200 | 727 | import 'dart:convert';
import 'package:admin_dashboard/proy/models/input.dart';
class InputsResponse {
InputsResponse({
required this.total,
required this.entradas,
});
int total;
List<Entrada> entradas;
factory InputsResponse.fromJson(String str) =>
InputsResponse.fromMap(json.decode(str));... | 4 |
Rubico-Code/flutter-sample | 7379871 | examples/login/lib/authentication/bloc/authentication_bloc.dart | Dart | www.github.com/Rubico-Code/flutter-sample/tree/main/examples/login/lib/authentication/bloc/authentication_bloc.dart | https://raw.githubusercontent.com/Rubico-Code/flutter-sample/7379871/examples/login/lib/authentication/bloc/authentication_bloc.dart | Rubico-Code/flutter-sample 7379871 examples/login/lib/authentication/bloc/authentication_bloc.dart | true | 200 | 1,274 | import 'package:authentication_repository/authentication_repository.dart';
import 'package:bloc/bloc.dart';
import 'package:equatable/equatable.dart';
import 'package:login/model/session.dart';
part 'authentication_event.dart';
part 'authentication_state.dart';
class AuthenticationBloc
extends Bloc<Authentication... | 6 |
hafeedck/zartek_app | ba2ada4 | lib/app/helper/popup/logout_popup.dart | Dart | www.github.com/hafeedck/zartek_app/tree/main/lib/app/helper/popup/logout_popup.dart | https://raw.githubusercontent.com/hafeedck/zartek_app/ba2ada4/lib/app/helper/popup/logout_popup.dart | hafeedck/zartek_app ba2ada4 lib/app/helper/popup/logout_popup.dart | true | 200 | 3,521 | import 'package:machine_test_zartek/app/helper/colors/app_color.dart';
import 'package:machine_test_zartek/app/helper/texts/text_widget.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
Future<dynamic> openDialog(
String title,
String subTitle,
) {
return Get.dialog(
AlertDialog... | 1 |
ibrahimsm83/MaxeDoutStats_SM | 3c71af3 | lib/view/filter_and_search_screen.dart/filter_search_screen.dart | Dart | www.github.com/ibrahimsm83/MaxeDoutStats_SM/tree/main/lib/view/filter_and_search_screen.dart/filter_search_screen.dart | https://raw.githubusercontent.com/ibrahimsm83/MaxeDoutStats_SM/3c71af3/lib/view/filter_and_search_screen.dart/filter_search_screen.dart | ibrahimsm83/MaxeDoutStats_SM 3c71af3 lib/view/filter_and_search_screen.dart/filter_search_screen.dart | true | 200 | 7,411 | import 'dart:io';
import 'package:flutter/material.dart';
import 'package:maxedoutstats/utils/index_utils.dart';
import 'package:maxedoutstats/widget/custome_appbar.dart';
import 'package:sizer/sizer.dart';
class FilterSearch extends StatefulWidget {
FilterSearch({Key? key}) : super(key: key);
@override
State<F... | 5 |
abdulaziz-ux/UAS-mobile | f267f79 | lib/ui/registrasi_page.dart | Dart | www.github.com/abdulaziz-ux/UAS-mobile/tree/main/lib/ui/registrasi_page.dart | https://raw.githubusercontent.com/abdulaziz-ux/UAS-mobile/f267f79/lib/ui/registrasi_page.dart | abdulaziz-ux/UAS-mobile f267f79 lib/ui/registrasi_page.dart | true | 200 | 7,866 | import 'package:flutter/material.dart';
import 'package:tokokita/bloc/registrasi_bloc.dart';
import 'package:tokokita/widget/success_dialog.dart';
import 'package:tokokita/widget/warning_dialog.dart';
class RegistrasiPage extends StatefulWidget {
const RegistrasiPage({super.key});
@override
RegistrasiPageState ... | 3 |
ramzieus/QuizU | 060c706 | lib/pages/home_page.dart | Dart | www.github.com/ramzieus/QuizU/tree/main/lib/pages/home_page.dart | https://raw.githubusercontent.com/ramzieus/QuizU/060c706/lib/pages/home_page.dart | ramzieus/QuizU 060c706 lib/pages/home_page.dart | true | 200 | 1,210 | import 'package:diamond_bottom_bar/diamond_bottom_bar.dart';
import 'package:flutter/material.dart';
import 'package:quizu/controllers/app_controller.dart';
import 'package:quizu/pages/home.dart';
import 'package:quizu/pages/leaderboard.dart';
import 'package:quizu/pages/profile.dart';
class MyHomePage extends Statefu... | 7 |
bespa-dev/handyman | 9778d59 | apps/artisans/lib/domain/usecases/src/usecase/result.dart | Dart | www.github.com/bespa-dev/handyman/tree/main/apps/artisans/lib/domain/usecases/src/usecase/result.dart | https://raw.githubusercontent.com/bespa-dev/handyman/9778d59/apps/artisans/lib/domain/usecases/src/usecase/result.dart | bespa-dev/handyman 9778d59 apps/artisans/lib/domain/usecases/src/usecase/result.dart | true | 200 | 1,244 | /*
* Copyright (c) 2021.
* This application is owned by HandyMan LLC,
* developed & designed by Quabynah Codelabs LLC.
*
*
* author: codelbas.quabynah@gmail.com
*/
import 'package:equatable/equatable.dart';
import 'package:meta/meta.dart';
import 'usecase.dart';
/// result wrapper for a [UseCase] execution
@i... | 0 |
jjhkie/travelidge_app | 89911b6 | lib/app/ui/pages/write/components/write_leadtimeday_page.dart | Dart | www.github.com/jjhkie/travelidge_app/tree/main/lib/app/ui/pages/write/components/write_leadtimeday_page.dart | https://raw.githubusercontent.com/jjhkie/travelidge_app/89911b6/lib/app/ui/pages/write/components/write_leadtimeday_page.dart | jjhkie/travelidge_app 89911b6 lib/app/ui/pages/write/components/write_leadtimeday_page.dart | true | 200 | 4,350 | import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:get/get.dart';
import 'package:travelidge/app/ui/pages/write/components/wrap_Scroll_Tag.dart';
import 'package:travelidge/app/ui/pages/write/controller/write_controller.dart';
/** 소요 시간 기간*/
Widget leadTimeDayPage(int ind... | 2 |
maksklimko/HabitTracker | 7734020 | lib/widgets/cross_button.dart | Dart | www.github.com/maksklimko/HabitTracker/tree/main/lib/widgets/cross_button.dart | https://raw.githubusercontent.com/maksklimko/HabitTracker/7734020/lib/widgets/cross_button.dart | maksklimko/HabitTracker 7734020 lib/widgets/cross_button.dart | true | 200 | 352 | import 'package:beamer/beamer.dart';
import 'package:flutter/material.dart';
class CrossButton extends StatelessWidget {
const CrossButton({super.key});
@override
Widget build(BuildContext context) {
return GestureDetector(
onTap: (){
Beamer.of(context).beamBack();
},
child: const ... | 4 |
Atuoha/reglancing_bloc_testing | fcfc944 | lib/weather_api_bloc_testing/models/weather.dart | Dart | www.github.com/Atuoha/reglancing_bloc_testing/tree/main/lib/weather_api_bloc_testing/models/weather.dart | https://raw.githubusercontent.com/Atuoha/reglancing_bloc_testing/fcfc944/lib/weather_api_bloc_testing/models/weather.dart | Atuoha/reglancing_bloc_testing fcfc944 lib/weather_api_bloc_testing/models/weather.dart | true | 200 | 922 | import 'package:equatable/equatable.dart';
import 'location.dart';
class Weather extends Equatable {
final Location location;
final String weather;
final String description;
final String icon;
const Weather({
required this.location,
required this.weather,
required this.description,
required... | 6 |
Berke65/flutter-hcareapp | 6269a0c | lib/pages/SickPages/RandevuAl.dart | Dart | www.github.com/Berke65/flutter-hcareapp/tree/main/lib/pages/SickPages/RandevuAl.dart | https://raw.githubusercontent.com/Berke65/flutter-hcareapp/6269a0c/lib/pages/SickPages/RandevuAl.dart | Berke65/flutter-hcareapp 6269a0c lib/pages/SickPages/RandevuAl.dart | true | 200 | 9,954 | import 'package:flutter/material.dart';
import 'package:table_calendar/table_calendar.dart';
import 'package:flutter/services.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:hcareapp/pages/SickPages/SickHomePage.dart';
void main() async {... | 1 |
Emad-Pro/NewsApp | a1f1b23 | lib/modules/TechNology_News/Technology_News.dart | Dart | www.github.com/Emad-Pro/NewsApp/tree/main/lib/modules/TechNology_News/Technology_News.dart | https://raw.githubusercontent.com/Emad-Pro/NewsApp/a1f1b23/lib/modules/TechNology_News/Technology_News.dart | Emad-Pro/NewsApp a1f1b23 lib/modules/TechNology_News/Technology_News.dart | true | 200 | 741 | import 'package:conditional_builder_null_safety/conditional_builder_null_safety.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:my_app_news/cubit/cubit.dart';
import 'package:my_app_news/cubit/state.dart';
import '../../../../shared/comonents/componens.da... | 5 |
ahmedkamal22/perfection | 8b3e11a | lib/features/home/cubit/cubit.dart | Dart | www.github.com/ahmedkamal22/perfection/tree/main/lib/features/home/cubit/cubit.dart | https://raw.githubusercontent.com/ahmedkamal22/perfection/8b3e11a/lib/features/home/cubit/cubit.dart | ahmedkamal22/perfection 8b3e11a lib/features/home/cubit/cubit.dart | true | 200 | 1,334 | import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:perfection/features/home/cubit/states.dart';
import 'package:perfection/features/home/data/models/user_model.dart';
import 'package:perfection/features/home/data/repositories/user_repository.dart';
class UsersCubit extends Cubit<UsersStates> {
final Us... | 3 |
mathantr/basketball | db7089e | lib/bottom_navigator/table_tab_bar.dart | Dart | www.github.com/mathantr/basketball/tree/main/lib/bottom_navigator/table_tab_bar.dart | https://raw.githubusercontent.com/mathantr/basketball/db7089e/lib/bottom_navigator/table_tab_bar.dart | mathantr/basketball db7089e lib/bottom_navigator/table_tab_bar.dart | true | 200 | 1,705 | import 'package:basketball/colors/const.dart';
import 'package:flutter/material.dart';
class TableTabBar extends StatefulWidget {
@override
_TableTabBarState createState() => _TableTabBarState();
}
class _TableTabBarState extends State<TableTabBar>
with SingleTickerProviderStateMixin {
late TabC... | 0 |
kvn2000tw/bro_flutter_app | 4834cad | lib/transport_order_info/transport_order_info_header.dart | Dart | www.github.com/kvn2000tw/bro_flutter_app/tree/main/lib/transport_order_info/transport_order_info_header.dart | https://raw.githubusercontent.com/kvn2000tw/bro_flutter_app/4834cad/lib/transport_order_info/transport_order_info_header.dart | kvn2000tw/bro_flutter_app 4834cad lib/transport_order_info/transport_order_info_header.dart | true | 200 | 5,163 |
import 'package:bro_flutter_app/data.dart';
import 'package:bro_flutter_app/utils/alert.dart';
import 'package:native_qr/native_qr.dart';
import '/flutter_flow/flutter_flow_theme.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
class TransportOrderInfoHeader extends Sta... | 7 |
saarthi-hem-baxi/saarthi-flutter-school | 76a96dd | lib/model/auth/schoollist.dart | Dart | www.github.com/saarthi-hem-baxi/saarthi-flutter-school/tree/main/lib/model/auth/schoollist.dart | https://raw.githubusercontent.com/saarthi-hem-baxi/saarthi-flutter-school/76a96dd/lib/model/auth/schoollist.dart | saarthi-hem-baxi/saarthi-flutter-school 76a96dd lib/model/auth/schoollist.dart | true | 200 | 1,885 | // To parse this JSON data, do
//
// final schoolListModel = schoolListModelFromJson(jsonString);
import 'dart:convert';
List<SchoolListModel> schoolListModelFromJson(str) => List<SchoolListModel>.from(str.map((x) => SchoolListModel.fromJson(x)));
String schoolListModelToJson(List<SchoolListModel> data) => json.... | 6 |
beta/tabler_icons_next | 02cb38c | lib/src/alarm_plus.dart | Dart | www.github.com/beta/tabler_icons_next/tree/main/lib/src/alarm_plus.dart | https://raw.githubusercontent.com/beta/tabler_icons_next/02cb38c/lib/src/alarm_plus.dart | beta/tabler_icons_next 02cb38c lib/src/alarm_plus.dart | true | 200 | 1,150 | // Copyright (c) 2024 Beta Kuang <beta.kuang@gmail.com>
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
import 'internal/icon.dart';
class AlarmPlus extends Icon {
const AlarmPlus({
super.key,
super.strokeWidth,
super.width,
super.height,
super.fit,
... | 2 |
mohamedamr77/bookly_app | 62b825b | lib/feature/home/data/model/industry_identifier/industry_identifier_model.dart | Dart | www.github.com/mohamedamr77/bookly_app/tree/main/lib/feature/home/data/model/industry_identifier/industry_identifier_model.dart | https://raw.githubusercontent.com/mohamedamr77/bookly_app/62b825b/lib/feature/home/data/model/industry_identifier/industry_identifier_model.dart | mohamedamr77/bookly_app 62b825b lib/feature/home/data/model/industry_identifier/industry_identifier_model.dart | true | 200 | 563 | import 'package:equatable/equatable.dart';
import 'package:hive/hive.dart';
part 'industry_identifier_model.g.dart';
@HiveType(typeId: 6)
class IndustryIdentifier extends Equatable {
@HiveField(0)
final String? type;
@HiveField(1)
final String? identifier;
const IndustryIdentifier({this.type, this.identifie... | 4 |
shibinsv/travel | 119c5ad | lib/ui/pages/login.dart | Dart | www.github.com/shibinsv/travel/tree/main/lib/ui/pages/login.dart | https://raw.githubusercontent.com/shibinsv/travel/119c5ad/lib/ui/pages/login.dart | shibinsv/travel 119c5ad lib/ui/pages/login.dart | true | 200 | 4,589 | import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:initial_test/utils/constants.dart';
import 'package:initial_test/widgets/customWidgets.dart';
import '../../bloc/login/login_bloc.dart';
import 'dashboard.dart';
class Login... | 1 |
websiteofav/chatwith | bf43789 | lib/features/contacts/repository/contact_repository.dart | Dart | www.github.com/websiteofav/chatwith/tree/main/lib/features/contacts/repository/contact_repository.dart | https://raw.githubusercontent.com/websiteofav/chatwith/bf43789/lib/features/contacts/repository/contact_repository.dart | websiteofav/chatwith bf43789 lib/features/contacts/repository/contact_repository.dart | true | 200 | 2,185 | import 'package:chatwith/features/auth/models/user_model.dart';
import 'package:chatwith/utils/colors.dart';
import 'package:chatwith/features/chat/screens/mobile_chat_screen.dart';
import 'package:chatwith/utils/widgets/toast_messages.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:fireba... | 3 |
Moatasem159/mo3tv | 05a8267 | lib/core/widgets/buttons/error_button.dart | Dart | www.github.com/Moatasem159/mo3tv/tree/main/lib/core/widgets/buttons/error_button.dart | https://raw.githubusercontent.com/Moatasem159/mo3tv/05a8267/lib/core/widgets/buttons/error_button.dart | Moatasem159/mo3tv 05a8267 lib/core/widgets/buttons/error_button.dart | true | 200 | 783 | import 'package:flutter/material.dart';
import 'package:mo3tv/config/lang/app_localizations.dart';
import 'package:mo3tv/core/utils/app_strings.dart';
import 'package:mo3tv/core/utils/app_text_styles.dart';
import 'package:mo3tv/core/widgets/buttons/main_button.dart';
class ErrorButton extends StatelessWidget {
final... | 7 |
congltk1234/LearnFlutter | 2d9c6a2 | shopping_list/lib/widgets/grocery_list.dart | Dart | www.github.com/congltk1234/LearnFlutter/tree/main/shopping_list/lib/widgets/grocery_list.dart | https://raw.githubusercontent.com/congltk1234/LearnFlutter/2d9c6a2/shopping_list/lib/widgets/grocery_list.dart | congltk1234/LearnFlutter 2d9c6a2 shopping_list/lib/widgets/grocery_list.dart | true | 200 | 5,088 | import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
import 'package:shopping_list/data/categories_data.dart';
import 'package:shopping_list/models/grocery_item.dart';
import 'package:shopping_list/widgets/new_item.dart';
class GroceryList extends StatefulWidget {
... | 0 |
Ronnybest/dbestblog | 823bd40 | lib/pages/registration/widgets/registration_widgets.dart | Dart | www.github.com/Ronnybest/dbestblog/tree/main/lib/pages/registration/widgets/registration_widgets.dart | https://raw.githubusercontent.com/Ronnybest/dbestblog/823bd40/lib/pages/registration/widgets/registration_widgets.dart | Ronnybest/dbestblog 823bd40 lib/pages/registration/widgets/registration_widgets.dart | true | 200 | 1,965 | import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
class RegistrationWidgets {
final BuildContext context;
RegistrationWidgets({required this.context});
AppBar buildAppBar({required String titleText}) {
return AppBar(
//systemOverlayStyle: SystemUiOverlayStyle.light,
... | 6 |
progmaksudur/expensestracker | 5d454b5 | lib/model/income_model.dart | Dart | www.github.com/progmaksudur/expensestracker/tree/main/lib/model/income_model.dart | https://raw.githubusercontent.com/progmaksudur/expensestracker/5d454b5/lib/model/income_model.dart | progmaksudur/expensestracker 5d454b5 lib/model/income_model.dart | true | 200 | 2,298 | const String tableIncome = "tbl_income";
const String tableIncomeid = "tbl_id";
const String tableIncomeTitle = "tbl_title";
const String tableIncomeTime = "tbl_time";
const String tableIncomeDay = "tbl_day";
const String tableIncomeMonth = "tbl_month";
const String tableIncomeYear = "tbl_year";
const String tableIncom... | 5 |
vikepk/bmi_calculator | 2aa50d1 | lib/screens/results_page.dart | Dart | www.github.com/vikepk/bmi_calculator/tree/main/lib/screens/results_page.dart | https://raw.githubusercontent.com/vikepk/bmi_calculator/2aa50d1/lib/screens/results_page.dart | vikepk/bmi_calculator 2aa50d1 lib/screens/results_page.dart | true | 200 | 1,641 | import"package:flutter/material.dart";
import '../components/constants.dart';
import '../components/reuseable_card.dart';
import 'input_page.dart';
import '../components/bottom_button.dart';
class ResultsPage extends StatelessWidget {
String result;
late String bmi;
String rate;
ResultsPage({required this.bmi... | 1 |
mfpullen22/umn_fellowshio_app | c2833a3 | lib/widgets/brutalist_button.dart | Dart | www.github.com/mfpullen22/umn_fellowshio_app/tree/main/lib/widgets/brutalist_button.dart | https://raw.githubusercontent.com/mfpullen22/umn_fellowshio_app/c2833a3/lib/widgets/brutalist_button.dart | mfpullen22/umn_fellowshio_app c2833a3 lib/widgets/brutalist_button.dart | true | 200 | 1,668 | import "package:flutter/material.dart";
import 'package:neubrutalism_ui/neubrutalism_ui.dart';
import 'package:google_fonts/google_fonts.dart';
class BrutalistButton extends StatelessWidget {
const BrutalistButton(
{super.key,
required this.image,
required this.text,
required this.onTap});
... | 2 |
hiren148/SERU-Driving-Test | 34bfe3b | lib/data/source/network/models/question.dart | Dart | www.github.com/hiren148/SERU-Driving-Test/tree/main/lib/data/source/network/models/question.dart | https://raw.githubusercontent.com/hiren148/SERU-Driving-Test/34bfe3b/lib/data/source/network/models/question.dart | hiren148/SERU-Driving-Test 34bfe3b lib/data/source/network/models/question.dart | true | 200 | 801 | import 'package:driving_test/data/source/network/models/question_option.dart';
import 'package:json_annotation/json_annotation.dart';
part 'question.g.dart';
@JsonSerializable()
class NetworkQuestionModel {
@JsonKey(required: true, disallowNullValue: true)
final int id;
@JsonKey(name: 'question')
final Strin... | 7 |
FarzaneMojtabavi/flutter | 4eadf9d | Navigation with named routes/main.dart | Dart | www.github.com/FarzaneMojtabavi/flutter/tree/main/Navigation with named routes/main.dart | https://raw.githubusercontent.com/FarzaneMojtabavi/flutter/4eadf9d/Navigation%20with%20named%20routes/main.dart | FarzaneMojtabavi/flutter 4eadf9d Navigation with named routes/main.dart | true | 200 | 1,226 | import 'package:flutter/material.dart';
import 'package:untitled/secondpage.dart';
void main() {
runApp(MaterialApp(
debugShowCheckedModeBanner: false,
initialRoute: '/',
routes: {
'/':(context)=>const MyApp(),
'/second':(context)=>secondPage()
},
));
}
class MyApp extend... | 0 |
BryanLeong99/finalyearproject-aplib-fluttermobileapp | b3f1857 | lib/interlibrary_loan/ill_data_provider.dart | Dart | www.github.com/BryanLeong99/finalyearproject-aplib-fluttermobileapp/tree/main/lib/interlibrary_loan/ill_data_provider.dart | https://raw.githubusercontent.com/BryanLeong99/finalyearproject-aplib-fluttermobileapp/b3f1857/lib/interlibrary_loan/ill_data_provider.dart | BryanLeong99/finalyearproject-aplib-fluttermobileapp b3f1857 lib/interlibrary_loan/ill_data_provider.dart | true | 200 | 3,444 | import 'dart:async';
import 'dart:convert';
import 'create_new_ill_response.dart';
import 'ill_request_list_model.dart';
import 'ill_request_model.dart';
import 'package:http/http.dart' as http;
class IllDataProvider {
Future<CreateNewIllResponse> createNewIllRequestAPICall(String requestDateTime,
S... | 6 |
Zhamshid/my_project123 | 9b6fc32 | lib/src/feature/profile/widget/widgets/profile_wrapper.dart | Dart | www.github.com/Zhamshid/my_project123/tree/main/lib/src/feature/profile/widget/widgets/profile_wrapper.dart | https://raw.githubusercontent.com/Zhamshid/my_project123/9b6fc32/lib/src/feature/profile/widget/widgets/profile_wrapper.dart | Zhamshid/my_project123 9b6fc32 lib/src/feature/profile/widget/widgets/profile_wrapper.dart | true | 200 | 381 | import 'package:auto_route/auto_route.dart';
import 'package:flutter/material.dart';
@RoutePage(name: 'ProfileRouter')
class ProfileWrapper extends StatelessWidget {
const ProfileWrapper({
Key? key,
}) : super(key: key);
@override
Widget build(BuildContext context) => WillPopScope(
onWillPop: () a... | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.