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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
ryotabol63/dart_practice | ae2c0d9 | test1/bin/main.dart | Dart | www.github.com/ryotabol63/dart_practice/tree/main/test1/bin/main.dart | https://raw.githubusercontent.com/ryotabol63/dart_practice/ae2c0d9/test1/bin/main.dart | ryotabol63/dart_practice ae2c0d9 test1/bin/main.dart | true | 200 | 3,390 | import 'package:test1/test1.dart' as test1;
import 'package:test1/functest.dart' as functest;
int increment(int a){
return(a + 1);
}
String aaa() => "俺はAAAだぞ";//アロー演算子による関数定義
int optional(int a, int b, [int? c]){
if(c != null){
return(a + b + c);
}else{
return(a + b);
}
}
class Microphone{
//Inst... | 1 |
utkarshsingh06/Shoppingapp_flutter | 249b219 | lib/main.dart | Dart | www.github.com/utkarshsingh06/Shoppingapp_flutter/tree/main/lib/main.dart | https://raw.githubusercontent.com/utkarshsingh06/Shoppingapp_flutter/249b219/lib/main.dart | utkarshsingh06/Shoppingapp_flutter 249b219 lib/main.dart | true | 200 | 579 | import 'package:flutter/material.dart';
import 'package:myapp/pages/homepage.dart';
import 'package:myapp/pages/login_page.dart';
void main()
{
runApp(Myapp());
}
class Myapp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
themeMode: ThemeMode.light,
th... | 7 |
ctiProgramming1/Flutter | e63e8f0 | week4/main_week04.dart | Dart | www.github.com/ctiProgramming1/Flutter/tree/main/week4/main_week04.dart | https://raw.githubusercontent.com/ctiProgramming1/Flutter/e63e8f0/week4/main_week04.dart | ctiProgramming1/Flutter e63e8f0 week4/main_week04.dart | true | 200 | 713 | import 'package:flutter/material.dart';
void main() {
runApp(MyStatefulWidget());
}
class MyStatefulWidget extends StatefulWidget {
@override
_MyStatefulWidgetState createState() => _MyStatefulWidgetState();
}
class _MyStatefulWidgetState extends State<MyStatefulWidget> {
Color bgColor = Colors.red;
@overr... | 4 |
nadaelassal/news_app | f7fe061 | lib/news/data/data_source/news_data_source.dart | Dart | www.github.com/nadaelassal/news_app/tree/main/lib/news/data/data_source/news_data_source.dart | https://raw.githubusercontent.com/nadaelassal/news_app/f7fe061/lib/news/data/data_source/news_data_source.dart | nadaelassal/news_app f7fe061 lib/news/data/data_source/news_data_source.dart | true | 200 | 591 | import 'dart:convert';
import 'package:news_app/shared/api_constants.dart';
import 'package:news_app/news/data/models/news_response.dart';
import 'package:http/http.dart' as http;
class NewsDataSource {
static Future<NewsResponse> getNews(String sourceId ) async {
final uri = Uri.https(
ApiConstants.base... | 2 |
elanurimirgi/IndustrialApp | 0dcd185 | lib/services/auth.dart | Dart | www.github.com/elanurimirgi/IndustrialApp/tree/main/lib/services/auth.dart | https://raw.githubusercontent.com/elanurimirgi/IndustrialApp/0dcd185/lib/services/auth.dart | elanurimirgi/IndustrialApp 0dcd185 lib/services/auth.dart | true | 200 | 2,740 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
class AuthService {
final FirebaseAuth _auth = FirebaseAuth.instance;
final FirebaseFirestore _firestore = FirebaseFirestore.instance;
// Giriş yapan kullanıcının bilgilerini al
User? get currentUser => _... | 0 |
SornchaiTheDev/larn | 44bd6f8 | lib/main.dart | Dart | www.github.com/SornchaiTheDev/larn/tree/main/lib/main.dart | https://raw.githubusercontent.com/SornchaiTheDev/larn/44bd6f8/lib/main.dart | SornchaiTheDev/larn 44bd6f8 lib/main.dart | true | 200 | 3,638 | import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:larn/screens/add_larn_screen.dart';
import 'package:larn/screens/bottom_navigation_screen.dart';
import 'package:larn/screens/call_larn_screen.dart';
import 'package:larn/screens/call_screen.dart';
import 'package:l... | 6 |
rashidaly/video_session | b1bc4a9 | lib/Screens/Home/bottom_navigation_bar.dart | Dart | www.github.com/rashidaly/video_session/tree/main/lib/Screens/Home/bottom_navigation_bar.dart | https://raw.githubusercontent.com/rashidaly/video_session/b1bc4a9/lib/Screens/Home/bottom_navigation_bar.dart | rashidaly/video_session b1bc4a9 lib/Screens/Home/bottom_navigation_bar.dart | true | 200 | 1,722 | import 'package:flutter/material.dart';
import 'package:flutter_auth/Screens/Home/profile.dart';
import '../../constants.dart';
import 'home_screen.dart';
import 'message.dart';
import 'notification.dart';
class MyBottomNavigationBar extends StatefulWidget {
@override
_MyBottomNavigationBarState createState() ... | 5 |
Godwin-Benjamin-Dass/pc_shop_admin_main | 2b32973 | lib/backend/schema/structs/inventory_struct.dart | Dart | www.github.com/Godwin-Benjamin-Dass/pc_shop_admin_main/tree/main/lib/backend/schema/structs/inventory_struct.dart | https://raw.githubusercontent.com/Godwin-Benjamin-Dass/pc_shop_admin_main/2b32973/lib/backend/schema/structs/inventory_struct.dart | Godwin-Benjamin-Dass/pc_shop_admin_main 2b32973 lib/backend/schema/structs/inventory_struct.dart | true | 200 | 6,989 | // ignore_for_file: unnecessary_getters_setters
import '/backend/schema/util/schema_util.dart';
import 'index.dart';
import '/flutter_flow/flutter_flow_util.dart';
class InventoryStruct extends BaseStruct {
InventoryStruct({
int? id,
int? prodId,
String? prodName,
int? quantity,
double? relativ... | 1 |
nurrahmanhaadii/gayo | 5579af2 | lib/screens/authentication_wrapper.dart | Dart | www.github.com/nurrahmanhaadii/gayo/tree/main/lib/screens/authentication_wrapper.dart | https://raw.githubusercontent.com/nurrahmanhaadii/gayo/5579af2/lib/screens/authentication_wrapper.dart | nurrahmanhaadii/gayo 5579af2 lib/screens/authentication_wrapper.dart | true | 200 | 828 | import 'package:flutter/material.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:provider/provider.dart';
import '../services/firebase_auth_service.dart';
import 'login_screen.dart';
import 'main_screen.dart';
class AuthenticationWrapper extends StatelessWidget {
const AuthenticationWrapper... | 4 |
Pratyush-Stha/Karma-app | fdbca63 | Karma-codecamp/lib/pages/workScreen.dart | Dart | www.github.com/Pratyush-Stha/Karma-app/tree/main/Karma-codecamp/lib/pages/workScreen.dart | https://raw.githubusercontent.com/Pratyush-Stha/Karma-app/fdbca63/Karma-codecamp/lib/pages/workScreen.dart | Pratyush-Stha/Karma-app fdbca63 Karma-codecamp/lib/pages/workScreen.dart | true | 200 | 311 | // workScreen.dart
import 'package:flutter/material.dart';
class WorkScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('Work Screen'),
),
body: Center(child: Text('Work Screen Content')),
);
}
}
| 7 |
mbieb/task_management_app | e8d0df6 | lib/app/infrastructure/auth/auth_remote_data_source.dart | Dart | www.github.com/mbieb/task_management_app/tree/main/lib/app/infrastructure/auth/auth_remote_data_source.dart | https://raw.githubusercontent.com/mbieb/task_management_app/e8d0df6/lib/app/infrastructure/auth/auth_remote_data_source.dart | mbieb/task_management_app e8d0df6 lib/app/infrastructure/auth/auth_remote_data_source.dart | true | 200 | 5,207 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:task_management_app/app/domain/auth/auth_form.dart/auth_form.dart';
import 'package:task_management_app/app/infrastructure/api_helper/api_helper.dart';
import 'package:task_management_app/app/infras... | 3 |
Healthy-Purr/healthy_purr_mobile | 0a6da47 | lib/utils/constants/constants.dart | Dart | www.github.com/Healthy-Purr/healthy_purr_mobile/tree/main/lib/utils/constants/constants.dart | https://raw.githubusercontent.com/Healthy-Purr/healthy_purr_mobile/0a6da47/lib/utils/constants/constants.dart | Healthy-Purr/healthy_purr_mobile 0a6da47 lib/utils/constants/constants.dart | true | 200 | 3,172 | import 'package:flutter/material.dart';
//-------------URL-------------//
const String url = "https://healthypurr.herokuapp.com/";
const String evaluationUrl = "https://healthy-purr-evaluation.herokuapp.com/evaluation";
//-------------COLORS-------------//
const Color complementaryColor = Color(0xFFE6BEA4);
const... | 0 |
yongchulbag/random_number_generator | 16a323f | lib/screen/setting_screen.dart | Dart | www.github.com/yongchulbag/random_number_generator/tree/main/lib/screen/setting_screen.dart | https://raw.githubusercontent.com/yongchulbag/random_number_generator/16a323f/lib/screen/setting_screen.dart | yongchulbag/random_number_generator 16a323f lib/screen/setting_screen.dart | true | 200 | 2,647 | import 'package:flutter/material.dart';
import 'package:random_number_generator/constant/color.dart';
class SettingsScreen extends StatefulWidget {
final int maxNumber;
const SettingsScreen({required this.maxNumber, super.key});
@override
State<SettingsScreen> createState() => _SettingsScreenState();
}
clas... | 6 |
OdikemeEbi/Ticket_app | c5f7e35 | lib/homepage.dart | Dart | www.github.com/OdikemeEbi/Ticket_app/tree/main/lib/homepage.dart | https://raw.githubusercontent.com/OdikemeEbi/Ticket_app/c5f7e35/lib/homepage.dart | OdikemeEbi/Ticket_app c5f7e35 lib/homepage.dart | true | 200 | 2,101 | import 'package:flutter/material.dart';
class Homepage extends StatefulWidget {
const Homepage({super.key});
@override
State<Homepage> createState() => _HomepageState();
}
class _HomepageState extends State<Homepage> {
int counter = 0;
increamentCount() {
setState(() {
counter++;
});
}
... | 1 |
neekesh/money_mgmt | 7748d94 | lib/presentation/order_page_two_screen/models/order_page_two_model.dart | Dart | www.github.com/neekesh/money_mgmt/tree/main/lib/presentation/order_page_two_screen/models/order_page_two_model.dart | https://raw.githubusercontent.com/neekesh/money_mgmt/7748d94/lib/presentation/order_page_two_screen/models/order_page_two_model.dart | neekesh/money_mgmt 7748d94 lib/presentation/order_page_two_screen/models/order_page_two_model.dart | true | 200 | 442 | import '../../../core/app_export.dart';
import 'package:equatable/equatable.dart';
/// This class defines the variables used in the [order_page_two_screen],
/// and is typically used to hold data that is passed between different parts of the application.
class OrderPageTwoModel extends Equatable {
OrderPageTwoModel(... | 4 |
sansa-zyno/antpay | bd5234a | lib/screens/callscreens/video_call_screen.dart | Dart | www.github.com/sansa-zyno/antpay/tree/main/lib/screens/callscreens/video_call_screen.dart | https://raw.githubusercontent.com/sansa-zyno/antpay/bd5234a/lib/screens/callscreens/video_call_screen.dart | sansa-zyno/antpay bd5234a lib/screens/callscreens/video_call_screen.dart | true | 200 | 21,841 | import 'dart:async';
import 'package:agora_rtc_engine/rtc_engine.dart';
import 'package:ant_pay/constants/app_colors.dart';
import 'package:ant_pay/constants/app_images.dart';
import 'package:ant_pay/constants/app_strings.dart';
import 'package:ant_pay/providers/user_controller.dart';
import 'package:ant_pay/services/c... | 7 |
NourElDmerdash/ODC-Flutter-Workshop-APP | e5e06a6 | lib/ViewModel/bloc/Finals/finals_cubit.dart | Dart | www.github.com/NourElDmerdash/ODC-Flutter-Workshop-APP/tree/main/lib/ViewModel/bloc/Finals/finals_cubit.dart | https://raw.githubusercontent.com/NourElDmerdash/ODC-Flutter-Workshop-APP/e5e06a6/lib/ViewModel/bloc/Finals/finals_cubit.dart | NourElDmerdash/ODC-Flutter-Workshop-APP e5e06a6 lib/ViewModel/bloc/Finals/finals_cubit.dart | true | 200 | 776 | import 'package:bloc/bloc.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:meta/meta.dart';
import 'package:untitled4/View/pages/Home/Finals.dart';
import '../../../Model/FinalsModel/FinalsModel.dart';
import '../../../constant.dart';
import '../../database/network/dio_helper.dart';
import '../..... | 3 |
AfiaOhenewaah17/MYPAYMENTAPP | 89a3973 | payment1_system/lib/pages/signin.dart | Dart | www.github.com/AfiaOhenewaah17/MYPAYMENTAPP/tree/main/payment1_system/lib/pages/signin.dart | https://raw.githubusercontent.com/AfiaOhenewaah17/MYPAYMENTAPP/89a3973/payment1_system/lib/pages/signin.dart | AfiaOhenewaah17/MYPAYMENTAPP 89a3973 payment1_system/lib/pages/signin.dart | true | 200 | 340 | import 'package:flutter/material.dart';
class SignIn extends StatefulWidget {
const SignIn({super.key});
@override
State<SignIn> createState() => _SignInState();
}
class _SignInState extends State<SignIn> {
@override
Widget build(BuildContext context) {
return const Scaffold(
body: Container(chil... | 0 |
tsinis/sealed_world | 59cad6a | packages/world_flags/lib/src/ui/painters/custom/tkl_painter.dart | Dart | www.github.com/tsinis/sealed_world/tree/main/packages/world_flags/lib/src/ui/painters/custom/tkl_painter.dart | https://raw.githubusercontent.com/tsinis/sealed_world/59cad6a/packages/world_flags/lib/src/ui/painters/custom/tkl_painter.dart | tsinis/sealed_world 59cad6a packages/world_flags/lib/src/ui/painters/custom/tkl_painter.dart | true | 200 | 2,022 | part of "../multi_element_painter.dart";
/// Painter for the Tokelau flag.
final class TklPainter extends MultiElementPainter {
/// Creates a new instance of [TklPainter].
const TklPainter(super.properties, super.aspectRatio);
@override
FlagParentBounds paintFlagElements(Canvas canvas, Size size) {
final ... | 5 |
Taim-Amer/Sweida-National-Hospital | 10856ed | lib/features/births/views/widgets/custom_births_button.dart | Dart | www.github.com/Taim-Amer/Sweida-National-Hospital/tree/main/lib/features/births/views/widgets/custom_births_button.dart | https://raw.githubusercontent.com/Taim-Amer/Sweida-National-Hospital/10856ed/lib/features/births/views/widgets/custom_births_button.dart | Taim-Amer/Sweida-National-Hospital 10856ed lib/features/births/views/widgets/custom_births_button.dart | true | 200 | 1,921 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:hospital_management_system/core/styles/colors.dart';
import 'package:hospital_management_system/features/births/cubit/births_cubit.dart';
import 'package:hospital_management_system/features/births/views/widgets/cust... | 6 |
hatem185/github-example-repo | 9cf90d9 | lib/data/repo/free_fake_post_repo_dio.dart | Dart | www.github.com/hatem185/github-example-repo/tree/main/lib/data/repo/free_fake_post_repo_dio.dart | https://raw.githubusercontent.com/hatem185/github-example-repo/9cf90d9/lib/data/repo/free_fake_post_repo_dio.dart | hatem185/github-example-repo 9cf90d9 lib/data/repo/free_fake_post_repo_dio.dart | true | 200 | 1,313 | import 'package:dio/dio.dart';
import 'package:search_items_screen/core/api_endpoint.dart';
import 'package:search_items_screen/data/model/free_fake_post_model.dart';
class FreeFakePostRepoDio {
final Dio client;
FreeFakePostRepoDio({required this.client});
Future<List<FreeFakePostModel>> fetchPosts() async {
... | 1 |
Pismice/PDG-GRP5 | 5efdfe3 | lib/model/feedback.dart | Dart | www.github.com/Pismice/PDG-GRP5/tree/main/lib/model/feedback.dart | https://raw.githubusercontent.com/Pismice/PDG-GRP5/5efdfe3/lib/model/feedback.dart | Pismice/PDG-GRP5 5efdfe3 lib/model/feedback.dart | true | 200 | 1,671 | import 'package:cloud_firestore/cloud_firestore.dart';
/// Classe qui représente un feedback
class Feedback {
// id du document
String? uid;
String? user;
String? email;
String? title;
String? comment;
Feedback({this.uid, this.user, this.email, this.title, this.comment});
/// constructeur à partir d'... | 4 |
dvishalakshan/flutter_training | 6de2a9c | lib/main.dart | Dart | www.github.com/dvishalakshan/flutter_training/tree/main/lib/main.dart | https://raw.githubusercontent.com/dvishalakshan/flutter_training/6de2a9c/lib/main.dart | dvishalakshan/flutter_training 6de2a9c lib/main.dart | true | 200 | 1,273 | import 'dart:async';
import 'dart:developer';
import 'dart:math' as math;
import 'package:flutter/material.dart';
import 'package:flutter_trainning/main_page.dart';
import 'package:flutter_trainning/movie_ui.dart';
import 'package:flutter_trainning/slide_show.dart';
StreamController _controller = StreamController();
... | 7 |
DungeonPaper/dungeon-paper-app | 1e3d5a5 | lib/app/modules/Home/views/home_character_journal_view.dart | Dart | www.github.com/DungeonPaper/dungeon-paper-app/tree/main/lib/app/modules/Home/views/home_character_journal_view.dart | https://raw.githubusercontent.com/DungeonPaper/dungeon-paper-app/1e3d5a5/lib/app/modules/Home/views/home_character_journal_view.dart | DungeonPaper/dungeon-paper-app 1e3d5a5 lib/app/modules/Home/views/home_character_journal_view.dart | true | 200 | 8,912 | import 'package:dungeon_paper/app/data/models/note.dart';
import 'package:dungeon_paper/app/data/services/character_provider.dart';
import 'package:dungeon_paper/app/model_utils/character_utils.dart';
import 'package:dungeon_paper/app/model_utils/model_pages.dart';
import 'package:dungeon_paper/app/widgets/cards/note_c... | 3 |
yingzi12/xinshijie-flutter | 401d46a | lib/reader/reader_page_agent.dart | Dart | www.github.com/yingzi12/xinshijie-flutter/tree/main/lib/reader/reader_page_agent.dart | https://raw.githubusercontent.com/yingzi12/xinshijie-flutter/401d46a/lib/reader/reader_page_agent.dart | yingzi12/xinshijie-flutter 401d46a lib/reader/reader_page_agent.dart | true | 200 | 1,126 | import 'package:flutter/material.dart';
class ReaderPageAgent {
static List<Map<String, int>> getPageOffsets(String content, double height, double width, double fontSize) {
if (content.isEmpty) {
return []; // 处理空内容
}
String tempStr = content;
List<Map<String, int>> pageConfig = [];
int la... | 0 |
Jasper-MI/Check-In | 823f6ed | lib/sql/sql_helper.dart | Dart | www.github.com/Jasper-MI/Check-In/tree/main/lib/sql/sql_helper.dart | https://raw.githubusercontent.com/Jasper-MI/Check-In/823f6ed/lib/sql/sql_helper.dart | Jasper-MI/Check-In 823f6ed lib/sql/sql_helper.dart | true | 200 | 6,082 | import 'package:flutter/foundation.dart';
import 'package:sqflite/sqflite.dart' as sql;
// Verwalten der Datenbanken
class SQLHelper {
// Datenbank für die Kurse wird festgelegt
static Future<void> createTables(sql.Database database) async {
await database.execute('''CREATE TABLE courses(
id IN... | 5 |
M-AhmedRazaAlvi/Wij.Land_Entrepreneur | 30ce6e0 | lib/screens/farm_networks/visualization/widgets/add_visualize_farm_dialog_widget.dart | Dart | www.github.com/M-AhmedRazaAlvi/Wij.Land_Entrepreneur/tree/main/lib/screens/farm_networks/visualization/widgets/add_visualize_farm_dialog_widget.dart | https://raw.githubusercontent.com/M-AhmedRazaAlvi/Wij.Land_Entrepreneur/30ce6e0/lib/screens/farm_networks/visualization/widgets/add_visualize_farm_dialog_widget.dart | M-AhmedRazaAlvi/Wij.Land_Entrepreneur 30ce6e0 lib/screens/farm_networks/visualization/widgets/add_visualize_farm_dialog_widget.dart | true | 200 | 3,311 | import 'package:flutter/material.dart';
import '../../../../app_common_widgets/custom_text.dart';
import '../../../../app_common_widgets/real_dropdown_widget.dart';
import '../../../../utils/functions.dart';
import '../../../../utils/styles.dart';
import '../../../office/widgets/add_text_button_widget.dart';
class Ad... | 6 |
codebashh/notat | cad6dfa | lib/screens/sections/widgets/section_search_bar.dart | Dart | www.github.com/codebashh/notat/tree/main/lib/screens/sections/widgets/section_search_bar.dart | https://raw.githubusercontent.com/codebashh/notat/cad6dfa/lib/screens/sections/widgets/section_search_bar.dart | codebashh/notat cad6dfa lib/screens/sections/widgets/section_search_bar.dart | true | 200 | 1,571 | import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:noteapp/translations/locale_keys.g.dart';
import 'package:noteapp/utils/enums.dart';
class SectionSearchBar extends StatefulWidget {
final SearchBarState? searchBarState;
final Function(String)? onCha... | 1 |
choijaegwon/clean_architecture_flutter | d2f3f04 | lib/app/screens/home/home_controller.dart | Dart | www.github.com/choijaegwon/clean_architecture_flutter/tree/main/lib/app/screens/home/home_controller.dart | https://raw.githubusercontent.com/choijaegwon/clean_architecture_flutter/d2f3f04/lib/app/screens/home/home_controller.dart | choijaegwon/clean_architecture_flutter d2f3f04 lib/app/screens/home/home_controller.dart | true | 200 | 1,132 | import 'dart:async';
import 'package:clean_architecture_flutter/app/screens/home/home_presenter.dart';
import 'package:clean_architecture_flutter/domain/entities/user.dart';
import 'package:clean_architecture_flutter/domain/repositories/users_repository.dart';
import 'package:flutter_clean_architecture/flutter_clean_a... | 7 |
Muhammad-RAFAY/onlineshop | c1cf189 | lib/screens/ProductScreen.dart | Dart | www.github.com/Muhammad-RAFAY/onlineshop/tree/main/lib/screens/ProductScreen.dart | https://raw.githubusercontent.com/Muhammad-RAFAY/onlineshop/c1cf189/lib/screens/ProductScreen.dart | Muhammad-RAFAY/onlineshop c1cf189 lib/screens/ProductScreen.dart | true | 200 | 5,053 | import 'package:flutter/material.dart';
import '../models/product.dart';
class MyProducts extends StatefulWidget {
@override
State<MyProducts> createState() => _MyProductsState();
}
class _MyProductsState extends State<MyProducts> {
TextEditingController productNameController = TextEditingController();
TextE... | 4 |
blitzappco/blitz | c059368 | application/lib/models/account.dart | Dart | www.github.com/blitzappco/blitz/tree/main/application/lib/models/account.dart | https://raw.githubusercontent.com/blitzappco/blitz/c059368/application/lib/models/account.dart | blitzappco/blitz c059368 application/lib/models/account.dart | true | 200 | 1,469 | import 'package:blitz/models/place.dart';
class PaymentMethod {
String? id;
String? type;
String? icon;
String? title;
PaymentMethod({
this.id,
this.type,
this.icon,
this.title,
});
factory PaymentMethod.fromJSON(Map<String, dynamic> json) {
return PaymentMethod(
id: json['id'... | 3 |
AksFlutter/devotee | a3222fe | lib/pages/dashboard/inbox/sent/sent_tab.dart | Dart | www.github.com/AksFlutter/devotee/tree/main/lib/pages/dashboard/inbox/sent/sent_tab.dart | https://raw.githubusercontent.com/AksFlutter/devotee/a3222fe/lib/pages/dashboard/inbox/sent/sent_tab.dart | AksFlutter/devotee a3222fe lib/pages/dashboard/inbox/sent/sent_tab.dart | true | 200 | 2,745 | import 'package:devotee/constants/color_constant.dart';
import 'package:devotee/controller/inbox_sent_controller.dart';
import 'package:devotee/pages/dashboard/inbox/sent/sent_accepted.dart';
import 'package:devotee/pages/dashboard/inbox/sent/sent_declined.dart';
import 'package:devotee/pages/dashboard/inbox/sent/sent_... | 2 |
MuwaffaqImam/FlutterCourseInnopolis | abbca95 | lib/6-FlutterAndAI/CV/BarcodeScreen.dart | Dart | www.github.com/MuwaffaqImam/FlutterCourseInnopolis/tree/main/lib/6-FlutterAndAI/CV/BarcodeScreen.dart | https://raw.githubusercontent.com/MuwaffaqImam/FlutterCourseInnopolis/abbca95/lib/6-FlutterAndAI/CV/BarcodeScreen.dart | MuwaffaqImam/FlutterCourseInnopolis abbca95 lib/6-FlutterAndAI/CV/BarcodeScreen.dart | true | 200 | 3,794 | import 'package:flutter/material.dart';
import 'package:google_ml_kit/google_ml_kit.dart';
import 'package:google_mlkit_barcode_scanning/google_mlkit_barcode_scanning.dart';
import 'package:image_picker/image_picker.dart';
import 'dart:io';
import 'dart:ui' as ui;
class BarcodeScannerView extends StatefulWidget {
@o... | 0 |
TPMELHELW/quraan | 179e36d | lib/controller/surah_controller.dart | Dart | www.github.com/TPMELHELW/quraan/tree/main/lib/controller/surah_controller.dart | https://raw.githubusercontent.com/TPMELHELW/quraan/179e36d/lib/controller/surah_controller.dart | TPMELHELW/quraan 179e36d lib/controller/surah_controller.dart | true | 200 | 6,222 | import 'dart:convert';
import 'package:arabic_tools/arabic_tools.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:get/get.dart';
import 'package:Moshafi/core/constant/enum.dart';
import 'package:Moshafi/core/functions/normalise.dart';
import 'package:Moshafi/... | 6 |
JForGod/xewo | f6d2ccd | lib/src/ui/widgets/file_tree/favorites_panel.dart | Dart | www.github.com/JForGod/xewo/tree/main/lib/src/ui/widgets/file_tree/favorites_panel.dart | https://raw.githubusercontent.com/JForGod/xewo/f6d2ccd/lib/src/ui/widgets/file_tree/favorites_panel.dart | JForGod/xewo f6d2ccd lib/src/ui/widgets/file_tree/favorites_panel.dart | true | 200 | 10,678 | import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import '../../../state/providers/file_tree_provider.dart';
import '../../themes/app_theme.dart';
/// 收藏项类型
enum FavoriteItemType {
file,
folder,
project,
}
/// 收藏项
class FavoriteItem {
final String path;
final S... | 1 |
najm-flutter/weather_app_ui_flutter | ca01295 | lib/core/clips_path/bottom_sheet_clip.dart | Dart | www.github.com/najm-flutter/weather_app_ui_flutter/tree/main/lib/core/clips_path/bottom_sheet_clip.dart | https://raw.githubusercontent.com/najm-flutter/weather_app_ui_flutter/ca01295/lib/core/clips_path/bottom_sheet_clip.dart | najm-flutter/weather_app_ui_flutter ca01295 lib/core/clips_path/bottom_sheet_clip.dart | true | 200 | 491 | import 'package:flutter/material.dart';
class BottomSheetClip extends CustomClipper<Path> {
@override
Path getClip(Size size) {
final path = Path();
path.lineTo(0, size.height);
path.lineTo(size.width, size.height);
path.lineTo(size.width, 44);
path.quadraticBezierTo(size.width, 0, size.width -... | 4 |
DoniaAldrsse/st_app | b11804e | lib/Screen/tabs_screen.dart | Dart | www.github.com/DoniaAldrsse/st_app/tree/main/lib/Screen/tabs_screen.dart | https://raw.githubusercontent.com/DoniaAldrsse/st_app/b11804e/lib/Screen/tabs_screen.dart | DoniaAldrsse/st_app b11804e lib/Screen/tabs_screen.dart | true | 200 | 2,250 | import 'package:flutter/material.dart';
import '../Model/trip.dart';
// ignore: unused_import
import '../Screen/trips_detail.dart';
// ignore: unused_import
import './trips_screen.dart';
// ignore: unused_import
import './favorits_screen.dart';
// ignore: duplicate_import
import '../Model/trip.dart';
// ignore: use_ke... | 5 |
nguyenduong9799/mentor-mentee-connect | 7e8b453 | lib/Model/DTO/CertificateDTO.dart | Dart | www.github.com/nguyenduong9799/mentor-mentee-connect/tree/main/lib/Model/DTO/CertificateDTO.dart | https://raw.githubusercontent.com/nguyenduong9799/mentor-mentee-connect/7e8b453/lib/Model/DTO/CertificateDTO.dart | nguyenduong9799/mentor-mentee-connect 7e8b453 lib/Model/DTO/CertificateDTO.dart | true | 200 | 1,626 | import 'package:mentor_mentee_connecting/Model/DTO/AccountDTO.dart';
import 'SubjectDTO.dart';
class CertificateDTO {
int? id;
String? imageUrl;
int? status;
String? name;
int? subjectId;
int? mentorId;
String? sort;
SubjectDTO? subject;
AccountDTO? mentor;
CertificateDTO(
{this.id,
t... | 3 |
areeba-ilyas/too_ggood_to_o_app | 16088c2 | lib/utils/validators/validators.dart | Dart | www.github.com/areeba-ilyas/too_ggood_to_o_app/tree/main/lib/utils/validators/validators.dart | https://raw.githubusercontent.com/areeba-ilyas/too_ggood_to_o_app/16088c2/lib/utils/validators/validators.dart | areeba-ilyas/too_ggood_to_o_app 16088c2 lib/utils/validators/validators.dart | true | 200 | 1,803 | class BValidators {
static validateEmptyText(String? fieldName, String? value) {
if (value == null || value.isEmpty) {
return "$fieldName is required";
}
return null;
}
static String? validateEmail(String? value) {
if (value == null || value.isEmpty) {
return "Email is Required";
... | 2 |
BaselAllam/cospace | f1d97a8 | lib/app_settings/views/wishlist_screen.dart | Dart | www.github.com/BaselAllam/cospace/tree/main/lib/app_settings/views/wishlist_screen.dart | https://raw.githubusercontent.com/BaselAllam/cospace/f1d97a8/lib/app_settings/views/wishlist_screen.dart | BaselAllam/cospace f1d97a8 lib/app_settings/views/wishlist_screen.dart | true | 200 | 1,762 | import 'package:cospace/cospace/logic/cospace_cubit.dart';
import 'package:cospace/cospace/logic/cospace_state.dart';
import 'package:cospace/shared/shared_theme/app_colors.dart';
import 'package:cospace/shared/shared_theme/app_fonts.dart';
import 'package:cospace/shared/shared_widgets/cospace_widget.dart';
import 'pac... | 0 |
RaghavArora1163/Demand | 56523c2 | app/lib/domain/model/response/gallary_list_response.dart | Dart | www.github.com/RaghavArora1163/Demand/tree/main/app/lib/domain/model/response/gallary_list_response.dart | https://raw.githubusercontent.com/RaghavArora1163/Demand/56523c2/app/lib/domain/model/response/gallary_list_response.dart | RaghavArora1163/Demand 56523c2 app/lib/domain/model/response/gallary_list_response.dart | true | 200 | 1,610 |
class GalleryListUploadResponse {
DateTime? timestamp;
bool? status;
String? message;
Data? data;
GalleryListUploadResponse({
this.timestamp,
this.status,
this.message,
this.data,
});
GalleryListUploadResponse copyWith({
DateTime? timestamp,
bool? status,
String? message,
... | 6 |
An7orAhmed/toletbd | 18063ce | lib/screen/owner/edit_flat.dart | Dart | www.github.com/An7orAhmed/toletbd/tree/main/lib/screen/owner/edit_flat.dart | https://raw.githubusercontent.com/An7orAhmed/toletbd/18063ce/lib/screen/owner/edit_flat.dart | An7orAhmed/toletbd 18063ce lib/screen/owner/edit_flat.dart | true | 200 | 11,388 | import 'package:cached_network_image/cached_network_image.dart';
import 'package:firebase_storage/firebase_storage.dart';
import 'package:flutter/material.dart';
import 'package:image_picker/image_picker.dart';
import '../../constants.dart';
import '../../model/rent.dart';
import '../../utilities.dart';
class EditFlat... | 7 |
mhmdfathy96/portfolio_flutter | 21a4d86 | lib/src/features/splash/presentation/screens/splash_screen.dart | Dart | www.github.com/mhmdfathy96/portfolio_flutter/tree/main/lib/src/features/splash/presentation/screens/splash_screen.dart | https://raw.githubusercontent.com/mhmdfathy96/portfolio_flutter/21a4d86/lib/src/features/splash/presentation/screens/splash_screen.dart | mhmdfathy96/portfolio_flutter 21a4d86 lib/src/features/splash/presentation/screens/splash_screen.dart | true | 200 | 2,224 | import 'dart:async';
import 'dart:io';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:project_template/src/config/locale/app_localizations.dart';
import 'package:project_template/src/core/responsive/media_query_values.dart';
import 'package:project_template/src... | 1 |
quiquereds/cursoFlutter | cfd9cf9 | widgets_app/lib/presentation/screens/ui_controls/ui_controls_screen.dart | Dart | www.github.com/quiquereds/cursoFlutter/tree/main/widgets_app/lib/presentation/screens/ui_controls/ui_controls_screen.dart | https://raw.githubusercontent.com/quiquereds/cursoFlutter/cfd9cf9/widgets_app/lib/presentation/screens/ui_controls/ui_controls_screen.dart | quiquereds/cursoFlutter cfd9cf9 widgets_app/lib/presentation/screens/ui_controls/ui_controls_screen.dart | true | 200 | 4,566 | import 'package:flutter/material.dart';
class UIControlsScreen extends StatelessWidget {
static const name = 'ui_controls_screen';
const UIControlsScreen({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('UI Controls +... | 4 |
ahelmoselhy/LearnFlutterProject | 103f77f | lib/ui/stateless/image_and_icon.dart | Dart | www.github.com/ahelmoselhy/LearnFlutterProject/tree/main/lib/ui/stateless/image_and_icon.dart | https://raw.githubusercontent.com/ahelmoselhy/LearnFlutterProject/103f77f/lib/ui/stateless/image_and_icon.dart | ahelmoselhy/LearnFlutterProject 103f77f lib/ui/stateless/image_and_icon.dart | true | 200 | 1,463 | import 'package:flutter/material.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
class ImageAndIcon extends StatelessWidget {
const ImageAndIcon({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: IconButton(
icon... | 3 |
slavafridman/mvvm_temp | af8b805 | lib/ui/currency/widgets/currency_popup.dart | Dart | www.github.com/slavafridman/mvvm_temp/tree/main/lib/ui/currency/widgets/currency_popup.dart | https://raw.githubusercontent.com/slavafridman/mvvm_temp/af8b805/lib/ui/currency/widgets/currency_popup.dart | slavafridman/mvvm_temp af8b805 lib/ui/currency/widgets/currency_popup.dart | true | 200 | 1,904 | import 'package:flutter/material.dart';
import 'package:arc_temp/data/services/api/currency_api_service.dart';
import 'package:arc_temp/ui/currency/view_models/currencies_view_model.dart';
import 'package:arc_temp/data/repositories/currency/currency_repository_remote.dart';
class CurrencyPopup extends StatefulWidget {... | 2 |
heliokamakawa/sample_flutter | 5486725 | flutter_orientacao_tela_inicio/lib/widgets/cartao_nome.dart | Dart | www.github.com/heliokamakawa/sample_flutter/tree/main/flutter_orientacao_tela_inicio/lib/widgets/cartao_nome.dart | https://raw.githubusercontent.com/heliokamakawa/sample_flutter/5486725/flutter_orientacao_tela_inicio/lib/widgets/cartao_nome.dart | heliokamakawa/sample_flutter 5486725 flutter_orientacao_tela_inicio/lib/widgets/cartao_nome.dart | true | 200 | 319 | import 'package:flutter/material.dart';
class CartaoNome extends StatelessWidget {
const CartaoNome({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return const Center(
child: Text('Helio Toshio Kamakawa', style: TextStyle(fontSize: 30),),
);
}
} | 5 |
zorrokid/nature-photos | 2b795ab | lib/repositories/storage_repository.dart | Dart | www.github.com/zorrokid/nature-photos/tree/main/lib/repositories/storage_repository.dart | https://raw.githubusercontent.com/zorrokid/nature-photos/2b795ab/lib/repositories/storage_repository.dart | zorrokid/nature-photos 2b795ab lib/repositories/storage_repository.dart | true | 200 | 968 | import 'dart:io';
import 'dart:typed_data';
import 'package:firebase_storage/firebase_storage.dart';
class StorageRepository {
Future<void> uploadFile(File file, String key) async {
final ref = FirebaseStorage.instance.ref();
final filesRefPath = ref.child(key);
try {
await filesRefPath.putFile(f... | 0 |
generalbcy/tmpesspack | 3c410fe | laboratory_survelliance_system/lib/alarm/models/alarm_dto.dart | Dart | www.github.com/generalbcy/tmpesspack/tree/main/laboratory_survelliance_system/lib/alarm/models/alarm_dto.dart | https://raw.githubusercontent.com/generalbcy/tmpesspack/3c410fe/laboratory_survelliance_system/lib/alarm/models/alarm_dto.dart | generalbcy/tmpesspack 3c410fe laboratory_survelliance_system/lib/alarm/models/alarm_dto.dart | true | 200 | 3,444 | import 'dart:ffi';
import 'package:laboratory_survelliance_system/device/models/device_dto.dart';
import '../../device/models/room.dart';
class AlarmDTO {
int? id;
String? name,
dealPicture,
remark,
roomName,
buildingName,
collegeName,
monitorIndexText,
monitorDataUnit,
... | 1 |
andistevenli/bonku-project | db5bffb | miniproject/lib/View/View-Model/debt_view_model.dart | Dart | www.github.com/andistevenli/bonku-project/tree/main/miniproject/lib/View/View-Model/debt_view_model.dart | https://raw.githubusercontent.com/andistevenli/bonku-project/db5bffb/miniproject/lib/View/View-Model/debt_view_model.dart | andistevenli/bonku-project db5bffb miniproject/lib/View/View-Model/debt_view_model.dart | true | 200 | 1,888 | import 'package:flutter/material.dart';
import 'package:miniproject/Model/formatter.dart';
import 'package:miniproject/Model/helper/supabase_helper_transaction.dart';
import 'package:miniproject/Model/transaction_model.dart';
class DebtViewModel with ChangeNotifier {
final Formatter myFormatter = Formatter();
List... | 6 |
odedeveloper/medime-demo | dbbb50b | lib/utils/theme.dart | Dart | www.github.com/odedeveloper/medime-demo/tree/main/lib/utils/theme.dart | https://raw.githubusercontent.com/odedeveloper/medime-demo/dbbb50b/lib/utils/theme.dart | odedeveloper/medime-demo dbbb50b lib/utils/theme.dart | true | 200 | 1,847 | import 'package:flutter/material.dart';
import 'package:medical360_oth/utils/constant.dart';
class MyThemeData {
// this is for dark theme
static final darkTheme = ThemeData(
fontFamily: 'Montserrat',
brightness: Brightness.light,
scaffoldBackgroundColor: const Color(0xFF1a1c1e),
primaryColor: Colo... | 7 |
imanalsh/fawazchickenresturant | e4e533e | lib/screens/details_meal.dart | Dart | www.github.com/imanalsh/fawazchickenresturant/tree/main/lib/screens/details_meal.dart | https://raw.githubusercontent.com/imanalsh/fawazchickenresturant/e4e533e/lib/screens/details_meal.dart | imanalsh/fawazchickenresturant e4e533e lib/screens/details_meal.dart | true | 200 | 1,080 | import 'package:flutter/material.dart';
import 'package:flutter_application_3/widgets/card_category.dart';
class DetailsMeal extends StatefulWidget {
static const routeName = 'details_meals';
const DetailsMeal({super.key});
@override
State<DetailsMeal> createState() => _DetailsMealState();
}
class _DetailsMe... | 4 |
EddieCodder/MedicApp | b143307 | lib/pantallas/register.dart | Dart | www.github.com/EddieCodder/MedicApp/tree/main/lib/pantallas/register.dart | https://raw.githubusercontent.com/EddieCodder/MedicApp/b143307/lib/pantallas/register.dart | EddieCodder/MedicApp b143307 lib/pantallas/register.dart | true | 200 | 7,288 | import 'package:flutter/material.dart';
import 'package:medic_app/pantallas/login.dart';
import 'package:medic_app/pantallas/splash_screen.dart';
import 'package:provider/provider.dart';
import '../providers/auth.dart';
import 'components/autenticate_fields.dart';
class RegisterScreen extends StatelessWidget {
Regis... | 2 |
etcotech/date_world | 15d0c2a | lib/features/reorder/controllers/re_order_controller.dart | Dart | www.github.com/etcotech/date_world/tree/main/lib/features/reorder/controllers/re_order_controller.dart | https://raw.githubusercontent.com/etcotech/date_world/15d0c2a/lib/features/reorder/controllers/re_order_controller.dart | etcotech/date_world 15d0c2a lib/features/reorder/controllers/re_order_controller.dart | true | 200 | 1,120 | import 'dart:async';
import 'package:date_world/common/basewidget/show_custom_snakbar_widget.dart';
import 'package:date_world/data/model/api_response.dart';
import 'package:date_world/features/cart/screens/cart_screen.dart';
import 'package:date_world/features/reorder/domain/services/re_order_service_interface.dart';... | 5 |
IsD4n73/Paddock-Club-F1 | cb33b5a | lib/widget/session_tile.dart | Dart | www.github.com/IsD4n73/Paddock-Club-F1/tree/main/lib/widget/session_tile.dart | https://raw.githubusercontent.com/IsD4n73/Paddock-Club-F1/cb33b5a/lib/widget/session_tile.dart | IsD4n73/Paddock-Club-F1 cb33b5a lib/widget/session_tile.dart | true | 200 | 2,236 | // ignore_for_file: must_be_immutable
import "package:flutter/material.dart";
import "../common/colors.dart";
class SessionListTile extends StatelessWidget {
String title;
String subTitle;
bool isToday;
bool nextPage;
int type; // 0 : practice - 1 qualify - 2 sprint - 3 race:
void Function()? onTap;
Se... | 0 |
athitdev/simple_online_shopping | abb9bf0 | lib/src/features/product/screens/product_detail_page.dart | Dart | www.github.com/athitdev/simple_online_shopping/tree/main/lib/src/features/product/screens/product_detail_page.dart | https://raw.githubusercontent.com/athitdev/simple_online_shopping/abb9bf0/lib/src/features/product/screens/product_detail_page.dart | athitdev/simple_online_shopping abb9bf0 lib/src/features/product/screens/product_detail_page.dart | true | 200 | 4,905 | import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
import 'package:like_button/like_button.dart';
import 'package:provider/provider.dart';
import 'package:simple_online_shopping/src/common/product_model.dart';
import '../../../../themes/app_theme.dart';
import '../../../common/popup_widget.dart';... | 7 |
hovanhung98hust/flutter_02 | e47bf15 | techmaster_buoi3/lib/example/list_category/list_category.dart | Dart | www.github.com/hovanhung98hust/flutter_02/tree/main/techmaster_buoi3/lib/example/list_category/list_category.dart | https://raw.githubusercontent.com/hovanhung98hust/flutter_02/e47bf15/techmaster_buoi3/lib/example/list_category/list_category.dart | hovanhung98hust/flutter_02 e47bf15 techmaster_buoi3/lib/example/list_category/list_category.dart | true | 200 | 1,199 | import 'package:flutter/material.dart';
import 'package:techmaster_buoi3/example/list_category/category_model.dart';
import 'package:techmaster_buoi3/example/list_category/item_category.dart';
class ListCategory extends StatefulWidget {
const ListCategory({Key? key}) : super(key: key);
@override
State<ListCateg... | 3 |
shreesha-21/Matrix-Client-Chat-App | bd8c7a4 | lib/features/login_registration/pages/sign_in_page.dart | Dart | www.github.com/shreesha-21/Matrix-Client-Chat-App/tree/main/lib/features/login_registration/pages/sign_in_page.dart | https://raw.githubusercontent.com/shreesha-21/Matrix-Client-Chat-App/bd8c7a4/lib/features/login_registration/pages/sign_in_page.dart | shreesha-21/Matrix-Client-Chat-App bd8c7a4 lib/features/login_registration/pages/sign_in_page.dart | true | 200 | 4,608 | import 'dart:ui';
import 'package:matrix_chat_app/features/chat/pages/chat_home_page.dart';
import '/features/login_registration/pages/login_home.dart';
import 'package:flutter/material.dart';
import 'package:matrix/matrix.dart';
import 'package:path_provider/path_provider.dart';
import 'package:provider/provider.dart... | 1 |
Redcom1988/eco-scan-app | 2e63392 | lib/widgets/comment_input.dart | Dart | www.github.com/Redcom1988/eco-scan-app/tree/main/lib/widgets/comment_input.dart | https://raw.githubusercontent.com/Redcom1988/eco-scan-app/2e63392/lib/widgets/comment_input.dart | Redcom1988/eco-scan-app 2e63392 lib/widgets/comment_input.dart | true | 200 | 1,504 | // lib/widgets/comment_input.dart
import 'package:flutter/material.dart';
class CommentInput extends StatelessWidget {
final TextEditingController controller;
final VoidCallback onSubmit;
const CommentInput({
Key? key,
required this.controller,
required this.onSubmit,
}) : super(key: key);
@ove... | 0 |
AngeloAvv/flutter_flavorizr | 15db53f | lib/src/processors/commons/delete_file_processor.dart | Dart | www.github.com/AngeloAvv/flutter_flavorizr/tree/main/lib/src/processors/commons/delete_file_processor.dart | https://raw.githubusercontent.com/AngeloAvv/flutter_flavorizr/15db53f/lib/src/processors/commons/delete_file_processor.dart | AngeloAvv/flutter_flavorizr 15db53f lib/src/processors/commons/delete_file_processor.dart | true | 200 | 1,744 | /*
* Copyright (c) 2024 Angelo Cassano
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, merge, p... | 5 |
nawghare123/fastrack | ec32d2b | lib/others/bottomnavbar.dart | Dart | www.github.com/nawghare123/fastrack/tree/main/lib/others/bottomnavbar.dart | https://raw.githubusercontent.com/nawghare123/fastrack/ec32d2b/lib/others/bottomnavbar.dart | nawghare123/fastrack ec32d2b lib/others/bottomnavbar.dart | true | 200 | 3,013 | import 'package:fasttrack/Screens/Payment_history.dart';
import 'package:fasttrack/Screens/Teleconsultancy.dart';
import 'package:fasttrack/Screens/ambulance_services.dart';
import 'package:fasttrack/Screens/homecare_services.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import... | 2 |
BaoTrung37/flutter_template_bloc | 81a7e09 | lib/data/dto/user/response/user_response.dart | Dart | www.github.com/BaoTrung37/flutter_template_bloc/tree/main/lib/data/dto/user/response/user_response.dart | https://raw.githubusercontent.com/BaoTrung37/flutter_template_bloc/81a7e09/lib/data/dto/user/response/user_response.dart | BaoTrung37/flutter_template_bloc 81a7e09 lib/data/dto/user/response/user_response.dart | true | 200 | 310 | import 'package:freezed_annotation/freezed_annotation.dart';
part 'user_response.g.dart';
@JsonSerializable()
class UserResponse {
UserResponse({
required this.username,
});
factory UserResponse.fromJson(Map<String, dynamic> json) =>
_$UserResponseFromJson(json);
final String username;
}
| 6 |
moses-ramoeletsi/Ova-Assignment-FLUTTER-Ramoeletsi | e88aaa3 | lib/components/custom_text_field.dart | Dart | www.github.com/moses-ramoeletsi/Ova-Assignment-FLUTTER-Ramoeletsi/tree/main/lib/components/custom_text_field.dart | https://raw.githubusercontent.com/moses-ramoeletsi/Ova-Assignment-FLUTTER-Ramoeletsi/e88aaa3/lib/components/custom_text_field.dart | moses-ramoeletsi/Ova-Assignment-FLUTTER-Ramoeletsi e88aaa3 lib/components/custom_text_field.dart | true | 200 | 829 | import 'package:flutter/material.dart';
class CutsomTextField extends StatelessWidget {
final TextEditingController controller;
final String hintText;
final bool obscureText;
const CutsomTextField({super.key, required this.controller, required this.hintText, required this.obscureText});
@override
Widget ... | 3 |
eeimaan/cartify | e65294a | lib/utils/snackbar_messanger.dart | Dart | www.github.com/eeimaan/cartify/tree/main/lib/utils/snackbar_messanger.dart | https://raw.githubusercontent.com/eeimaan/cartify/e65294a/lib/utils/snackbar_messanger.dart | eeimaan/cartify e65294a lib/utils/snackbar_messanger.dart | true | 200 | 454 | import 'package:flutter/material.dart';
import 'package:flutter_application_1/constants/color_constants.dart';
class SnackBarHelper {
static void showSnackBar(BuildContext context, String message) {
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
backgroundColor: AppColors.colorDarkBkue,
... | 1 |
fhir-fli/fhir_r4 | 241fb92 | packages/fhir_r4_utils/lib/src/builders/abstract_types/data_type.dart | Dart | www.github.com/fhir-fli/fhir_r4/tree/main/packages/fhir_r4_utils/lib/src/builders/abstract_types/data_type.dart | https://raw.githubusercontent.com/fhir-fli/fhir_r4/241fb92/packages/fhir_r4_utils/lib/src/builders/abstract_types/data_type.dart | fhir-fli/fhir_r4 241fb92 packages/fhir_r4_utils/lib/src/builders/abstract_types/data_type.dart | true | 200 | 2,411 | import 'dart:convert';
import 'package:fhir_r4_utils/fhir_r4_utils.dart';
import 'package:yaml/yaml.dart';
/// Base class for all reusable types defined as part of the FHIR specification.
abstract class DataTypeBuilder extends ElementBuilder {
/// Constructor for DataType
DataTypeBuilder({
super.id,
super... | 4 |
Flutter007/test5 | 33258df | lib/helpers/request.dart | Dart | www.github.com/Flutter007/test5/tree/main/lib/helpers/request.dart | https://raw.githubusercontent.com/Flutter007/test5/33258df/lib/helpers/request.dart | Flutter007/test5 33258df lib/helpers/request.dart | true | 200 | 699 | import 'dart:convert';
import 'package:http/http.dart' as http;
Future<dynamic> requestGet(String url) async {
final response = await http.get(Uri.parse(url));
if (response.statusCode == 200) {
return json.decode(response.body);
} else {
throw Exception('Sorry, something went wrong!');
}
}
Future<dyn... | 5 |
kw3ller/SymbolicTracerFlutter | 5878c90 | flutter-application/demo/lib/tabs/top_tab.dart | Dart | www.github.com/kw3ller/SymbolicTracerFlutter/tree/main/flutter-application/demo/lib/tabs/top_tab.dart | https://raw.githubusercontent.com/kw3ller/SymbolicTracerFlutter/5878c90/flutter-application/demo/lib/tabs/top_tab.dart | kw3ller/SymbolicTracerFlutter 5878c90 flutter-application/demo/lib/tabs/top_tab.dart | true | 200 | 4,231 | import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:pluto_layout/pluto_layout.dart';
import 'package:pluto_menu_bar/pluto_menu_bar.dart';
import '../helper/launch_url.dart';
final _isAndroid = defaultTargetPlatform == TargetPlatform.android;
final _isIOS = defaultTargetPl... | 0 |
abdulsaboor009/WondaLearn | f40d204 | lib/views/screens/authentication/login/login.dart | Dart | www.github.com/abdulsaboor009/WondaLearn/tree/main/lib/views/screens/authentication/login/login.dart | https://raw.githubusercontent.com/abdulsaboor009/WondaLearn/f40d204/lib/views/screens/authentication/login/login.dart | abdulsaboor009/WondaLearn f40d204 lib/views/screens/authentication/login/login.dart | true | 200 | 1,101 | import 'package:flutter/material.dart';
import 'package:quiz/views/screens/authentication/login/components/textfields.dart';
import '../../../../utils/constants/appassets.dart';
import '../../../widgets/responsive_size.dart';
import '../common components/header.dart';
class LoginScreen extends StatelessWidget {
cons... | 6 |
leooruiz/flutter-app-first-project | ae9e3bb | lib/first_project/screens/initial_screen.dart | Dart | www.github.com/leooruiz/flutter-app-first-project/tree/main/lib/first_project/screens/initial_screen.dart | https://raw.githubusercontent.com/leooruiz/flutter-app-first-project/ae9e3bb/lib/first_project/screens/initial_screen.dart | leooruiz/flutter-app-first-project ae9e3bb lib/first_project/screens/initial_screen.dart | true | 200 | 2,834 | import 'package:flutter/material.dart';
import 'package:flutter_studies/first_project/data/all_level_inheritered.dart';
import 'package:flutter_studies/first_project/data/task_inherited.dart';
import 'package:flutter_studies/first_project/screens/form_screen.dart';
class InitialScreen extends StatefulWidget {
const ... | 7 |
YeFei572/flutter_cim_plus | 5bd979e | lib/middlewares/route_auth.dart | Dart | www.github.com/YeFei572/flutter_cim_plus/tree/main/lib/middlewares/route_auth.dart | https://raw.githubusercontent.com/YeFei572/flutter_cim_plus/5bd979e/lib/middlewares/route_auth.dart | YeFei572/flutter_cim_plus 5bd979e lib/middlewares/route_auth.dart | true | 200 | 516 | import 'package:flutter/cupertino.dart';
import 'package:flutter_cim_plus/route/route.dart';
import 'package:get/get.dart';
class RouteAuthMiddleware extends GetMiddleware {
@override
RouteSettings? redirect(String? route) {
if (route == AppRoutes.login) {
return null;
} else {
Future.delayed(
... | 2 |
dhruvikapdi23/dhruvi_practical | 6cdbb2f | lib/common/app_fonts.dart | Dart | www.github.com/dhruvikapdi23/dhruvi_practical/tree/main/lib/common/app_fonts.dart | https://raw.githubusercontent.com/dhruvikapdi23/dhruvi_practical/6cdbb2f/lib/common/app_fonts.dart | dhruvikapdi23/dhruvi_practical 6cdbb2f lib/common/app_fonts.dart | true | 200 | 598 |
class AppFonts {
final covidAlert = "COVID-19 alert";
final cheapestFlight = "Cheapest Flight";
final total = "Total";
final ourAdvice = "Our advice: ";
final wait = "Wait";
final toAms = "To AMS";
final timeDate = "Wednesday, June 1";
final additionalInfo = "Additional Information";
final contiune ... | 3 |
Sahilkumr/Eatables | 65891aa | lib/widgets/meal_item.dart | Dart | www.github.com/Sahilkumr/Eatables/tree/main/lib/widgets/meal_item.dart | https://raw.githubusercontent.com/Sahilkumr/Eatables/65891aa/lib/widgets/meal_item.dart | Sahilkumr/Eatables 65891aa lib/widgets/meal_item.dart | true | 200 | 3,535 | import 'package:eatables/models/meal.dart';
import 'package:eatables/screens/meal_detail.dart';
import 'package:eatables/widgets/meal_item_meta.dart';
import 'package:flutter/material.dart';
import 'package:transparent_image/transparent_image.dart';
class MealItem extends StatelessWidget {
const MealItem({
super... | 1 |
JosmenDev/proyecto-rutaya-frontend | 05931e8 | lib/src/domain/models/AgencyRoutes.dart | Dart | www.github.com/JosmenDev/proyecto-rutaya-frontend/tree/main/lib/src/domain/models/AgencyRoutes.dart | https://raw.githubusercontent.com/JosmenDev/proyecto-rutaya-frontend/05931e8/lib/src/domain/models/AgencyRoutes.dart | JosmenDev/proyecto-rutaya-frontend 05931e8 lib/src/domain/models/AgencyRoutes.dart | true | 200 | 321 | class AgencyRoutes {
final String routeId;
final String agencyId;
AgencyRoutes({required this.routeId, required this.agencyId});
factory AgencyRoutes.fromTxt(String line) {
final parts = line.split(',');
return AgencyRoutes(
routeId: parts[0].trim(),
agencyId: parts[1].trim(),
);
}
}... | 4 |
geronimol/flutter_examples | d503a28 | lib/screens/carousel_slider_screen.dart | Dart | www.github.com/geronimol/flutter_examples/tree/main/lib/screens/carousel_slider_screen.dart | https://raw.githubusercontent.com/geronimol/flutter_examples/d503a28/lib/screens/carousel_slider_screen.dart | geronimol/flutter_examples d503a28 lib/screens/carousel_slider_screen.dart | true | 200 | 4,365 | import 'package:flutter/material.dart';
import 'package:carousel_slider/carousel_slider.dart';
import '../constants.dart';
class CarouselSliderScreen extends StatelessWidget {
const CarouselSliderScreen({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
... | 5 |
samruddhi-27/to_do | 25bec32 | lib/model/todo.dart | Dart | www.github.com/samruddhi-27/to_do/tree/main/lib/model/todo.dart | https://raw.githubusercontent.com/samruddhi-27/to_do/25bec32/lib/model/todo.dart | samruddhi-27/to_do 25bec32 lib/model/todo.dart | true | 200 | 549 | class ToDo{
String? id;
String todoText;
bool isDone;
ToDo({
required this.id,
required this.todoText,
this.isDone= false,
});
static List<ToDo> todoList() {
return [
ToDo(id: '01', todoText: 'Morning Exercise',isDone: true),
ToDo(id: '02', todoText: 'Buy Groceries',isDone: true),
... | 7 |
AhmedTarekAbdElRahman/magna | bb56fcb | lib/Features/D&N/Profile/presentation/views/profile_edit_view.dart | Dart | www.github.com/AhmedTarekAbdElRahman/magna/tree/main/lib/Features/D&N/Profile/presentation/views/profile_edit_view.dart | https://raw.githubusercontent.com/AhmedTarekAbdElRahman/magna/bb56fcb/lib/Features/D%26N/Profile/presentation/views/profile_edit_view.dart | AhmedTarekAbdElRahman/magna bb56fcb lib/Features/D&N/Profile/presentation/views/profile_edit_view.dart | true | 200 | 464 | import 'package:flutter/material.dart';
import '../../../../../Core/model/user_model/user_model.dart';
import 'widgets/profile_edit_view_body.dart';
class ProfileEditView extends StatelessWidget {
const ProfileEditView({Key? key,}) : super(key: key);
@override
Widget build(BuildContext context) {
UserModel?... | 2 |
humamafif/simple-food-app | def78c7 | lib/feature/meals/model/meal_model.dart | Dart | www.github.com/humamafif/simple-food-app/tree/main/lib/feature/meals/model/meal_model.dart | https://raw.githubusercontent.com/humamafif/simple-food-app/def78c7/lib/feature/meals/model/meal_model.dart | humamafif/simple-food-app def78c7 lib/feature/meals/model/meal_model.dart | true | 200 | 621 | class MealModel {
final String title, keterangan, category, gambar;
MealModel({
required this.title,
required this.keterangan,
required this.category,
required this.gambar,
});
factory MealModel.fromJson(Map<String, dynamic> json) {
return MealModel(
title: json["strMeal"],
ket... | 0 |
1252158112/1252158112.github.io | 8e7a200 | lib/components/formfield.dart | Dart | www.github.com/1252158112/1252158112.github.io/tree/main/lib/components/formfield.dart | https://raw.githubusercontent.com/1252158112/1252158112.github.io/8e7a200/lib/components/formfield.dart | 1252158112/1252158112.github.io 8e7a200 lib/components/formfield.dart | true | 200 | 1,579 | import 'package:flutter/material.dart';
import '../constants.dart';
class MyFormField {
InputDecoration getTextFieldDecoration(
String hintText, BuildContext context, IconData icon) {
return InputDecoration(
hintText: hintText,
border: InputBorder.none,
fillColor: Theme.of(context).color... | 6 |
inisialer/weget | 2c661bd | lib/bloc/form/form_state.dart | Dart | www.github.com/inisialer/weget/tree/main/lib/bloc/form/form_state.dart | https://raw.githubusercontent.com/inisialer/weget/2c661bd/lib/bloc/form/form_state.dart | inisialer/weget 2c661bd lib/bloc/form/form_state.dart | true | 200 | 697 | part of 'form_bloc.dart';
class FormUpdateState extends Equatable {
final String? value1;
final String value2;
final String value3;
final String value4;
const FormUpdateState({
this.value1,
this.value2 = '',
this.value3 = '',
this.value4 = '',
});
FormUpdateState copyWith({
String? ... | 3 |
ugunNet21/flutter_crud | 05cf50b | lib/main.dart | Dart | www.github.com/ugunNet21/flutter_crud/tree/main/lib/main.dart | https://raw.githubusercontent.com/ugunNet21/flutter_crud/05cf50b/lib/main.dart | ugunNet21/flutter_crud 05cf50b lib/main.dart | true | 200 | 453 | import 'package:flutter/material.dart';
import 'package:flutter_crud/screens/product_list.dart';
void main() {
runApp( MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'E-Commerce App',
theme: ThemeData(
primarySw... | 4 |
oanguin/toxicity-checker | 21406a5 | lib/clients/nutrition_ix_client.dart | Dart | www.github.com/oanguin/toxicity-checker/tree/main/lib/clients/nutrition_ix_client.dart | https://raw.githubusercontent.com/oanguin/toxicity-checker/21406a5/lib/clients/nutrition_ix_client.dart | oanguin/toxicity-checker 21406a5 lib/clients/nutrition_ix_client.dart | true | 200 | 3,261 | import 'dart:developer';
import 'package:flutter/foundation.dart';
import 'package:rest_client/rest_client.dart';
import 'package:toxicity_checker/clients/models/food_data.dart';
class NutritionIX {
late final Client _restClient;
NutritionIX(this._restClient);
Map<String, String> _headers() {
return {"Con... | 1 |
Seb-SB/KIT302-frith | 94209a6 | flutter_application_frith/lib/Request_Backup/backup_success.dart | Dart | www.github.com/Seb-SB/KIT302-frith/tree/main/flutter_application_frith/lib/Request_Backup/backup_success.dart | https://raw.githubusercontent.com/Seb-SB/KIT302-frith/94209a6/flutter_application_frith/lib/Request_Backup/backup_success.dart | Seb-SB/KIT302-frith 94209a6 flutter_application_frith/lib/Request_Backup/backup_success.dart | true | 200 | 2,885 | import 'package:flutter/material.dart';
/**
* successful request backup
*
*/
class SuccessfulResponsePage extends StatefulWidget {
const SuccessfulResponsePage({key, required this.title});
final String title;
@override
State<SuccessfulResponsePage> createState() => _SuccessfulResponsePageState();
}
class ... | 5 |
CBS-Developments/CBS-Task-Web | 39d35d0 | task_web/lib/pages/loginPage.dart | Dart | www.github.com/CBS-Developments/CBS-Task-Web/tree/main/task_web/lib/pages/loginPage.dart | https://raw.githubusercontent.com/CBS-Developments/CBS-Task-Web/39d35d0/task_web/lib/pages/loginPage.dart | CBS-Developments/CBS-Task-Web 39d35d0 task_web/lib/pages/loginPage.dart | true | 200 | 8,884 | import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:task_web/methods/TextFieldLogin.dart';
import 'package:task_web/methods/colors.dart';
import 'package:task_web/methods/textFieldContainer.dart';
import 'package:task_web/pages/cre... | 2 |
haadiyaa/eventeaze | 462ea12 | lib/app/view/screens/homescreen/widgets/upcominglist.dart | Dart | www.github.com/haadiyaa/eventeaze/tree/main/lib/app/view/screens/homescreen/widgets/upcominglist.dart | https://raw.githubusercontent.com/haadiyaa/eventeaze/462ea12/lib/app/view/screens/homescreen/widgets/upcominglist.dart | haadiyaa/eventeaze 462ea12 lib/app/view/screens/homescreen/widgets/upcominglist.dart | true | 200 | 3,202 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:eventeaze/app/view/screens/eventdetailspage/page/eventdetailspage.dart';
import 'package:eventeaze/app/view/screens/profilescreen/page/usereventdetailspage.dart';
import 'package:eventeaze/app/view/common/design/eventdetails/eventhorizontalcard.dart... | 7 |
HanyHagar/Islamic | 68a49cf | lib/screens/main_screen/tasbeeh_screen.dart | Dart | www.github.com/HanyHagar/Islamic/tree/main/lib/screens/main_screen/tasbeeh_screen.dart | https://raw.githubusercontent.com/HanyHagar/Islamic/68a49cf/lib/screens/main_screen/tasbeeh_screen.dart | HanyHagar/Islamic 68a49cf lib/screens/main_screen/tasbeeh_screen.dart | true | 200 | 8,008 |
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:islamic_app/Cubit/cubit.dart';
import 'package:islamic_app/Cubit/statues.dart';
import 'package:islamic_app/data/lang_data.dart';
import 'package:islamic_app/screens/layouts/home_screen.dart';
import 'package:islam... | 6 |
yahia-safwat/e_store_admin | bc111c8 | lib/presentation/widgets/order_card.dart | Dart | www.github.com/yahia-safwat/e_store_admin/tree/main/lib/presentation/widgets/order_card.dart | https://raw.githubusercontent.com/yahia-safwat/e_store_admin/bc111c8/lib/presentation/widgets/order_card.dart | yahia-safwat/e_store_admin bc111c8 lib/presentation/widgets/order_card.dart | true | 200 | 7,448 | import 'package:e_store_app1_admin/core/components/dialog/order_dialog.dart/order_dialog.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:internet_connection_checker/internet_connection_checker.dart';
import 'p... | 3 |
ChavanAV/portfolio_web | 3e7a75a | lib/utils/hover_effect/icon.dart | Dart | www.github.com/ChavanAV/portfolio_web/tree/main/lib/utils/hover_effect/icon.dart | https://raw.githubusercontent.com/ChavanAV/portfolio_web/3e7a75a/lib/utils/hover_effect/icon.dart | ChavanAV/portfolio_web 3e7a75a lib/utils/hover_effect/icon.dart | true | 200 | 1,064 | import 'package:flutter/material.dart';
class OnHoverIconAnimation extends StatefulWidget {
final Widget child;
final double margin;
const OnHoverIconAnimation({Key? key, required this.child, required this.margin}) : super(key: key);
@override
State<OnHoverIconAnimation> createState() => _OnHoverIconAnimatio... | 0 |
AbdelrahmanAyman1/bmi_tracker | 732b125 | lib/services/fire_store.dart | Dart | www.github.com/AbdelrahmanAyman1/bmi_tracker/tree/main/lib/services/fire_store.dart | https://raw.githubusercontent.com/AbdelrahmanAyman1/bmi_tracker/732b125/lib/services/fire_store.dart | AbdelrahmanAyman1/bmi_tracker 732b125 lib/services/fire_store.dart | true | 200 | 1,324 | import 'package:bmi_tracker/model/result_model.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
class FireStoreFunctions {
static Future<void> addResult(ResultModel resultModel) async {
var collection = getRes... | 1 |
paulmrg-461/cat_breeds_app | 45c1736 | lib/domain/entities/cat_breed.dart | Dart | www.github.com/paulmrg-461/cat_breeds_app/tree/main/lib/domain/entities/cat_breed.dart | https://raw.githubusercontent.com/paulmrg-461/cat_breeds_app/45c1736/lib/domain/entities/cat_breed.dart | paulmrg-461/cat_breeds_app 45c1736 lib/domain/entities/cat_breed.dart | true | 200 | 1,665 | import 'dart:convert';
CatBreed catBreedFromJson(String str) => CatBreed.fromJson(json.decode(str));
String catBreedToJson(CatBreed data) => json.encode(data.toJson());
class CatBreed {
final String id;
final String name;
final String origin;
final String countryCode;
final String description;
final Stri... | 4 |
AuroxaTech/Meal-Driver | 6d66cbb | lib/models/payment_account_info.dart | Dart | www.github.com/AuroxaTech/Meal-Driver/tree/main/lib/models/payment_account_info.dart | https://raw.githubusercontent.com/AuroxaTech/Meal-Driver/6d66cbb/lib/models/payment_account_info.dart | AuroxaTech/Meal-Driver 6d66cbb lib/models/payment_account_info.dart | true | 200 | 1,023 | import 'dart:convert';
import 'package:supercharged/supercharged.dart';
PaymentAccountInfo paymentAccountInfoFromJson(String str) =>
PaymentAccountInfo.fromJson(json.decode(str));
String paymentAccountInfoToJson(PaymentAccountInfo data) =>
json.encode(data.toJson());
class PaymentAccountInfo {
PaymentAccou... | 5 |
mohammadjawid10/YouTube-App | 155a7c6 | lib/features/auth/data/repository/user_data_service.dart | Dart | www.github.com/mohammadjawid10/YouTube-App/tree/main/lib/features/auth/data/repository/user_data_service.dart | https://raw.githubusercontent.com/mohammadjawid10/YouTube-App/155a7c6/lib/features/auth/data/repository/user_data_service.dart | mohammadjawid10/YouTube-App 155a7c6 lib/features/auth/data/repository/user_data_service.dart | true | 200 | 2,544 | // ignore_for_file: public_member_api_docs, sort_constructors_first
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:google_sign_in/google_sign_in.dart';
import '../model/user.dart';
final ... | 7 |
scientisthamster/flutter_articles | 5545513 | lib/presentation/widgets/app_shimmer.dart | Dart | www.github.com/scientisthamster/flutter_articles/tree/main/lib/presentation/widgets/app_shimmer.dart | https://raw.githubusercontent.com/scientisthamster/flutter_articles/5545513/lib/presentation/widgets/app_shimmer.dart | scientisthamster/flutter_articles 5545513 lib/presentation/widgets/app_shimmer.dart | true | 200 | 700 | import 'package:flutter/material.dart';
import 'package:flutter_articles/presentation/styles/app_colors.dart';
import 'package:shimmer/shimmer.dart';
class AppShimmer extends StatelessWidget {
final double? width;
final double? height;
const AppShimmer({
super.key,
this.width = 100,
this.height = 10... | 2 |
SbudahNkoane/Ambulance_Dispatch_Application_Admin | 4c1c133 | lib/Views/home_page.dart | Dart | www.github.com/SbudahNkoane/Ambulance_Dispatch_Application_Admin/tree/main/lib/Views/home_page.dart | https://raw.githubusercontent.com/SbudahNkoane/Ambulance_Dispatch_Application_Admin/4c1c133/lib/Views/home_page.dart | SbudahNkoane/Ambulance_Dispatch_Application_Admin 4c1c133 lib/Views/home_page.dart | true | 200 | 8,676 | // ignore_for_file: use_build_context_synchronously
import 'package:admin_app/View_Models/admin_management.dart';
import 'package:admin_app/View_Models/ambulance_management.dart';
import 'package:admin_app/View_Models/auth.dart';
import 'package:admin_app/View_Models/ticket_management.dart';
import 'package:admin_app/... | 6 |
AbdulazizAlkharsDev/sulala_app | 2fa9c44 | lib/src/screens/medical/add_vaccination.dart | Dart | www.github.com/AbdulazizAlkharsDev/sulala_app/tree/main/lib/src/screens/medical/add_vaccination.dart | https://raw.githubusercontent.com/AbdulazizAlkharsDev/sulala_app/2fa9c44/lib/src/screens/medical/add_vaccination.dart | AbdulazizAlkharsDev/sulala_app 2fa9c44 lib/src/screens/medical/add_vaccination.dart | true | 200 | 3,900 | import 'package:flutter/material.dart';
import '../../theme/colors/colors.dart';
import '../../theme/fonts/fonts.dart';
import '../../widgets/controls_and_buttons/buttons/primary_button.dart';
import '../../widgets/inputs/date_fields/primary_date_field.dart';
import '../../widgets/inputs/file_uploader_fields/file_... | 3 |
Salman-n/Hari_Hari-Apps | ff0a0ae | lib/page/ct/fragment_catet.dart | Dart | www.github.com/Salman-n/Hari_Hari-Apps/tree/main/lib/page/ct/fragment_catet.dart | https://raw.githubusercontent.com/Salman-n/Hari_Hari-Apps/ff0a0ae/lib/page/ct/fragment_catet.dart | Salman-n/Hari_Hari-Apps ff0a0ae lib/page/ct/fragment_catet.dart | true | 200 | 3,765 | import 'package:uasd/config/asset.dart';
import 'package:uasd/event/event_rdb.dart';
import 'package:uasd/model/note.dart';
import 'package:uasd/page/ct/add_update_catet.dart';
import 'package:uasd/page/ct/detail_catet.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:intl/in... | 5 |
NicosNicolaou16/SampleDriftDatabaseWithBlocPattern | d9eb6e8 | lib/views/ships_screen/ships_bloc/ships_states.dart | Dart | www.github.com/NicosNicolaou16/SampleDriftDatabaseWithBlocPattern/tree/main/lib/views/ships_screen/ships_bloc/ships_states.dart | https://raw.githubusercontent.com/NicosNicolaou16/SampleDriftDatabaseWithBlocPattern/d9eb6e8/lib/views/ships_screen/ships_bloc/ships_states.dart | NicosNicolaou16/SampleDriftDatabaseWithBlocPattern d9eb6e8 lib/views/ships_screen/ships_bloc/ships_states.dart | true | 200 | 571 | import 'package:sampledriftdatabasewithblocpattern/data/models/ships/ships_data_model.dart';
abstract class ShipsStates {
const ShipsStates();
}
class ShipsInitialState extends ShipsStates {}
class ShipsLoadingState extends ShipsStates {}
class ShipsLoadedState extends ShipsStates {
List<ShipsDataModel> shipsDa... | 1 |
FebricoJonata/LingoPal_Mobile | 69164f1 | lib/presentation/view/home_page/practice_page/widgets/practice_disable.dart | Dart | www.github.com/FebricoJonata/LingoPal_Mobile/tree/main/lib/presentation/view/home_page/practice_page/widgets/practice_disable.dart | https://raw.githubusercontent.com/FebricoJonata/LingoPal_Mobile/69164f1/lib/presentation/view/home_page/practice_page/widgets/practice_disable.dart | FebricoJonata/LingoPal_Mobile 69164f1 lib/presentation/view/home_page/practice_page/widgets/practice_disable.dart | true | 200 | 1,418 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:lingo_pal_mobile/core/color/color_const.dart';
class DisablePractice extends StatelessWidget {
const DisablePractice({super.key});
@override
Widget build(BuildContext context) {
return SizedB... | 2 |
PoulaEmil/Pets-Application | 06f86fa | lib/main.dart | Dart | www.github.com/PoulaEmil/Pets-Application/tree/main/lib/main.dart | https://raw.githubusercontent.com/PoulaEmil/Pets-Application/06f86fa/lib/main.dart | PoulaEmil/Pets-Application 06f86fa lib/main.dart | true | 200 | 672 | import 'package:device_preview/device_preview.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'screens/home_screen.dart';
void main() {
runApp(DevicePreview(
enabled: !kReleaseMode, builder: (context) => const MyApp()));
}
class MyApp extends StatelessWidget {
... | 7 |
WissamAlmsalati/ecomerce | 4dfdc2b | lib/views/auth_screen/auth_sign_in.dart | Dart | www.github.com/WissamAlmsalati/ecomerce/tree/main/lib/views/auth_screen/auth_sign_in.dart | https://raw.githubusercontent.com/WissamAlmsalati/ecomerce/4dfdc2b/lib/views/auth_screen/auth_sign_in.dart | WissamAlmsalati/ecomerce 4dfdc2b lib/views/auth_screen/auth_sign_in.dart | true | 200 | 618 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import '../../controlers/user_controler/cubit/user_contoler_cubit.dart';
import 'componets/sign_in_form.dart';
class SignIn extends StatelessWidget {
const SignIn({super.key});
@override
Widget build(BuildContext context) {... | 6 |
neminsheth/VH23-11-Team-Visionary | 51157d6 | lib/splashscreen.dart | Dart | www.github.com/neminsheth/VH23-11-Team-Visionary/tree/main/lib/splashscreen.dart | https://raw.githubusercontent.com/neminsheth/VH23-11-Team-Visionary/51157d6/lib/splashscreen.dart | neminsheth/VH23-11-Team-Visionary 51157d6 lib/splashscreen.dart | true | 200 | 964 | import 'dart:async';
import 'package:flutter/material.dart';
import 'package:virtual_study_buddy/auth/login.dart';
class SplashScreen extends StatefulWidget {
@override
_SplashScreenState createState() => _SplashScreenState();
}
class _SplashScreenState extends State<SplashScreen> {
@override
void initState()... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.