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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
Mohammedirfan25/singleton_bloc | a83cbf3 | lib/src/form/form_cubit.dart | Dart | www.github.com/Mohammedirfan25/singleton_bloc/tree/main/lib/src/form/form_cubit.dart | https://raw.githubusercontent.com/Mohammedirfan25/singleton_bloc/a83cbf3/lib/src/form/form_cubit.dart | Mohammedirfan25/singleton_bloc a83cbf3 lib/src/form/form_cubit.dart | true | 200 | 1,315 | import 'package:singleton_bloc/singleton_bloc.dart';
import 'form_field_base.dart';
/// Base class for all Cubit items that has a form/submit method
class SingletonFormCubit<T> extends SingletonCubit<T> {
SingletonFormCubit(SingletonState<T> initialState) : super(initialState);
/// Individual blocs inside this f... | 6 |
Ittalian/flutter_share_kakeibo | b2a2aa0 | lib/registration/dropdown_menu/dropdown_button_menu.dart | Dart | www.github.com/Ittalian/flutter_share_kakeibo/tree/main/lib/registration/dropdown_menu/dropdown_button_menu.dart | https://raw.githubusercontent.com/Ittalian/flutter_share_kakeibo/b2a2aa0/lib/registration/dropdown_menu/dropdown_button_menu.dart | Ittalian/flutter_share_kakeibo b2a2aa0 lib/registration/dropdown_menu/dropdown_button_menu.dart | true | 200 | 2,224 | import 'package:flutter/material.dart';
import 'dropdown_menu_item/dropdown_item.dart';
class DropdownButtonMenu extends StatefulWidget {
final String currentCategory;
final Function(String value) notifyParent;
const DropdownButtonMenu(
{super.key, required this.currentCategory, required this.notifyParent}... | 2 |
ayyubivh/tdd_t | 541d857 | lib/mash/presentation/widgets/drawer_widget.dart | Dart | www.github.com/ayyubivh/tdd_t/tree/main/lib/mash/presentation/widgets/drawer_widget.dart | https://raw.githubusercontent.com/ayyubivh/tdd_t/541d857/lib/mash/presentation/widgets/drawer_widget.dart | ayyubivh/tdd_t 541d857 lib/mash/presentation/widgets/drawer_widget.dart | true | 200 | 5,349 | import 'dart:io';
import 'package:cached_network_image/cached_network_image.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:go_router/go_router.dart';
import 'package:mash/core/pretty_printer.dart';
import 'package:mash/mash/presentation/manager/bloc/auth... | 0 |
delandapp/perpustakaandigital | cc2d289 | lib/app/modules/home/controllers/home_controller.dart | Dart | www.github.com/delandapp/perpustakaandigital/tree/main/lib/app/modules/home/controllers/home_controller.dart | https://raw.githubusercontent.com/delandapp/perpustakaandigital/cc2d289/lib/app/modules/home/controllers/home_controller.dart | delandapp/perpustakaandigital cc2d289 lib/app/modules/home/controllers/home_controller.dart | true | 200 | 4,438 | import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:form_validator/form_validator.dart';
import 'package:perpustakaandigital/app/data/constans/endpoint.dart';
import 'package:perpustakaandigital/app/data/models/response_bookSearch.dart';
import 'package:perpustakaandigital/app/data/models/re... | 5 |
ReemAlsibakhi/Flutter_ChatApp | 37faf5d | lib/main.dart | Dart | www.github.com/ReemAlsibakhi/Flutter_ChatApp/tree/main/lib/main.dart | https://raw.githubusercontent.com/ReemAlsibakhi/Flutter_ChatApp/37faf5d/lib/main.dart | ReemAlsibakhi/Flutter_ChatApp 37faf5d lib/main.dart | true | 200 | 895 | import 'package:chatty_app/common/routes/pages.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'global.dart';
Future<void> main() async {
//inject here, cos store one of the config file
//configuration files should l... | 3 |
lucas980227/convert-api-flutter-lib | ee6ab31 | infrastructure/story/make_comment/make_comment_repo.dart | Dart | www.github.com/lucas980227/convert-api-flutter-lib/tree/main/infrastructure/story/make_comment/make_comment_repo.dart | https://raw.githubusercontent.com/lucas980227/convert-api-flutter-lib/ee6ab31/infrastructure/story/make_comment/make_comment_repo.dart | lucas980227/convert-api-flutter-lib ee6ab31 infrastructure/story/make_comment/make_comment_repo.dart | true | 200 | 1,488 | import 'package:Taillz/domain/auth/models/user_info.dart';
import 'package:Taillz/session/session_repo.dart';
import 'package:clean_api/clean_api.dart';
import 'package:Taillz/domain/story/comments/i_make_comment_repo.dart';
import 'package:Taillz/domain/story/comments/make_comment.dart';
import 'package:shared_prefere... | 1 |
hohofanboy123/gp2 | 971f612 | lib/data/datasource/remote/posts_data.dart | Dart | www.github.com/hohofanboy123/gp2/tree/main/lib/data/datasource/remote/posts_data.dart | https://raw.githubusercontent.com/hohofanboy123/gp2/971f612/lib/data/datasource/remote/posts_data.dart | hohofanboy123/gp2 971f612 lib/data/datasource/remote/posts_data.dart | true | 200 | 529 | import 'package:fexercise/link_api.dart';
import '../../../essential/classes/crud.dart';
class PostsData{
Crud crud;
PostsData(this.crud);
getPostData() async{
var response = await crud.postData(ApiLinks.postData, {});
return response.fold((l) => l, (r) => r);
}
post(String id, String content, Da... | 4 |
yeongwooCho/cafe | 419ee72 | lib/product/component/vertical_item_grid.dart | Dart | www.github.com/yeongwooCho/cafe/tree/main/lib/product/component/vertical_item_grid.dart | https://raw.githubusercontent.com/yeongwooCho/cafe/419ee72/lib/product/component/vertical_item_grid.dart | yeongwooCho/cafe 419ee72 lib/product/component/vertical_item_grid.dart | true | 200 | 3,949 | import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:go_router/go_router.dart';
import 'package:phosphor_flutter/phosphor_flutter.dart';
import '../../common/const/colors.dart';
import '../../common/const/text_styles.dart';
import '../../common/utils/data_uti... | 6 |
satish-nep79/futsal_user | 8835288 | lib/views/futsal/payment_screen.dart | Dart | www.github.com/satish-nep79/futsal_user/tree/main/lib/views/futsal/payment_screen.dart | https://raw.githubusercontent.com/satish-nep79/futsal_user/8835288/lib/views/futsal/payment_screen.dart | satish-nep79/futsal_user 8835288 lib/views/futsal/payment_screen.dart | true | 200 | 2,879 | import 'package:flutter/material.dart';
import 'package:futsoul_user/controller/futsal/payment_controller.dart';
import 'package:futsoul_user/utils/constants/custom_text_styles.dart';
import 'package:futsoul_user/utils/constants/image_path.dart';
import 'package:futsoul_user/views/dashboard/dash_screen.dart';
import 'p... | 2 |
Rabee-Omran/Responsive-UI-in-Flutter-Design-Once-Run-Anywhere-Flutter-Tutorial | ff7bfa8 | lib/home_page.dart | Dart | www.github.com/Rabee-Omran/Responsive-UI-in-Flutter-Design-Once-Run-Anywhere-Flutter-Tutorial/tree/main/lib/home_page.dart | https://raw.githubusercontent.com/Rabee-Omran/Responsive-UI-in-Flutter-Design-Once-Run-Anywhere-Flutter-Tutorial/ff7bfa8/lib/home_page.dart | Rabee-Omran/Responsive-UI-in-Flutter-Design-Once-Run-Anywhere-Flutter-Tutorial ff7bfa8 lib/home_page.dart | true | 200 | 3,034 | import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:responsive_tutorial/responive.dart';
class HomePage extends StatelessWidget {
const HomePage({super.key});
@override
Widget build(BuildContext context) {
... | 0 |
Stym2005/tiktok2024 | f04701d | lib/Home/home.dart | Dart | www.github.com/Stym2005/tiktok2024/tree/main/lib/Home/home.dart | https://raw.githubusercontent.com/Stym2005/tiktok2024/f04701d/lib/Home/home.dart | Stym2005/tiktok2024 f04701d lib/Home/home.dart | true | 200 | 1,452 | import 'package:flutter/material.dart';
import 'package:flutter_application_1/Home/widget/ImgSlide/ImgSlide.dart';
import 'package:flutter_application_1/Home/widget/product3/ProductListScreen.dart';
import 'package:flutter_application_1/Home/widget/ProductRow2/ProductRow2.dart';
import 'package:flutter_application_1/ap... | 5 |
AEIOU12798/weather_app | 8fae573 | lib/model/weatherModel.dart | Dart | www.github.com/AEIOU12798/weather_app/tree/main/lib/model/weatherModel.dart | https://raw.githubusercontent.com/AEIOU12798/weather_app/8fae573/lib/model/weatherModel.dart | AEIOU12798/weather_app 8fae573 lib/model/weatherModel.dart | true | 200 | 2,912 | class WeatherData {
Coord coord;
List<Weather> weather;
Main main;
Wind wind;
Clouds clouds;
Sys sys;
int dt;
String name;
int timezone;
WeatherData({
required this.coord,
required this.weather,
required this.main,
required this.wind,
required this.clouds,
required this.sys,... | 7 |
Algomaie/e_commerce | 49b2bbd | lib/screens/custom_bottom_bar/custom_bottom_bar.dart | Dart | www.github.com/Algomaie/e_commerce/tree/main/lib/screens/custom_bottom_bar/custom_bottom_bar.dart | https://raw.githubusercontent.com/Algomaie/e_commerce/49b2bbd/lib/screens/custom_bottom_bar/custom_bottom_bar.dart | Algomaie/e_commerce 49b2bbd lib/screens/custom_bottom_bar/custom_bottom_bar.dart | true | 200 | 3,052 | import 'package:e_commerce/screens/account_screen/account_screen.dart';
import 'package:e_commerce/screens/cart_screen/cart_screen.dart';
import 'package:e_commerce/screens/home/home.dart';
import 'package:e_commerce/screens/orderscreen/orderscreen.dart';
import 'package:flutter/material.dart';
import 'package:persiste... | 3 |
Codelessly/CodelesslySDK | 124fdb0 | lib/src/transformers/utils/condition_evaluator.dart | Dart | www.github.com/Codelessly/CodelesslySDK/tree/main/lib/src/transformers/utils/condition_evaluator.dart | https://raw.githubusercontent.com/Codelessly/CodelesslySDK/124fdb0/lib/src/transformers/utils/condition_evaluator.dart | Codelessly/CodelesslySDK 124fdb0 lib/src/transformers/utils/condition_evaluator.dart | true | 200 | 10,734 | import 'package:codelessly_api/codelessly_api.dart';
import 'package:collection/collection.dart';
import '../../../codelessly_sdk.dart';
class ConditionEvaluator<R extends Object>
implements
ConditionVisitor<R>,
ExpressionVisitor<bool>,
ExpressionPartVisitor,
ConditionOperatorVisit... | 1 |
jaybooos/untitled9 | 9468257 | lib/main.dart | Dart | www.github.com/jaybooos/untitled9/tree/main/lib/main.dart | https://raw.githubusercontent.com/jaybooos/untitled9/9468257/lib/main.dart | jaybooos/untitled9 9468257 lib/main.dart | true | 200 | 749 | import 'package:flutter/material.dart';
void main(){
runApp (RadioAndChecked());
}
class RadioAndChecked extends StatefulWidget {
const RadioAndChecked({Key? key}) : super(key: key);
@override
State<RadioAndChecked> createState() => _RadioAndCheckedState();
}
class _RadioAndCheckedState extends State<RadioAnd... | 4 |
MohamedAmineBenAmmar/Flutter-Firebase-Quiz-App | e6ba640 | lib/screens/session/blocked_screen.dart | Dart | www.github.com/MohamedAmineBenAmmar/Flutter-Firebase-Quiz-App/tree/main/lib/screens/session/blocked_screen.dart | https://raw.githubusercontent.com/MohamedAmineBenAmmar/Flutter-Firebase-Quiz-App/e6ba640/lib/screens/session/blocked_screen.dart | MohamedAmineBenAmmar/Flutter-Firebase-Quiz-App e6ba640 lib/screens/session/blocked_screen.dart | true | 200 | 812 | import 'package:flutter/material.dart';
class BlockedScreen extends StatelessWidget {
final int score;
final String photoUrl;
const BlockedScreen({required this.score, required this.photoUrl});
@override
Widget build(BuildContext context) {
return Center(
child: Column(
mainAxisAlignment:... | 6 |
guinterface/pidv1 | aaf7610 | lib/UserRoute/Chercher/Diario/ChercherDiary.dart | Dart | www.github.com/guinterface/pidv1/tree/main/lib/UserRoute/Chercher/Diario/ChercherDiary.dart | https://raw.githubusercontent.com/guinterface/pidv1/aaf7610/lib/UserRoute/Chercher/Diario/ChercherDiary.dart | guinterface/pidv1 aaf7610 lib/UserRoute/Chercher/Diario/ChercherDiary.dart | true | 200 | 5,463 |
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:pidv1/UserRoute/Chercher/Diario/ChercherFoods.dart';
import 'package:pidv1/UserRoute/Chercher/Medicine/Reminder.dart... | 2 |
PenguinsCanFlyHigh/2023Flutter | 1c3a5c5 | chap5/lib/TestFieldTest.dart | Dart | www.github.com/PenguinsCanFlyHigh/2023Flutter/tree/main/chap5/lib/TestFieldTest.dart | https://raw.githubusercontent.com/PenguinsCanFlyHigh/2023Flutter/1c3a5c5/chap5/lib/TestFieldTest.dart | PenguinsCanFlyHigh/2023Flutter 1c3a5c5 chap5/lib/TestFieldTest.dart | true | 200 | 1,599 | import 'package:flutter/material.dart';
//"Text"FieldTest ㅋㅋㅋ
class TestFieldTest extends StatefulWidget {
const TestFieldTest({super.key});
@override
State<TestFieldTest> createState() => _TestFieldTestState();
}
class _TestFieldTestState extends State<TestFieldTest> {
String inputText = '입력한 결과';
@overrid... | 5 |
MadeenAli/Flutter | 2070dd8 | classes.dart | Dart | www.github.com/MadeenAli/Flutter/tree/main/classes.dart | https://raw.githubusercontent.com/MadeenAli/Flutter/2070dd8/classes.dart | MadeenAli/Flutter 2070dd8 classes.dart | true | 200 | 508 | class Person {
// Properties
String? name;
int? age;
Person (this.name);
// Method
void display() {
print("Name: $name");
print("Age: $age");
}
}
class Student extends Person {
// Properties
String? schoolName;
String? schoolAddress;
Student({required this.schoolName,
re... | 0 |
Bintaaaa/authentication_with_clean_architecture | 2af1688 | lib/injection/registered_injection.dart | Dart | www.github.com/Bintaaaa/authentication_with_clean_architecture/tree/main/lib/injection/registered_injection.dart | https://raw.githubusercontent.com/Bintaaaa/authentication_with_clean_architecture/2af1688/lib/injection/registered_injection.dart | Bintaaaa/authentication_with_clean_architecture 2af1688 lib/injection/registered_injection.dart | true | 200 | 362 | import 'package:authentication_domain/di/authentication_injection.dart';
import 'package:core/di/core_injection.dart';
class RegisteredInjection {
static void initialized() {
_registerDomain();
_registerCore();
}
static void _registerDomain() {
AuthenticationDomainInjection();
}
static void _re... | 3 |
Evertonwsmith/scores | 02b8d1c | lib/main.dart | Dart | www.github.com/Evertonwsmith/scores/tree/main/lib/main.dart | https://raw.githubusercontent.com/Evertonwsmith/scores/02b8d1c/lib/main.dart | Evertonwsmith/scores 02b8d1c lib/main.dart | true | 200 | 948 | import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:scores/firebase_options.dart';
import 'package:scores/Curling/curlingLanding.dart';
import 'package:scores/services/curlingServices.dart';
Future<void> main() async {
Wi... | 1 |
Akshaykalwar8933/tik_tok_clone | defbc35 | lib/main.dart | Dart | www.github.com/Akshaykalwar8933/tik_tok_clone/tree/main/lib/main.dart | https://raw.githubusercontent.com/Akshaykalwar8933/tik_tok_clone/defbc35/lib/main.dart | Akshaykalwar8933/tik_tok_clone defbc35 lib/main.dart | true | 200 | 879 | import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:tak_tok/views/screens/auth/signup_screen.dart';
import 'constant.dart';
import 'controller/auth_controller.dart';
import 'firebase_options.dart';
void main() async{
WidgetsFlutter... | 4 |
Mostafakaram55/plant_snap | a2da7a9 | lib/Features/Splash/presentation/view/splash_view.dart | Dart | www.github.com/Mostafakaram55/plant_snap/tree/main/lib/Features/Splash/presentation/view/splash_view.dart | https://raw.githubusercontent.com/Mostafakaram55/plant_snap/a2da7a9/lib/Features/Splash/presentation/view/splash_view.dart | Mostafakaram55/plant_snap a2da7a9 lib/Features/Splash/presentation/view/splash_view.dart | true | 200 | 891 |
import 'package:flutter/material.dart';
import 'package:plant_snap/Core/Resources/app_const.dart';
import 'package:plant_snap/Core/Resources/app_route.dart';
import '../widgets/splash_view_body.dart';
class SplashView extends StatefulWidget {
const SplashView({super.key});
@override
State<SplashView> createStat... | 6 |
shalimap/blog_app | 818e24e | lib/widgets/textfield.dart | Dart | www.github.com/shalimap/blog_app/tree/main/lib/widgets/textfield.dart | https://raw.githubusercontent.com/shalimap/blog_app/818e24e/lib/widgets/textfield.dart | shalimap/blog_app 818e24e lib/widgets/textfield.dart | true | 200 | 2,514 | // ignore_for_file: must_be_immutable
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
class CustomTextFieldWidget extends StatelessWidget {
String text;
IconData icon;
TextEditingController controller;
FormFieldValidator<String>? validator;
Widget suffix;
bool isOb... | 2 |
Flutter-Okinawa/handson2 | ec18289 | handson2/lib/view/widgets/buttons/move_button.dart | Dart | www.github.com/Flutter-Okinawa/handson2/tree/main/handson2/lib/view/widgets/buttons/move_button.dart | https://raw.githubusercontent.com/Flutter-Okinawa/handson2/ec18289/handson2/lib/view/widgets/buttons/move_button.dart | Flutter-Okinawa/handson2 ec18289 handson2/lib/view/widgets/buttons/move_button.dart | true | 200 | 2,694 | import 'package:handson2/game_info/enum/move_direction.dart';
import 'package:handson2/models/nexts_model.dart';
import 'package:handson2/models/operation_model.dart';
import 'package:handson2/models/placed_blocks_model.dart';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
class MoveB... | 7 |
mateocr25/gatitapp | ada104c | lib/presentation/cat_list/cubit/cats_state.dart | Dart | www.github.com/mateocr25/gatitapp/tree/main/lib/presentation/cat_list/cubit/cats_state.dart | https://raw.githubusercontent.com/mateocr25/gatitapp/ada104c/lib/presentation/cat_list/cubit/cats_state.dart | mateocr25/gatitapp ada104c lib/presentation/cat_list/cubit/cats_state.dart | true | 200 | 854 | part of 'cats_cubit.dart';
class CatsState extends Equatable {
final CatsStatus status;
final List<Cat>? cats;
final String? errorMessage;
const CatsState({
required this.status,
this.cats,
this.errorMessage,
});
factory CatsState.initialState() =>
const CatsState(status: CatsStatus.ini... | 5 |
riddhi-tamrakar/post_list_riddhi | f17a900 | lib/views/post_list.dart | Dart | www.github.com/riddhi-tamrakar/post_list_riddhi/tree/main/lib/views/post_list.dart | https://raw.githubusercontent.com/riddhi-tamrakar/post_list_riddhi/f17a900/lib/views/post_list.dart | riddhi-tamrakar/post_list_riddhi f17a900 lib/views/post_list.dart | true | 200 | 1,300 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import '../controllers/post_controller.dart';
import '../widgets/post_item_widget.dart';
class PostListScreen extends StatelessWidget {
final PostController controller = Get.put(PostController());
final ScrollController _scrollController = Scro... | 0 |
andrii-alexandru/Poker-Rules-Mobile-App | 5107864 | poker_rules_app/lib/ui/hand_rankings/ImagePage.dart | Dart | www.github.com/andrii-alexandru/Poker-Rules-Mobile-App/tree/main/poker_rules_app/lib/ui/hand_rankings/ImagePage.dart | https://raw.githubusercontent.com/andrii-alexandru/Poker-Rules-Mobile-App/5107864/poker_rules_app/lib/ui/hand_rankings/ImagePage.dart | andrii-alexandru/Poker-Rules-Mobile-App 5107864 poker_rules_app/lib/ui/hand_rankings/ImagePage.dart | true | 200 | 590 | import 'package:flutter/material.dart';
import 'package:poker_rules_app/constants/constants.dart';
class ImagePage extends StatelessWidget {
const ImagePage({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text(''),
backgroundCo... | 3 |
tsuruken0802/flutter_sample_retrofit | 5f856ff | lib/repository/post/post_repository.dart | Dart | www.github.com/tsuruken0802/flutter_sample_retrofit/tree/main/lib/repository/post/post_repository.dart | https://raw.githubusercontent.com/tsuruken0802/flutter_sample_retrofit/5f856ff/lib/repository/post/post_repository.dart | tsuruken0802/flutter_sample_retrofit 5f856ff lib/repository/post/post_repository.dart | true | 200 | 595 | import 'package:dio/dio.dart';
import 'package:flutter_sample_retrofit/api_client/api_client.dart';
import 'package:flutter_sample_retrofit/model/post/response/post_response.dart';
import 'package:flutter_sample_retrofit/model/result.dart';
abstract class PostRepository {
const PostRepository();
Future<Result<Pos... | 4 |
DangThanhWang/Mobile-app | fe8feed | lib/Components/Footer/Menu.dart | Dart | www.github.com/DangThanhWang/Mobile-app/tree/main/lib/Components/Footer/Menu.dart | https://raw.githubusercontent.com/DangThanhWang/Mobile-app/fe8feed/lib/Components/Footer/Menu.dart | DangThanhWang/Mobile-app fe8feed lib/Components/Footer/Menu.dart | true | 200 | 4,661 | import 'package:app/Components/Footer/Bottom_Nav_Btn.dart';
import 'package:app/Components/Footer/Clipper.dart';
import 'package:app/Definitons/Color.dart';
import 'package:app/Definitons/Constants.dart';
import 'package:app/Definitons/size_config.dart';
import 'package:flutter/material.dart';
import 'package:hugeicons... | 1 |
RaghvindYadav/play_game | 384f301 | lib/screens/signUp.dart | Dart | www.github.com/RaghvindYadav/play_game/tree/main/lib/screens/signUp.dart | https://raw.githubusercontent.com/RaghvindYadav/play_game/384f301/lib/screens/signUp.dart | RaghvindYadav/play_game 384f301 lib/screens/signUp.dart | true | 200 | 4,933 | // ignore_for_file: unnecessary_string_interpolations
import 'package:flutter/material.dart';
import 'login.dart';
import 'package:shared_preferences/shared_preferences.dart';
import '../widgets/createRoute.dart';
import '../widgets/customTextField.dart';
import '../functions/functions.dart';
class SignUpPage extends ... | 2 |
fitness-App-flutter/fitness_app | ce792a2 | lib/widgets/SleepWidgets/sleep_schedule.dart | Dart | www.github.com/fitness-App-flutter/fitness_app/tree/main/lib/widgets/SleepWidgets/sleep_schedule.dart | https://raw.githubusercontent.com/fitness-App-flutter/fitness_app/ce792a2/lib/widgets/SleepWidgets/sleep_schedule.dart | fitness-App-flutter/fitness_app ce792a2 lib/widgets/SleepWidgets/sleep_schedule.dart | true | 200 | 1,604 | import 'package:flutter/material.dart';
class SleepSchedule extends StatelessWidget {
const SleepSchedule({super.key});
@override
Widget build(BuildContext context) {
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
const Row(
mainAxisAlignment: MainAxis... | 6 |
rlphjyson/NBA-APP | 55a6969 | nbatracker/lib/screens/playerScreen.dart | Dart | www.github.com/rlphjyson/NBA-APP/tree/main/nbatracker/lib/screens/playerScreen.dart | https://raw.githubusercontent.com/rlphjyson/NBA-APP/55a6969/nbatracker/lib/screens/playerScreen.dart | rlphjyson/NBA-APP 55a6969 nbatracker/lib/screens/playerScreen.dart | true | 200 | 3,393 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:nbatracker/models/teams_model.dart';
import 'package:nbatracker/values/colors.dart';
import 'package:nbatracker/widgets/playerCard.dart';
import 'package:nbatracker/widgets/searchbar.dart';
import '../bloc/player_b... | 7 |
mo7amedaliEbaid/saudi_interview | d5e1f7f | ds/sorting/challenge_2.dart | Dart | www.github.com/mo7amedaliEbaid/saudi_interview/tree/main/ds/sorting/challenge_2.dart | https://raw.githubusercontent.com/mo7amedaliEbaid/saudi_interview/d5e1f7f/ds/sorting/challenge_2.dart | mo7amedaliEbaid/saudi_interview d5e1f7f ds/sorting/challenge_2.dart | true | 200 | 625 | // Here’s a list of randomly distributed elements:
// [4, 2, 5, 1, 3]
// sort the list in dart using selection sort
void selectionSort(List<int> arr) {
int n = arr.length;
for (int i = 0; i < n - 1; i++) {
int minIndex = i;
for (int j = i + 1; j < n; j++) {
if (arr[j] < arr[minIndex]) {
minIn... | 5 |
burhan153/gallery_burhan | a6d30da | lib/features/presentation/cubit/user/get_single_other_user/get_single_other_user_cubit.dart | Dart | www.github.com/burhan153/gallery_burhan/tree/main/lib/features/presentation/cubit/user/get_single_other_user/get_single_other_user_cubit.dart | https://raw.githubusercontent.com/burhan153/gallery_burhan/a6d30da/lib/features/presentation/cubit/user/get_single_other_user/get_single_other_user_cubit.dart | burhan153/gallery_burhan a6d30da lib/features/presentation/cubit/user/get_single_other_user/get_single_other_user_cubit.dart | true | 200 | 1,030 | import 'dart:io';
import 'package:bloc/bloc.dart';
import 'package:equatable/equatable.dart';
import 'package:gallery_burhan/features/domain/entities/user/user_entity.dart';
import 'package:gallery_burhan/features/domain/usecases/firebase_usecases/user/get_single_other_user_usecase.dart';
part 'get_single_other_user_... | 0 |
kelvinalmeida/flutter_calculator | bc0a1ff | lib/widget/operator_style.dart | Dart | www.github.com/kelvinalmeida/flutter_calculator/tree/main/lib/widget/operator_style.dart | https://raw.githubusercontent.com/kelvinalmeida/flutter_calculator/bc0a1ff/lib/widget/operator_style.dart | kelvinalmeida/flutter_calculator bc0a1ff lib/widget/operator_style.dart | true | 200 | 1,036 | import 'package:flutter/material.dart';
import 'package:flutter_calculator/providers/screem.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
class OperatorStyle extends ConsumerWidget {
const OperatorStyle({
super.key,
required this.content,
});
final String content;
@override
Widget... | 3 |
icei2021/6-Flutter-Mod3 | b1bd9ee | lib/src/shared/icon_button_theme.dart | Dart | www.github.com/icei2021/6-Flutter-Mod3/tree/main/lib/src/shared/icon_button_theme.dart | https://raw.githubusercontent.com/icei2021/6-Flutter-Mod3/b1bd9ee/lib/src/shared/icon_button_theme.dart | icei2021/6-Flutter-Mod3 b1bd9ee lib/src/shared/icon_button_theme.dart | true | 200 | 544 | import 'package:fl_mod3/main.dart';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
class IconButtonThemeWidget extends StatelessWidget {
const IconButtonThemeWidget({super.key});
@override
Widget build(BuildContext context) {
return IconButton(
onPressed: ()... | 4 |
dewabagas/loyaute-flutter | 1e7eb95 | lib/presentation/auths/components/auth_wrapper.dart | Dart | www.github.com/dewabagas/loyaute-flutter/tree/main/lib/presentation/auths/components/auth_wrapper.dart | https://raw.githubusercontent.com/dewabagas/loyaute-flutter/1e7eb95/lib/presentation/auths/components/auth_wrapper.dart | dewabagas/loyaute-flutter 1e7eb95 lib/presentation/auths/components/auth_wrapper.dart | true | 200 | 1,871 | import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:flutter_svg/svg.dart';
import 'package:loyaute/presentation/core/constants/assets.dart';
import 'package:loyaute/presentation/core/constants/styles.dart';
import 'p... | 1 |
Caiporeta/pokedex | ac762ed | lib/features/splash/presentation/pages/splash_page.dart | Dart | www.github.com/Caiporeta/pokedex/tree/main/lib/features/splash/presentation/pages/splash_page.dart | https://raw.githubusercontent.com/Caiporeta/pokedex/ac762ed/lib/features/splash/presentation/pages/splash_page.dart | Caiporeta/pokedex ac762ed lib/features/splash/presentation/pages/splash_page.dart | true | 200 | 2,452 | import 'dart:async';
import 'package:audioplayers/audioplayers.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:pokedex/features/home/presentation/pages/home.dart';
class Splash extends StatefulWidget {
const Splash({Key? key}) : super(key: key);
@override
... | 6 |
nancyyy309/evently_app | d79fb06 | lib/modules/layout/favorites/favorites_view.dart | Dart | www.github.com/nancyyy309/evently_app/tree/main/lib/modules/layout/favorites/favorites_view.dart | https://raw.githubusercontent.com/nancyyy309/evently_app/d79fb06/lib/modules/layout/favorites/favorites_view.dart | nancyyy309/evently_app d79fb06 lib/modules/layout/favorites/favorites_view.dart | true | 200 | 3,718 |
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:evently/core/extensions/extensions.dart';
import 'package:flutter/material.dart';
import '../../../core/services/firebase_firestore_service.dart';
import '../../../core/theme/color_palette.dart';
import '../../../core/widgets/cutom_text_field.dar... | 7 |
amorags/calc_app | 43522dd | lib/calculator_screen.dart | Dart | www.github.com/amorags/calc_app/tree/main/lib/calculator_screen.dart | https://raw.githubusercontent.com/amorags/calc_app/43522dd/lib/calculator_screen.dart | amorags/calc_app 43522dd lib/calculator_screen.dart | true | 200 | 6,562 | import 'package:flutter/material.dart';
import 'button_values.dart';
abstract class Command {
void apply(List<num> stack);
}
class AddCommand implements Command {
@override
void apply(List<num> stack) {
if (stack.length < 2) {
throw Exception("Insufficient operands for addition");
}
num operan... | 2 |
DoganBozkurt/EndProject | e32443d | lib/Screen/home.dart | Dart | www.github.com/DoganBozkurt/EndProject/tree/main/lib/Screen/home.dart | https://raw.githubusercontent.com/DoganBozkurt/EndProject/e32443d/lib/Screen/home.dart | DoganBozkurt/EndProject e32443d lib/Screen/home.dart | true | 200 | 5,477 | // ignore_for_file: sort_child_properties_last
import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
import 'package:usis_2/Model/AktifIsler.dart';
import 'package:usis_2/Responsive/responsive.dart';
import 'package:usis_2/Screen/jobDetail.dart';
import 'package:usis_2/Services/remoteService.dart';
i... | 5 |
Ibrokihimbek/state-managements | d95a8ba | lib/state_management/bloc/currency_state.dart | Dart | www.github.com/Ibrokihimbek/state-managements/tree/main/lib/state_management/bloc/currency_state.dart | https://raw.githubusercontent.com/Ibrokihimbek/state-managements/d95a8ba/lib/state_management/bloc/currency_state.dart | Ibrokihimbek/state-managements d95a8ba lib/state_management/bloc/currency_state.dart | true | 200 | 1,042 | part of 'currency_bloc.dart';
class CurrencyState extends Equatable {
const CurrencyState({
this.status = CurrencyStatus.initial,
this.currencyList = const <CurrencyModel>[],
this.errorText = "",
});
final CurrencyStatus status;
final List<CurrencyModel> currencyList;
final String errorText;
... | 0 |
MauricioSts/APP_clima | 2237e6b | lib/Api.dart | Dart | www.github.com/MauricioSts/APP_clima/tree/main/lib/Api.dart | https://raw.githubusercontent.com/MauricioSts/APP_clima/2237e6b/lib/Api.dart | MauricioSts/APP_clima 2237e6b lib/Api.dart | true | 200 | 602 | import 'dart:convert';
import 'package:app_clima/model/Clima.dart';
import 'package:http/http.dart' as http;
class Api {
static const String _apiKey = "987e89c30ea54345b9b20352252503";
static const String _baseUrl =
"http://api.weatherapi.com/v1/current.json?key=$_apiKey&q=";
Future<Clima> buscarClima(Str... | 3 |
andersonrbernal/ecommerce-app | 5ad1e59 | client/lib/widgets/product_card.dart | Dart | www.github.com/andersonrbernal/ecommerce-app/tree/main/client/lib/widgets/product_card.dart | https://raw.githubusercontent.com/andersonrbernal/ecommerce-app/5ad1e59/client/lib/widgets/product_card.dart | andersonrbernal/ecommerce-app 5ad1e59 client/lib/widgets/product_card.dart | true | 200 | 3,351 | import 'package:client/screens/product_details.dart';
import 'package:flutter/material.dart';
class ProductCard extends StatefulWidget {
const ProductCard({super.key, required this.product});
final Map<String, dynamic> product;
@override
State<ProductCard> createState() => _ProductCardState();
}
class _Prod... | 4 |
Omar-Moshtaha/bmi_calculator | bad431c | lib/main.dart | Dart | www.github.com/Omar-Moshtaha/bmi_calculator/tree/main/lib/main.dart | https://raw.githubusercontent.com/Omar-Moshtaha/bmi_calculator/bad431c/lib/main.dart | Omar-Moshtaha/bmi_calculator bad431c lib/main.dart | true | 200 | 1,474 | import 'package:animated_splash_screen/animated_splash_screen.dart';
import 'package:bmi_calculator/shared/cubit/cubit.dart';
import 'package:bmi_calculator/shared/cubit/states.dart';
import 'package:device_preview/device_preview.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_b... | 1 |
mdshakilmia22/Todays-News | c7fc73d | lib/Extract Widget/newscard.dart | Dart | www.github.com/mdshakilmia22/Todays-News/tree/main/lib/Extract Widget/newscard.dart | https://raw.githubusercontent.com/mdshakilmia22/Todays-News/c7fc73d/lib/Extract%20Widget/newscard.dart | mdshakilmia22/Todays-News c7fc73d lib/Extract Widget/newscard.dart | true | 200 | 1,576 | import 'package:flutter/material.dart';
class NewCard extends StatelessWidget {
const NewCard({required this.image, required this.title,required this.date});
final String image;
final String title;
final String date;
@override
Widget build(BuildContext context) {
return Padding(
padding: const Ed... | 6 |
engkemo1/liveapp | 3d334d2 | lib/models/follower_model.dart | Dart | www.github.com/engkemo1/liveapp/tree/main/lib/models/follower_model.dart | https://raw.githubusercontent.com/engkemo1/liveapp/3d334d2/lib/models/follower_model.dart | engkemo1/liveapp 3d334d2 lib/models/follower_model.dart | true | 200 | 2,211 | class Follower {
int? id;
String? type;
String? name;
String? isOnline;
String? isLive;
String? image;
String? followed;
LevelHost? levelHost;
LevelHost? levelUser;
Follower(
{this.id,
this.type,
this.name,
this.isOnline,
this.isLive,
this.image,
this.follo... | 2 |
VCPregno/Biblas-main | 8a35bfc | lib/modules/busca/widgets/capaLivro_widget.dart | Dart | www.github.com/VCPregno/Biblas-main/tree/main/lib/modules/busca/widgets/capaLivro_widget.dart | https://raw.githubusercontent.com/VCPregno/Biblas-main/8a35bfc/lib/modules/busca/widgets/capaLivro_widget.dart | VCPregno/Biblas-main 8a35bfc lib/modules/busca/widgets/capaLivro_widget.dart | true | 200 | 2,039 | // ignore: file_names
import 'package:flutter/material.dart';
import 'package:projeto_biblas/modules/livros/pages/paginaLivrosResponsiva.dart';
import 'package:flutter/src/foundation/key.dart';
import 'package:flutter/src/widgets/framework.dart';
import 'package:projeto_biblas/database/usuario/usuario_singleton.dart'... | 5 |
SalmaEltawel/movies | bba56c4 | lib/feature/home/presentation/pages/tabs/search_tab.dart | Dart | www.github.com/SalmaEltawel/movies/tree/main/lib/feature/home/presentation/pages/tabs/search_tab.dart | https://raw.githubusercontent.com/SalmaEltawel/movies/bba56c4/lib/feature/home/presentation/pages/tabs/search_tab.dart | SalmaEltawel/movies bba56c4 lib/feature/home/presentation/pages/tabs/search_tab.dart | true | 200 | 3,809 | import 'package:cached_network_image/cached_network_image.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:movies/core/enum/enum.dart';
import 'package:movies/core/utils/app_colors.dart';
import 'package:movies/feature/home/data/models/SearchModel.dart';
i... | 0 |
antonsebrianto/Flutter_Anton-Sebrianto | 3a1dd00 | 13_Platform Widget/Praktikum/Flutter Projects/flutter_platform_widget/lib/ListViewPage.dart | Dart | www.github.com/antonsebrianto/Flutter_Anton-Sebrianto/tree/main/13_Platform Widget/Praktikum/Flutter Projects/flutter_platform_widget/lib/ListViewPage.dart | https://raw.githubusercontent.com/antonsebrianto/Flutter_Anton-Sebrianto/3a1dd00/13_Platform%20Widget/Praktikum/Flutter%20Projects/flutter_platform_widget/lib/ListViewPage.dart | antonsebrianto/Flutter_Anton-Sebrianto 3a1dd00 13_Platform Widget/Praktikum/Flutter Projects/flutter_platform_widget/lib/ListViewPage.dart | true | 200 | 1,563 | import 'package:flutter/material.dart';
import 'package:flutter_platform_widget/UserModel.dart';
class ListViewPage extends StatelessWidget {
const ListViewPage({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Theme(
data: ThemeData(brightness: Brightness.light),
... | 7 |
NiharDodiya/Rainbow | 986186f | lib/screens/scanyour_face/scanyourface_controller.dart | Dart | www.github.com/NiharDodiya/Rainbow/tree/main/lib/screens/scanyour_face/scanyourface_controller.dart | https://raw.githubusercontent.com/NiharDodiya/Rainbow/986186f/lib/screens/scanyour_face/scanyourface_controller.dart | NiharDodiya/Rainbow 986186f lib/screens/scanyour_face/scanyourface_controller.dart | true | 200 | 4,190 | import 'dart:io';
import 'dart:math';
import 'dart:typed_data';
import 'dart:ui' as ui;
import 'package:camera/camera.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/services.dart';
import 'package:get/get.dart';
import 'package:image_picker/image_picker.... | 3 |
victor7w7r/flutterfly | fc2ef20 | test/features/material/ui/widgets/navbar_test.dart | Dart | www.github.com/victor7w7r/flutterfly/tree/main/test/features/material/ui/widgets/navbar_test.dart | https://raw.githubusercontent.com/victor7w7r/flutterfly/fc2ef20/test/features/material/ui/widgets/navbar_test.dart | victor7w7r/flutterfly fc2ef20 test/features/material/ui/widgets/navbar_test.dart | true | 200 | 2,416 | import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:get_it/get_it.dart' show GetIt;
import 'package:mocktail/mocktail.dart';
import 'package:patrol/patrol.dart' show patrolWidgetTest;
import 'package:flutterfly/core/utils/platforms.dart';
import 'package:flutterfly... | 1 |
Artem-Neludimi/hotelki | 323005e | lib/main.dart | Dart | www.github.com/Artem-Neludimi/hotelki/tree/main/lib/main.dart | https://raw.githubusercontent.com/Artem-Neludimi/hotelki/323005e/lib/main.dart | Artem-Neludimi/hotelki 323005e lib/main.dart | true | 200 | 453 | import 'package:flutter/material.dart';
import 'package:loggy/loggy.dart';
import 'package:scalable_flutter_app_starter/core/app/app.dart';
void main() {
WidgetsFlutterBinding.ensureInitialized();
_initLoggy();
runApp(const ScalableFlutterApp());
}
void _initLoggy() {
Loggy.initLoggy(
logOptions: const Lo... | 4 |
redjamhere/hotel-booking | 32c6da9 | packages/booking_api/lib/models/reservation_data_model/reservation_data_model.dart | Dart | www.github.com/redjamhere/hotel-booking/tree/main/packages/booking_api/lib/models/reservation_data_model/reservation_data_model.dart | https://raw.githubusercontent.com/redjamhere/hotel-booking/32c6da9/packages/booking_api/lib/models/reservation_data_model/reservation_data_model.dart | redjamhere/hotel-booking 32c6da9 packages/booking_api/lib/models/reservation_data_model/reservation_data_model.dart | true | 200 | 1,186 | import 'package:freezed_annotation/freezed_annotation.dart';
part 'reservation_data_model.freezed.dart';
part 'reservation_data_model.g.dart';
@freezed
sealed class ReservationDataModel with _$ReservationDataModel {
const factory ReservationDataModel({
@JsonKey(name: 'arrival_country') required String arrivalCo... | 6 |
ismott/fluter | 99adab4 | projeto_perguntas/lib/questionario.dart | Dart | www.github.com/ismott/fluter/tree/main/projeto_perguntas/lib/questionario.dart | https://raw.githubusercontent.com/ismott/fluter/99adab4/projeto_perguntas/lib/questionario.dart | ismott/fluter 99adab4 projeto_perguntas/lib/questionario.dart | true | 200 | 1,002 | import 'package:flutter/cupertino.dart';
import './questao.dart';
import './resposta.dart';
class Questionario extends StatelessWidget {
final List<Map<String, Object>> pergunta;
final perguntaSelecionada;
final void Function(int) responder;
const Questionario(
{required this.pergunta,
required th... | 2 |
andermelo/rock_w | 05ab009 | lib/features/weather_current/view/weather_current_view.dart | Dart | www.github.com/andermelo/rock_w/tree/main/lib/features/weather_current/view/weather_current_view.dart | https://raw.githubusercontent.com/andermelo/rock_w/05ab009/lib/features/weather_current/view/weather_current_view.dart | andermelo/rock_w 05ab009 lib/features/weather_current/view/weather_current_view.dart | true | 200 | 3,903 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:rock_w/core/logger/app_logger.dart';
import 'package:rock_w/core/style/colors.dart';
import 'package:rock_w/features/weather_current/presenter/current_presenter.dart';
import 'package:rock_w/features/weather_current... | 0 |
srios007/talentpitch | b9aec33 | lib/app/services/firebase_services/database_service.dart | Dart | www.github.com/srios007/talentpitch/tree/main/lib/app/services/firebase_services/database_service.dart | https://raw.githubusercontent.com/srios007/talentpitch/b9aec33/lib/app/services/firebase_services/database_service.dart | srios007/talentpitch b9aec33 lib/app/services/firebase_services/database_service.dart | true | 200 | 1,403 | import 'dart:developer';
import 'package:cloud_firestore/cloud_firestore.dart';
class Database {
final firestore = FirebaseFirestore.instance;
Future<bool> saveDocument({
required String collection,
required Map<String, dynamic> data,
}) async {
try {
final reference = await firestore.collect... | 7 |
rizhaalfianita/myrecipe | 8e69dc6 | lib/screens/splash.dart | Dart | www.github.com/rizhaalfianita/myrecipe/tree/main/lib/screens/splash.dart | https://raw.githubusercontent.com/rizhaalfianita/myrecipe/8e69dc6/lib/screens/splash.dart | rizhaalfianita/myrecipe 8e69dc6 lib/screens/splash.dart | true | 200 | 1,442 | import 'dart:async';
import 'package:cookuy/constants.dart';
import 'package:cookuy/screens/landing.dart';
import 'package:flutter/material.dart';
class Splash extends StatefulWidget {
const Splash({super.key});
@override
State<Splash> createState() => _SplashState();
}
class _SplashState extends State<Splash>... | 3 |
baijunty/ayaka | d1ecbac | lib/src/gallery_view/gallery_task_view.dart | Dart | www.github.com/baijunty/ayaka/tree/main/lib/src/gallery_view/gallery_task_view.dart | https://raw.githubusercontent.com/baijunty/ayaka/d1ecbac/lib/src/gallery_view/gallery_task_view.dart | baijunty/ayaka d1ecbac lib/src/gallery_view/gallery_task_view.dart | true | 200 | 9,331 | import 'dart:async';
import 'dart:convert';
import 'package:ayaka/src/gallery_view/gallery_details_view.dart';
import 'package:ayaka/src/model/gallery_manager.dart';
import 'package:ayaka/src/utils/debounce.dart';
import 'package:collection/collection.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart'... | 1 |
codexahmar/FlutterxFirebase | a61c0ca | Auth-App/lib/Screens/register_screen.dart | Dart | www.github.com/codexahmar/FlutterxFirebase/tree/main/Auth-App/lib/Screens/register_screen.dart | https://raw.githubusercontent.com/codexahmar/FlutterxFirebase/a61c0ca/Auth-App/lib/Screens/register_screen.dart | codexahmar/FlutterxFirebase a61c0ca Auth-App/lib/Screens/register_screen.dart | true | 200 | 10,224 | // ignore_for_file: prefer_const_constructors
import 'package:auth_practice/Screens/BottomNavbar/bottom_navbar.dart';
import 'package:auth_practice/Screens/login_screen.dart';
import 'package:auth_practice/auth/firebase_services.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_aut... | 6 |
n-fetahi/deliverydrug | ab5e552 | lib/screen/CartPages/Page2.dart | Dart | www.github.com/n-fetahi/deliverydrug/tree/main/lib/screen/CartPages/Page2.dart | https://raw.githubusercontent.com/n-fetahi/deliverydrug/ab5e552/lib/screen/CartPages/Page2.dart | n-fetahi/deliverydrug ab5e552 lib/screen/CartPages/Page2.dart | true | 200 | 1,831 | import 'package:deliverydrug/constant/SizeConfig.dart';
import 'package:flutter/material.dart';
import '../../constant/Lists.dart';
import '../../constant/TextFieldInfoPayment.dart';
import '../../constant/constant.dart';
import '../../constant/CheckMark.dart';
import '../../constant/paymentButton.dart';
cla... | 4 |
bhavink2000/vendor_groceteria | b736c92 | lib/app/controller/products_controller.dart | Dart | www.github.com/bhavink2000/vendor_groceteria/tree/main/lib/app/controller/products_controller.dart | https://raw.githubusercontent.com/bhavink2000/vendor_groceteria/b736c92/lib/app/controller/products_controller.dart | bhavink2000/vendor_groceteria b736c92 lib/app/controller/products_controller.dart | true | 200 | 2,134 | /*
Authors : initappz (Rahul Jograna)
Website : https://initappz.com/
App Name : Ultimate Grocery Full App Flutter
This App Template Source code is licensed as per the
terms found in the Website https://initappz.com/license
Copyright and Good Faith Purchasers © 2024-present initappz.
*/
import 'package:flut... | 5 |
AbdelHamidFathy/TR_Store | 8f84eb2 | lib/app/models/product.dart | Dart | www.github.com/AbdelHamidFathy/TR_Store/tree/main/lib/app/models/product.dart | https://raw.githubusercontent.com/AbdelHamidFathy/TR_Store/8f84eb2/lib/app/models/product.dart | AbdelHamidFathy/TR_Store 8f84eb2 lib/app/models/product.dart | true | 200 | 1,353 | class Product {
int? id;
String? slug;
String? url;
String? title;
String? content;
String? image;
String? thumbnail;
String? status;
String? category;
String? publishedAt;
String? updatedAt;
int? userId;
Product(
{this.id,
this.slug,
this.url,
this.title,
this.c... | 0 |
Kawan02/App_BuscarCEP | f9958a7 | application_busca_cep/lib/src/pages/cep/components/custom_text_fiel.dart | Dart | www.github.com/Kawan02/App_BuscarCEP/tree/main/application_busca_cep/lib/src/pages/cep/components/custom_text_fiel.dart | https://raw.githubusercontent.com/Kawan02/App_BuscarCEP/f9958a7/application_busca_cep/lib/src/pages/cep/components/custom_text_fiel.dart | Kawan02/App_BuscarCEP f9958a7 application_busca_cep/lib/src/pages/cep/components/custom_text_fiel.dart | true | 200 | 1,192 | import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
class CustomTextField extends StatelessWidget {
final TextEditingController controller;
final List<TextInputFormatter>? inputFormatters;
final Widget? prefixIcon;
final String? labelText;
final String? hintText;
final String? F... | 7 |
OsinValery/camera_effects | 6072664 | main_app/lib/services/image_saver_service.dart | Dart | www.github.com/OsinValery/camera_effects/tree/main/main_app/lib/services/image_saver_service.dart | https://raw.githubusercontent.com/OsinValery/camera_effects/6072664/main_app/lib/services/image_saver_service.dart | OsinValery/camera_effects 6072664 main_app/lib/services/image_saver_service.dart | true | 200 | 1,126 | import 'dart:io' show File;
import 'package:flutter/foundation.dart';
import 'package:path_provider/path_provider.dart' as path_provider;
import 'package:image/image.dart' as imglib;
@pragma('vm:entry-point')
String saveImage(Map<String, dynamic> data) {
String path = data['path'];
var file = File(path);
if (fi... | 3 |
jaloliddinmirzo/burger_app | 0007e93 | lib/screens/details.dart | Dart | www.github.com/jaloliddinmirzo/burger_app/tree/main/lib/screens/details.dart | https://raw.githubusercontent.com/jaloliddinmirzo/burger_app/0007e93/lib/screens/details.dart | jaloliddinmirzo/burger_app 0007e93 lib/screens/details.dart | true | 200 | 7,135 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:food_burger/data/model.dart';
import 'package:food_burger/utils/app_colors.dart';
import 'package:food_burger/utils/app_images.dart';
import 'package:food_b... | 2 |
AnuV6/CareerPulse-Mobile-App | 6182c0b | career_pulse/lib/home/upload_resume_only.dart | Dart | www.github.com/AnuV6/CareerPulse-Mobile-App/tree/main/career_pulse/lib/home/upload_resume_only.dart | https://raw.githubusercontent.com/AnuV6/CareerPulse-Mobile-App/6182c0b/career_pulse/lib/home/upload_resume_only.dart | AnuV6/CareerPulse-Mobile-App 6182c0b career_pulse/lib/home/upload_resume_only.dart | true | 200 | 4,698 | import 'package:flutter/material.dart';
import 'package:file_picker/file_picker.dart';
import 'package:career_pulse/widgets/AppBarWithBackButton.dart';
class UploadResumeOnlyScreen extends StatefulWidget {
const UploadResumeOnlyScreen({super.key});
@override
// ignore: library_private_types_in_public_api
_Upl... | 1 |
imanolpg/energy_pilot | f01d864 | lib/main.dart | Dart | www.github.com/imanolpg/energy_pilot/tree/main/lib/main.dart | https://raw.githubusercontent.com/imanolpg/energy_pilot/f01d864/lib/main.dart | imanolpg/energy_pilot f01d864 lib/main.dart | true | 200 | 1,422 | import 'package:energy_pilot/providers/amp_chart_data_provider.dart';
import 'package:energy_pilot/providers/battery_provider.dart';
import 'package:energy_pilot/providers/bluetooth_provider.dart';
import 'package:energy_pilot/providers/user_provider.dart';
import 'package:energy_pilot/screens/home.dart';
import 'packa... | 4 |
bestonemitRam/finaltrackingApp | bdc52f8 | lib/screen/splashscreen.dart | Dart | www.github.com/bestonemitRam/finaltrackingApp/tree/main/lib/screen/splashscreen.dart | https://raw.githubusercontent.com/bestonemitRam/finaltrackingApp/bdc52f8/lib/screen/splashscreen.dart | bestonemitRam/finaltrackingApp bdc52f8 lib/screen/splashscreen.dart | true | 200 | 3,087 | import 'dart:async';
import 'package:bmitserp/data/source/datastore/preferences.dart';
import 'package:bmitserp/model/auth.dart';
import 'package:bmitserp/screen/auth/login_screen.dart';
import 'package:bmitserp/screen/dashboard/dashboard_screen.dart';
import 'package:bmitserp/utils/check_internet_connectvity.da... | 5 |
deepoza14/mqqt_example | a83c89c | lib/data/model/broker_model.dart | Dart | www.github.com/deepoza14/mqqt_example/tree/main/lib/data/model/broker_model.dart | https://raw.githubusercontent.com/deepoza14/mqqt_example/a83c89c/lib/data/model/broker_model.dart | deepoza14/mqqt_example a83c89c lib/data/model/broker_model.dart | true | 200 | 786 | class MqttBroker {
int id;
String brokerIp;
String clientId;
DateTime createdAt; // New field to store the creation date and time
MqttBroker({
required this.id,
required this.brokerIp,
required this.clientId,
required this.createdAt, // Initialize the createdAt field
});
factory MqttBrok... | 6 |
beeploop/NearbyAssist_mobile | 659924b | lib/models/service_extra_model.dart | Dart | www.github.com/beeploop/NearbyAssist_mobile/tree/main/lib/models/service_extra_model.dart | https://raw.githubusercontent.com/beeploop/NearbyAssist_mobile/659924b/lib/models/service_extra_model.dart | beeploop/NearbyAssist_mobile 659924b lib/models/service_extra_model.dart | true | 200 | 641 | class ServiceExtraModel {
String id;
String title;
String description;
double price;
ServiceExtraModel({
required this.id,
required this.title,
required this.description,
required this.price,
});
factory ServiceExtraModel.fromJson(Map<String, dynamic> json) {
return ServiceExtraModel... | 0 |
kennedyowusu/ecommerce_mobile | f19753d | lib/widgets/favorite_product_card.dart | Dart | www.github.com/kennedyowusu/ecommerce_mobile/tree/main/lib/widgets/favorite_product_card.dart | https://raw.githubusercontent.com/kennedyowusu/ecommerce_mobile/f19753d/lib/widgets/favorite_product_card.dart | kennedyowusu/ecommerce_mobile f19753d lib/widgets/favorite_product_card.dart | true | 200 | 5,057 | import 'package:ecommerce_ui/constants/themes.dart';
import 'package:ecommerce_ui/models/favorite_model.dart';
import 'package:ecommerce_ui/models/products_model.dart';
import 'package:ecommerce_ui/providers/providers.dart';
import 'package:ecommerce_ui/providers/states/favorite_state_notifier.dart';
import 'package:fl... | 7 |
aospiridonov/flutter_catalog_drift | 680a75f | packages/blocs/lib/src/bloc_bootstrapper.dart | Dart | www.github.com/aospiridonov/flutter_catalog_drift/tree/main/packages/blocs/lib/src/bloc_bootstrapper.dart | https://raw.githubusercontent.com/aospiridonov/flutter_catalog_drift/680a75f/packages/blocs/lib/src/bloc_bootstrapper.dart | aospiridonov/flutter_catalog_drift 680a75f packages/blocs/lib/src/bloc_bootstrapper.dart | true | 200 | 342 | import 'package:blocs/blocs.dart';
import 'package:get_it/get_it.dart';
import 'package:repositories/repositories.dart';
Future<void> initBloc(GetIt getIt) async {
getIt
..registerSingleton(
AddProductBloc(getIt.get<ProductsRepository>()),
)
..registerSingleton(
HomeBloc(getIt.get<ProductsRep... | 3 |
adilsontchameia/rent_house_app | e155ee3 | lib/features/presentation/filtered_advertisiment/filtered_advertisiment_screen.dart | Dart | www.github.com/adilsontchameia/rent_house_app/tree/main/lib/features/presentation/filtered_advertisiment/filtered_advertisiment_screen.dart | https://raw.githubusercontent.com/adilsontchameia/rent_house_app/e155ee3/lib/features/presentation/filtered_advertisiment/filtered_advertisiment_screen.dart | adilsontchameia/rent_house_app e155ee3 lib/features/presentation/filtered_advertisiment/filtered_advertisiment_screen.dart | true | 200 | 515 | import 'filtered_advertisiment.dart';
class FilteredAdvertisimentScreen extends StatelessWidget {
static const routeName = '/filtered-Advertisiment-screen';
const FilteredAdvertisimentScreen({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
body: SingleChildScrollView(
... | 2 |
Anila709/Expense_app | 64c7705 | lib/Screens/Custom_widgets/custom_textfield.dart | Dart | www.github.com/Anila709/Expense_app/tree/main/lib/Screens/Custom_widgets/custom_textfield.dart | https://raw.githubusercontent.com/Anila709/Expense_app/64c7705/lib/Screens/Custom_widgets/custom_textfield.dart | Anila709/Expense_app 64c7705 lib/Screens/Custom_widgets/custom_textfield.dart | true | 200 | 1,055 | import 'package:flutter/material.dart';
class CustomTextField extends StatelessWidget {
const CustomTextField({
super.key,
required this.hintText,
required this.suffixIcon,
required this.mController
});
final String hintText;
final Widget suffixIcon;
final TextEditingController mController;
... | 1 |
ThatSaxyDev/dartg2stores | 9c33c25 | lib/features/cart/widgets/cart_product.dart | Dart | www.github.com/ThatSaxyDev/dartg2stores/tree/main/lib/features/cart/widgets/cart_product.dart | https://raw.githubusercontent.com/ThatSaxyDev/dartg2stores/9c33c25/lib/features/cart/widgets/cart_product.dart | ThatSaxyDev/dartg2stores 9c33c25 lib/features/cart/widgets/cart_product.dart | true | 200 | 5,958 | import 'package:dart_g2_stores/features/cart/services/cart_services.dart';
import 'package:dart_g2_stores/features/product_details/services/product_details_services.dart';
import 'package:dart_g2_stores/models/product.dart';
import 'package:dart_g2_stores/provider/user_provider.dart';
import 'package:dart_g2_stores/sha... | 4 |
sakayase/flutter-weather-app | df0d62a | lib/presentation/widget/search_bar.dart | Dart | www.github.com/sakayase/flutter-weather-app/tree/main/lib/presentation/widget/search_bar.dart | https://raw.githubusercontent.com/sakayase/flutter-weather-app/df0d62a/lib/presentation/widget/search_bar.dart | sakayase/flutter-weather-app df0d62a lib/presentation/widget/search_bar.dart | true | 200 | 4,277 | import 'dart:async';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:weather_app/data/models/location.dart';
import 'package:weather_app/domain/states/autocomplete.dart';
import 'package:weather_app/domain/states/forecast.dart';
class SearchBar extends StatefulWidget {... | 5 |
TecAbel/flutter-designs | d000e41 | lib/main.dart | Dart | www.github.com/TecAbel/flutter-designs/tree/main/lib/main.dart | https://raw.githubusercontent.com/TecAbel/flutter-designs/d000e41/lib/main.dart | TecAbel/flutter-designs d000e41 lib/main.dart | true | 200 | 828 | import 'package:disenos/screens/basic_desing.dart';
import 'package:disenos/screens/home_screen.dart';
import 'package:disenos/screens/scroll_design.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
c... | 6 |
abraamhossam/mindcare_app | 0e50511 | lib/view/Doctors/widgets/bubble_date_doctor.dart | Dart | www.github.com/abraamhossam/mindcare_app/tree/main/lib/view/Doctors/widgets/bubble_date_doctor.dart | https://raw.githubusercontent.com/abraamhossam/mindcare_app/0e50511/lib/view/Doctors/widgets/bubble_date_doctor.dart | abraamhossam/mindcare_app 0e50511 lib/view/Doctors/widgets/bubble_date_doctor.dart | true | 200 | 2,028 | import 'package:flutter/material.dart';
import 'package:mindcare_app/constants.dart';
import 'package:mindcare_app/helper/size_config.dart';
class BubbleDateDoctor extends StatelessWidget {
const BubbleDateDoctor({
super.key,
required this.hour,
required this.day,
required this.month,
});
final S... | 7 |
NNT3004/AppDTN | bacc7e4 | lib/pages/main_page.dart | Dart | www.github.com/NNT3004/AppDTN/tree/main/lib/pages/main_page.dart | https://raw.githubusercontent.com/NNT3004/AppDTN/bacc7e4/lib/pages/main_page.dart | NNT3004/AppDTN bacc7e4 lib/pages/main_page.dart | true | 200 | 5,041 | import 'package:app_dtn/pages/eventpages/academic_events.dart';
import 'package:app_dtn/pages/eventpages/traditional_events.dart';
import 'package:app_dtn/pages/eventpages/union_events.dart';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:app_dtn/providers/event_provide... | 2 |
s4r4h4mdy0x01/BussinessCard | 67fb70e | lib/business_card.dart | Dart | www.github.com/s4r4h4mdy0x01/BussinessCard/tree/main/lib/business_card.dart | https://raw.githubusercontent.com/s4r4h4mdy0x01/BussinessCard/67fb70e/lib/business_card.dart | s4r4h4mdy0x01/BussinessCard 67fb70e lib/business_card.dart | true | 200 | 3,522 | import 'package:flutter/material.dart';
class BussinessCard extends StatelessWidget {
const BussinessCard({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Color(0xffAA8C8E),
body: Column(
mainAxisAlignment: MainAxisAlignment.... | 1 |
Muhammadabdulfaheem/flutter_training | 29b272e | lib/screens/main_screen.dart | Dart | www.github.com/Muhammadabdulfaheem/flutter_training/tree/main/lib/screens/main_screen.dart | https://raw.githubusercontent.com/Muhammadabdulfaheem/flutter_training/29b272e/lib/screens/main_screen.dart | Muhammadabdulfaheem/flutter_training 29b272e lib/screens/main_screen.dart | true | 200 | 1,781 | import 'package:flutter/material.dart';
import 'package:flutter_training_project/providers.dart/bottom_nav_provider.dart';
import 'package:flutter_training_project/screens/home_tab.dart';
import 'package:flutter_training_project/screens/profile_tab.dart';
import 'package:flutter_training_project/screens/movies_tab.dart... | 4 |
JackNguyenIT/app_training_flutter | 8ee9309 | lib/data/category_model.dart | Dart | www.github.com/JackNguyenIT/app_training_flutter/tree/main/lib/data/category_model.dart | https://raw.githubusercontent.com/JackNguyenIT/app_training_flutter/8ee9309/lib/data/category_model.dart | JackNguyenIT/app_training_flutter 8ee9309 lib/data/category_model.dart | true | 200 | 374 | class CategoryModel {
String url;
String name;
CategoryModel({required this.name, required this.url});
Map<String, dynamic> toMap() {
return {
'name': name,
'url': url,
};
}
factory CategoryModel.fromMap(Map<String, dynamic> map) {
return CategoryModel(
name: map['name'] as ... | 5 |
Odung2/meanwhile-front | 6ace1e9 | lib/loading_indicator.dart | Dart | www.github.com/Odung2/meanwhile-front/tree/main/lib/loading_indicator.dart | https://raw.githubusercontent.com/Odung2/meanwhile-front/6ace1e9/lib/loading_indicator.dart | Odung2/meanwhile-front 6ace1e9 lib/loading_indicator.dart | true | 200 | 799 | import 'package:flutter/material.dart';
class LoadingIndicator extends StatelessWidget {
final String message;
const LoadingIndicator({Key? key, this.message = 'Please Wait...'}) : super(key: key);
@override
Widget build(BuildContext context) {
return Center(
child: AlertDialog(
content: Co... | 0 |
seftoner/hommie | 723eee3 | lib/router/routes.dart | Dart | www.github.com/seftoner/hommie/tree/main/lib/router/routes.dart | https://raw.githubusercontent.com/seftoner/hommie/723eee3/lib/router/routes.dart | seftoner/hommie 723eee3 lib/router/routes.dart | true | 200 | 4,086 | import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
import 'package:hommie/core/bootstrap/app_startup.dart';
import 'package:hommie/features/auth/presentation/screens/server_discovery_page.dart';
import 'package:hommie/features/home/presentation/screens/home_page.dart';
import 'package:ho... | 3 |
godwlly5000/Ulibrary | f082f2a | lib/views/profile_page.dart | Dart | www.github.com/godwlly5000/Ulibrary/tree/main/lib/views/profile_page.dart | https://raw.githubusercontent.com/godwlly5000/Ulibrary/f082f2a/lib/views/profile_page.dart | godwlly5000/Ulibrary f082f2a lib/views/profile_page.dart | true | 200 | 3,344 | import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
class ProfilePage extends StatelessWidget {
ProfilePage({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar (
backgroundColor: Colors.green[500],
centerTi... | 6 |
Chrissie21/chats_app | a1edb28 | lib/Components/my_drawer.dart | Dart | www.github.com/Chrissie21/chats_app/tree/main/lib/Components/my_drawer.dart | https://raw.githubusercontent.com/Chrissie21/chats_app/a1edb28/lib/Components/my_drawer.dart | Chrissie21/chats_app a1edb28 lib/Components/my_drawer.dart | true | 200 | 2,236 | import 'package:chats/Pages/settings_page.dart';
import 'package:chats/Services/Auth/auth_service.dart';
import 'package:flutter/material.dart';
class MyDrawer extends StatelessWidget {
const MyDrawer({super.key});
void logout (){
// get auth service
final auth = AuthService();
auth.signOut();
}
... | 7 |
iscac16514/Handy | ce89e0f | lib/app/data/models/cart_model.dart | Dart | www.github.com/iscac16514/Handy/tree/main/lib/app/data/models/cart_model.dart | https://raw.githubusercontent.com/iscac16514/Handy/ce89e0f/lib/app/data/models/cart_model.dart | iscac16514/Handy ce89e0f lib/app/data/models/cart_model.dart | true | 200 | 640 | import 'package:get/get.dart';
import 'package:handy/app/data/models/product_model.dart';
class CartModel {
int? id;
ProductModel? product;
RxInt quantity = 1.obs;
CartModel({this.id, this.product, required this.quantity});
CartModel.fromJson(Map<String, dynamic> json) {
id = json['id'];
product = ... | 2 |
rabble-app/rabble-mobile | a77466b | lib/core/util/trim_name_extension.dart | Dart | www.github.com/rabble-app/rabble-mobile/tree/main/lib/core/util/trim_name_extension.dart | https://raw.githubusercontent.com/rabble-app/rabble-mobile/a77466b/lib/core/util/trim_name_extension.dart | rabble-app/rabble-mobile a77466b lib/core/util/trim_name_extension.dart | true | 200 | 345 | extension NameExtensions on String {
String get initials {
if (isEmpty) return '';
final List<String> words = trim().split(' ');
final StringBuffer initials = StringBuffer();
for (final String word in words) {
if (word.isNotEmpty) {
initials.write(word[0]);
}
}
return in... | 4 |
Suhwan0818/Flutter_partice | 91635bc | lib/CH09/ch9_labs_5414060/orientation/orientation_app.dart | Dart | www.github.com/Suhwan0818/Flutter_partice/tree/main/lib/CH09/ch9_labs_5414060/orientation/orientation_app.dart | https://raw.githubusercontent.com/Suhwan0818/Flutter_partice/91635bc/lib/CH09/ch9_labs_5414060/orientation/orientation_app.dart | Suhwan0818/Flutter_partice 91635bc lib/CH09/ch9_labs_5414060/orientation/orientation_app.dart | true | 200 | 391 | import 'package:flutter/material.dart';
import 'orientation_page.dart';
void main() => runApp(OrientationApp());
class OrientationApp extends StatelessWidget {
const OrientationApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData(pri... | 1 |
SchweizerischeBundesbahnen/design_system_flutter | 26f5c91 | lib/src/radio_button/sbb_radio_button.dart | Dart | www.github.com/SchweizerischeBundesbahnen/design_system_flutter/tree/main/lib/src/radio_button/sbb_radio_button.dart | https://raw.githubusercontent.com/SchweizerischeBundesbahnen/design_system_flutter/26f5c91/lib/src/radio_button/sbb_radio_button.dart | SchweizerischeBundesbahnen/design_system_flutter 26f5c91 lib/src/radio_button/sbb_radio_button.dart | true | 200 | 4,149 | import 'package:flutter/material.dart';
import '../../sbb_design_system_mobile.dart';
/// The SBB Radio Button.
/// Use according to [documentation](https://digital.sbb.ch/de/design-system/mobile/components/radiobutton/).
///
/// Consider using [SBBRadioButtonListItem] instead of this Widget.
///
/// Used to select b... | 5 |
ssbdade/save_money_ui | f8ffacf | lib/util/theme/app_theme.dart | Dart | www.github.com/ssbdade/save_money_ui/tree/main/lib/util/theme/app_theme.dart | https://raw.githubusercontent.com/ssbdade/save_money_ui/f8ffacf/lib/util/theme/app_theme.dart | ssbdade/save_money_ui f8ffacf lib/util/theme/app_theme.dart | true | 200 | 3,900 | import 'package:flutter/material.dart';
import 'package:save_money_ui/util/theme/app_colors.dart';
class AppThemes {
AppThemes._();
static String font = "Inter";
//primary color
static final Color _lightPrimaryColor = violet100;
//background colors
static const Color _lightBackgroundColor = white;
sta... | 3 |
SerapBekar/Learn_with_soundsaaa | 28d0f04 | lib/resultBox.dart | Dart | www.github.com/SerapBekar/Learn_with_soundsaaa/tree/main/lib/resultBox.dart | https://raw.githubusercontent.com/SerapBekar/Learn_with_soundsaaa/28d0f04/lib/resultBox.dart | SerapBekar/Learn_with_soundsaaa 28d0f04 lib/resultBox.dart | true | 200 | 1,939 | import 'package:flutter/material.dart';
import 'package:learn_with_sounds/constants.dart';
class ResultBox extends StatelessWidget {
final int result;
final int questionLength;
final VoidCallback onPressed;
const ResultBox(
{Key? key,
required this.result,
required this.questionLength,
... | 7 |
laila-nabil/thetimeblockingapp | 6250c53 | lib/common/dialogs/show_date_time_picker.dart | Dart | www.github.com/laila-nabil/thetimeblockingapp/tree/main/lib/common/dialogs/show_date_time_picker.dart | https://raw.githubusercontent.com/laila-nabil/thetimeblockingapp/6250c53/lib/common/dialogs/show_date_time_picker.dart | laila-nabil/thetimeblockingapp 6250c53 lib/common/dialogs/show_date_time_picker.dart | true | 200 | 1,074 | import 'package:flutter/material.dart';
import 'package:thetimeblockingapp/core/localization/localization.dart';
Future<DateTime?> showDateTimePicker({
required BuildContext context,
DateTime? initialDate,
DateTime? firstDate,
DateTime? lastDate,
}) async {
initialDate ??= DateTime.now();
firstDate ??= ini... | 6 |
Prince921/Videate | 0013b41 | vidclone/bin/integrations/local/json_file_feed_manager.dart | Dart | www.github.com/Prince921/Videate/tree/main/vidclone/bin/integrations/local/json_file_feed_manager.dart | https://raw.githubusercontent.com/Prince921/Videate/0013b41/vidclone/bin/integrations/local/json_file_feed_manager.dart | Prince921/Videate 0013b41 vidclone/bin/integrations/local/json_file_feed_manager.dart | true | 200 | 1,101 | import 'package:file/file.dart';
import 'package:file/local.dart';
import 'package:vidlib/vidlib.dart';
import '../../feed_manager.dart';
import 'package:path/path.dart';
class JsonFileFeedManager extends FeedManager {
FileSystem fileSystem = LocalFileSystem();
@override
String get id => 'json_file';
String ... | 2 |
JordanADavies/Ecommerce | 43a6617 | lib/screens/cart/application/cart_cubit.dart | Dart | www.github.com/JordanADavies/Ecommerce/tree/main/lib/screens/cart/application/cart_cubit.dart | https://raw.githubusercontent.com/JordanADavies/Ecommerce/43a6617/lib/screens/cart/application/cart_cubit.dart | JordanADavies/Ecommerce 43a6617 lib/screens/cart/application/cart_cubit.dart | true | 200 | 1,173 | import 'package:ecommerce/screens/cart/infrastructure/cart_facade.dart';
import 'package:ecommerce/screens/products/domain/product.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
part 'cart_state.dart';
class CartCubit extends Cubit<CartState> {
final CartFacade _cartFacade;
CartCubit({CartFacade? cartFa... | 1 |
naolca/sefer | d3100fd | sefer/lib/features/profile/domain/repositories/follow_repository.dart | Dart | www.github.com/naolca/sefer/tree/main/sefer/lib/features/profile/domain/repositories/follow_repository.dart | https://raw.githubusercontent.com/naolca/sefer/d3100fd/sefer/lib/features/profile/domain/repositories/follow_repository.dart | naolca/sefer d3100fd sefer/lib/features/profile/domain/repositories/follow_repository.dart | true | 200 | 420 | import 'package:dartz/dartz.dart';
import 'package:sefer/core/errors/failures.dart';
import 'package:sefer/features/profile/domain/entities/follow.dart';
abstract class FollowRepository {
Future<Either<Failure, bool>> isFollowing(
String followerId, String followingId);
Future<Either<Failure, List<Follow>>> ... | 5 |
ggabriel537/controle_abastecimento | 7337e35 | lib/Telas/Drawer/drawer.dart | Dart | www.github.com/ggabriel537/controle_abastecimento/tree/main/lib/Telas/Drawer/drawer.dart | https://raw.githubusercontent.com/ggabriel537/controle_abastecimento/7337e35/lib/Telas/Drawer/drawer.dart | ggabriel537/controle_abastecimento 7337e35 lib/Telas/Drawer/drawer.dart | true | 200 | 3,375 | import 'package:controleabastecimento/Telas/Abastecimento/historicoabastecimento.dart';
import 'package:controleabastecimento/Telas/Login_e_Cadastro/login.dart';
import 'package:controleabastecimento/Telas/Perfil/AlterarSenha.dart';
import 'package:controleabastecimento/Telas/Veiculo/adicionarveiculo.dart';
import 'pac... | 3 |
Ajirin01/at_tareeq | e497327 | lib/pages/host/profile/edit_profile_host.dart | Dart | www.github.com/Ajirin01/at_tareeq/tree/main/lib/pages/host/profile/edit_profile_host.dart | https://raw.githubusercontent.com/Ajirin01/at_tareeq/e497327/lib/pages/host/profile/edit_profile_host.dart | Ajirin01/at_tareeq e497327 lib/pages/host/profile/edit_profile_host.dart | true | 200 | 3,494 | import 'package:flutter/material.dart';
import '../../../config/big_text.dart';
import '../../../config/color.dart';
import '../../../widget/button.dart';
import '../../../widget/input.dart';
class EditProfileHost extends StatefulWidget {
const EditProfileHost({Key? key}) : super(key: key);
@override
State<Edi... | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.