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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
slemankfa/flutter-clean-architecture-posts-app | 2e77b98 | lib/features/posts/presentation/bloc/add_delete_update_post/add_delete_update_post_bloc.dart | Dart | www.github.com/slemankfa/flutter-clean-architecture-posts-app/tree/main/lib/features/posts/presentation/bloc/add_delete_update_post/add_delete_update_post_bloc.dart | https://raw.githubusercontent.com/slemankfa/flutter-clean-architecture-posts-app/2e77b98/lib/features/posts/presentation/bloc/add_delete_update_post/add_delete_update_post_bloc.dart | slemankfa/flutter-clean-architecture-posts-app 2e77b98 lib/features/posts/presentation/bloc/add_delete_update_post/add_delete_update_post_bloc.dart | true | 200 | 2,484 | import 'package:bloc/bloc.dart';
import 'package:dartz/dartz.dart';
import 'package:equatable/equatable.dart';
import '../../../../../core/error/failures.dart';
import '../../../../../core/strings/failuers.dart';
import '../../../../../core/strings/messages.dart';
import '../../../domain/entities/post.dart';
import '.... | 3 |
chrishsu515/clean_arch_app | 80e1d22 | test/core/logger_test.dart | Dart | www.github.com/chrishsu515/clean_arch_app/tree/main/test/core/logger_test.dart | https://raw.githubusercontent.com/chrishsu515/clean_arch_app/80e1d22/test/core/logger_test.dart | chrishsu515/clean_arch_app 80e1d22 test/core/logger_test.dart | true | 200 | 2,000 | import 'package:flutter_test/flutter_test.dart';
import 'package:logging/logging.dart';
import 'package:clean_arch_app/core/logger.dart';
void main() {
group('日誌系統測試', () {
test('初始化應該設置正確的日誌級別', () {
// 動作
AppLogger.initialize();
// 驗證
expect(Logger.root.level, equals(Level.ALL));
}... | 7 |
RtpnrK/MyOrchard | 542eb2e | lib/models/chat_model.dart | Dart | www.github.com/RtpnrK/MyOrchard/tree/main/lib/models/chat_model.dart | https://raw.githubusercontent.com/RtpnrK/MyOrchard/542eb2e/lib/models/chat_model.dart | RtpnrK/MyOrchard 542eb2e lib/models/chat_model.dart | true | 200 | 635 | class ChatModel {
final String message, time, date;
final int profileId;
final int? id;
ChatModel(
{this.id,
required this.message,
required this.time,
required this.date,
required this.profileId,}
);
Map<String, dynamic> toMap() {
return {
'message': message,
'time': t... | 6 |
imtiyazakiwat/avt-natural | 821a10b | lib/firebase_upload.dart | Dart | www.github.com/imtiyazakiwat/avt-natural/tree/main/lib/firebase_upload.dart | https://raw.githubusercontent.com/imtiyazakiwat/avt-natural/821a10b/lib/firebase_upload.dart | imtiyazakiwat/avt-natural 821a10b lib/firebase_upload.dart | true | 200 | 8,064 | import 'package:flutter/material.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'firebase_options.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Mate... | 2 |
guidoo25/consugez_inventario | d912415 | lib/models/analitica/pocostock.dart | Dart | www.github.com/guidoo25/consugez_inventario/tree/main/lib/models/analitica/pocostock.dart | https://raw.githubusercontent.com/guidoo25/consugez_inventario/d912415/lib/models/analitica/pocostock.dart | guidoo25/consugez_inventario d912415 lib/models/analitica/pocostock.dart | true | 200 | 779 | // To parse this JSON data, do
//
// final pocostock = pocostockFromJson(jsonString);
import 'dart:convert';
List<Pocostock> pocostockFromJson(String str) => List<Pocostock>.from(json.decode(str).map((x) => Pocostock.fromJson(x)));
String pocostockToJson(List<Pocostock> data) => json.encode(List<dynamic>.from(da... | 4 |
InnovateTech-Solutions/Icare-vednor | 147fb8f | icare_vendor_app/lib/main.dart | Dart | www.github.com/InnovateTech-Solutions/Icare-vednor/tree/main/icare_vendor_app/lib/main.dart | https://raw.githubusercontent.com/InnovateTech-Solutions/Icare-vednor/147fb8f/icare_vendor_app/lib/main.dart | InnovateTech-Solutions/Icare-vednor 147fb8f icare_vendor_app/lib/main.dart | true | 200 | 1,480 | import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:icare_vendor_app/firebase_options.dart';
import 'package:icare_vendor_app/src/core/constant/color.dart';
import 'package:... | 0 |
GayanLakmalWAD/booking | 2175e95 | lib/features/auth/view/login/login_screen.dart | Dart | www.github.com/GayanLakmalWAD/booking/tree/main/lib/features/auth/view/login/login_screen.dart | https://raw.githubusercontent.com/GayanLakmalWAD/booking/2175e95/lib/features/auth/view/login/login_screen.dart | GayanLakmalWAD/booking 2175e95 lib/features/auth/view/login/login_screen.dart | true | 200 | 1,931 | import 'package:booking/core/utils/app_constants.dart';
import 'package:booking/core/utils/colors.dart';
import 'package:booking/features/auth/providers/auth_state_provider.dart';
import 'package:booking/features/auth/view/login/widgets/divider_with_margins.dart';
import 'package:flutter/material.dart';
import 'package... | 7 |
abdonser/soil | 8b224e7 | lib/presentation/screens/buy_device_view/Thank_you_view/thank_you_view_body.dart | Dart | www.github.com/abdonser/soil/tree/main/lib/presentation/screens/buy_device_view/Thank_you_view/thank_you_view_body.dart | https://raw.githubusercontent.com/abdonser/soil/8b224e7/lib/presentation/screens/buy_device_view/Thank_you_view/thank_you_view_body.dart | abdonser/soil 8b224e7 lib/presentation/screens/buy_device_view/Thank_you_view/thank_you_view_body.dart | true | 200 | 1,541 | import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
import 'package:soil/presentation/screens/buy_device_view/Thank_you_view/thank_you_card.dart';
import 'custom_checked_icon.dart';
import 'custom_dashed_line.dart';
class ThankYouViewBody extends StatelessWidget {
const ThankYouViewBody... | 3 |
AdrielSsRb/Ds_Mob_2 | 96ee6f5 | aula_03/questionario3/questionario3_exercicio4/lib/InputPage.dart | Dart | www.github.com/AdrielSsRb/Ds_Mob_2/tree/main/aula_03/questionario3/questionario3_exercicio4/lib/InputPage.dart | https://raw.githubusercontent.com/AdrielSsRb/Ds_Mob_2/96ee6f5/aula_03/questionario3/questionario3_exercicio4/lib/InputPage.dart | AdrielSsRb/Ds_Mob_2 96ee6f5 aula_03/questionario3/questionario3_exercicio4/lib/InputPage.dart | true | 200 | 3,906 | import 'package:flutter/material.dart';
import 'package:questionario3_exercicio4/Disciplina.dart';
import 'package:questionario3_exercicio4/ResultPage.dart';
class InputPage extends StatefulWidget {
@override
_InputPageState createState() => _InputPageState();
}
class _InputPageState extends State<InputPage> {
... | 1 |
RoyGF/FlappyBird | 95d890c | lib/screens/game_over_screen.dart | Dart | www.github.com/RoyGF/FlappyBird/tree/main/lib/screens/game_over_screen.dart | https://raw.githubusercontent.com/RoyGF/FlappyBird/95d890c/lib/screens/game_over_screen.dart | RoyGF/FlappyBird 95d890c lib/screens/game_over_screen.dart | true | 200 | 1,296 | import 'package:flappy_bird/core/asset_routes.dart';
import 'package:flappy_bird/game/flappy_bird_game.dart';
import 'package:flutter/material.dart';
class GameOverScreen extends StatelessWidget {
const GameOverScreen({super.key, required this.game});
final FlappyBirdGame game;
@override
Widget build(BuildCo... | 6 |
ghrms80/tiktok_clone_re0 | 34d85ca | lib/features/videos/video_timeline_screen.dart | Dart | www.github.com/ghrms80/tiktok_clone_re0/tree/main/lib/features/videos/video_timeline_screen.dart | https://raw.githubusercontent.com/ghrms80/tiktok_clone_re0/34d85ca/lib/features/videos/video_timeline_screen.dart | ghrms80/tiktok_clone_re0 34d85ca lib/features/videos/video_timeline_screen.dart | true | 200 | 1,935 | import 'package:flutter/material.dart';
import 'package:tiktoc_clne_re0/features/videos/widgets/video_post.dart';
class VideoTimelineScreen extends StatefulWidget {
const VideoTimelineScreen({super.key});
@override
State<VideoTimelineScreen> createState() => _VideoTimelineScreenState();
}
class _VideoTimelineS... | 2 |
620710309-Nattanon/guess_the_number2-2565 | 6c5cf9f | lib/test.dart | Dart | www.github.com/620710309-Nattanon/guess_the_number2-2565/tree/main/lib/test.dart | https://raw.githubusercontent.com/620710309-Nattanon/guess_the_number2-2565/6c5cf9f/lib/test.dart | 620710309-Nattanon/guess_the_number2-2565 6c5cf9f lib/test.dart | true | 200 | 334 | void main(){
var p = Person(22, 'Khomsuea','Nattanon' );
var p2 = Person(55, 'xxxx', 'sompong');
print(p.firstName);
print(p2.lastName);
print(p.age.toString());
//p.firstName = 'xxxx';
}
class Person{
final String firstName;
final String lastName;
final int age;
Person(this.age,this.lastName,this... | 4 |
ElcioLS/adf_dw9_delivery | ba34497 | lib/app/core/ui/widgets/delivery_button.dart | Dart | www.github.com/ElcioLS/adf_dw9_delivery/tree/main/lib/app/core/ui/widgets/delivery_button.dart | https://raw.githubusercontent.com/ElcioLS/adf_dw9_delivery/ba34497/lib/app/core/ui/widgets/delivery_button.dart | ElcioLS/adf_dw9_delivery ba34497 lib/app/core/ui/widgets/delivery_button.dart | true | 200 | 598 | import 'package:flutter/material.dart';
class DeliveryButton extends StatelessWidget {
final VoidCallback? onPressed;
final String label;
final double? width;
final double? height;
const DeliveryButton({
Key? key,
required this.label,
required this.onPressed,
this.width,
thi... | 5 |
Gurpreets11/navigation_drawer_flutter | 27d415a | lib/drawer_screen.dart | Dart | www.github.com/Gurpreets11/navigation_drawer_flutter/tree/main/lib/drawer_screen.dart | https://raw.githubusercontent.com/Gurpreets11/navigation_drawer_flutter/27d415a/lib/drawer_screen.dart | Gurpreets11/navigation_drawer_flutter 27d415a lib/drawer_screen.dart | true | 200 | 6,677 | import 'package:flutter/material.dart';
class DrawerScreen extends StatefulWidget {
final String title;
const DrawerScreen({ super.key, required this.title});
@override
DrawerScreenState createState() => DrawerScreenState();
}
class DrawerScreenState extends State<DrawerScreen> {
int _selectedDestinati... | 0 |
chandanpayra980034/flutter-nfc | 2b498a7 | nfc/lib/widgets/authentication.dart | Dart | www.github.com/chandanpayra980034/flutter-nfc/tree/main/nfc/lib/widgets/authentication.dart | https://raw.githubusercontent.com/chandanpayra980034/flutter-nfc/2b498a7/nfc/lib/widgets/authentication.dart | chandanpayra980034/flutter-nfc 2b498a7 nfc/lib/widgets/authentication.dart | true | 200 | 1,661 | import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:local_auth/local_auth.dart';
import 'package:namer_app/widgets/nfc.dart';
class Authentication extends StatefulWidget {
@override
State<Authentication> createState() => _Authentication();
}
class _Authentication extend... | 3 |
Lakshya0257/Amenity | dcd91f4 | lib/Complainant/Pages/zoom_drawer_complainant.dart | Dart | www.github.com/Lakshya0257/Amenity/tree/main/lib/Complainant/Pages/zoom_drawer_complainant.dart | https://raw.githubusercontent.com/Lakshya0257/Amenity/dcd91f4/lib/Complainant/Pages/zoom_drawer_complainant.dart | Lakshya0257/Amenity dcd91f4 lib/Complainant/Pages/zoom_drawer_complainant.dart | true | 200 | 21,189 | import 'package:amenityfinal/common_refactor/circularprofile.dart';
import 'package:curved_navigation_bar/curved_navigation_bar.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/cupe... | 6 |
Wannooo/veasyt | 7b5f689 | lib/main.dart | Dart | www.github.com/Wannooo/veasyt/tree/main/lib/main.dart | https://raw.githubusercontent.com/Wannooo/veasyt/7b5f689/lib/main.dart | Wannooo/veasyt 7b5f689 lib/main.dart | true | 200 | 5,154 | import 'package:flutter/material.dart';
import 'package:flutter_application_3/screens/location_list_page.dart';
import 'screens/login_screen.dart';
import 'screens/register_screen.dart';
import 'screens/create_visit_screen.dart';
import 'screens/announcement_screen.dart';
void main() {
runApp(const VeasyApp());
}
c... | 1 |
ekokurniadi/qatjobs | 0ab2ed0 | lib/features/carrier_level/domain/usecases/get_career_level_usecase.dart | Dart | www.github.com/ekokurniadi/qatjobs/tree/main/lib/features/carrier_level/domain/usecases/get_career_level_usecase.dart | https://raw.githubusercontent.com/ekokurniadi/qatjobs/0ab2ed0/lib/features/carrier_level/domain/usecases/get_career_level_usecase.dart | ekokurniadi/qatjobs 0ab2ed0 lib/features/carrier_level/domain/usecases/get_career_level_usecase.dart | true | 200 | 834 | import "package:dartz/dartz.dart";
import "package:injectable/injectable.dart";
import "package:qatjobs/core/error/failures.dart";
import "package:qatjobs/core/usecases/usecases.dart";
import "package:qatjobs/features/carrier_level/data/models/career_level_model.codegen.dart";
import "package:qatjobs/features/carrier_l... | 5 |
ngtphat-towa/dbtech_tdd_clean_archecture_bloc | cfd9746 | lib/src/features/on_boarding/data/repository/on_boarding_repository_impl.dart | Dart | www.github.com/ngtphat-towa/dbtech_tdd_clean_archecture_bloc/tree/main/lib/src/features/on_boarding/data/repository/on_boarding_repository_impl.dart | https://raw.githubusercontent.com/ngtphat-towa/dbtech_tdd_clean_archecture_bloc/cfd9746/lib/src/features/on_boarding/data/repository/on_boarding_repository_impl.dart | ngtphat-towa/dbtech_tdd_clean_archecture_bloc cfd9746 lib/src/features/on_boarding/data/repository/on_boarding_repository_impl.dart | true | 200 | 1,821 | import 'package:dartz/dartz.dart';
import 'package:dbtech_tdd_clean_archecture_bloc/src/core/errors/exception.dart';
import 'package:dbtech_tdd_clean_archecture_bloc/src/core/errors/failure.dart';
import 'package:dbtech_tdd_clean_archecture_bloc/src/core/utils/typedef.dart';
import 'package:dbtech_tdd_clean_archecture_... | 0 |
pabloSiqueiraVieira/calendar-flutter | 1ab5b6b | calendar_app/web/main.dart | Dart | www.github.com/pabloSiqueiraVieira/calendar-flutter/tree/main/calendar_app/web/main.dart | https://raw.githubusercontent.com/pabloSiqueiraVieira/calendar-flutter/1ab5b6b/calendar_app/web/main.dart | pabloSiqueiraVieira/calendar-flutter 1ab5b6b calendar_app/web/main.dart | true | 200 | 1,035 | import 'dart:html';
import 'package:flutter/material.dart';
import 'package:table_calendar/table_calendar.dart';
void main() => runApp(MyApp());
class MyApp extends StatefulWidget{
@override
_MyAppState createState() => _MyAppState();
}
@override
class _MyAppState extends State<MyApp>{
Widget build (BuildCon... | 4 |
cjjlovedsn/jun_app | 3ac9969 | lib/pages/ytb_downloader.dart | Dart | www.github.com/cjjlovedsn/jun_app/tree/main/lib/pages/ytb_downloader.dart | https://raw.githubusercontent.com/cjjlovedsn/jun_app/3ac9969/lib/pages/ytb_downloader.dart | cjjlovedsn/jun_app 3ac9969 lib/pages/ytb_downloader.dart | true | 200 | 2,391 | import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
import 'package:jun_app/helpers/logger.dart';
import 'package:logger/web.dart';
import 'package:youtube_explode_dart/youtube_explode_dart.dart';
import 'package:http/http.dart' as http;
class UserAgentClient extends http.BaseClient {
... | 3 |
ragavimm/theme_click | cad3842 | lib/main.dart | Dart | www.github.com/ragavimm/theme_click/tree/main/lib/main.dart | https://raw.githubusercontent.com/ragavimm/theme_click/cad3842/lib/main.dart | ragavimm/theme_click cad3842 lib/main.dart | true | 200 | 1,219 | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:theme_click/homepage.dart';
import 'package:theme_click/theme.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of your applica... | 1 |
jericapstone/capstone | e096705 | lib/Miscellaneous/miscellaneous.dart | Dart | www.github.com/jericapstone/capstone/tree/main/lib/Miscellaneous/miscellaneous.dart | https://raw.githubusercontent.com/jericapstone/capstone/e096705/lib/Miscellaneous/miscellaneous.dart | jericapstone/capstone e096705 lib/Miscellaneous/miscellaneous.dart | true | 200 | 6,550 | import 'package:capstonesproject2024/Miscellaneous/BorrowingManagement/BorrowedEquipment.dart';
import 'package:capstonesproject2024/Miscellaneous/equipment_management/type.dart';
import 'package:capstonesproject2024/Miscellaneous/room/MTManagementScreen.dart';
import 'package:capstonesproject2024/Miscellaneous/users/u... | 2 |
sayanthmk/provider_project | 1f96c0a | lib/pages/assosiatelistpage.dart | Dart | www.github.com/sayanthmk/provider_project/tree/main/lib/pages/assosiatelistpage.dart | https://raw.githubusercontent.com/sayanthmk/provider_project/1f96c0a/lib/pages/assosiatelistpage.dart | sayanthmk/provider_project 1f96c0a lib/pages/assosiatelistpage.dart | true | 200 | 1,177 | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:provider_database/assosiatedata.dart';
import 'package:provider_database/widgets/assosiatelist.dart';
class AssosiateListPage extends StatelessWidget {
const AssosiateListPage({super.key});
@override
Widget build(Bu... | 6 |
fuatebuzeynebKplus/safari | 2f37587 | lib/flight/data/models/mileage_program.dart | Dart | www.github.com/fuatebuzeynebKplus/safari/tree/main/lib/flight/data/models/mileage_program.dart | https://raw.githubusercontent.com/fuatebuzeynebKplus/safari/2f37587/lib/flight/data/models/mileage_program.dart | fuatebuzeynebKplus/safari 2f37587 lib/flight/data/models/mileage_program.dart | true | 200 | 600 | class MileageProgram {
String airlineCode;
String mileageNumber;
MileageProgram({required this.airlineCode, required this.mileageNumber});
// يمكنك إضافة دوال إضافية مثل منطق الـ toJson و fromJson إذا كنت تستخدم JsonSerializable
factory MileageProgram.fromJson(Map<String, dynamic> json) {
return Mileage... | 0 |
bibowskii/hediaty_sec | 64c259c | lib/services/FCM_services.dart | Dart | www.github.com/bibowskii/hediaty_sec/tree/main/lib/services/FCM_services.dart | https://raw.githubusercontent.com/bibowskii/hediaty_sec/64c259c/lib/services/FCM_services.dart | bibowskii/hediaty_sec 64c259c lib/services/FCM_services.dart | true | 200 | 3,168 | import 'dart:convert';
import 'package:firebase_messaging/firebase_messaging.dart';
import 'package:googleapis_auth/auth_io.dart' as auth;
import 'package:hediaty_sec/keys/api_keys.dart';
import 'package:hediaty_sec/models/repository/User_fcm_methods.dart';
import 'package:hediaty_sec/services/user_manager.dart';
impo... | 4 |
nisha2404/whatsAppClone | eebc1dd | lib/Screens/Dashboard/Chats/GroupChats/create_group.dart | Dart | www.github.com/nisha2404/whatsAppClone/tree/main/lib/Screens/Dashboard/Chats/GroupChats/create_group.dart | https://raw.githubusercontent.com/nisha2404/whatsAppClone/eebc1dd/lib/Screens/Dashboard/Chats/GroupChats/create_group.dart | nisha2404/whatsAppClone eebc1dd lib/Screens/Dashboard/Chats/GroupChats/create_group.dart | true | 200 | 14,618 | // ignore_for_file: import_of_legacy_library_into_null_safe, use_build_context_synchronously
import 'dart:io';
import 'package:cached_network_image/cached_network_image.dart';
import 'package:chatting_app/components/expanded_button.dart';
import 'package:chatting_app/components/shimmers/profile_img_shimmer.dart';
imp... | 3 |
Engels23rd/Selfrise | 6fd3fd9 | lib/components/favorite_provider.dart | Dart | www.github.com/Engels23rd/Selfrise/tree/main/lib/components/favorite_provider.dart | https://raw.githubusercontent.com/Engels23rd/Selfrise/6fd3fd9/lib/components/favorite_provider.dart | Engels23rd/Selfrise 6fd3fd9 lib/components/favorite_provider.dart | true | 200 | 3,098 | import 'package:flutter/material.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter_proyecto_final/Design/libros/booksPage.dart';
class FavoriteProvider extends ChangeNotifier {
final FirebaseFirestore _firestore = FirebaseFirestore.instance;
FavoriteProvider();
Set<String> _fa... | 1 |
AnuroopFarkya11/news_feed | e6935f0 | lib/screens/auth/signUp/sign_up_screen.dart | Dart | www.github.com/AnuroopFarkya11/news_feed/tree/main/lib/screens/auth/signUp/sign_up_screen.dart | https://raw.githubusercontent.com/AnuroopFarkya11/news_feed/e6935f0/lib/screens/auth/signUp/sign_up_screen.dart | AnuroopFarkya11/news_feed e6935f0 lib/screens/auth/signUp/sign_up_screen.dart | true | 200 | 7,759 | import 'dart:io';
import 'package:com.newsfeed.app/constants/brand_color_constants.dart';
import 'package:com.newsfeed.app/services/database/sql_base.dart';
import 'package:com.newsfeed.app/services/firebase_service/firebase_auth.dart';
import 'package:com.newsfeed.app/utils/dialog.dart';
import 'package:com.newsfeed.... | 6 |
Yossef-Dawoad/Due-Expense-Tracker | 2ad722b | lib/features/onboarding/domain/models/page_content.dart | Dart | www.github.com/Yossef-Dawoad/Due-Expense-Tracker/tree/main/lib/features/onboarding/domain/models/page_content.dart | https://raw.githubusercontent.com/Yossef-Dawoad/Due-Expense-Tracker/2ad722b/lib/features/onboarding/domain/models/page_content.dart | Yossef-Dawoad/Due-Expense-Tracker 2ad722b lib/features/onboarding/domain/models/page_content.dart | true | 200 | 974 | import 'package:expancetracker/core/constants/images.dart';
import 'package:expancetracker/core/constants/text_strings.dart';
class OnBoardingPageContent {
final String title;
final String subTitle;
final String image;
const OnBoardingPageContent({
required this.title,
required this.subTitle,
requ... | 7 |
ankit2272/ToDoApplication | 2c2e837 | lib/viewPage.dart | Dart | www.github.com/ankit2272/ToDoApplication/tree/main/lib/viewPage.dart | https://raw.githubusercontent.com/ankit2272/ToDoApplication/2c2e837/lib/viewPage.dart | ankit2272/ToDoApplication 2c2e837 lib/viewPage.dart | true | 200 | 2,550 | import 'package:flutter/material.dart';
import 'todo.dart';
class ViewPage extends StatefulWidget {
Todo todo;
ViewPage(Todo this.todo);
@override
State<ViewPage> createState() => _ViewPageState(todo: this.todo);
}
class _ViewPageState extends State<ViewPage> {
Todo todo;
_ViewPageState({required this.to... | 2 |
otahir-21/Biacoo | 9b349ab | lib/src/view/userRegisteration/welcome.dart | Dart | www.github.com/otahir-21/Biacoo/tree/main/lib/src/view/userRegisteration/welcome.dart | https://raw.githubusercontent.com/otahir-21/Biacoo/9b349ab/lib/src/view/userRegisteration/welcome.dart | otahir-21/Biacoo 9b349ab lib/src/view/userRegisteration/welcome.dart | true | 200 | 9,234 | import 'package:biacoo/plugins/images.dart';
import 'package:biacoo/plugins/size_config.dart';
import 'package:biacoo/plugins/styling.dart';
import 'package:biacoo/src/view/WaitScreen.dart';
import 'package:biacoo/src/view/userRegisteration/SignIn.dart';
import 'package:biacoo/src/view/userRegisteration/SignupStep1.dar... | 5 |
SeymaNurAksoy/friends_chat | 1df9da8 | lib/services/firestore_db_services.dart | Dart | www.github.com/SeymaNurAksoy/friends_chat/tree/main/lib/services/firestore_db_services.dart | https://raw.githubusercontent.com/SeymaNurAksoy/friends_chat/1df9da8/lib/services/firestore_db_services.dart | SeymaNurAksoy/friends_chat 1df9da8 lib/services/firestore_db_services.dart | true | 200 | 7,283 |
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:friendss_messenger/model/user_model.dart';
import '../model/message.dart';
import '../model/talk.dart';
import 'db_base.dart';
class FireStoreDBService implements DBBase{
final FirebaseFirestore _fireStore = FirebaseFirestore.instance;
@... | 0 |
axnguyenit/easy-popover | 35b6d0c | lib/src/measure_size/measure_size.dart | Dart | www.github.com/axnguyenit/easy-popover/tree/main/lib/src/measure_size/measure_size.dart | https://raw.githubusercontent.com/axnguyenit/easy-popover/35b6d0c/lib/src/measure_size/measure_size.dart | axnguyenit/easy-popover 35b6d0c lib/src/measure_size/measure_size.dart | true | 200 | 668 | import 'package:flutter/material.dart';
class MeasureSize extends StatefulWidget {
final Widget child;
final Function(Size size) onChange;
const MeasureSize({
super.key,
required this.onChange,
required this.child,
});
@override
State<MeasureSize> createState() => _MeasureSizeState();
}
clas... | 4 |
HoanNe47/Booking-Ticket-Cinema | dc59409 | lib/controller/seat_controller.dart | Dart | www.github.com/HoanNe47/Booking-Ticket-Cinema/tree/main/lib/controller/seat_controller.dart | https://raw.githubusercontent.com/HoanNe47/Booking-Ticket-Cinema/dc59409/lib/controller/seat_controller.dart | HoanNe47/Booking-Ticket-Cinema dc59409 lib/controller/seat_controller.dart | true | 200 | 3,119 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:movie_ticket/model/seat_detail_model.dart';
import 'package:movie_ticket/model/seat_model.dart';
import 'package:movie_ticket/utils/common_value/common_message.dart';
import 'package:movie_ticket/utils/firebase/firebase_seat.dart';
... | 1 |
MentorsWithoutBorders/mwb-connect-app | bb5ff86 | lib/ui/views/others/privacy_view.dart | Dart | www.github.com/MentorsWithoutBorders/mwb-connect-app/tree/main/lib/ui/views/others/privacy_view.dart | https://raw.githubusercontent.com/MentorsWithoutBorders/mwb-connect-app/bb5ff86/lib/ui/views/others/privacy_view.dart | MentorsWithoutBorders/mwb-connect-app bb5ff86 lib/ui/views/others/privacy_view.dart | true | 200 | 3,387 | import 'package:flutter/material.dart';
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter_widget_from_html_core/flutter_widget_from_html_core.dart';
import 'package:mwb_connect_app/ui/widgets/background_gradient_widget.dart';
class PrivacyView extends StatefulWidget {
const PrivacyVi... | 3 |
Babak-Lotfalizadeh/social-media | f4077d5 | lib/core/firebase/firebase_service.dart | Dart | www.github.com/Babak-Lotfalizadeh/social-media/tree/main/lib/core/firebase/firebase_service.dart | https://raw.githubusercontent.com/Babak-Lotfalizadeh/social-media/f4077d5/lib/core/firebase/firebase_service.dart | Babak-Lotfalizadeh/social-media f4077d5 lib/core/firebase/firebase_service.dart | true | 200 | 380 | import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:social_media/firebase_options.dart';
class FirebaseService {
FirebaseService._();
static Future<void> setup() async {
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp(
o... | 7 |
fastcode746/Mighty-Taxi-Taxi-Booking-App | bede378 | Rider App/lib/screens/SettingScreen.dart | Dart | www.github.com/fastcode746/Mighty-Taxi-Taxi-Booking-App/tree/main/Rider App/lib/screens/SettingScreen.dart | https://raw.githubusercontent.com/fastcode746/Mighty-Taxi-Taxi-Booking-App/bede378/Rider%20App/lib/screens/SettingScreen.dart | fastcode746/Mighty-Taxi-Taxi-Booking-App bede378 Rider App/lib/screens/SettingScreen.dart | true | 200 | 4,612 | import 'package:flutter/material.dart';
import 'package:flutter_vector_icons/flutter_vector_icons.dart';
import '../utils/Common.dart';
import 'package:url_launcher/url_launcher.dart';
import '../main.dart';
import '../model/SettingModel.dart';
import '../utils/Colors.dart';
import '../utils/Constants.dart';
import '..... | 2 |
oba24/arabfor_vender_flutter | ad288d2 | lib/view/profile/bloc/bloc.dart | Dart | www.github.com/oba24/arabfor_vender_flutter/tree/main/lib/view/profile/bloc/bloc.dart | https://raw.githubusercontent.com/oba24/arabfor_vender_flutter/ad288d2/lib/view/profile/bloc/bloc.dart | oba24/arabfor_vender_flutter ad288d2 lib/view/profile/bloc/bloc.dart | true | 200 | 1,812 | import 'package:saudimerchantsiller/helper/user_data.dart';
import 'package:saudimerchantsiller/models/user_model.dart';
import '../../../../repo/server_gate.dart';
import 'events.dart';
import 'states.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
class UpdateProfileBloc extends Bloc<UpdateProfileEvent, Upda... | 6 |
mayss14/Gestion-Pharmacies-Flutter-App | 8fabc1e | lib/main.dart | Dart | www.github.com/mayss14/Gestion-Pharmacies-Flutter-App/tree/main/lib/main.dart | https://raw.githubusercontent.com/mayss14/Gestion-Pharmacies-Flutter-App/8fabc1e/lib/main.dart | mayss14/Gestion-Pharmacies-Flutter-App 8fabc1e lib/main.dart | true | 200 | 571 | import 'package:flutter/material.dart';
import 'package:flutter_pharmacies_2023/ui/pharmacies_ecran.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBa... | 5 |
MhmdSabri/nectar_app | 5be89cb | lib/main.dart | Dart | www.github.com/MhmdSabri/nectar_app/tree/main/lib/main.dart | https://raw.githubusercontent.com/MhmdSabri/nectar_app/5be89cb/lib/main.dart | MhmdSabri/nectar_app 5be89cb lib/main.dart | true | 200 | 685 | import 'package:flutter/material.dart';
import 'package:nectar_app/ui/Splash/splash_screan.dart';
import 'package:nectar_app/ui/login/login_screan.dart';
import 'package:nectar_app/ui/onboarding/on_boarding.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
... | 0 |
thelllmike/aloria | b956878 | lib/screens/utils/api_service.dart | Dart | www.github.com/thelllmike/aloria/tree/main/lib/screens/utils/api_service.dart | https://raw.githubusercontent.com/thelllmike/aloria/b956878/lib/screens/utils/api_service.dart | thelllmike/aloria b956878 lib/screens/utils/api_service.dart | true | 200 | 1,187 | import 'package:aloria/models/Cartmodel.dart';
import 'package:http/http.dart' as http;
import 'dart:convert';
class ApiService {
static const String baseUrl = 'http://10.0.2.2:8001';
static Future<http.Response> getProducts() async {
final url = Uri.parse('$baseUrl/products/products-mage/');
return await... | 4 |
jokerphuongnam/flutter_demo | d494654 | lib/uis/widgets/home_static_widget.dart | Dart | www.github.com/jokerphuongnam/flutter_demo/tree/main/lib/uis/widgets/home_static_widget.dart | https://raw.githubusercontent.com/jokerphuongnam/flutter_demo/d494654/lib/uis/widgets/home_static_widget.dart | jokerphuongnam/flutter_demo d494654 lib/uis/widgets/home_static_widget.dart | true | 200 | 1,038 | import 'package:flutter/material.dart';
import '../../utils/size_util.dart';
class HomeStaticWidget {
HomeStaticWidget._();
static Widget homeLoadingWidget() {
return Column(
children: const <Widget>[CircularProgressIndicator()],
);
}
static Widget homeErrorWidget(
{required VoidCallback... | 1 |
programmermdemonmiah/whatsapp-clone | 811f80b | lib/Screens/widgets/customEditProfileItem.dart | Dart | www.github.com/programmermdemonmiah/whatsapp-clone/tree/main/lib/Screens/widgets/customEditProfileItem.dart | https://raw.githubusercontent.com/programmermdemonmiah/whatsapp-clone/811f80b/lib/Screens/widgets/customEditProfileItem.dart | programmermdemonmiah/whatsapp-clone 811f80b lib/Screens/widgets/customEditProfileItem.dart | true | 200 | 924 | import 'package:chat_app/Screens/Utils/colors.dart';
import 'package:flutter/material.dart';
Widget customEditProfileItem(
{required String label,
required String tittle,
String ? subTittle,
required IconData leadingIcon,
IconData ? trailingIcon}) {
return ListTile(
title: Column(
... | 2 |
Privoce/vocechat-client | e38c2e2 | lib/dao/init_dao/properties_models/user_properties.dart | Dart | www.github.com/Privoce/vocechat-client/tree/main/lib/dao/init_dao/properties_models/user_properties.dart | https://raw.githubusercontent.com/Privoce/vocechat-client/e38c2e2/lib/dao/init_dao/properties_models/user_properties.dart | Privoce/vocechat-client e38c2e2 lib/dao/init_dao/properties_models/user_properties.dart | true | 200 | 480 | import 'package:json_annotation/json_annotation.dart';
part 'user_properties.g.dart';
@JsonSerializable(fieldRename: FieldRename.snake)
class UserProperties {
late String draft;
UserProperties(
this.draft,
);
UserProperties.update({
String? draft,
}) {
this.draft = draft ?? "";
}
factory ... | 6 |
SoPat712/RUSwipeShare | 20f97a2 | lib/main.dart | Dart | www.github.com/SoPat712/RUSwipeShare/tree/main/lib/main.dart | https://raw.githubusercontent.com/SoPat712/RUSwipeShare/20f97a2/lib/main.dart | SoPat712/RUSwipeShare 20f97a2 lib/main.dart | true | 200 | 3,434 | import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:flutter_stripe/flutter_stripe.dart';
import 'package:google_fonts/google_fonts.dart';
import 'firebase_options.dart';
import 'auth_gate.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
a... | 3 |
duckbill413/dart_flutter | dbb7e8c | tiktok/lib/features/videos/widgets/flash_mode_button.dart | Dart | www.github.com/duckbill413/dart_flutter/tree/main/tiktok/lib/features/videos/widgets/flash_mode_button.dart | https://raw.githubusercontent.com/duckbill413/dart_flutter/dbb7e8c/tiktok/lib/features/videos/widgets/flash_mode_button.dart | duckbill413/dart_flutter dbb7e8c tiktok/lib/features/videos/widgets/flash_mode_button.dart | true | 200 | 630 | import 'package:camera/camera.dart';
import 'package:flutter/material.dart';
class FlashModeButton extends StatelessWidget {
final Function onPressed;
final FlashMode flashMode;
final FlashMode setFlashMode;
final IconData icon;
const FlashModeButton({
super.key,
required this.onPressed,
require... | 0 |
JayPcloud/StaffVerify_Mobile | aeb2d1e | lib/utils/validators/textField_validators.dart | Dart | www.github.com/JayPcloud/StaffVerify_Mobile/tree/main/lib/utils/validators/textField_validators.dart | https://raw.githubusercontent.com/JayPcloud/StaffVerify_Mobile/aeb2d1e/lib/utils/validators/textField_validators.dart | JayPcloud/StaffVerify_Mobile aeb2d1e lib/utils/validators/textField_validators.dart | true | 200 | 1,257 | import 'package:get/utils.dart';
class VTextFieldValidator {
static String? emailValidator(String? value) {
if(value == null || value.trim().isEmpty) {
return "Please enter your email";
}
if(!RegExp(r'^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$').hasMatch(value)) {
return "Invalid Email Format";
... | 4 |
jurej1/ms_kopalisce_admin_panel | 9175268 | lib/vouchers/widgets/vouchers_list.dart | Dart | www.github.com/jurej1/ms_kopalisce_admin_panel/tree/main/lib/vouchers/widgets/vouchers_list.dart | https://raw.githubusercontent.com/jurej1/ms_kopalisce_admin_panel/9175268/lib/vouchers/widgets/vouchers_list.dart | jurej1/ms_kopalisce_admin_panel 9175268 lib/vouchers/widgets/vouchers_list.dart | true | 200 | 3,266 | import 'package:coupon_repository/coupon_repository.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:info_repository/info_repository.dart';
import 'package:ms_kopalisce_admin_panel/vouchers/blocs/blocs.dart';
import 'package:ms_kopalisce_admin_panel/vouche... | 7 |
ryansyah17/ui_furnitures_shop | 2fd205c | lib/app/modules/introduction/views/introduction_view.dart | Dart | www.github.com/ryansyah17/ui_furnitures_shop/tree/main/lib/app/modules/introduction/views/introduction_view.dart | https://raw.githubusercontent.com/ryansyah17/ui_furnitures_shop/2fd205c/lib/app/modules/introduction/views/introduction_view.dart | ryansyah17/ui_furnitures_shop 2fd205c lib/app/modules/introduction/views/introduction_view.dart | true | 200 | 3,435 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:sizer/sizer.dart';
import 'package:ui_furniture_shopping/app/constants/color.dart';
import 'package:ui_furniture_shopping/app/routes/app_pages.dart';
import '../controllers/introduct... | 1 |
janet-jemutai/InsuranceApp | 114af0a | lib/widgets/dots.dart | Dart | www.github.com/janet-jemutai/InsuranceApp/tree/main/lib/widgets/dots.dart | https://raw.githubusercontent.com/janet-jemutai/InsuranceApp/114af0a/lib/widgets/dots.dart | janet-jemutai/InsuranceApp 114af0a lib/widgets/dots.dart | true | 200 | 542 | import 'package:flutter/material.dart';
import 'package:flutter_spinkit/flutter_spinkit.dart';
Widget spinkit() {
return const Row(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
Padding(
padding: EdgeInsets.only(left... | 5 |
JenishGhevariya/money-transfer | e232953 | registration.dart | Dart | www.github.com/JenishGhevariya/money-transfer/tree/main/registration.dart | https://raw.githubusercontent.com/JenishGhevariya/money-transfer/e232953/registration.dart | JenishGhevariya/money-transfer e232953 registration.dart | true | 200 | 5,417 | import 'package:country_code_picker/country_code_picker.dart';
import 'package:flutter/material.dart';
import 'package:money_transfer/Common/extension_sizedbox.dart';
import 'package:money_transfer/Common/extension_textstyle.dart';
import 'package:money_transfer/enter_code.dart';
import 'package:sizer/sizer.dart';... | 2 |
dheasaf/Pemrograman_Flutter | e76ca57 | projek22/lib/main.dart | Dart | www.github.com/dheasaf/Pemrograman_Flutter/tree/main/projek22/lib/main.dart | https://raw.githubusercontent.com/dheasaf/Pemrograman_Flutter/e76ca57/projek22/lib/main.dart | dheasaf/Pemrograman_Flutter e76ca57 projek22/lib/main.dart | true | 200 | 1,678 | import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: MyHome(),
);
}
}
class MyHome extends StatefulWidget {
@override
State<MyHome> createState() => _MyHomeStat... | 6 |
fuzail14/Residentapp-2-27-2023 | cd8a06a | lib/Module/Chat Availbility/Model/ChatRoomModel.dart | Dart | www.github.com/fuzail14/Residentapp-2-27-2023/tree/main/lib/Module/Chat Availbility/Model/ChatRoomModel.dart | https://raw.githubusercontent.com/fuzail14/Residentapp-2-27-2023/cd8a06a/lib/Module/Chat%20Availbility/Model/ChatRoomModel.dart | fuzail14/Residentapp-2-27-2023 cd8a06a lib/Module/Chat Availbility/Model/ChatRoomModel.dart | true | 200 | 2,019 | /// data : [{"id":157,"sender":4,"receiver":5,"status":"default","created_at":"2023-07-28T12:19:12.000000Z","updated_at":"2023-07-29T07:05:55.000000Z"}]
class ChatRoomModel {
ChatRoomModel({
this.data,
});
ChatRoomModel.fromJson(dynamic json) {
if (json['data'] != null) {
data = [];
json['da... | 3 |
Theoarnan/app_ditonton | af0ddb8 | modules/tvseries/test/test_helper/test_helper_tvseries.dart | Dart | www.github.com/Theoarnan/app_ditonton/tree/main/modules/tvseries/test/test_helper/test_helper_tvseries.dart | https://raw.githubusercontent.com/Theoarnan/app_ditonton/af0ddb8/modules/tvseries/test/test_helper/test_helper_tvseries.dart | Theoarnan/app_ditonton af0ddb8 modules/tvseries/test/test_helper/test_helper_tvseries.dart | true | 200 | 1,695 | import 'package:bloc_test/bloc_test.dart';
import 'package:core/data/datasources/remote/remote_helper.dart';
import 'package:mockito/annotations.dart';
import 'package:mocktail/mocktail.dart';
import 'package:tvseries/tvseries.dart';
import 'package:watchlist/watchlist.dart';
@GenerateMocks([
RemoteHelper,
TvRepos... | 0 |
seanyoungblood/FlutterFirebase | 8038e79 | lib/screens/authenticate/authenticate.dart | Dart | www.github.com/seanyoungblood/FlutterFirebase/tree/main/lib/screens/authenticate/authenticate.dart | https://raw.githubusercontent.com/seanyoungblood/FlutterFirebase/8038e79/lib/screens/authenticate/authenticate.dart | seanyoungblood/FlutterFirebase 8038e79 lib/screens/authenticate/authenticate.dart | true | 200 | 673 | import 'package:coffee/screens/authenticate/register.dart';
import 'package:coffee/screens/authenticate/sign_in.dart';
import 'package:flutter/material.dart';
class Authenticate extends StatefulWidget {
const Authenticate({super.key});
@override
State<Authenticate> createState() => _AuthenticateState();
}
clas... | 7 |
setashim155/expense_tracker | b9e2290 | lib/providers/filter_provider.dart | Dart | www.github.com/setashim155/expense_tracker/tree/main/lib/providers/filter_provider.dart | https://raw.githubusercontent.com/setashim155/expense_tracker/b9e2290/lib/providers/filter_provider.dart | setashim155/expense_tracker b9e2290 lib/providers/filter_provider.dart | true | 200 | 2,443 | import 'package:expense_tracker/models/filter_option.dart';
import 'package:riverpod_annotation/riverpod_annotation.dart';
import '../constants/enums.dart';
import '../shared/helper.dart';
part 'filter_provider.g.dart';
@riverpod
class Filter extends _$Filter {
double total = 0;
@override
FilterOption build({r... | 1 |
OwusuIsaac/4Year-Plan-Tracker | 38d237b | sign_in/view/sign_in_page.dart | Dart | www.github.com/OwusuIsaac/4Year-Plan-Tracker/tree/main/sign_in/view/sign_in_page.dart | https://raw.githubusercontent.com/OwusuIsaac/4Year-Plan-Tracker/38d237b/sign_in/view/sign_in_page.dart | OwusuIsaac/4Year-Plan-Tracker 38d237b sign_in/view/sign_in_page.dart | true | 200 | 548 | import 'package:flutter/material.dart';
import 'package:flutter_planner/sign_in/sign_in.dart';
class SignInPage extends StatelessWidget {
const SignInPage({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return const SignInLayoutBuilder(
header: SignInHeader.new,
... | 6 |
nsaqib1/ostad-assignments | 7ab1ca8 | task_manager_project_getx/lib/ui/screens/cancelled_tasks_screen.dart | Dart | www.github.com/nsaqib1/ostad-assignments/tree/main/task_manager_project_getx/lib/ui/screens/cancelled_tasks_screen.dart | https://raw.githubusercontent.com/nsaqib1/ostad-assignments/7ab1ca8/task_manager_project_getx/lib/ui/screens/cancelled_tasks_screen.dart | nsaqib1/ostad-assignments 7ab1ca8 task_manager_project_getx/lib/ui/screens/cancelled_tasks_screen.dart | true | 200 | 2,573 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:task_manager_project_getx/ui/controllers/cancelled_tasks_controller.dart';
import 'package:task_manager_project_getx/ui/widgets/snackbar_builder.dart';
import '../widgets/profile_summery_bar.dart';
import '../widgets/task_item_card.d... | 2 |
michael-3mad87/chat_app | d604cfa | lib/shared/widgets/loading_indicator.dart | Dart | www.github.com/michael-3mad87/chat_app/tree/main/lib/shared/widgets/loading_indicator.dart | https://raw.githubusercontent.com/michael-3mad87/chat_app/d604cfa/lib/shared/widgets/loading_indicator.dart | michael-3mad87/chat_app d604cfa lib/shared/widgets/loading_indicator.dart | true | 200 | 348 | import 'package:chat_app/shared/app_them.dart';
import 'package:flutter/material.dart';
class LoadingIndicator extends StatelessWidget {
const LoadingIndicator({super.key});
@override
Widget build(BuildContext context) {
return Center(
child: CircularProgressIndicator(
color: AppTheme.primaryC... | 5 |
macenough/bloc_pattern_example | 53385fd | lib/main.dart | Dart | www.github.com/macenough/bloc_pattern_example/tree/main/lib/main.dart | https://raw.githubusercontent.com/macenough/bloc_pattern_example/53385fd/lib/main.dart | macenough/bloc_pattern_example 53385fd lib/main.dart | true | 200 | 831 | import 'package:bloc_state_management_example/bloc_example/bloc/counter_bloc.dart';
import 'package:bloc_state_management_example/bloc_example/ui/counter_screen.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'equatable/equatable_testing.dart';
void main() {
ru... | 3 |
SahibzadaZeeshan/Food_Delivery_app | 0f906be | lib/splash_screen/splash.dart | Dart | www.github.com/SahibzadaZeeshan/Food_Delivery_app/tree/main/lib/splash_screen/splash.dart | https://raw.githubusercontent.com/SahibzadaZeeshan/Food_Delivery_app/0f906be/lib/splash_screen/splash.dart | SahibzadaZeeshan/Food_Delivery_app 0f906be lib/splash_screen/splash.dart | true | 200 | 1,812 | import 'package:flutter/material.dart';
import 'package:food_delivery_app/customs/custom_continer.dart';
import 'package:food_delivery_app/customs/text/custom_text.dart';
import 'package:food_delivery_app/splash_screen/splash_two.dart';
class SplashScreen extends StatefulWidget {
const SplashScreen({super.key});
... | 4 |
zarn-chalamet/social | eaf7aa8 | lib/pages/home_page.dart | Dart | www.github.com/zarn-chalamet/social/tree/main/lib/pages/home_page.dart | https://raw.githubusercontent.com/zarn-chalamet/social/eaf7aa8/lib/pages/home_page.dart | zarn-chalamet/social eaf7aa8 lib/pages/home_page.dart | true | 200 | 3,116 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/material.dart';
import 'package:socialapp/components/my_drawer.dart';
import 'package:socialapp/components/my_textfield.dart';
import 'package:socialapp/components/post_button.dart';
import 'package:socialapp/firebase/firestore.dart';
class... | 0 |
jatolentino/Shop-Ecommerce-app | b7a7055 | lib/module/controller/cart_controller.dart | Dart | www.github.com/jatolentino/Shop-Ecommerce-app/tree/main/lib/module/controller/cart_controller.dart | https://raw.githubusercontent.com/jatolentino/Shop-Ecommerce-app/b7a7055/lib/module/controller/cart_controller.dart | jatolentino/Shop-Ecommerce-app b7a7055 lib/module/controller/cart_controller.dart | true | 200 | 2,117 | import 'package:shop/module/controller/data_controller.dart';
import 'package:shop/module/model/checkout_model.dart';
import 'package:shop/module/model/product_model.dart';
import 'package:shop/utils/helper/show_snack.dart';
import 'package:get/get.dart';
class CartController extends GetxController {
RxBool cartLoad... | 7 |
gauravjain0761/rent2park-flutter-internal | 038b394 | lib/ui/sign-up/sign_up_screen.dart | Dart | www.github.com/gauravjain0761/rent2park-flutter-internal/tree/main/lib/ui/sign-up/sign_up_screen.dart | https://raw.githubusercontent.com/gauravjain0761/rent2park-flutter-internal/038b394/lib/ui/sign-up/sign_up_screen.dart | gauravjain0761/rent2park-flutter-internal 038b394 lib/ui/sign-up/sign_up_screen.dart | true | 200 | 23,081 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
import 'package:rent2park/ui/sign-up/signup_bloc.dart';
import 'package:rent2park/ui/sign-up/signup_state.dart';
import '../../data/backend_responses.dart';
import '.... | 1 |
devfwd/INST | b985294 | lib/constants/constant.dart | Dart | www.github.com/devfwd/INST/tree/main/lib/constants/constant.dart | https://raw.githubusercontent.com/devfwd/INST/b985294/lib/constants/constant.dart | devfwd/INST b985294 lib/constants/constant.dart | true | 200 | 1,002 |
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:institute/constants/colors.dart';
final kheight10 = SizedBox(height: 10.h);
final kheight15 = SizedBox(height: 15.h);
final kheight27 = SizedBox(height: 27.h);
final kheight20 = SizedBox(height: 20.h);... | 2 |
dhimasdewanto/dicoding_ditonton | da0c047 | packages/movie/test/dummy_data/dummy_objects.dart | Dart | www.github.com/dhimasdewanto/dicoding_ditonton/tree/main/packages/movie/test/dummy_data/dummy_objects.dart | https://raw.githubusercontent.com/dhimasdewanto/dicoding_ditonton/da0c047/packages/movie/test/dummy_data/dummy_objects.dart | dhimasdewanto/dicoding_ditonton da0c047 packages/movie/test/dummy_data/dummy_objects.dart | true | 200 | 1,619 | import 'package:movie/domain/entities/genre.dart';
import 'package:movie/domain/entities/movie.dart';
import 'package:movie/domain/entities/movie_detail.dart';
const testMovie = Movie(
adult: false,
backdropPath: '/muth4OYamXf41G2evdrLEg8d3om.jpg',
genreIds: [14, 28],
id: 557,
originalTitle: 'Spider-Man',
... | 6 |
rprajapati4889/foundation_assignment | ceb30a9 | foundation_assignment/lib/pre_gen.dart | Dart | www.github.com/rprajapati4889/foundation_assignment/tree/main/foundation_assignment/lib/pre_gen.dart | https://raw.githubusercontent.com/rprajapati4889/foundation_assignment/ceb30a9/foundation_assignment/lib/pre_gen.dart | rprajapati4889/foundation_assignment ceb30a9 foundation_assignment/lib/pre_gen.dart | true | 200 | 59,126 | import 'dart:io';
import 'package:collection/collection.dart';
import 'package:dio/dio.dart';
import 'dart:convert';
import 'package:recase/recase.dart';
import 'package:stack_trace/stack_trace.dart';
import 'package:uuid/uuid.dart';
Future<void> main(List<String> arguments) async {
try {
var data;
Postman... | 5 |
Galllya/dip | 3835f0c | study/lib/pages/profile/bloc/profile_bloc.dart | Dart | www.github.com/Galllya/dip/tree/main/study/lib/pages/profile/bloc/profile_bloc.dart | https://raw.githubusercontent.com/Galllya/dip/3835f0c/study/lib/pages/profile/bloc/profile_bloc.dart | Galllya/dip 3835f0c study/lib/pages/profile/bloc/profile_bloc.dart | true | 200 | 2,882 | import 'package:bloc/bloc.dart';
import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:study/models/another_user.dart';
import 'package:study/models/app_user.dart';
import 'package:study/provider/account_provider.dart';
part 'profile_event.dart';
part 'profile_state.dart';
part 'profile_bloc.fre... | 3 |
ali12345157/Islamy_Application- | 5a338a4 | lib/pro/condig.dart | Dart | www.github.com/ali12345157/Islamy_Application-/tree/main/lib/pro/condig.dart | https://raw.githubusercontent.com/ali12345157/Islamy_Application-/5a338a4/lib/pro/condig.dart | ali12345157/Islamy_Application- 5a338a4 lib/pro/condig.dart | true | 200 | 365 | import 'package:flutter/material.dart';
class Config extends ChangeNotifier {
String _appLanguage = 'ar'; // Made appLanguage private
String get appLanguage => _appLanguage; // Added getter for appLanguage
void changeLanguage(String newLanguage) {
if (_appLanguage == newLanguage) return;
_appLanguage... | 0 |
celestial-vps/mfashion | faf00c0 | lib/screens/intro/intro_one_page.dart | Dart | www.github.com/celestial-vps/mfashion/tree/main/lib/screens/intro/intro_one_page.dart | https://raw.githubusercontent.com/celestial-vps/mfashion/faf00c0/lib/screens/intro/intro_one_page.dart | celestial-vps/mfashion faf00c0 lib/screens/intro/intro_one_page.dart | true | 200 | 2,953 | import 'package:flutter/material.dart';
import 'package:mfashion/controllers/intro_controller.dart';
import 'package:mfashion/core/misc/app_color.dart';
import 'package:mfashion/core/misc/app_image.dart';
import 'package:mfashion/core/misc/app_sytle.dart';
import 'package:mfashion/core/misc/size_config.dart';
import 'p... | 4 |
suhailvc/SocialLight | 9a4bfac | lib/infrastructure/follow/followers_following_list.dart | Dart | www.github.com/suhailvc/SocialLight/tree/main/lib/infrastructure/follow/followers_following_list.dart | https://raw.githubusercontent.com/suhailvc/SocialLight/9a4bfac/lib/infrastructure/follow/followers_following_list.dart | suhailvc/SocialLight 9a4bfac lib/infrastructure/follow/followers_following_list.dart | true | 200 | 533 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:social_light/domain/user_model/user_model.dart';
Future<UserDetails?> followersList(String? userId) async {
try {
DocumentSnapshot snapshot =
await FirebaseFirestore.instance.collection('users').doc(userId).get();
if (snapshot.ex... | 2 |
Hassan9865/To-do-app-Flutter | c4fd4d1 | lib/pages/login_page.dart | Dart | www.github.com/Hassan9865/To-do-app-Flutter/tree/main/lib/pages/login_page.dart | https://raw.githubusercontent.com/Hassan9865/To-do-app-Flutter/c4fd4d1/lib/pages/login_page.dart | Hassan9865/To-do-app-Flutter c4fd4d1 lib/pages/login_page.dart | true | 200 | 1,441 | import 'package:flutter/material.dart';
import 'package:note_book/pages/authenticate_page.dart';
import 'package:note_book/pages/home_page.dart';
class LoginPage extends StatefulWidget {
const LoginPage({super.key});
@override
State<LoginPage> createState() => _LoginPageState();
}
class _LoginPageSt... | 7 |
fatimatayyab/travel-log | f3729fa | lib/utilities/custom_tabbar.dart | Dart | www.github.com/fatimatayyab/travel-log/tree/main/lib/utilities/custom_tabbar.dart | https://raw.githubusercontent.com/fatimatayyab/travel-log/f3729fa/lib/utilities/custom_tabbar.dart | fatimatayyab/travel-log f3729fa lib/utilities/custom_tabbar.dart | true | 200 | 1,119 | import 'package:flutter/material.dart';
class CustomTabBar extends StatelessWidget implements PreferredSizeWidget {
final List<Tab> tabs;
const CustomTabBar({super.key, required this.tabs});
@override
Widget build(BuildContext context) {
return TabBar(
tabs: tabs,
indicator: CustomUnderlineIn... | 6 |
azizemreerdogan/packinglist_for_campers | 8fa4fb5 | lib/main.dart | Dart | www.github.com/azizemreerdogan/packinglist_for_campers/tree/main/lib/main.dart | https://raw.githubusercontent.com/azizemreerdogan/packinglist_for_campers/8fa4fb5/lib/main.dart | azizemreerdogan/packinglist_for_campers 8fa4fb5 lib/main.dart | true | 200 | 1,065 | import 'package:flutter/material.dart';
import 'package:packinglist_for_campers/pages/start_page.dart';
import 'package:packinglist_for_campers/providers/packing_items_provider.dart';
import 'package:packinglist_for_campers/providers/packing_list_provider.dart';
import 'package:packinglist_for_campers/providers/themes_... | 3 |
vanshv/rss_reader | 3ad6a03 | lib/main.dart | Dart | www.github.com/vanshv/rss_reader/tree/main/lib/main.dart | https://raw.githubusercontent.com/vanshv/rss_reader/3ad6a03/lib/main.dart | vanshv/rss_reader 3ad6a03 lib/main.dart | true | 200 | 779 | import 'package:flutter/material.dart';
import 'package:flutter_easyloading/flutter_easyloading.dart';
import 'package:rss_reader/screens/welcome.dart';
import 'screens/welcome.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
// This... | 0 |
IEEE-DITU/form-creater-app | c80751e | lib/widgets/custom_dialog.dart | Dart | www.github.com/IEEE-DITU/form-creater-app/tree/main/lib/widgets/custom_dialog.dart | https://raw.githubusercontent.com/IEEE-DITU/form-creater-app/c80751e/lib/widgets/custom_dialog.dart | IEEE-DITU/form-creater-app c80751e lib/widgets/custom_dialog.dart | true | 200 | 8,826 | import 'dart:io';
import 'dart:ui' as ui;
import 'package:firebase_storage/firebase_storage.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/services.dart';
import 'package:gallery_saver/gallery_saver.dart';
import ... | 4 |
irshadios/inherited_widget | bc556e0 | lib/second_page.dart | Dart | www.github.com/irshadios/inherited_widget/tree/main/lib/second_page.dart | https://raw.githubusercontent.com/irshadios/inherited_widget/bc556e0/lib/second_page.dart | irshadios/inherited_widget bc556e0 lib/second_page.dart | true | 200 | 503 | import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:inherited_widget_tyest/inheritedWid.dart';
class SecondPage extends StatefulWidget {
const SecondPage({super.key});
@override
State<SecondPage> createState() => _SecondPageState();
}
class _SecondPageState extends St... | 7 |
500h6/flutter_app | 0578c45 | lib/main.dart | Dart | www.github.com/500h6/flutter_app/tree/main/lib/main.dart | https://raw.githubusercontent.com/500h6/flutter_app/0578c45/lib/main.dart | 500h6/flutter_app 0578c45 lib/main.dart | true | 200 | 914 | import 'package:flutter/material.dart';
import 'package:pp1/data/notifiers.dart';
import 'package:pp1/views/pages/welcome_page.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppSta... | 2 |
summerkirakira/RefugeNext | f337cff | lib/src/funcs/theme.dart | Dart | www.github.com/summerkirakira/RefugeNext/tree/main/lib/src/funcs/theme.dart | https://raw.githubusercontent.com/summerkirakira/RefugeNext/f337cff/lib/src/funcs/theme.dart | summerkirakira/RefugeNext f337cff lib/src/funcs/theme.dart | true | 200 | 4,631 | import 'package:flex_color_scheme/flex_color_scheme.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:flex_color_scheme/flex_color_scheme.dart';
class FlexSchemeHelper {
static final Map<String, FlexSch... | 6 |
usergnz/UAS_PM_GUDANG | 4b16ebb | lib/main.dart | Dart | www.github.com/usergnz/UAS_PM_GUDANG/tree/main/lib/main.dart | https://raw.githubusercontent.com/usergnz/UAS_PM_GUDANG/4b16ebb/lib/main.dart | usergnz/UAS_PM_GUDANG 4b16ebb lib/main.dart | true | 200 | 408 | import 'package:flutter/material.dart';
import 'package:cafeubernet_app/views/splash_screen.dart';
void main() {
runApp(CafeUbernetAppp());
}
class CafeUbernetAppp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Cafe Ubernet',
theme: ThemeData... | 4 |
ilhamaster29/flutter-fundamental-part1 | 7599983 | lib/basic_widgets/text_widget.dart | Dart | www.github.com/ilhamaster29/flutter-fundamental-part1/tree/main/lib/basic_widgets/text_widget.dart | https://raw.githubusercontent.com/ilhamaster29/flutter-fundamental-part1/7599983/lib/basic_widgets/text_widget.dart | ilhamaster29/flutter-fundamental-part1 7599983 lib/basic_widgets/text_widget.dart | true | 200 | 408 | import 'package:flutter/material.dart';
class MyTextWidget extends StatelessWidget {
const MyTextWidget({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return const Text(
"Nama saya Muhammad Ilham Nurcahyono, sedang ikut TSA Mobile Flutter",
style: TextStyle(col... | 0 |
ayeshi08/expense_tracking | 7f53bbc | lib/screen/splash_screen.dart | Dart | www.github.com/ayeshi08/expense_tracking/tree/main/lib/screen/splash_screen.dart | https://raw.githubusercontent.com/ayeshi08/expense_tracking/7f53bbc/lib/screen/splash_screen.dart | ayeshi08/expense_tracking 7f53bbc lib/screen/splash_screen.dart | true | 200 | 955 |
import 'package:expense_tracking/screen/pin_screen.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'account_screen.dart';
class SplashScreen extends StatefulWidget {
@override
_SplashScreenState createState() => _SplashScreenState();
}
class _S... | 7 |
Dehbashi/BPBM_New | e153b2b | lib/screens/components/header.dart | Dart | www.github.com/Dehbashi/BPBM_New/tree/main/lib/screens/components/header.dart | https://raw.githubusercontent.com/Dehbashi/BPBM_New/e153b2b/lib/screens/components/header.dart | Dehbashi/BPBM_New e153b2b lib/screens/components/header.dart | true | 200 | 1,207 | import 'package:flutter/material.dart';
class Header extends StatelessWidget implements PreferredSizeWidget {
final VoidCallback? onMenuClicked; // Named parameter for menu click
const Header({Key? key, this.onMenuClicked}) : super(key: key);
@override
Widget build(BuildContext context) {
return Containe... | 3 |
Cooldude4973/MiniProject | d83d49b | lib/Widgets/LongRoundedButton.dart | Dart | www.github.com/Cooldude4973/MiniProject/tree/main/lib/Widgets/LongRoundedButton.dart | https://raw.githubusercontent.com/Cooldude4973/MiniProject/d83d49b/lib/Widgets/LongRoundedButton.dart | Cooldude4973/MiniProject d83d49b lib/Widgets/LongRoundedButton.dart | true | 200 | 760 | import 'package:flutter/material.dart';
import 'package:mini_1/Data/dimensions.dart';
class longRoundBtn extends StatelessWidget {
longRoundBtn({
super.key,
required this.text,
required this.width,
required this.onPressed,
});
String text;
double width;
void Function() onPressed;
@overrid... | 2 |
muh-hilmi/audioplay | 396bfa6 | lib/view/playerscreen.dart | Dart | www.github.com/muh-hilmi/audioplay/tree/main/lib/view/playerscreen.dart | https://raw.githubusercontent.com/muh-hilmi/audioplay/396bfa6/lib/view/playerscreen.dart | muh-hilmi/audioplay 396bfa6 lib/view/playerscreen.dart | true | 200 | 3,454 | import 'package:flutter/material.dart';
// import 'package:flutter/src/widgets/framework.dart';
// import 'package:flutter/src/widgets/placeholder.dart';
import '../const/color.dart';
class PlayerScreen extends StatelessWidget {
const PlayerScreen({super.key});
@override
Widget build(BuildContext context) {
... | 6 |
venkadesh004/learnfree | eab3be1 | learnfree/lib/selectionPage.dart | Dart | www.github.com/venkadesh004/learnfree/tree/main/learnfree/lib/selectionPage.dart | https://raw.githubusercontent.com/venkadesh004/learnfree/eab3be1/learnfree/lib/selectionPage.dart | venkadesh004/learnfree eab3be1 learnfree/lib/selectionPage.dart | true | 200 | 3,185 | import 'package:flutter/material.dart';
import 'package:learnfree/institutionDashboard.dart';
import 'package:learnfree/teacherDashboard.dart';
class SelectionPage extends StatelessWidget {
const SelectionPage({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return SizedBox(
... | 4 |
thara0122/pizzeria | aed8683 | lib/admin/edit_pizza_screen.dart | Dart | www.github.com/thara0122/pizzeria/tree/main/lib/admin/edit_pizza_screen.dart | https://raw.githubusercontent.com/thara0122/pizzeria/aed8683/lib/admin/edit_pizza_screen.dart | thara0122/pizzeria aed8683 lib/admin/edit_pizza_screen.dart | true | 200 | 8,400 | import 'package:flutter/material.dart';
import 'package:image_picker/image_picker.dart';
import 'dart:io';
import 'pizza.dart';
import 'pizza_service.dart';
class EditPizzaScreen extends StatefulWidget {
const EditPizzaScreen({super.key});
@override
State<EditPizzaScreen> createState() => _EditPizzaScreenState(... | 0 |
ZeynepTuana06/odev_3 | 8349189 | lib/main.dart | Dart | www.github.com/ZeynepTuana06/odev_3/tree/main/lib/main.dart | https://raw.githubusercontent.com/ZeynepTuana06/odev_3/8349189/lib/main.dart | ZeynepTuana06/odev_3 8349189 lib/main.dart | true | 200 | 1,535 | import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
title: 'İlk projem',
home: SafeArea(... | 5 |
SrikantaPrasadrajeUrs/flutter_practise | fa75d17 | lib/common/widgets/carousal_screen.dart | Dart | www.github.com/SrikantaPrasadrajeUrs/flutter_practise/tree/main/lib/common/widgets/carousal_screen.dart | https://raw.githubusercontent.com/SrikantaPrasadrajeUrs/flutter_practise/fa75d17/lib/common/widgets/carousal_screen.dart | SrikantaPrasadrajeUrs/flutter_practise fa75d17 lib/common/widgets/carousal_screen.dart | true | 200 | 5,406 | import 'package:dealdox_integrated/common/widgets/Registration.dart';
import 'package:dealdox_integrated/common/widgets/welcome_back.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/painting.dart';
import 'package:flutter/widgets.dart';
class CarouselScree... | 7 |
Hamza-Pervaiz/Task2 | a147932 | lib/view/wrapper/wrapper.dart | Dart | www.github.com/Hamza-Pervaiz/Task2/tree/main/lib/view/wrapper/wrapper.dart | https://raw.githubusercontent.com/Hamza-Pervaiz/Task2/a147932/lib/view/wrapper/wrapper.dart | Hamza-Pervaiz/Task2 a147932 lib/view/wrapper/wrapper.dart | true | 200 | 779 | import 'package:flutter/material.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:task_nextpak/view/auth/sign_in_screen.dart';
import 'package:task_nextpak/view/auth/sign_up_screen.dart';
class Wrapper extends StatefulWidget {
const Wrapper({super.key});
@override
State<Wrapper> createS... | 2 |
Technical-Assistant-Handler/Log-Dashboard-Frontend | b5ee31f | lib/widgets/background_widget.dart | Dart | www.github.com/Technical-Assistant-Handler/Log-Dashboard-Frontend/tree/main/lib/widgets/background_widget.dart | https://raw.githubusercontent.com/Technical-Assistant-Handler/Log-Dashboard-Frontend/b5ee31f/lib/widgets/background_widget.dart | Technical-Assistant-Handler/Log-Dashboard-Frontend b5ee31f lib/widgets/background_widget.dart | true | 200 | 567 | import 'package:flutter/material.dart';
class BackgroundWidget extends StatelessWidget {
final Widget child;
const BackgroundWidget({Key? key, required this.child}) : super(key: key);
@override
Widget build(BuildContext context) {
return Container(
height: double.infinity,
width: double.infin... | 6 |
vladuhalys/freshtech_test_app | d081c26 | lib/presentation/widgets/app_text_button.dart | Dart | www.github.com/vladuhalys/freshtech_test_app/tree/main/lib/presentation/widgets/app_text_button.dart | https://raw.githubusercontent.com/vladuhalys/freshtech_test_app/d081c26/lib/presentation/widgets/app_text_button.dart | vladuhalys/freshtech_test_app d081c26 lib/presentation/widgets/app_text_button.dart | true | 200 | 585 | import 'package:flutter/material.dart';
import '../../theme/app_colors.dart';
import '../../theme/app_text_style.dart';
class AppTextButton extends StatelessWidget {
const AppTextButton({super.key, required this.text, this.onPressed});
final String text;
final Function()? onPressed;
@override
Widget build(... | 4 |
nu-coie/Mobile-Application | 61ac694 | Lecture Examples/Lecture (11)/lib/pet/Favorites_Page.dart | Dart | www.github.com/nu-coie/Mobile-Application/tree/main/Lecture Examples/Lecture (11)/lib/pet/Favorites_Page.dart | https://raw.githubusercontent.com/nu-coie/Mobile-Application/61ac694/Lecture%20Examples/Lecture%20%2811%29/lib/pet/Favorites_Page.dart | nu-coie/Mobile-Application 61ac694 Lecture Examples/Lecture (11)/lib/pet/Favorites_Page.dart | true | 200 | 3,109 | import 'package:flutter/material.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'Animal_Details_Page.dart';
class FavoritesPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar... | 0 |
arielguareschi/mercadinho | 3c3c5da | lib/src/pages/home/view/components/category_tile.dart | Dart | www.github.com/arielguareschi/mercadinho/tree/main/lib/src/pages/home/view/components/category_tile.dart | https://raw.githubusercontent.com/arielguareschi/mercadinho/3c3c5da/lib/src/pages/home/view/components/category_tile.dart | arielguareschi/mercadinho 3c3c5da lib/src/pages/home/view/components/category_tile.dart | true | 200 | 1,309 | import 'package:flutter/material.dart';
import 'package:mercadinho/src/config/custom_colors.dart';
class CategoryTile extends StatelessWidget {
const CategoryTile({
super.key,
required this.category,
required this.isSelected,
required this.onPressed,
});
final String category;
final bool isSel... | 5 |
bodeal5ofas/chat-app | f0d515b | lib/home/home_screen.dart | Dart | www.github.com/bodeal5ofas/chat-app/tree/main/lib/home/home_screen.dart | https://raw.githubusercontent.com/bodeal5ofas/chat-app/f0d515b/lib/home/home_screen.dart | bodeal5ofas/chat-app f0d515b lib/home/home_screen.dart | true | 200 | 3,835 | import 'package:chat/add_room/add_room.dart';
import 'package:chat/database/database_utils.dart';
import 'package:chat/home/home_navigator.dart';
import 'package:chat/home/home_view_model.dart';
import 'package:chat/home/room_iteam.dart';
import 'package:chat/login/login_screen.dart';
import 'package:chat/models/room.d... | 3 |
Peter-Awod/Notes-App | daf064f | lib/views/edit_view_body.dart | Dart | www.github.com/Peter-Awod/Notes-App/tree/main/lib/views/edit_view_body.dart | https://raw.githubusercontent.com/Peter-Awod/Notes-App/daf064f/lib/views/edit_view_body.dart | Peter-Awod/Notes-App daf064f lib/views/edit_view_body.dart | true | 200 | 5,077 | import 'package:awesome_dialog/awesome_dialog.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:notes_app/cubit/get_notes_cubit/get_notes_cubit.dart';
import 'package:notes_app/cubit/get_notes_cubit/get_notes_states.dart';
import '../generated/l10n.dart';
i... | 2 |
muhammedabdullatheef/basic-projects | a5d65f9 | lib/seperate widget.dart | Dart | www.github.com/muhammedabdullatheef/basic-projects/tree/main/lib/seperate widget.dart | https://raw.githubusercontent.com/muhammedabdullatheef/basic-projects/a5d65f9/lib/seperate%20widget.dart | muhammedabdullatheef/basic-projects a5d65f9 lib/seperate widget.dart | true | 200 | 360 | import 'package:flutter/material.dart';
class ListTileWid extends StatelessWidget {
final String title;
final IconData myicon;
const ListTileWid({super.key, required this.title, required this.myicon});
@override
Widget build(BuildContext context) {
return ListTile(
leading: Icon(this.myicon),
... | 7 |
Sebas21gt/Canchitas_FrontEnd | 2dfee6b | lib/models/model_disciplines.dart | Dart | www.github.com/Sebas21gt/Canchitas_FrontEnd/tree/main/lib/models/model_disciplines.dart | https://raw.githubusercontent.com/Sebas21gt/Canchitas_FrontEnd/2dfee6b/lib/models/model_disciplines.dart | Sebas21gt/Canchitas_FrontEnd 2dfee6b lib/models/model_disciplines.dart | true | 200 | 1,580 | // To parse this JSON data, do
//
// final modelDisciplines = modelDisciplinesFromJson(jsonString);
import 'dart:convert';
List<ModelDisciplines> modelDisciplinesFromJson(String str) => List<ModelDisciplines>.from(json.decode(str).map((x) => ModelDisciplines.fromJson(x)));
String modelDisciplinesToJson(List<Mode... | 6 |
Francisco-V98/dog_api_riverpod | 173a58e | lib/presentation/screens/dashboard_screen.dart | Dart | www.github.com/Francisco-V98/dog_api_riverpod/tree/main/lib/presentation/screens/dashboard_screen.dart | https://raw.githubusercontent.com/Francisco-V98/dog_api_riverpod/173a58e/lib/presentation/screens/dashboard_screen.dart | Francisco-V98/dog_api_riverpod 173a58e lib/presentation/screens/dashboard_screen.dart | true | 200 | 1,410 | import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
class DashboardScreen extends StatelessWidget {
const DashboardScreen({
super.key,
});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: const Text('Lista De Accion'), centerTit... | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.