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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
Samo8/pokec_assignment | e11b6d6 | lib/models/books_info.dart | Dart | www.github.com/Samo8/pokec_assignment/tree/main/lib/models/books_info.dart | https://raw.githubusercontent.com/Samo8/pokec_assignment/e11b6d6/lib/models/books_info.dart | Samo8/pokec_assignment e11b6d6 lib/models/books_info.dart | true | 200 | 771 | import 'package:equatable/equatable.dart';
import 'package:json_annotation/json_annotation.dart';
import 'package:pokec_assignment/models/book.dart';
part 'books_info.g.dart';
@JsonSerializable()
class BooksInfo extends Equatable {
final String total;
final List<Book> books;
const BooksInfo({
required this... | 4 |
jayc20/Dice | e15b72d | lib/main.dart | Dart | www.github.com/jayc20/Dice/tree/main/lib/main.dart | https://raw.githubusercontent.com/jayc20/Dice/e15b72d/lib/main.dart | jayc20/Dice e15b72d lib/main.dart | true | 200 | 1,788 | import 'dart:math';
import 'package:flutter/material.dart';
void main() {
runApp(MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Center(child: Text("Dice Roller")
),
backgroundColor: Colors.red[900],
),
body: dicesRoll(),
backgroundColor: Colors.red[900],
... | 3 |
richellethorpe/flutter_dice_app | 74f4bba | lib/main.dart | Dart | www.github.com/richellethorpe/flutter_dice_app/tree/main/lib/main.dart | https://raw.githubusercontent.com/richellethorpe/flutter_dice_app/74f4bba/lib/main.dart | richellethorpe/flutter_dice_app 74f4bba lib/main.dart | true | 200 | 324 | import 'package:flutter/material.dart';
import 'package:practice_dice/gradient_container.dart';
void main() {
runApp(
const MaterialApp(
home: Scaffold(
body: GradientContainer(
Color.fromARGB(255, 7, 78, 200),
Color.fromARGB(26, 251, 250, 250),
),
),
),
)... | 1 |
zigsong/lets-jam | f9a1df1 | lib/utils/auth.dart | Dart | www.github.com/zigsong/lets-jam/tree/main/lib/utils/auth.dart | https://raw.githubusercontent.com/zigsong/lets-jam/f9a1df1/lib/utils/auth.dart | zigsong/lets-jam f9a1df1 lib/utils/auth.dart | true | 200 | 334 | import 'package:supabase_flutter/supabase_flutter.dart';
Future<dynamic> getUser() async {
final supabase = Supabase.instance.client;
final user = supabase.auth.currentUser;
if (user == null) return;
final jamUserData =
await supabase.from('users').select().eq('email', user.email!).single();
return j... | 7 |
VardhanSurve/basic_template | 4142e0d | lib/Signup.dart | Dart | www.github.com/VardhanSurve/basic_template/tree/main/lib/Signup.dart | https://raw.githubusercontent.com/VardhanSurve/basic_template/4142e0d/lib/Signup.dart | VardhanSurve/basic_template 4142e0d lib/Signup.dart | true | 200 | 11,534 | import 'dart:ffi';
import 'home.dart';
//import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
import 'main.dart';
import 'Login.dart';
// Define DefaultSize as a constant double value
const double DefaultSize = 16.0;
const double FormHeight = 60.0;
class SignupScreen extends Sta... | 0 |
romanortynskyi/events_app_mobile | 0fe32ab | lib/managers/web_socket_manager.dart | Dart | www.github.com/romanortynskyi/events_app_mobile/tree/main/lib/managers/web_socket_manager.dart | https://raw.githubusercontent.com/romanortynskyi/events_app_mobile/0fe32ab/lib/managers/web_socket_manager.dart | romanortynskyi/events_app_mobile 0fe32ab lib/managers/web_socket_manager.dart | true | 200 | 2,423 | import 'dart:async';
import 'dart:convert';
import 'package:events_app_mobile/consts/enums/web_socket_message_type.dart';
import 'package:events_app_mobile/models/upload_user_image_progress.dart';
import 'package:events_app_mobile/models/web_socket_message.dart';
import 'package:events_app_mobile/utils/env_utils.dart'... | 2 |
EProject04/BookManagement-Fe | 245ed16 | lib/app/logic/bindings/create_new_password_binding.dart | Dart | www.github.com/EProject04/BookManagement-Fe/tree/main/lib/app/logic/bindings/create_new_password_binding.dart | https://raw.githubusercontent.com/EProject04/BookManagement-Fe/245ed16/lib/app/logic/bindings/create_new_password_binding.dart | EProject04/BookManagement-Fe 245ed16 lib/app/logic/bindings/create_new_password_binding.dart | true | 200 | 282 | import 'package:frame/app/view/creat_new_password/create_new_password_view.dart';
import 'package:get/get.dart';
class CreateNewPasswordBinding extends Bindings{
@override
void dependencies() {
// Add your dependencies here
Get.put(CreateNewPasswordController());
}
} | 6 |
aniketujgare/chat_app_submission | 24dd913 | lib/presentation/message_view/bloc/messages_cubit/messages_cubit.dart | Dart | www.github.com/aniketujgare/chat_app_submission/tree/main/lib/presentation/message_view/bloc/messages_cubit/messages_cubit.dart | https://raw.githubusercontent.com/aniketujgare/chat_app_submission/24dd913/lib/presentation/message_view/bloc/messages_cubit/messages_cubit.dart | aniketujgare/chat_app_submission 24dd913 lib/presentation/message_view/bloc/messages_cubit/messages_cubit.dart | true | 200 | 1,267 | import 'package:bloc/bloc.dart';
import 'package:freezed_annotation/freezed_annotation.dart';
import '../../../../helper/message_operations.dart';
import '../../../../models/message_model.dart';
part 'messages_cubit.freezed.dart';
part 'messages_state.dart';
class MessagesCubit extends Cubit<MessagesState> {
Messa... | 5 |
AbikMathew/beegains_login | fbf38b0 | lib/presentation/enquiry_list_screen/widgets/enquiry_item_widget.dart | Dart | www.github.com/AbikMathew/beegains_login/tree/main/lib/presentation/enquiry_list_screen/widgets/enquiry_item_widget.dart | https://raw.githubusercontent.com/AbikMathew/beegains_login/fbf38b0/lib/presentation/enquiry_list_screen/widgets/enquiry_item_widget.dart | AbikMathew/beegains_login fbf38b0 lib/presentation/enquiry_list_screen/widgets/enquiry_item_widget.dart | true | 200 | 4,903 | import 'package:flutter/material.dart';
import 'package:beegains_login_test/core/app_export.dart';
import 'package:beegains_login_test/data/models/enquiry_item.dart';
import 'enquiry_item_text_2.dart';
class EnquiryItemWidget extends StatelessWidget {
const EnquiryItemWidget({required this.enquiry, this.onTapEnqui... | 4 |
OH-Yeonju/TIL-flutter | 7971f23 | 230905/2 ThemeData.dart | Dart | www.github.com/OH-Yeonju/TIL-flutter/tree/main/230905/2 ThemeData.dart | https://raw.githubusercontent.com/OH-Yeonju/TIL-flutter/7971f23/230905/2%20ThemeData.dart | OH-Yeonju/TIL-flutter 7971f23 230905/2 ThemeData.dart | true | 200 | 683 | import 'package:flutter/material.dart';
void main() {
runApp(MaterialApp(
// 마치 css 넣는것
theme: ThemeData(
iconTheme: IconThemeData(color: Colors.blue),
appBarTheme: AppBarTheme(
color: Colors.grey,
actionsIconTheme: IconThemeData(color: Colors.blue)),
textTheme: TextThem... | 3 |
KumarLakshmanan/ai-hunt | d1d5db5 | lib/api_services/apiservices.dart | Dart | www.github.com/KumarLakshmanan/ai-hunt/tree/main/lib/api_services/apiservices.dart | https://raw.githubusercontent.com/KumarLakshmanan/ai-hunt/d1d5db5/lib/api_services/apiservices.dart | KumarLakshmanan/ai-hunt d1d5db5 lib/api_services/apiservices.dart | true | 200 | 901 | import 'dart:convert';
import 'package:http/http.dart' as http;
class Apiservice {
List toolsdata = [];
List ainewsdta = [];
String aiTools =
"http://api.frontendforever.com/ai/api.php?mode=fetch&start=0&limit=10&category=3d,art";
String aiNews =
"http://api.frontendforever.com/ai/api.php?mode=new... | 1 |
ahmed4554/graduation | 1248d82 | lib/modules/webview_screen/webview_screen.dart | Dart | www.github.com/ahmed4554/graduation/tree/main/lib/modules/webview_screen/webview_screen.dart | https://raw.githubusercontent.com/ahmed4554/graduation/1248d82/lib/modules/webview_screen/webview_screen.dart | ahmed4554/graduation 1248d82 lib/modules/webview_screen/webview_screen.dart | true | 200 | 2,235 | import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';
class WebViewScreen extends StatefulWidget {
const WebViewScreen({Key? key,required this.lat,required this.long}) : super(key: key);
final String lat ;
final String long ;
@override
State<WebViewScreen> createSta... | 7 |
NonymousMorlock/furniture_app_admin | 56d7c24 | lib/core/errors/failures.dart | Dart | www.github.com/NonymousMorlock/furniture_app_admin/tree/main/lib/core/errors/failures.dart | https://raw.githubusercontent.com/NonymousMorlock/furniture_app_admin/56d7c24/lib/core/errors/failures.dart | NonymousMorlock/furniture_app_admin 56d7c24 lib/core/errors/failures.dart | true | 200 | 387 | import 'package:equatable/equatable.dart';
abstract class Failure extends Equatable {
const Failure({required this.message, required this.statusCode});
final String message;
final int statusCode;
@override
List<Object> get props => [message, statusCode];
}
class ServerFailure extends Failure {
const Ser... | 0 |
kryczkal/EasyVault | de1c632 | frontend/lib/widgets/media/viewers/image_viewer.dart | Dart | www.github.com/kryczkal/EasyVault/tree/main/frontend/lib/widgets/media/viewers/image_viewer.dart | https://raw.githubusercontent.com/kryczkal/EasyVault/de1c632/frontend/lib/widgets/media/viewers/image_viewer.dart | kryczkal/EasyVault de1c632 frontend/lib/widgets/media/viewers/image_viewer.dart | true | 200 | 638 | // lib/widgets/image_viewer.dart
import 'package:flutter/material.dart';
import 'package:easyvault/models/media.dart';
class ImageViewer extends StatelessWidget {
final Media media;
const ImageViewer({super.key, required this.media});
@override
Widget build(BuildContext context) {
return InteractiveView... | 2 |
gamseng-chiran/task_manager | 57287c5 | lib/presentation/controllers/progress_task_controller.dart | Dart | www.github.com/gamseng-chiran/task_manager/tree/main/lib/presentation/controllers/progress_task_controller.dart | https://raw.githubusercontent.com/gamseng-chiran/task_manager/57287c5/lib/presentation/controllers/progress_task_controller.dart | gamseng-chiran/task_manager 57287c5 lib/presentation/controllers/progress_task_controller.dart | true | 200 | 995 | import 'package:get/get.dart';
import 'package:task_manager/data/model/task_list_wrapper.dart';
import 'package:task_manager/data/model/utility/urls.dart';
import 'package:task_manager/data/service/network_caller.dart';
class ProgressTaskController extends GetxController{
bool _inProgress = false;
String? _errorMe... | 6 |
rjm07/wasender-flutter | ec2eafc | lib/app/ui/pages/feature_main/feature_pages/menu/feature_dashboard/dashboard_screen.dart | Dart | www.github.com/rjm07/wasender-flutter/tree/main/lib/app/ui/pages/feature_main/feature_pages/menu/feature_dashboard/dashboard_screen.dart | https://raw.githubusercontent.com/rjm07/wasender-flutter/ec2eafc/lib/app/ui/pages/feature_main/feature_pages/menu/feature_dashboard/dashboard_screen.dart | rjm07/wasender-flutter ec2eafc lib/app/ui/pages/feature_main/feature_pages/menu/feature_dashboard/dashboard_screen.dart | true | 200 | 8,291 | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:wasender/app/ui/pages/feature_main/feature_pages/menu/feature_dashboard/feature_profile/profile_screen.dart';
import 'package:wasender/app/ui/shared/widgets/dashboard_cards.dart';
import '../../../../../../core/services/pe... | 5 |
AndrewYKJ/GSC_project | 9428ded | lib/models/json/movie_listing_status.dart | Dart | www.github.com/AndrewYKJ/GSC_project/tree/main/lib/models/json/movie_listing_status.dart | https://raw.githubusercontent.com/AndrewYKJ/GSC_project/9428ded/lib/models/json/movie_listing_status.dart | AndrewYKJ/GSC_project 9428ded lib/models/json/movie_listing_status.dart | true | 200 | 619 | // ignore_for_file: non_constant_identifier_names
class MovieListingStatus {
String? RespStatus;
String? RespDesc;
String? RespDateTime;
MovieListingStatus({this.RespDateTime, this.RespDesc, this.RespStatus});
MovieListingStatus.fromJson(Map<String, dynamic> json) {
RespStatus = json['RespStatus'];
... | 4 |
matcop/fw-adminDashboard | 689566f | lib/api/CafeApi.dart | Dart | www.github.com/matcop/fw-adminDashboard/tree/main/lib/api/CafeApi.dart | https://raw.githubusercontent.com/matcop/fw-adminDashboard/689566f/lib/api/CafeApi.dart | matcop/fw-adminDashboard 689566f lib/api/CafeApi.dart | true | 200 | 2,277 | import 'dart:typed_data';
import 'package:admin_dashboard/services/local_storage.dart';
import 'package:admin_dashboard/services/notifications_service.dart';
import 'package:dio/dio.dart';
class CafeApi {
static Dio _dio = new Dio();
static void configureDio() {
//creamos la base url
_dio.options.baseUrl... | 3 |
dimasprmana/pratikum_asyncronus | 2f90167 | lib/geolocation.dart | Dart | www.github.com/dimasprmana/pratikum_asyncronus/tree/main/lib/geolocation.dart | https://raw.githubusercontent.com/dimasprmana/pratikum_asyncronus/2f90167/lib/geolocation.dart | dimasprmana/pratikum_asyncronus 2f90167 lib/geolocation.dart | true | 200 | 1,727 | import 'package:flutter/material.dart';
import 'package:geolocator/geolocator.dart';
class LocationScreen extends StatefulWidget {
const LocationScreen({Key? key}) : super(key: key);
@override
State<LocationScreen> createState() => _LocationScreenState();
}
class _LocationScreenState extends State<LocationScre... | 1 |
gaoypChina/fiveLPOS | d5107ce | lib/api/promo.dart | Dart | www.github.com/gaoypChina/fiveLPOS/tree/main/lib/api/promo.dart | https://raw.githubusercontent.com/gaoypChina/fiveLPOS/d5107ce/lib/api/promo.dart | gaoypChina/fiveLPOS d5107ce lib/api/promo.dart | true | 200 | 1,090 | import 'dart:convert';
import 'dart:io';
import 'package:fivelPOS/repository/customerhelper.dart';
import '../config.dart';
import 'package:http/http.dart' as http;
class PromoAPI {
Future<Map<String, dynamic>> getPromo() async {
Map<String, dynamic> api = {};
Map<String, dynamic> userinfo = {};
if (Pl... | 7 |
zoz312/chatapp | d20e3dc | lib/main.dart | Dart | www.github.com/zoz312/chatapp/tree/main/lib/main.dart | https://raw.githubusercontent.com/zoz312/chatapp/d20e3dc/lib/main.dart | zoz312/chatapp d20e3dc lib/main.dart | true | 200 | 836 | import 'package:chatapp/pages/chatPage.dart';
import 'package:chatapp/pages/loginpage.dart';
import 'package:chatapp/pages/sinupPage.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'firebase_options.dart';
void main() async {
WidgetsFlutterBinding.ensureIniti... | 0 |
felicitasBk/Accessiwheel | ec1a63b | lib/domain/entities/properties_extension.dart | Dart | www.github.com/felicitasBk/Accessiwheel/tree/main/lib/domain/entities/properties_extension.dart | https://raw.githubusercontent.com/felicitasBk/Accessiwheel/ec1a63b/lib/domain/entities/properties_extension.dart | felicitasBk/Accessiwheel ec1a63b lib/domain/entities/properties_extension.dart | true | 200 | 1,903 | import 'package:wheelmap/common/constants/app_strings.dart';
import 'package:wheelmap/common/utils/log.dart';
import 'package:wheelmap/domain/entities/address.dart';
import 'package:wheelmap/domain/entities/description.dart';
import 'package:wheelmap/domain/entities/name.dart';
import 'package:wheelmap/domain/entities/... | 2 |
LINDEX171/ecommerce | 64834f6 | lib/common/widgets/text/t_brand_title_text_with_verified_icon.dart | Dart | www.github.com/LINDEX171/ecommerce/tree/main/lib/common/widgets/text/t_brand_title_text_with_verified_icon.dart | https://raw.githubusercontent.com/LINDEX171/ecommerce/64834f6/lib/common/widgets/text/t_brand_title_text_with_verified_icon.dart | LINDEX171/ecommerce 64834f6 lib/common/widgets/text/t_brand_title_text_with_verified_icon.dart | true | 200 | 1,163 | import 'package:ecommerce/common/widgets/text/t_brand_title_text.dart';
import 'package:ecommerce/utils/constants/colors.dart';
import 'package:ecommerce/utils/constants/enums.dart';
import 'package:ecommerce/utils/constants/sizes.dart';
import 'package:flutter/material.dart';
import 'package:iconsax/iconsax.dart';
cl... | 5 |
nobil22/shope_app_flutter | de679e4 | lib/widget/custom_text_field.dart | Dart | www.github.com/nobil22/shope_app_flutter/tree/main/lib/widget/custom_text_field.dart | https://raw.githubusercontent.com/nobil22/shope_app_flutter/de679e4/lib/widget/custom_text_field.dart | nobil22/shope_app_flutter de679e4 lib/widget/custom_text_field.dart | true | 200 | 774 | import 'package:flutter/material.dart';
class CustomTextfild extends StatelessWidget {
CustomTextfild(
{this.onChanged,
this.inputType,
this.hinttext,
this.obsecuertext = false});
String? hinttext;
TextInputType? inputType;
Function(String)? onChanged;
bool? obsecuertext;
@override
... | 3 |
budasuyasa/bloc-demo-undiksha | cacb7bf | undiksha01/lib/main.dart | Dart | www.github.com/budasuyasa/bloc-demo-undiksha/tree/main/undiksha01/lib/main.dart | https://raw.githubusercontent.com/budasuyasa/bloc-demo-undiksha/cacb7bf/undiksha01/lib/main.dart | budasuyasa/bloc-demo-undiksha cacb7bf undiksha01/lib/main.dart | true | 200 | 4,530 | import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:http/http.dart' as http;
// Membuat class Buku untuk menampung data buku
// dan menambahkan factory method untuk mengubah
// json menjadi instance dari Buku
class Buku {
final String isbn... | 7 |
nursyahira1/trans-mamminasata | ea06735 | lib/main.dart | Dart | www.github.com/nursyahira1/trans-mamminasata/tree/main/lib/main.dart | https://raw.githubusercontent.com/nursyahira1/trans-mamminasata/ea06735/lib/main.dart | nursyahira1/trans-mamminasata ea06735 lib/main.dart | true | 200 | 484 | // ignore_for_file: prefer_const_constructors, duplicate_ignore
import 'package:flutter/material.dart';
import 'package:trans_mamminasata/splashscreen.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildCo... | 0 |
Wuerike/delivery_app | 14b4cd6 | lib/src/features/presentation/update_password_page/view/update_password_page.dart | Dart | www.github.com/Wuerike/delivery_app/tree/main/lib/src/features/presentation/update_password_page/view/update_password_page.dart | https://raw.githubusercontent.com/Wuerike/delivery_app/14b4cd6/lib/src/features/presentation/update_password_page/view/update_password_page.dart | Wuerike/delivery_app 14b4cd6 lib/src/features/presentation/update_password_page/view/update_password_page.dart | true | 200 | 3,987 | import 'package:delivery_app/src/base/views/base_view.dart';
import 'package:delivery_app/src/features/presentation/update_password_page/view_model/update_password_view_model.dart';
import 'package:delivery_app/src/features/presentation/shared/components/alerts/alert_widget.dart';
import 'package:delivery_app/src/featu... | 2 |
okezieuc/roam_mate | e5b1ee9 | lib/screens/onboarding/onboarding_router.dart | Dart | www.github.com/okezieuc/roam_mate/tree/main/lib/screens/onboarding/onboarding_router.dart | https://raw.githubusercontent.com/okezieuc/roam_mate/e5b1ee9/lib/screens/onboarding/onboarding_router.dart | okezieuc/roam_mate e5b1ee9 lib/screens/onboarding/onboarding_router.dart | true | 200 | 1,920 | import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:roam_mate/screens/onboarding/onboarding_page.dart';
import 'package:roam_mate/screens/pages/app.dart';
FirebaseFirestore db = FirebaseFirestore.instance;
cl... | 4 |
kiransilwal1/shoesly | 74a16f1 | lib/features/product_discover/presentation/pages/product_discover_page.dart | Dart | www.github.com/kiransilwal1/shoesly/tree/main/lib/features/product_discover/presentation/pages/product_discover_page.dart | https://raw.githubusercontent.com/kiransilwal1/shoesly/74a16f1/lib/features/product_discover/presentation/pages/product_discover_page.dart | kiransilwal1/shoesly 74a16f1 lib/features/product_discover/presentation/pages/product_discover_page.dart | true | 200 | 7,117 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:shoesly/core/common/theme/app_theme.dart';
import 'package:shoesly/features/product_discover/presentation/widgets/product_card.dart';
import 'package:shoesly/features/product_detail/presentation/bloc/product_detail_... | 6 |
BakiTanvir/Digital-Learning | 961f85a | lib/login/text_styles.dart | Dart | www.github.com/BakiTanvir/Digital-Learning/tree/main/lib/login/text_styles.dart | https://raw.githubusercontent.com/BakiTanvir/Digital-Learning/961f85a/lib/login/text_styles.dart | BakiTanvir/Digital-Learning 961f85a lib/login/text_styles.dart | true | 200 | 811 |
import 'package:flutter/material.dart';
class TextStyles {
final BuildContext context;
TextStyles(this.context);
TextStyle getTitleStyle() {
return Theme.of(context).textTheme.headline6!.copyWith(
fontSize: 24,
//color: AppTheme.primaryTextColor,
);
}
TextStyle getDescript... | 1 |
Ardelerro/Authenticator | 9710638 | lib/screens/scan_qr_code.dart | Dart | www.github.com/Ardelerro/Authenticator/tree/main/lib/screens/scan_qr_code.dart | https://raw.githubusercontent.com/Ardelerro/Authenticator/9710638/lib/screens/scan_qr_code.dart | Ardelerro/Authenticator 9710638 lib/screens/scan_qr_code.dart | true | 200 | 1,418 | import 'package:flutter/material.dart';
import 'package:mobile_scanner/mobile_scanner.dart';
class QrScanner extends StatefulWidget {
const QrScanner({super.key});
@override
State<QrScanner> createState() => _QrScanner();
}
class _QrScanner extends State<QrScanner>{
List<String> _parseQrCode(String data){
... | 3 |
VanessaSimanta/UTS-Moprog-Food-Delivery-App | 1a7325d | uts_mobile_programming/lib/models/addson_modal.dart | Dart | www.github.com/VanessaSimanta/UTS-Moprog-Food-Delivery-App/tree/main/uts_mobile_programming/lib/models/addson_modal.dart | https://raw.githubusercontent.com/VanessaSimanta/UTS-Moprog-Food-Delivery-App/1a7325d/uts_mobile_programming/lib/models/addson_modal.dart | VanessaSimanta/UTS-Moprog-Food-Delivery-App 1a7325d uts_mobile_programming/lib/models/addson_modal.dart | true | 200 | 3,010 | import 'package:flutter/material.dart';
class AddOnsModal extends StatefulWidget {
final Map<String, dynamic> item;
final Function(List<Map<String, dynamic>>) onAddOnsSelected;
AddOnsModal({required this.item, required this.onAddOnsSelected});
@override
_AddOnsModalState createState() => _AddOnsModalState(... | 5 |
WuXuBaiYang/jtech_anime | b3e08d3 | pad/lib/manage/notification.dart | Dart | www.github.com/WuXuBaiYang/jtech_anime/tree/main/pad/lib/manage/notification.dart | https://raw.githubusercontent.com/WuXuBaiYang/jtech_anime/b3e08d3/pad/lib/manage/notification.dart | WuXuBaiYang/jtech_anime b3e08d3 pad/lib/manage/notification.dart | true | 200 | 8,043 | import 'dart:io';
import 'package:flutter_local_notifications/flutter_local_notifications.dart';
import 'package:jtech_anime_base/base.dart';
// 当收到消息通知时的回调
typedef OnNotificationReceive = Future Function(
int id, String? title, String? body, String? payload);
// 当通知消息被点击触发时
typedef OnNotificationSelect = Future ... | 7 |
coder-Aayush/gharelu | 4af32df | lib/src/home/entities/cart_entities.dart | Dart | www.github.com/coder-Aayush/gharelu/tree/main/lib/src/home/entities/cart_entities.dart | https://raw.githubusercontent.com/coder-Aayush/gharelu/4af32df/lib/src/home/entities/cart_entities.dart | coder-Aayush/gharelu 4af32df lib/src/home/entities/cart_entities.dart | true | 200 | 1,555 | import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:gharelu/src/home/models/booking_model.dart';
import 'package:gharelu/src/home/models/product_model.dart';
part 'cart_entities.freezed.dart';
@freezed
class CartEntities with _$CartEntities {
const CartEntities._();
const factory CartEnti... | 2 |
Macahuarte09/Api_Prototipo | 763b406 | lib/screens/noticias_detalle_screen.dart | Dart | www.github.com/Macahuarte09/Api_Prototipo/tree/main/lib/screens/noticias_detalle_screen.dart | https://raw.githubusercontent.com/Macahuarte09/Api_Prototipo/763b406/lib/screens/noticias_detalle_screen.dart | Macahuarte09/Api_Prototipo 763b406 lib/screens/noticias_detalle_screen.dart | true | 200 | 2,721 | import 'package:aplication_noticias/screens/noticias_model.dart';
import 'package:flutter/material.dart';
class NoticiaDetalleScreen extends StatelessWidget {
final Noticias noticia;
NoticiaDetalleScreen({required this.noticia});
@override
Widget build(BuildContext context) {
return Scaffold(
appBa... | 0 |
SergiiMytakii/icoc_admin_pannel | 391db97 | lib/ui/screens/auth/login_screen.dart | Dart | www.github.com/SergiiMytakii/icoc_admin_pannel/tree/main/lib/ui/screens/auth/login_screen.dart | https://raw.githubusercontent.com/SergiiMytakii/icoc_admin_pannel/391db97/lib/ui/screens/auth/login_screen.dart | SergiiMytakii/icoc_admin_pannel 391db97 lib/ui/screens/auth/login_screen.dart | true | 200 | 5,884 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:icoc_admin_pannel/constants.dart';
import 'package:icoc_admin_pannel/ui/bloc/auth/auth_bloc.dart';
import 'package:icoc_admin_pannel/ui/widget/alert_dialog.dart';
import 'package:icoc_admin_pannel/ui/widget/my_text_... | 4 |
Amarjeetjeet/Shigoto_mobile | 2c760ef | lib/presentation/bookmark/bookmark_people.dart | Dart | www.github.com/Amarjeetjeet/Shigoto_mobile/tree/main/lib/presentation/bookmark/bookmark_people.dart | https://raw.githubusercontent.com/Amarjeetjeet/Shigoto_mobile/2c760ef/lib/presentation/bookmark/bookmark_people.dart | Amarjeetjeet/Shigoto_mobile 2c760ef lib/presentation/bookmark/bookmark_people.dart | true | 200 | 1,141 | import 'package:flutter/material.dart';
import 'package:flutter_staggered_grid_view/flutter_staggered_grid_view.dart';
import 'package:shigoto/presentation/people_card/people_card.dart';
import '../../core/constants/app_style.dart';
import '../../core/constants/image_constants.dart';
class BookmarkPeople extends Statel... | 1 |
dina-glith/keomart | c56a30d | lib/user/profil_page.dart | Dart | www.github.com/dina-glith/keomart/tree/main/lib/user/profil_page.dart | https://raw.githubusercontent.com/dina-glith/keomart/c56a30d/lib/user/profil_page.dart | dina-glith/keomart c56a30d lib/user/profil_page.dart | true | 200 | 1,599 | import 'package:flutter/material.dart';
import 'package:myapp/login.dart';
import 'package:myapp/service/auth_service.dart';
import 'package:myapp/user/pengaturan_page.dart';
import 'riwayat_pesanan.dart';
class ProfilPage extends StatelessWidget {
ProfilPage({Key? key}) : super(key: key);
final AuthService _authS... | 3 |
volkanyurusen/project1_flutter | 946a5e7 | lib/screens/onboarding/onboarding_screens/approval_screen.dart | Dart | www.github.com/volkanyurusen/project1_flutter/tree/main/lib/screens/onboarding/onboarding_screens/approval_screen.dart | https://raw.githubusercontent.com/volkanyurusen/project1_flutter/946a5e7/lib/screens/onboarding/onboarding_screens/approval_screen.dart | volkanyurusen/project1_flutter 946a5e7 lib/screens/onboarding/onboarding_screens/approval_screen.dart | true | 200 | 491 | import 'package:flutter/material.dart';
class ApprovalScreen extends StatelessWidget {
static const String routeName = 'onboarding_screen';
const ApprovalScreen({super.key});
//
//static Route route() {
// return MaterialPageRoute(
// builder: (_) => ApprovalScreen(),
// settin... | 2 |
hypha-dao/hypha-wallet | ddcef91 | lib/ui/blocs/push_notifications/push_notifications_bloc.dart | Dart | www.github.com/hypha-dao/hypha-wallet/tree/main/lib/ui/blocs/push_notifications/push_notifications_bloc.dart | https://raw.githubusercontent.com/hypha-dao/hypha-wallet/ddcef91/lib/ui/blocs/push_notifications/push_notifications_bloc.dart | hypha-dao/hypha-wallet ddcef91 lib/ui/blocs/push_notifications/push_notifications_bloc.dart | true | 200 | 3,656 | import 'dart:async';
import 'package:bloc/bloc.dart';
import 'package:firebase_messaging/firebase_messaging.dart';
import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:hypha_wallet/core/crypto/seeds_esr/scan_qr_code_result_data.dart';
import 'package:hypha_wallet/core/extension/scope_func... | 5 |
devPro0330/flutter-travel-app-ui | 6c32801 | lib/screens/home_screen.dart | Dart | www.github.com/devPro0330/flutter-travel-app-ui/tree/main/lib/screens/home_screen.dart | https://raw.githubusercontent.com/devPro0330/flutter-travel-app-ui/6c32801/lib/screens/home_screen.dart | devPro0330/flutter-travel-app-ui 6c32801 lib/screens/home_screen.dart | true | 200 | 3,895 | import 'package:flutter/material.dart';
import 'package:flutter_travel_ui/widgets/destination_carousel.dart';
import 'package:flutter_travel_ui/widgets/hotel_carousel.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
class HomeScreen extends StatefulWidget {
@override
_HomeScreenState ... | 6 |
CapstoneMemento/Memento_Flutter | 3d1ea80 | lib/widgets/keyword_text.dart | Dart | www.github.com/CapstoneMemento/Memento_Flutter/tree/main/lib/widgets/keyword_text.dart | https://raw.githubusercontent.com/CapstoneMemento/Memento_Flutter/3d1ea80/lib/widgets/keyword_text.dart | CapstoneMemento/Memento_Flutter 3d1ea80 lib/widgets/keyword_text.dart | true | 200 | 856 | import 'package:flutter/material.dart';
class KeywordText extends StatelessWidget {
final List selectedText;
KeywordText({required this.selectedText});
// 선택한 문자 text style
final highlightStyle =
TextStyle(fontSize: 16, backgroundColor: Colors.yellow.withOpacity(0.5));
@override
Widget build(Build... | 7 |
femongamel102/hackathon_project | 7cff7c0 | lib/presentation/onboarding/view/onboarding_view.dart | Dart | www.github.com/femongamel102/hackathon_project/tree/main/lib/presentation/onboarding/view/onboarding_view.dart | https://raw.githubusercontent.com/femongamel102/hackathon_project/7cff7c0/lib/presentation/onboarding/view/onboarding_view.dart | femongamel102/hackathon_project 7cff7c0 lib/presentation/onboarding/view/onboarding_view.dart | true | 200 | 3,812 | import 'package:curved_navigation_bar/curved_navigation_bar.dart';
import 'package:flutter/material.dart';
import 'package:hackathon_project/domain/model/models.dart';
import 'package:hackathon_project/presentation/onboarding/viewmodel/onboarding_viewmodel.dart';
import 'package:hackathon_project/presentation/resources... | 0 |
mavisphung/fpt-fa22-capstone | 04fc5ff | mobile.app/lib/app/modules/contract/widgets/recommend_item.dart | Dart | www.github.com/mavisphung/fpt-fa22-capstone/tree/main/mobile.app/lib/app/modules/contract/widgets/recommend_item.dart | https://raw.githubusercontent.com/mavisphung/fpt-fa22-capstone/04fc5ff/mobile.app/lib/app/modules/contract/widgets/recommend_item.dart | mavisphung/fpt-fa22-capstone 04fc5ff mobile.app/lib/app/modules/contract/widgets/recommend_item.dart | true | 200 | 8,668 | import 'package:flutter/material.dart';
import 'package:flutter_phosphor_icons/flutter_phosphor_icons.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:hi_doctor_v2/app/common/constants.dart';
import 'package:hi_doctor_v2/app/common/values/colors.dart';
... | 4 |
WeDev00/free_mint_page_flutter | 98ffac9 | lib/Widgets/minter.dart | Dart | www.github.com/WeDev00/free_mint_page_flutter/tree/main/lib/Widgets/minter.dart | https://raw.githubusercontent.com/WeDev00/free_mint_page_flutter/98ffac9/lib/Widgets/minter.dart | WeDev00/free_mint_page_flutter 98ffac9 lib/Widgets/minter.dart | true | 200 | 2,037 | // ignore_for_file: avoid_print
import 'package:b_mint_page/Widgets/StateManager.dart';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import '../util/util.dart';
class MinterButton extends StatefulWidget {
const MinterButton({super.key});
@override
State<MinterButton> createS... | 1 |
Ridhiwan/uiassignment | 7db6f8c | lib/main.dart | Dart | www.github.com/Ridhiwan/uiassignment/tree/main/lib/main.dart | https://raw.githubusercontent.com/Ridhiwan/uiassignment/7db6f8c/lib/main.dart | Ridhiwan/uiassignment 7db6f8c lib/main.dart | true | 200 | 469 | import 'package:flutter/material.dart';
import 'package:uiassignment/loadpage.dart';
import 'login_view.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of your application.
@override
Widget build(BuildContext context)... | 5 |
amshulmp/shop_ease_user | 47679c0 | lib/screens/profile.dart | Dart | www.github.com/amshulmp/shop_ease_user/tree/main/lib/screens/profile.dart | https://raw.githubusercontent.com/amshulmp/shop_ease_user/47679c0/lib/screens/profile.dart | amshulmp/shop_ease_user 47679c0 lib/screens/profile.dart | true | 200 | 4,585 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
import 'package:shop_ease_user/config/configuration.dart';
import 'package:shop_ease_user/config/routes.dart';
class ProfileScreen extends StatefulWidget {
const ProfileS... | 7 |
tehnowave/Odysee | 03669d2 | lib/pages/travel_detail/travel_detail_model.dart | Dart | www.github.com/tehnowave/Odysee/tree/main/lib/pages/travel_detail/travel_detail_model.dart | https://raw.githubusercontent.com/tehnowave/Odysee/03669d2/lib/pages/travel_detail/travel_detail_model.dart | tehnowave/Odysee 03669d2 lib/pages/travel_detail/travel_detail_model.dart | true | 200 | 456 | import '/flutter_flow/flutter_flow_util.dart';
import '/index.dart';
import 'travel_detail_widget.dart' show TravelDetailWidget;
import 'package:flutter/material.dart';
class TravelDetailModel extends FlutterFlowModel<TravelDetailWidget> {
/// State fields for stateful widgets in this page.
// State field(s) for... | 0 |
youssefkhaled20190/To_do_App | d077fb0 | todoapp/lib/main.dart | Dart | www.github.com/youssefkhaled20190/To_do_App/tree/main/todoapp/lib/main.dart | https://raw.githubusercontent.com/youssefkhaled20190/To_do_App/d077fb0/todoapp/lib/main.dart | youssefkhaled20190/To_do_App d077fb0 todoapp/lib/main.dart | true | 200 | 1,053 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:get_storage/get_storage.dart';
import 'package:todo/db/db_helper.dart';
import 'package:todo/services/notification_services.dart';
import 'package:todo/services/theme_services.dart';
import 'package:todo/ui/pages/notification_screen.... | 2 |
Sandhit06/XNL-21BAI1743-MOBILE-1 | bf849cd | frontend/lib/pages/profile.dart | Dart | www.github.com/Sandhit06/XNL-21BAI1743-MOBILE-1/tree/main/frontend/lib/pages/profile.dart | https://raw.githubusercontent.com/Sandhit06/XNL-21BAI1743-MOBILE-1/bf849cd/frontend/lib/pages/profile.dart | Sandhit06/XNL-21BAI1743-MOBILE-1 bf849cd frontend/lib/pages/profile.dart | true | 200 | 5,759 | import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
class ProfilePage extends StatelessWidget {
const ProfilePage({super.key});
@override
Widget build(BuildContext context) {
// Retrieve user details from Firebase
final User? user = FirebaseAuth.instance.currentUse... | 3 |
VincentVenan33/projecthr-android | 84f0a12 | lib/services/pengajuan/perjalanan_dinas_service/perjalanan_dinas_get_attachment_service.dart | Dart | www.github.com/VincentVenan33/projecthr-android/tree/main/lib/services/pengajuan/perjalanan_dinas_service/perjalanan_dinas_get_attachment_service.dart | https://raw.githubusercontent.com/VincentVenan33/projecthr-android/84f0a12/lib/services/pengajuan/perjalanan_dinas_service/perjalanan_dinas_get_attachment_service.dart | VincentVenan33/projecthr-android 84f0a12 lib/services/pengajuan/perjalanan_dinas_service/perjalanan_dinas_get_attachment_service.dart | true | 200 | 1,150 | import 'dart:convert';
import 'package:dio/dio.dart';
import 'package:flutter/material.dart';
import '../../pref_helper.dart';
class PerjalananDinasGetAttachmentService {
final url = 'http://192.168.2.155:8000/perjalanan_dinas/list_attachment';
Dio dio = Dio();
Future getAttachmentPerjalananDinas(int id) asyn... | 1 |
rosemary18/haiyowangi-pos | 4ae7d18 | lib/src/views/inventory/inventory.tabs.view.dart | Dart | www.github.com/rosemary18/haiyowangi-pos/tree/main/lib/src/views/inventory/inventory.tabs.view.dart | https://raw.githubusercontent.com/rosemary18/haiyowangi-pos/4ae7d18/lib/src/views/inventory/inventory.tabs.view.dart | rosemary18/haiyowangi-pos 4ae7d18 lib/src/views/inventory/inventory.tabs.view.dart | true | 200 | 2,013 | import 'package:flutter/material.dart';
import 'package:haiyowangi_pos/src/index.dart';
import 'incoming.stock.view.dart';
import 'outgoing.stock.view.dart';
class InventoryTabsView extends StatefulWidget {
const InventoryTabsView({super.key});
@override
State<InventoryTabsView> createState() => _InventoryTabsV... | 4 |
frkudn/player | 2b375c7 | lib/presentation/pages/settings/setting/widgets/setting_bottom_navigation_bar_customization_widget.dart | Dart | www.github.com/frkudn/player/tree/main/lib/presentation/pages/settings/setting/widgets/setting_bottom_navigation_bar_customization_widget.dart | https://raw.githubusercontent.com/frkudn/player/2b375c7/lib/presentation/pages/settings/setting/widgets/setting_bottom_navigation_bar_customization_widget.dart | frkudn/player 2b375c7 lib/presentation/pages/settings/setting/widgets/setting_bottom_navigation_bar_customization_widget.dart | true | 200 | 10,772 | import 'dart:developer';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:gap/gap.dart';
import 'package:hugeicons/hugeicons.dart';
import 'package:open_player/base/assets/fonts/styles.dart';
import 'package:open_player/bas... | 7 |
Olawale96/Benefix-App | 9fccced | lib/screens/explore_benefix.dart | Dart | www.github.com/Olawale96/Benefix-App/tree/main/lib/screens/explore_benefix.dart | https://raw.githubusercontent.com/Olawale96/Benefix-App/9fccced/lib/screens/explore_benefix.dart | Olawale96/Benefix-App 9fccced lib/screens/explore_benefix.dart | true | 200 | 3,843 | import 'package:benefixs/core/extension/extension.dart';
import 'package:benefixs/core/theme/colors.dart';
import 'package:benefixs/core/utils/extension/widget_extensions.dart';
import 'package:benefixs/screens/authentication/signin.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutt... | 5 |
Toi1452002/app_sd | cd0bd64 | lib/controllers/ctl_quanlytin.dart | Dart | www.github.com/Toi1452002/app_sd/tree/main/lib/controllers/ctl_quanlytin.dart | https://raw.githubusercontent.com/Toi1452002/app_sd/cd0bd64/lib/controllers/ctl_quanlytin.dart | Toi1452002/app_sd cd0bd64 lib/controllers/ctl_quanlytin.dart | true | 200 | 7,038 | // ignore_for_file: camel_case_types
import 'package:flutter_easyloading/flutter_easyloading.dart';
import 'package:get/get.dart';
import 'package:intl/intl.dart';
import 'package:sd_pmn/controllers/ctl_xuly.dart';
import 'package:sd_pmn/function/extension.dart';
import 'package:sd_pmn/models/mdl_ql_tinct.dart';
impo... | 0 |
NHA-ABDM/ABDM-ABHA-APP | 10c1a40 | lib/app/settings/settings_repo.dart | Dart | www.github.com/NHA-ABDM/ABDM-ABHA-APP/tree/main/lib/app/settings/settings_repo.dart | https://raw.githubusercontent.com/NHA-ABDM/ABDM-ABHA-APP/10c1a40/lib/app/settings/settings_repo.dart | NHA-ABDM/ABDM-ABHA-APP 10c1a40 lib/app/settings/settings_repo.dart | true | 200 | 1,410 | import 'package:abha/export_packages.dart';
/// Here is the abstract class [SettingsRepo] declared the abstract method.
abstract class SettingsRepo {
Future<Map> callUpdatePassword(Map updatePasswordData);
Future<Map> callSendFeedback(Map sendFeedbackData);
}
/// @Here the class [SettingsRepoImpl] extends [Base... | 2 |
vezentini/pequeninos-app | dab150f | lib/backend/schema/structs/classes_struct.dart | Dart | www.github.com/vezentini/pequeninos-app/tree/main/lib/backend/schema/structs/classes_struct.dart | https://raw.githubusercontent.com/vezentini/pequeninos-app/dab150f/lib/backend/schema/structs/classes_struct.dart | vezentini/pequeninos-app dab150f lib/backend/schema/structs/classes_struct.dart | true | 200 | 1,950 | // ignore_for_file: unnecessary_getters_setters
import '/backend/schema/util/schema_util.dart';
import 'index.dart';
import '/flutter_flow/flutter_flow_util.dart';
class ClassesStruct extends BaseStruct {
ClassesStruct({
String? id,
String? name,
}) : _id = id,
_name = name;
// "id" field.
... | 3 |
eladministrator/FabesMobileFlutter | 57b893e | lib/screens/registro/registro.dart | Dart | www.github.com/eladministrator/FabesMobileFlutter/tree/main/lib/screens/registro/registro.dart | https://raw.githubusercontent.com/eladministrator/FabesMobileFlutter/57b893e/lib/screens/registro/registro.dart | eladministrator/FabesMobileFlutter 57b893e lib/screens/registro/registro.dart | true | 200 | 10,472 | import 'package:flutter/material.dart';
import 'dart:convert';
import 'dart:io';
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
import 'package:http/http.dart' as http;
import 'package:provider/provider.dart';
// Importaciones locales del proyecto
import 'package:fabes/arguments/bearer_args.dart'... | 1 |
VictorAC97/UnB_TCC_Victor_Vinicius | 8eaec88 | lib/pages/Modulo1/pages/Perfil.dart | Dart | www.github.com/VictorAC97/UnB_TCC_Victor_Vinicius/tree/main/lib/pages/Modulo1/pages/Perfil.dart | https://raw.githubusercontent.com/VictorAC97/UnB_TCC_Victor_Vinicius/8eaec88/lib/pages/Modulo1/pages/Perfil.dart | VictorAC97/UnB_TCC_Victor_Vinicius 8eaec88 lib/pages/Modulo1/pages/Perfil.dart | true | 200 | 2,821 | import 'package:flutter/material.dart';
import 'package:projeto_final_unb/models/Usuario.dart';
import 'package:projeto_final_unb/pages/Modulo1/widgets/anexo_widget.dart';
import 'package:projeto_final_unb/pages/Modulo1/pages/TelaCadastroInformacoes.dart';
import 'package:projeto_final_unb/pages/Modulo1/widgets/perfil_... | 6 |
Pravasta/madang-new | 509c88a | lib/features/search/view/search_page.dart | Dart | www.github.com/Pravasta/madang-new/tree/main/lib/features/search/view/search_page.dart | https://raw.githubusercontent.com/Pravasta/madang-new/509c88a/lib/features/search/view/search_page.dart | Pravasta/madang-new 509c88a lib/features/search/view/search_page.dart | true | 200 | 1,091 | import 'package:madang_app/core/constant/constant.dart';
import 'package:madang_app/core/core.dart';
class SearchPage extends StatelessWidget {
const SearchPage({super.key});
@override
Widget build(BuildContext context) {
PreferredSize appBar() {
return PreferredSize(
preferredSize: ... | 7 |
Midhunpu80/Elpida-Musicx | 74bc7c7 | lib/Model/PlayList_Db/PLayList_Db.dart | Dart | www.github.com/Midhunpu80/Elpida-Musicx/tree/main/lib/Model/PlayList_Db/PLayList_Db.dart | https://raw.githubusercontent.com/Midhunpu80/Elpida-Musicx/74bc7c7/lib/Model/PlayList_Db/PLayList_Db.dart | Midhunpu80/Elpida-Musicx 74bc7c7 lib/Model/PlayList_Db/PLayList_Db.dart | true | 200 | 1,231 | import 'package:flutter/material.dart';
import 'package:hive_flutter/hive_flutter.dart';
import 'package:music_player/NewDb/Music_Model.dart';
class PlaylistDb extends ChangeNotifier {
static ValueNotifier<List<Music_Model>> playlistNotifier = ValueNotifier([]);
static final playlistDb = Hive.box<Music_Model>('pla... | 0 |
Salman-n/Hari_Hari-Apps | ff0a0ae | lib/firebase_options.dart | Dart | www.github.com/Salman-n/Hari_Hari-Apps/tree/main/lib/firebase_options.dart | https://raw.githubusercontent.com/Salman-n/Hari_Hari-Apps/ff0a0ae/lib/firebase_options.dart | Salman-n/Hari_Hari-Apps ff0a0ae lib/firebase_options.dart | true | 200 | 2,818 | import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;
import 'package:flutter/foundation.dart'
show defaultTargetPlatform, kIsWeb, TargetPlatform;
/// Default [FirebaseOptions] for use with your Firebase apps.
///
/// Example:
/// ```dart
/// import 'firebase_options.dart';
/// // ...
/// await F... | 4 |
hiraanwer95/bilal_projects | 4fcd267 | My Projects/test_assets/test_assets/packages/blink_sdk/lib/core/models/NetworkModels/HomeScreen/GetBanners/data.dart | Dart | www.github.com/hiraanwer95/bilal_projects/tree/main/My Projects/test_assets/test_assets/packages/blink_sdk/lib/core/models/NetworkModels/HomeScreen/GetBanners/data.dart | https://raw.githubusercontent.com/hiraanwer95/bilal_projects/4fcd267/My%20Projects/test_assets/test_assets/packages/blink_sdk/lib/core/models/NetworkModels/HomeScreen/GetBanners/data.dart | hiraanwer95/bilal_projects 4fcd267 My Projects/test_assets/test_assets/packages/blink_sdk/lib/core/models/NetworkModels/HomeScreen/GetBanners/data.dart | true | 200 | 1,263 | import 'package:flutter/foundation.dart';
import 'package:json_annotation/json_annotation.dart';
import 'dish.dart';
part 'data.g.dart';
@JsonSerializable()
class Data {
Data({
this.id,
this.language,
this.status,
this.repeat,
this.title,
this.detail,
this.actionTitle,
this.image_url... | 5 |
Eldar2021/oracle | c98d1c4 | lib/app/modules/create_battle/widgets/preview/preview_players.dart | Dart | www.github.com/Eldar2021/oracle/tree/main/lib/app/modules/create_battle/widgets/preview/preview_players.dart | https://raw.githubusercontent.com/Eldar2021/oracle/c98d1c4/lib/app/modules/create_battle/widgets/preview/preview_players.dart | Eldar2021/oracle c98d1c4 lib/app/modules/create_battle/widgets/preview/preview_players.dart | true | 200 | 1,369 | import 'package:expandable/expandable.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:oracle/app/data/models/user_model/user_model.dart';
import 'package:oracle/constants/color_constants.dart';
import '../command_user_card_create.dart';
class PreviewPlayers extends Statele... | 2 |
ShineWaiYanAung/myportfolio | b0b0cec | lib/Constraints/aboutme.dart | Dart | www.github.com/ShineWaiYanAung/myportfolio/tree/main/lib/Constraints/aboutme.dart | https://raw.githubusercontent.com/ShineWaiYanAung/myportfolio/b0b0cec/lib/Constraints/aboutme.dart | ShineWaiYanAung/myportfolio b0b0cec lib/Constraints/aboutme.dart | true | 200 | 2,466 | import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'color_constriants.dart';
class AboutMeForDeskTop extends StatelessWidget {
const AboutMeForDeskTop({super.key});
@override
Widget build(BuildContext context) {
return Container(
padding: Edge... | 1 |
darilrt/y | 4a9ea86 | lib/main/pages/friend_list.dart | Dart | www.github.com/darilrt/y/tree/main/lib/main/pages/friend_list.dart | https://raw.githubusercontent.com/darilrt/y/4a9ea86/lib/main/pages/friend_list.dart | darilrt/y 4a9ea86 lib/main/pages/friend_list.dart | true | 200 | 1,765 | import 'package:flutter/material.dart';
import 'package:y/main/pages/profile.dart';
import 'package:y/main/repo/user_repo.dart';
import 'package:y/main/widgets/friend_list_item.dart';
import 'package:y/utils/route.dart';
import '../models/user.dart';
class FriendListPage extends StatelessWidget {
const FriendListPa... | 6 |
FernandJerico/cinetix_id | 285b153 | lib/presentation/widgets/network_image_card.dart | Dart | www.github.com/FernandJerico/cinetix_id/tree/main/lib/presentation/widgets/network_image_card.dart | https://raw.githubusercontent.com/FernandJerico/cinetix_id/285b153/lib/presentation/widgets/network_image_card.dart | FernandJerico/cinetix_id 285b153 lib/presentation/widgets/network_image_card.dart | true | 200 | 1,343 | import 'package:flutter/material.dart';
class NetworkImageCard extends StatelessWidget {
final double height;
final double width;
final String? imageUrl;
final BoxFit? fit;
final double borderRadius;
final VoidCallback? onTap;
const NetworkImageCard(
{super.key,
this.height = 228,
this... | 0 |
Aayush014/contact_us_page | 4212e09 | lib/Contact Us/Views/contact_us.dart | Dart | www.github.com/Aayush014/contact_us_page/tree/main/lib/Contact Us/Views/contact_us.dart | https://raw.githubusercontent.com/Aayush014/contact_us_page/4212e09/lib/Contact%20Us/Views/contact_us.dart | Aayush014/contact_us_page 4212e09 lib/Contact Us/Views/contact_us.dart | true | 200 | 2,932 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:url_launcher/url_launcher.dart';
import 'components/custom_container.dart';
import 'components/custom_list_tile.dart';
class ContactUs extends StatefulWidget {
const ContactUs({super.key});
@override
State<ContactU... | 7 |
jaggadas/DeliveryKnight | cb11221 | lib/screens/homepage.dart | Dart | www.github.com/jaggadas/DeliveryKnight/tree/main/lib/screens/homepage.dart | https://raw.githubusercontent.com/jaggadas/DeliveryKnight/cb11221/lib/screens/homepage.dart | jaggadas/DeliveryKnight cb11221 lib/screens/homepage.dart | true | 200 | 9,641 |
import 'package:cached_network_image/cached_network_image.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:deliveryknight/authservice/authservice.dart';
import 'package:deliveryknight/constants.dart';
import 'package:deliveryknight/models/Users.dart';
import 'package:deliveryknight/screen... | 4 |
tuukkaviitanen/cafe-now-app | a04537a | app/lib/widgets/cafe_list_item.dart | Dart | www.github.com/tuukkaviitanen/cafe-now-app/tree/main/app/lib/widgets/cafe_list_item.dart | https://raw.githubusercontent.com/tuukkaviitanen/cafe-now-app/a04537a/app/lib/widgets/cafe_list_item.dart | tuukkaviitanen/cafe-now-app a04537a app/lib/widgets/cafe_list_item.dart | true | 200 | 2,243 | import 'package:cafe_now_app/main.dart';
import 'package:cafe_now_app/models/place.dart';
import 'package:cafe_now_app/screens/cafe_details_screen.dart';
import 'package:cafe_now_app/screens/cafe_search_screen.dart';
import 'package:cafe_now_app/widgets/opening_hours.dart';
import 'package:flutter/material.dart';
impor... | 3 |
paras-28/book_app | 1a770d1 | lib/presentation/common_widgets/connectivity_wrapper.dart | Dart | www.github.com/paras-28/book_app/tree/main/lib/presentation/common_widgets/connectivity_wrapper.dart | https://raw.githubusercontent.com/paras-28/book_app/1a770d1/lib/presentation/common_widgets/connectivity_wrapper.dart | paras-28/book_app 1a770d1 lib/presentation/common_widgets/connectivity_wrapper.dart | true | 200 | 1,512 | import 'package:book_app/presentation/common_widgets/no_internet_view.dart';
import 'package:book_app/presentation/global_singletons/global_singletons.dart';
import 'package:connectivity_plus/connectivity_plus.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
class... | 2 |
BonchayHi5/pokemon-app-bloc | 968413f | lib/blocs/pokemon/pokemon_bloc_state.dart | Dart | www.github.com/BonchayHi5/pokemon-app-bloc/tree/main/lib/blocs/pokemon/pokemon_bloc_state.dart | https://raw.githubusercontent.com/BonchayHi5/pokemon-app-bloc/968413f/lib/blocs/pokemon/pokemon_bloc_state.dart | BonchayHi5/pokemon-app-bloc 968413f lib/blocs/pokemon/pokemon_bloc_state.dart | true | 200 | 954 | // ignore_for_file: public_member_api_docs, sort_constructors_first
part of 'pokemon_bloc.dart';
abstract class PokemonBlocState extends Equatable {
const PokemonBlocState();
@override
List<Object> get props => [];
}
class PokemonBlocInitialState extends PokemonBlocState {}
class PokemonBlocLoadingState exte... | 5 |
triagung128/firenotes | 8c49b2f | lib/app/modules/profile/controllers/profile_controller.dart | Dart | www.github.com/triagung128/firenotes/tree/main/lib/app/modules/profile/controllers/profile_controller.dart | https://raw.githubusercontent.com/triagung128/firenotes/8c49b2f/lib/app/modules/profile/controllers/profile_controller.dart | triagung128/firenotes 8c49b2f lib/app/modules/profile/controllers/profile_controller.dart | true | 200 | 2,585 | import 'dart:io';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:firebase_storage/firebase_storage.dart';
import 'package:get/get.dart';
import 'package:image_pi... | 6 |
oluwadamme/smartpay | 9546b20 | lib/src/features/onboarding/widgets/onboard_two.dart | Dart | www.github.com/oluwadamme/smartpay/tree/main/lib/src/features/onboarding/widgets/onboard_two.dart | https://raw.githubusercontent.com/oluwadamme/smartpay/9546b20/lib/src/features/onboarding/widgets/onboard_two.dart | oluwadamme/smartpay 9546b20 lib/src/features/onboarding/widgets/onboard_two.dart | true | 200 | 1,439 | import 'package:flutter/material.dart';
import 'package:smartpay/src/utils/app_asset.dart';
import 'package:smartpay/src/utils/spacing_util.dart';
class OnboardTwo extends StatelessWidget {
const OnboardTwo({
super.key,
});
@override
Widget build(BuildContext context) {
return Stack(
alignment: ... | 7 |
MuhammedBashuaib/news_app_with_flutter | f1675e8 | lib/presentation/widgets/custom_categories_list_view.dart | Dart | www.github.com/MuhammedBashuaib/news_app_with_flutter/tree/main/lib/presentation/widgets/custom_categories_list_view.dart | https://raw.githubusercontent.com/MuhammedBashuaib/news_app_with_flutter/f1675e8/lib/presentation/widgets/custom_categories_list_view.dart | MuhammedBashuaib/news_app_with_flutter f1675e8 lib/presentation/widgets/custom_categories_list_view.dart | true | 200 | 863 | import 'package:flutter/material.dart';
import 'package:news_app_with_flutter/const.dart';
import 'package:news_app_with_flutter/data/model/category_model.dart';
import 'package:news_app_with_flutter/presentation/widgets/custom_category_card.dart';
class CustomCategoriesListView extends StatelessWidget {
final List<... | 0 |
hieunn301/flutter_trello | 07764a9 | lib/screens/details/components/project_description.dart | Dart | www.github.com/hieunn301/flutter_trello/tree/main/lib/screens/details/components/project_description.dart | https://raw.githubusercontent.com/hieunn301/flutter_trello/07764a9/lib/screens/details/components/project_description.dart | hieunn301/flutter_trello 07764a9 lib/screens/details/components/project_description.dart | true | 200 | 2,610 | import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
import '../../../constants.dart';
import '../../../size_config.dart';
class ProjectDescription extends StatelessWidget {
const ProjectDescription({
Key? key,
// required this.project,
this.pressOnSeeMore,
}) : super... | 3 |
Mohammed-AboLEneen/fun-tourism | ab349a5 | lib/features/home/presentation/view_model/notifications_listener_provider/notification_listener_provider.dart | Dart | www.github.com/Mohammed-AboLEneen/fun-tourism/tree/main/lib/features/home/presentation/view_model/notifications_listener_provider/notification_listener_provider.dart | https://raw.githubusercontent.com/Mohammed-AboLEneen/fun-tourism/ab349a5/lib/features/home/presentation/view_model/notifications_listener_provider/notification_listener_provider.dart | Mohammed-AboLEneen/fun-tourism ab349a5 lib/features/home/presentation/view_model/notifications_listener_provider/notification_listener_provider.dart | true | 200 | 1,009 | import 'package:flutter/material.dart';
import 'package:fun_adventure/cores/utils/locator_manger.dart';
import 'package:fun_adventure/features/home/presentation/view_model/main_screen_cubit/main_screen_cubit.dart';
import '../../../../../cores/utils/firebase_api.dart';
// this provider responsible for listen and add ... | 1 |
a1573595/school_app | 74986f8 | test/dao/dao_test.dart | Dart | www.github.com/a1573595/school_app/tree/main/test/dao/dao_test.dart | https://raw.githubusercontent.com/a1573595/school_app/74986f8/test/dao/dao_test.dart | a1573595/school_app 74986f8 test/dao/dao_test.dart | true | 200 | 3,594 | import 'package:collection/collection.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:school_app/db/course_dao.dart';
import 'package:school_app/db/db_helper.dart';
import 'package:school_app/db/user_dao.dart';
import 'fake/fake_db.dart';
void main() async {
late UserDao userDao;
late Cour... | 2 |
JulianGssl/Projet_ING2 | 99f6a70 | client/lib/ui/screens/loadinghomepage.dart | Dart | www.github.com/JulianGssl/Projet_ING2/tree/main/client/lib/ui/screens/loadinghomepage.dart | https://raw.githubusercontent.com/JulianGssl/Projet_ING2/99f6a70/client/lib/ui/screens/loadinghomepage.dart | JulianGssl/Projet_ING2 99f6a70 client/lib/ui/screens/loadinghomepage.dart | true | 200 | 2,782 | import 'package:flutter/material.dart';
import 'dart:async';
import 'loginpage.dart'; // Assurez-vous que la classe AuthenticationScreen est définie ici
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Load... | 4 |
abdwii/Moca-pass | 93e93ba | lib/features/scan/model/qr_code_scan_request.dart | Dart | www.github.com/abdwii/Moca-pass/tree/main/lib/features/scan/model/qr_code_scan_request.dart | https://raw.githubusercontent.com/abdwii/Moca-pass/93e93ba/lib/features/scan/model/qr_code_scan_request.dart | abdwii/Moca-pass 93e93ba lib/features/scan/model/qr_code_scan_request.dart | true | 200 | 308 | import 'package:json_annotation/json_annotation.dart';
part 'qr_code_scan_request.g.dart';
@JsonSerializable()
class QrCodeScanRequest {
@JsonKey(name: 'qrCode')
String hashQrCode;
QrCodeScanRequest({required this.hashQrCode});
Map<String, dynamic> toJson() => _$QrCodeScanRequestToJson(this);
}
| 5 |
the-deadrose/flutter_splash | cfabbb8 | lib/main.dart | Dart | www.github.com/the-deadrose/flutter_splash/tree/main/lib/main.dart | https://raw.githubusercontent.com/the-deadrose/flutter_splash/cfabbb8/lib/main.dart | the-deadrose/flutter_splash cfabbb8 lib/main.dart | true | 200 | 2,645 | import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Login App',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: SplashScreen(),
rout... | 6 |
theaapfiatina/tugasmobile | eb3d40c | bin/function_return_value.dart | Dart | www.github.com/theaapfiatina/tugasmobile/tree/main/bin/function_return_value.dart | https://raw.githubusercontent.com/theaapfiatina/tugasmobile/eb3d40c/bin/function_return_value.dart | theaapfiatina/tugasmobile eb3d40c bin/function_return_value.dart | true | 200 | 203 | void main() {
print(sum([10, 10, 10, 10, 10]));
print(sum([5, 5, 5, 5, 5]));
}
int sum(List<int> numbers) {
var total = 0;
for (var value in numbers) {
total += value;
}
return total;
}
| 7 |
sammmms/eocout_flutter | 7d9e4cb | lib/utils/service_type_util.dart | Dart | www.github.com/sammmms/eocout_flutter/tree/main/lib/utils/service_type_util.dart | https://raw.githubusercontent.com/sammmms/eocout_flutter/7d9e4cb/lib/utils/service_type_util.dart | sammmms/eocout_flutter 7d9e4cb lib/utils/service_type_util.dart | true | 200 | 968 | enum ServiceType { music, festiveCulture, wedding, publicEvent }
class ServiceTypeUtil {
static const Map<ServiceType, String> businessTypeMap = {
ServiceType.music: "Konser Musik",
ServiceType.festiveCulture: "Festival Budaya",
ServiceType.wedding: "Pernikahan",
ServiceType.publicEvent: "Acara Umum"... | 0 |
chqs-git/reactive-ecs | 3c6b3e2 | lib/src/relationship.dart | Dart | www.github.com/chqs-git/reactive-ecs/tree/main/lib/src/relationship.dart | https://raw.githubusercontent.com/chqs-git/reactive-ecs/3c6b3e2/lib/src/relationship.dart | chqs-git/reactive-ecs 3c6b3e2 lib/src/relationship.dart | true | 200 | 4,808 |
import 'package:flutter/cupertino.dart';
import 'package:reactive_ecs/reactive_ecs.dart';
import 'data_structures/sparse_set.dart';
import 'error_handling.dart';
/// A [Relationship] is a special type of [EntityAttribute]. It can contain data
/// like a [Component], but it is used to establish a relationship between... | 1 |
dnrpcode/flutter-first | 52239f7 | learn/UI/ExtractWidget.dart | Dart | www.github.com/dnrpcode/flutter-first/tree/main/learn/UI/ExtractWidget.dart | https://raw.githubusercontent.com/dnrpcode/flutter-first/52239f7/learn/UI/ExtractWidget.dart | dnrpcode/flutter-first 52239f7 learn/UI/ExtractWidget.dart | true | 200 | 1,304 | // ignore_for_file: prefer_const_constructors
import 'package:flutter/material.dart';
import 'package:faker/faker.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
var faker = new Faker();
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowChec... | 4 |
thiruu03/Quizapp | d97cf22 | lib/pages/introscreen.dart | Dart | www.github.com/thiruu03/Quizapp/tree/main/lib/pages/introscreen.dart | https://raw.githubusercontent.com/thiruu03/Quizapp/d97cf22/lib/pages/introscreen.dart | thiruu03/Quizapp d97cf22 lib/pages/introscreen.dart | true | 200 | 2,471 | import 'package:flutter/material.dart';
import 'package:quiz_app/pages/quizscreen.dart';
class Introscreen extends StatelessWidget {
const Introscreen({super.key});
@override
Widget build(BuildContext context) {
TextEditingController textEditingController = TextEditingController();
final screenSize = Me... | 5 |
LeviDantas01/Quitanda | 92105f7 | lib/src/pages/comuns_widgets/custom_text_fild.dart | Dart | www.github.com/LeviDantas01/Quitanda/tree/main/lib/src/pages/comuns_widgets/custom_text_fild.dart | https://raw.githubusercontent.com/LeviDantas01/Quitanda/92105f7/lib/src/pages/comuns_widgets/custom_text_fild.dart | LeviDantas01/Quitanda 92105f7 lib/src/pages/comuns_widgets/custom_text_fild.dart | true | 200 | 1,708 | import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
class CustomTextFild extends StatefulWidget {
final IconData icon;
final String label;
final bool isSecret;
final List<TextInputFormatter>? inputFormatter;
final String? inicialValue;
final bool reedOnly;
const CustomTextFil... | 2 |
OtabekNuriddinov/typography_tasks | 10035b5 | lib/if_else/task12.dart | Dart | www.github.com/OtabekNuriddinov/typography_tasks/tree/main/lib/if_else/task12.dart | https://raw.githubusercontent.com/OtabekNuriddinov/typography_tasks/10035b5/lib/if_else/task12.dart | OtabekNuriddinov/typography_tasks 10035b5 lib/if_else/task12.dart | true | 200 | 385 | // c char berilgan. Berilgan char alfavit yoki raqam ekanligini aniqlang.
// Agar alfavit bo'lsa 'alpha' ni konsolga chiqaring,
// agar son bo'lsa 'son' ni konsolga chiqaring.
void main(){
String char = "a";
if(char=="0"||char=="1"||char=="2"||char=="3"||char=="4"||char=="5"||char=="6"||char=="7"||char=="8"||ch... | 7 |
Karishma8985/dart_code | afd99b3 | 1Datatypes/p06_sets.dart | Dart | www.github.com/Karishma8985/dart_code/tree/main/1Datatypes/p06_sets.dart | https://raw.githubusercontent.com/Karishma8985/dart_code/afd99b3/1Datatypes/p06_sets.dart | Karishma8985/dart_code afd99b3 1Datatypes/p06_sets.dart | true | 200 | 789 | /*
A set in Dart is an unordered collection of unique items. Dart support for sets is provided by set literals and the Set type.
Here is a simple Dart set, created using a set literal:
var halogens = {'fluorine', 'chlorine', 'bromine', 'iodine', 'astatine'};
*/
void main()
{
// Declaring set in First Way
var ... | 3 |
Sreejith779/ticket_booking | 7286d8d | mobile app/lib/main.dart | Dart | www.github.com/Sreejith779/ticket_booking/tree/main/mobile app/lib/main.dart | https://raw.githubusercontent.com/Sreejith779/ticket_booking/7286d8d/mobile%20app/lib/main.dart | Sreejith779/ticket_booking 7286d8d mobile app/lib/main.dart | true | 200 | 1,015 | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'app/views/bottomNavigation_page/controller/bottom_nav_controller.dart';
import 'app/views/bottomNavigation_page/ui/bottom_navigation_view.dart';
import 'app/views/home_page/controller/home_controller.dart';
import 'app/views/sign_... | 4 |
AssentifyLTD/Assentify.Flutter.Demo | dd915b6 | lib/views/network_image_with_headers.dart | Dart | www.github.com/AssentifyLTD/Assentify.Flutter.Demo/tree/main/lib/views/network_image_with_headers.dart | https://raw.githubusercontent.com/AssentifyLTD/Assentify.Flutter.Demo/dd915b6/lib/views/network_image_with_headers.dart | AssentifyLTD/Assentify.Flutter.Demo dd915b6 lib/views/network_image_with_headers.dart | true | 200 | 1,526 | import 'dart:typed_data';
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
class ImageWithHeaders extends StatefulWidget {
final String imageUrl;
final double? width;
final double? height;
final BoxFit fit; // Added fit parameter
const ImageWithHeaders({
super.key,
re... | 0 |
OlehPakhomov/write_read_db_flutter | f2e111d | lib/datasource/ds_users.dart | Dart | www.github.com/OlehPakhomov/write_read_db_flutter/tree/main/lib/datasource/ds_users.dart | https://raw.githubusercontent.com/OlehPakhomov/write_read_db_flutter/f2e111d/lib/datasource/ds_users.dart | OlehPakhomov/write_read_db_flutter f2e111d lib/datasource/ds_users.dart | true | 200 | 1,066 | import 'package:sqflite/sqflite.dart';
import 'package:test_db/database/users_table.dart' as users;
import 'package:test_db/model/user.dart';
class UsersDatasource {
final Database db;
UsersDatasource(this.db);
Future<void> saveUser(User user) async {
Map<String, dynamic> row = {
users.columnName: us... | 1 |
dnhdev129/Fashion | 1e53f13 | lib/ProductScreen.dart | Dart | www.github.com/dnhdev129/Fashion/tree/main/lib/ProductScreen.dart | https://raw.githubusercontent.com/dnhdev129/Fashion/1e53f13/lib/ProductScreen.dart | dnhdev129/Fashion 1e53f13 lib/ProductScreen.dart | true | 200 | 3,827 | import 'package:flutter/material.dart';
import 'ProductDetailsScreen.dart'; // Import trang ProductDetailsScreen
import 'models/Product.dart'; // Import Product model
class ProductScreen extends StatefulWidget {
@override
_ProductScreenState createState() => _ProductScreenState();
}
class _ProductScreenS... | 2 |
mikias-tulu/Ok_delivery | d5aa585 | lib/routes/routes.dart | Dart | www.github.com/mikias-tulu/Ok_delivery/tree/main/lib/routes/routes.dart | https://raw.githubusercontent.com/mikias-tulu/Ok_delivery/d5aa585/lib/routes/routes.dart | mikias-tulu/Ok_delivery d5aa585 lib/routes/routes.dart | true | 200 | 6,171 | import 'package:get/get.dart';
import 'package:ok_delivery/controller/user_state.dart';
import 'package:ok_delivery/model/searching_ride_binding.dart';
import 'package:ok_delivery/model/splash_binding.dart';
import 'package:ok_delivery/screens/auth/sign_in/sign_in_screen.dart';
import 'package:ok_delivery/screens/home/... | 5 |
BrahimTuijine/interview_note | 095e2b4 | lib/widget/note_form_widget.dart | Dart | www.github.com/BrahimTuijine/interview_note/tree/main/lib/widget/note_form_widget.dart | https://raw.githubusercontent.com/BrahimTuijine/interview_note/095e2b4/lib/widget/note_form_widget.dart | BrahimTuijine/interview_note 095e2b4 lib/widget/note_form_widget.dart | true | 200 | 1,962 | import 'package:flutter/material.dart';
class NoteFormWidget extends StatelessWidget {
final String? title;
final String? description;
final void Function(String?) onSavedTitle;
final void Function(String?) onSavedDescription;
const NoteFormWidget({
super.key,
this.title = '',
this.description =... | 6 |
albint3r/tobe_total | 92d45ae | lib/src/providers/block/controllers/block_controller_provider.dart | Dart | www.github.com/albint3r/tobe_total/tree/main/lib/src/providers/block/controllers/block_controller_provider.dart | https://raw.githubusercontent.com/albint3r/tobe_total/92d45ae/lib/src/providers/block/controllers/block_controller_provider.dart | albint3r/tobe_total 92d45ae lib/src/providers/block/controllers/block_controller_provider.dart | true | 200 | 1,225 | import 'package:flutter_riverpod/flutter_riverpod.dart';
import '../model/block_model_provider.dart';
/// A class that manages the state of a clicked block.
class BlockController {
void setStateClickedBlockIDProvider(int id, WidgetRef ref) {
/// Changes the state of the [clickedBlockIDProvider] to the given [id]... | 7 |
Athulya0895/futurense | 72865da | lib/base/base_page.dart | Dart | www.github.com/Athulya0895/futurense/tree/main/lib/base/base_page.dart | https://raw.githubusercontent.com/Athulya0895/futurense/72865da/lib/base/base_page.dart | Athulya0895/futurense 72865da lib/base/base_page.dart | true | 200 | 3,725 | import 'package:flutter/material.dart';
import 'package:fluttertoast/fluttertoast.dart';
import 'package:futurensemobileapp/main.dart';
import 'package:futurensemobileapp/screens/auth/login/login.dart';
import '../components/dialog/loading_popup.dart';
import '/base/base_view_model.dart';
import 'package:provider/provi... | 3 |
hokacristian/Moneva-App | 8c937a7 | lib/presentation/pages/profile/profile_page.dart | Dart | www.github.com/hokacristian/Moneva-App/tree/main/lib/presentation/pages/profile/profile_page.dart | https://raw.githubusercontent.com/hokacristian/Moneva-App/8c937a7/lib/presentation/pages/profile/profile_page.dart | hokacristian/Moneva-App 8c937a7 lib/presentation/pages/profile/profile_page.dart | true | 200 | 2,101 | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:moneva/data/providers/auth_provider.dart';
import 'package:moneva/presentation/pages/auth/login_page.dart';
class ProfilePage extends StatefulWidget {
@override
_ProfilePageState createState() => _ProfilePageState();
}... | 4 |
Naveenkumar-creater/suja_maintenance_app | 475c0ef | lib/feature/data/core/login_api_client.dart | Dart | www.github.com/Naveenkumar-creater/suja_maintenance_app/tree/main/lib/feature/data/core/login_api_client.dart | https://raw.githubusercontent.com/Naveenkumar-creater/suja_maintenance_app/475c0ef/lib/feature/data/core/login_api_client.dart | Naveenkumar-creater/suja_maintenance_app 475c0ef lib/feature/data/core/login_api_client.dart | true | 200 | 2,049 | import 'dart:async';
import 'dart:convert';
import 'dart:io';
// ignore: depend_on_referenced_packages
import 'package:http/http.dart' as http;
import 'package:suja_shoie_app/feature/data/core/api_constant.dart';
import 'package:suja_shoie_app/feature/data/model/request_data_model.dart';
import '../../../constant/uti... | 2 |
kanziman/naruhodo | 63b3e40 | lib/theme/component/card/line_percent.dart | Dart | www.github.com/kanziman/naruhodo/tree/main/lib/theme/component/card/line_percent.dart | https://raw.githubusercontent.com/kanziman/naruhodo/63b3e40/lib/theme/component/card/line_percent.dart | kanziman/naruhodo 63b3e40 lib/theme/component/card/line_percent.dart | true | 200 | 1,980 | import 'package:flutter/material.dart';
import 'package:naruhodo/src/service/theme_service.dart';
import 'package:naruhodo/theme/component/card/card_size.dart';
import 'package:percent_indicator/linear_percent_indicator.dart';
class LinePercent extends StatelessWidget {
const LinePercent({
super.key,
require... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.