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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
Zohaib2233/social-media-app | b210eca | lib/view/screens/settings/about.dart | Dart | www.github.com/Zohaib2233/social-media-app/tree/main/lib/view/screens/settings/about.dart | https://raw.githubusercontent.com/Zohaib2233/social-media-app/b210eca/lib/view/screens/settings/about.dart | Zohaib2233/social-media-app b210eca lib/view/screens/settings/about.dart | true | 200 | 1,699 | import 'package:flutter/material.dart';
import 'package:get/get_core/src/get_main.dart';
import 'package:get/get_navigation/get_navigation.dart';
import 'package:soical_media_app/constants/app_images.dart';
import 'package:soical_media_app/constants/app_sizes.dart';
import 'package:soical_media_app/view/screens/setting... | 7 |
IpankCSUI/flutter-nobokek | 58fff21 | lib/main.dart | Dart | www.github.com/IpankCSUI/flutter-nobokek/tree/main/lib/main.dart | https://raw.githubusercontent.com/IpankCSUI/flutter-nobokek/58fff21/lib/main.dart | IpankCSUI/flutter-nobokek 58fff21 lib/main.dart | true | 200 | 738 | import 'package:flutter/material.dart';
import 'package:flutter_nobokek/commons/styles/themes.dart';
import 'package:flutter_nobokek/page/login_page.dart';
import 'package:pbp_django_auth/pbp_django_auth.dart';
import 'package:provider/provider.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends State... | 6 |
RenatTest/fishing | 34ab2c2 | lib/pages/start_page.dart | Dart | www.github.com/RenatTest/fishing/tree/main/lib/pages/start_page.dart | https://raw.githubusercontent.com/RenatTest/fishing/34ab2c2/lib/pages/start_page.dart | RenatTest/fishing 34ab2c2 lib/pages/start_page.dart | true | 200 | 1,829 | import 'package:animated_background/animated_background.dart';
import 'package:animated_fishing/widgets/fish.dart';
import 'package:animated_fishing/widgets/fish2.dart';
import 'package:flutter/material.dart';
import 'package:flutter_joystick/flutter_joystick.dart';
class StartPage extends StatefulWidget {
const Sta... | 0 |
adityaraj1412/Tasky | ab67d28 | lib/introduction_screen/page1.dart | Dart | www.github.com/adityaraj1412/Tasky/tree/main/lib/introduction_screen/page1.dart | https://raw.githubusercontent.com/adityaraj1412/Tasky/ab67d28/lib/introduction_screen/page1.dart | adityaraj1412/Tasky ab67d28 lib/introduction_screen/page1.dart | true | 200 | 292 | import 'package:flutter/material.dart';
class IntroPage1 extends StatelessWidget {
const IntroPage1({super.key});
@override
Widget build(BuildContext context) {
return Container(
color: Colors.white,
child: Image(image: AssetImage('assets/intro/f.jpg')),
);
}
}
| 4 |
UmarNiazi8/Whattsapp-Clone | 41e823b | lib/screens/widgets/contacts_list.dart | Dart | www.github.com/UmarNiazi8/Whattsapp-Clone/tree/main/lib/screens/widgets/contacts_list.dart | https://raw.githubusercontent.com/UmarNiazi8/Whattsapp-Clone/41e823b/lib/screens/widgets/contacts_list.dart | UmarNiazi8/Whattsapp-Clone 41e823b lib/screens/widgets/contacts_list.dart | true | 200 | 2,311 | import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:whattsapp_ui/colors.dart';
import 'package:whattsapp_ui/screens/widgets/info.dart';
import 'package:whattsapp_ui/screens/widgets/mobile_chat_screen.dart';
class ContactsList extends StatelessWidget {
const ContactsList({su... | 1 |
ditobayu/big-io-mobile-dev-intern-test | bfcd190 | lib/features/characters/presentation/widgets/character_info_row.dart | Dart | www.github.com/ditobayu/big-io-mobile-dev-intern-test/tree/main/lib/features/characters/presentation/widgets/character_info_row.dart | https://raw.githubusercontent.com/ditobayu/big-io-mobile-dev-intern-test/bfcd190/lib/features/characters/presentation/widgets/character_info_row.dart | ditobayu/big-io-mobile-dev-intern-test bfcd190 lib/features/characters/presentation/widgets/character_info_row.dart | true | 200 | 883 | import 'package:adhitya/core/theme/app_font.dart';
import 'package:adhitya/core/util/truncate_string.dart';
import 'package:flutter/material.dart';
class CharacterInfoRow extends StatelessWidget {
final String label;
final String? value;
final Widget? valueAsWidget;
const CharacterInfoRow({
super.key,
... | 5 |
beyzanurpursa/HomeMade-Patisserie | 20e0c48 | lib/main.dart | Dart | www.github.com/beyzanurpursa/HomeMade-Patisserie/tree/main/lib/main.dart | https://raw.githubusercontent.com/beyzanurpursa/HomeMade-Patisserie/20e0c48/lib/main.dart | beyzanurpursa/HomeMade-Patisserie 20e0c48 lib/main.dart | true | 200 | 866 | import 'package:flutter/material.dart';
import 'Screens/homePage.dart';
import 'Screens/profile.dart';
import 'Screens/signIn.dart';
import 'Screens/logIn.dart';
import 'Screens/firstPage.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widge... | 2 |
aakashn06/bmi_calculator_app | e82c236 | lib/components/reusableCard.dart | Dart | www.github.com/aakashn06/bmi_calculator_app/tree/main/lib/components/reusableCard.dart | https://raw.githubusercontent.com/aakashn06/bmi_calculator_app/e82c236/lib/components/reusableCard.dart | aakashn06/bmi_calculator_app e82c236 lib/components/reusableCard.dart | true | 200 | 670 | import 'package:flutter/material.dart';
class ReusableCard extends StatelessWidget {
final Color colour;
final Widget cardChild;
final Function()? onPress;
//https://medium.com/@dnkibere/passing-a-function-as-an-argument-flutter-e011ad2afd86
ReusableCard({required this.colour, required this.cardChild, th... | 3 |
amrmhassan/file_manager | 702bac1 | lib/screens/home_screen/home_screen.dart | Dart | www.github.com/amrmhassan/file_manager/tree/main/lib/screens/home_screen/home_screen.dart | https://raw.githubusercontent.com/amrmhassan/file_manager/702bac1/lib/screens/home_screen/home_screen.dart | amrmhassan/file_manager 702bac1 lib/screens/home_screen/home_screen.dart | true | 200 | 3,586 | // ignore_for_file: prefer_const_constructors, prefer_const_literals_to_create_immutables, use_build_context_synchronously
import 'dart:io';
import 'dart:isolate';
import 'package:explorer/utils/providers_calls_utils.dart';
import 'package:explorer/windows_app_code/utils/windows_provider_calls.dart';
import 'package:f... | 7 |
nnasibova/destiny2 | 341fa4a | lib/ui/screens/home_screen/horoscope_screen.dart | Dart | www.github.com/nnasibova/destiny2/tree/main/lib/ui/screens/home_screen/horoscope_screen.dart | https://raw.githubusercontent.com/nnasibova/destiny2/341fa4a/lib/ui/screens/home_screen/horoscope_screen.dart | nnasibova/destiny2 341fa4a lib/ui/screens/home_screen/horoscope_screen.dart | true | 200 | 3,331 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:n9/helpers/constants/app_colors.dart';
import 'package:n9/helpers/constants/app_text_styles.dart';
import 'package:n9/helpers/utils/utils.dart';
class HoroscopeScreen extends StatelessWidget {
final String signZodiac, horoscope, i... | 6 |
majharul-islam181/FlutterBloc_CleanArchitecture | fc20a64 | lib/bloc/login_bloc/login_event.dart | Dart | www.github.com/majharul-islam181/FlutterBloc_CleanArchitecture/tree/main/lib/bloc/login_bloc/login_event.dart | https://raw.githubusercontent.com/majharul-islam181/FlutterBloc_CleanArchitecture/fc20a64/lib/bloc/login_bloc/login_event.dart | majharul-islam181/FlutterBloc_CleanArchitecture fc20a64 lib/bloc/login_bloc/login_event.dart | true | 200 | 614 | part of 'login_bloc.dart';
abstract class LoginEvent extends Equatable {
const LoginEvent();
@override
List<Object> get props => [];
}
class EmailChanged extends LoginEvent {
final String email;
const EmailChanged({required this.email});
@override
List<Object> get props => [email];
}
class EmailUnfocu... | 4 |
dekuChaurasia/Daku-Ment | 1399f40 | lib/views/utils/dynamicappbar.dart | Dart | www.github.com/dekuChaurasia/Daku-Ment/tree/main/lib/views/utils/dynamicappbar.dart | https://raw.githubusercontent.com/dekuChaurasia/Daku-Ment/1399f40/lib/views/utils/dynamicappbar.dart | dekuChaurasia/Daku-Ment 1399f40 lib/views/utils/dynamicappbar.dart | true | 200 | 5,691 | import 'dart:typed_data';
import 'package:docuchan/views/scanners/camera.dart';
import 'package:flutter/material.dart';
import 'dart:convert';
import 'package:docuchan/views/state/gridcontroller.dart';
import 'package:docuchan/views/utils/buttons.dart';
import 'package:docuchan/views/utils/searchbar.dart';
import 'pac... | 1 |
chakifenix/direcrot_mobile_new | 9f15a17 | lib/features/tech_support/presentation/widgets/obrashenie_widget.dart | Dart | www.github.com/chakifenix/direcrot_mobile_new/tree/main/lib/features/tech_support/presentation/widgets/obrashenie_widget.dart | https://raw.githubusercontent.com/chakifenix/direcrot_mobile_new/9f15a17/lib/features/tech_support/presentation/widgets/obrashenie_widget.dart | chakifenix/direcrot_mobile_new 9f15a17 lib/features/tech_support/presentation/widgets/obrashenie_widget.dart | true | 200 | 2,617 | import 'package:direcrot_mobile_new/core/theme/theme.dart';
import 'package:direcrot_mobile_new/features/tech_support/presentation/pages/tech_support_detail.dart';
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dar... | 0 |
theshortsmonkey/jumpIn-frontend | 525e3c9 | lib/user/sign_up_page.dart | Dart | www.github.com/theshortsmonkey/jumpIn-frontend/tree/main/lib/user/sign_up_page.dart | https://raw.githubusercontent.com/theshortsmonkey/jumpIn-frontend/525e3c9/lib/user/sign_up_page.dart | theshortsmonkey/jumpIn-frontend 525e3c9 lib/user/sign_up_page.dart | true | 200 | 752 | import 'package:flutter/material.dart';
import 'package:fe/appbar.dart';
import 'package:fe/utils/background.dart';
import 'package:fe/user/profile_details_form.dart';
class SignUpPage extends StatelessWidget {
const SignUpPage({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
... | 5 |
tuannguyen8531/Jewel-Shop | b953b9b | lib/page/pagelist.dart | Dart | www.github.com/tuannguyen8531/Jewel-Shop/tree/main/lib/page/pagelist.dart | https://raw.githubusercontent.com/tuannguyen8531/Jewel-Shop/b953b9b/lib/page/pagelist.dart | tuannguyen8531/Jewel-Shop b953b9b lib/page/pagelist.dart | true | 200 | 4,106 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
import 'package:jewel_project/data/jewel_data.dart';
import 'package:jewel_project/page/pagedetail.dart';
class PageTypes extends StatelessWidget {
const PageTypes({super.key,
required this.typ... | 2 |
F0Xdesuu/Flutter-Web | cfeb895 | AtividadeToDoList1.0/flutter_application_1/lib/daily_todo_list.dart | Dart | www.github.com/F0Xdesuu/Flutter-Web/tree/main/AtividadeToDoList1.0/flutter_application_1/lib/daily_todo_list.dart | https://raw.githubusercontent.com/F0Xdesuu/Flutter-Web/cfeb895/AtividadeToDoList1.0/flutter_application_1/lib/daily_todo_list.dart | F0Xdesuu/Flutter-Web cfeb895 AtividadeToDoList1.0/flutter_application_1/lib/daily_todo_list.dart | true | 200 | 2,560 | import 'package:flutter/material.dart';
import 'todo_item.dart';
class DailyTodoList extends StatefulWidget {
@override
_DailyTodoListState createState() => _DailyTodoListState();
}
class _DailyTodoListState extends State<DailyTodoList> {
List<TodoItem> _dailyTasks = [];
final TextEditingController _taskCont... | 3 |
hypha-dao/hashed-wallet | 5858080 | lib/screens/profile_screens/switch_network/interactor/viewdata/network_data.dart | Dart | www.github.com/hypha-dao/hashed-wallet/tree/main/lib/screens/profile_screens/switch_network/interactor/viewdata/network_data.dart | https://raw.githubusercontent.com/hypha-dao/hashed-wallet/5858080/lib/screens/profile_screens/switch_network/interactor/viewdata/network_data.dart | hypha-dao/hashed-wallet 5858080 lib/screens/profile_screens/switch_network/interactor/viewdata/network_data.dart | true | 200 | 906 | import 'package:collection/collection.dart';
abstract class NetworkDataListItem {
const NetworkDataListItem();
}
class NetworkDataHeader extends NetworkDataListItem {
final String header;
NetworkDataHeader(this.header);
}
class NetworkData extends NetworkDataListItem {
final String name;
final String info... | 7 |
bero9/basic_store_app | 720ed48 | lib/services/add_product.dart | Dart | www.github.com/bero9/basic_store_app/tree/main/lib/services/add_product.dart | https://raw.githubusercontent.com/bero9/basic_store_app/720ed48/lib/services/add_product.dart | bero9/basic_store_app 720ed48 lib/services/add_product.dart | true | 200 | 590 | import 'package:storeapp/helpers/api_function.dart';
import '../models/product_models.dart';
class AddProduct {
Future<ProductModels> addProduct({ required String title,
required String price,
required String description,
required String image,
required String category}) async {
Map<String,dynamic... | 0 |
BlueAlder/big-toe-app | 1f2c480 | lib/src/services/notification.service.dart | Dart | www.github.com/BlueAlder/big-toe-app/tree/main/lib/src/services/notification.service.dart | https://raw.githubusercontent.com/BlueAlder/big-toe-app/1f2c480/lib/src/services/notification.service.dart | BlueAlder/big-toe-app 1f2c480 lib/src/services/notification.service.dart | true | 200 | 362 | import 'package:flutter/material.dart';
class NotificationService {
void showSnackBarMessage(String message, BuildContext context) {
final snackBar = SnackBar(
content: Text(message),
);
// Find the ScaffoldMessenger in the widget tree
// and use it to show a SnackBar.
ScaffoldMessenger... | 4 |
Fredrick-Karuri/Artohm | 129e5bb | lib/presentation/profile_container_screen/widgets/collection_details_Screen.dart | Dart | www.github.com/Fredrick-Karuri/Artohm/tree/main/lib/presentation/profile_container_screen/widgets/collection_details_Screen.dart | https://raw.githubusercontent.com/Fredrick-Karuri/Artohm/129e5bb/lib/presentation/profile_container_screen/widgets/collection_details_Screen.dart | Fredrick-Karuri/Artohm 129e5bb lib/presentation/profile_container_screen/widgets/collection_details_Screen.dart | true | 200 | 1,213 | import 'package:artohmapp/core/app_export.dart';
import 'package:artohmapp/data/models/collections/collections_model.dart';
import 'package:artohmapp/widgets/custom_appbar_component.dart';
import 'package:flutter/material.dart';
import 'package:get/get_core/src/get_main.dart';
import 'collection_artwork.dart';
class ... | 1 |
ssliwinski07/Flutter-UsersGroupsApp | bbe582e | lib/models/groups/group_with_users_model.dart | Dart | www.github.com/ssliwinski07/Flutter-UsersGroupsApp/tree/main/lib/models/groups/group_with_users_model.dart | https://raw.githubusercontent.com/ssliwinski07/Flutter-UsersGroupsApp/bbe582e/lib/models/groups/group_with_users_model.dart | ssliwinski07/Flutter-UsersGroupsApp bbe582e lib/models/groups/group_with_users_model.dart | true | 200 | 514 | import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:flutter_users_group_app/models/models.dart';
part 'group_with_users_model.freezed.dart';
part 'group_with_users_model.g.dart';
@freezed
class GroupWithUsersModel with _$GroupWithUsersModel {
factory GroupWithUsersModel({
required Grou... | 5 |
ALYMUHAMMAD511/sky_sense_weather_app | 9c0ab60 | lib/widgets/weather_condition_theme.dart | Dart | www.github.com/ALYMUHAMMAD511/sky_sense_weather_app/tree/main/lib/widgets/weather_condition_theme.dart | https://raw.githubusercontent.com/ALYMUHAMMAD511/sky_sense_weather_app/9c0ab60/lib/widgets/weather_condition_theme.dart | ALYMUHAMMAD511/sky_sense_weather_app 9c0ab60 lib/widgets/weather_condition_theme.dart | true | 200 | 1,957 | import 'package:flutter/material.dart';
MaterialColor getThemeColor(String? weatherCondition) {
switch (weatherCondition) {
case null:
return Colors.blue;
case 'Sunny':
case 'Clear':
return Colors.orange;
case 'Partly cloudy':
return Colors.lightBlue;
case 'Cloudy':
case 'Ov... | 2 |
quoctrong1x96/cena-foodie-app-apply-pattern | 25e4d37 | lib/src/data/models/entities/address/address_response.dart | Dart | www.github.com/quoctrong1x96/cena-foodie-app-apply-pattern/tree/main/lib/src/data/models/entities/address/address_response.dart | https://raw.githubusercontent.com/quoctrong1x96/cena-foodie-app-apply-pattern/25e4d37/lib/src/data/models/entities/address/address_response.dart | quoctrong1x96/cena-foodie-app-apply-pattern 25e4d37 lib/src/data/models/entities/address/address_response.dart | true | 200 | 529 | import '../../base_model.dart';
import 'address.dart';
class AddressFetchResponse implements IModel {
List<Address> addresses;
AddressFetchResponse({required this.addresses});
factory AddressFetchResponse.fromJson(Map<String, dynamic> json) =>
AddressFetchResponse(
addresses: List<Address>.from(
... | 3 |
mhdfarhn/wangku | a8d847d | lib/features/transaction/ui/screens/detail_transaction_screen.dart | Dart | www.github.com/mhdfarhn/wangku/tree/main/lib/features/transaction/ui/screens/detail_transaction_screen.dart | https://raw.githubusercontent.com/mhdfarhn/wangku/a8d847d/lib/features/transaction/ui/screens/detail_transaction_screen.dart | mhdfarhn/wangku a8d847d lib/features/transaction/ui/screens/detail_transaction_screen.dart | true | 200 | 4,548 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
import 'package:go_router/go_router.dart';
import 'package:wangku/core/app_router.dart';
import 'package:... | 7 |
caduandrade/tabbed_view_demo | e75e847 | lib/examples/themes/default_themes/mobile_theme.dart | Dart | www.github.com/caduandrade/tabbed_view_demo/tree/main/lib/examples/themes/default_themes/mobile_theme.dart | https://raw.githubusercontent.com/caduandrade/tabbed_view_demo/e75e847/lib/examples/themes/default_themes/mobile_theme.dart | caduandrade/tabbed_view_demo e75e847 lib/examples/themes/default_themes/mobile_theme.dart | true | 200 | 660 | import 'package:demoflu/demoflu.dart';
import 'package:flutter/material.dart';
import 'package:tabbed_view/tabbed_view.dart';
class MobileThemeExample extends Example {
@override
Widget buildMainWidget(BuildContext context) {
List<TabData> tabs = [];
for (var i = 1; i < 7; i++) {
tabs.add(
... | 4 |
Safiya06/LawsApp | 06c4e7f | lib/pages/dushanbe14_ru_page.dart | Dart | www.github.com/Safiya06/LawsApp/tree/main/lib/pages/dushanbe14_ru_page.dart | https://raw.githubusercontent.com/Safiya06/LawsApp/06c4e7f/lib/pages/dushanbe14_ru_page.dart | Safiya06/LawsApp 06c4e7f lib/pages/dushanbe14_ru_page.dart | true | 200 | 3,097 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:lows_app/pages/main_ru_page.dart';
import 'package:url_launcher/url_launcher.dart';
class Dushanbe14RuPage extends StatefulWidget {
const Dushanbe14RuPage({super.key});
@override... | 2 |
AbdelazizDarwish/E-learning-App | 78874e2 | lib/presentation/grid_screens/notes_screen_screen/notes_gridscreen.dart | Dart | www.github.com/AbdelazizDarwish/E-learning-App/tree/main/lib/presentation/grid_screens/notes_screen_screen/notes_gridscreen.dart | https://raw.githubusercontent.com/AbdelazizDarwish/E-learning-App/78874e2/lib/presentation/grid_screens/notes_screen_screen/notes_gridscreen.dart | AbdelazizDarwish/E-learning-App 78874e2 lib/presentation/grid_screens/notes_screen_screen/notes_gridscreen.dart | true | 200 | 414 | import 'package:flutter/material.dart';
class NotesGridScreen extends StatefulWidget {
const NotesGridScreen({Key? key}) : super(key: key);
@override
State<NotesGridScreen> createState() => _NotesGridScreenState();
}
class _NotesGridScreenState extends State<NotesGridScreen> {
@override
Widget build(BuildC... | 5 |
BOSDevTeam/waiter_app | 0d6ece0 | lib/view/login.dart | Dart | www.github.com/BOSDevTeam/waiter_app/tree/main/lib/view/login.dart | https://raw.githubusercontent.com/BOSDevTeam/waiter_app/0d6ece0/lib/view/login.dart | BOSDevTeam/waiter_app 0d6ece0 lib/view/login.dart | true | 200 | 9,075 | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:waiter_app/database/database_helper.dart';
import 'package:waiter_app/view/navigation/nav_order.dart';
import '../provider/login_provider.dart';
import '../value/app_color.dart';
import '../value/app_string.dart';
import '... | 6 |
sitabra1999/spoogle_app | b99ba62 | lib/presentation/journeys/Notifications/Notifications.dart | Dart | www.github.com/sitabra1999/spoogle_app/tree/main/lib/presentation/journeys/Notifications/Notifications.dart | https://raw.githubusercontent.com/sitabra1999/spoogle_app/b99ba62/lib/presentation/journeys/Notifications/Notifications.dart | sitabra1999/spoogle_app b99ba62 lib/presentation/journeys/Notifications/Notifications.dart | true | 200 | 5,453 | import 'dart:async';
import 'package:flutter_spoogle_app/presentation/libraries/AppContents/ProgressLibs/LoaderOverlay.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_spoogle_app/common/extensions/CommonFun.dart';
import 'package:flutter_spoogle_app/data... | 0 |
arpitboss/e-Bucket | 7117918 | e-Bucket/lib/features/shop/controllers/brand_controller.dart | Dart | www.github.com/arpitboss/e-Bucket/tree/main/e-Bucket/lib/features/shop/controllers/brand_controller.dart | https://raw.githubusercontent.com/arpitboss/e-Bucket/7117918/e-Bucket/lib/features/shop/controllers/brand_controller.dart | arpitboss/e-Bucket 7117918 e-Bucket/lib/features/shop/controllers/brand_controller.dart | true | 200 | 1,840 | import 'package:get/get.dart';
import 'package:t_store/data/repositories/products/product_repository.dart';
import 'package:t_store/features/shop/models/brand_model.dart';
import 'package:t_store/features/shop/models/product_model.dart';
import '../../../data/repositories/brands/brand_repository.dart';
import '../../.... | 7 |
jaycoronation/shivalik_institute | 2571852 | lib/viewmodels/CityViewModel.dart | Dart | www.github.com/jaycoronation/shivalik_institute/tree/main/lib/viewmodels/CityViewModel.dart | https://raw.githubusercontent.com/jaycoronation/shivalik_institute/2571852/lib/viewmodels/CityViewModel.dart | jaycoronation/shivalik_institute 2571852 lib/viewmodels/CityViewModel.dart | true | 200 | 701 | import 'package:flutter/foundation.dart';
import '../constant/ApiService.dart';
import '../model/CityResponseModel.dart';
import '../model/StateViewResponseModel.dart';
class CityViewModel extends ChangeNotifier {
late CityResponseModel _response;
bool _isLoading = false;
CityResponseModel get response => _resp... | 1 |
sooraj-24/FlashChat | bcc4334 | lib/screens/welcome_screen.dart | Dart | www.github.com/sooraj-24/FlashChat/tree/main/lib/screens/welcome_screen.dart | https://raw.githubusercontent.com/sooraj-24/FlashChat/bcc4334/lib/screens/welcome_screen.dart | sooraj-24/FlashChat bcc4334 lib/screens/welcome_screen.dart | true | 200 | 1,872 | import 'package:flutter/material.dart';
import 'login_screen.dart';
import 'registration_screen.dart';
import 'package:flash_chat/components/rounded_button.dart';
class WelcomeScreen extends StatefulWidget {
static const String id = 'welcome_screen';
@override
_WelcomeScreenState createState() => _WelcomeScreenS... | 4 |
sarahammoud21/GP | 0d8099e | lib/reusable/reusable_widget.dart | Dart | www.github.com/sarahammoud21/GP/tree/main/lib/reusable/reusable_widget.dart | https://raw.githubusercontent.com/sarahammoud21/GP/0d8099e/lib/reusable/reusable_widget.dart | sarahammoud21/GP 0d8099e lib/reusable/reusable_widget.dart | true | 200 | 2,079 | import 'package:flutter/material.dart';
Image logoWidget(String imageName) {
return Image.asset(
imageName,
width: 260,
height: 260,
color: Colors.white,
);
}
TextField reusableTextField(
String text, IconData icon, bool isPass, TextEditingController controller) {
return TextField(
contr... | 3 |
DinoDafor/medicine_app | d167447 | lib/bloc/search_state.dart | Dart | www.github.com/DinoDafor/medicine_app/tree/main/lib/bloc/search_state.dart | https://raw.githubusercontent.com/DinoDafor/medicine_app/d167447/lib/bloc/search_state.dart | DinoDafor/medicine_app d167447 lib/bloc/search_state.dart | true | 200 | 446 | part of 'search_bloc.dart';
@immutable
abstract class SearchState {}
class SearchInitial extends SearchState {}
class SearchLoadingState extends SearchState {
final bool isLoading;
SearchLoadingState({required this.isLoading});
}
class SearchFindDoctorsSuccessfullyState extends SearchState {
final Doctor doc... | 2 |
q920447939/flutter_baby_time | fd5270c | lib/utils/PhoneValidator.dart | Dart | www.github.com/q920447939/flutter_baby_time/tree/main/lib/utils/PhoneValidator.dart | https://raw.githubusercontent.com/q920447939/flutter_baby_time/fd5270c/lib/utils/PhoneValidator.dart | q920447939/flutter_baby_time fd5270c lib/utils/PhoneValidator.dart | true | 200 | 1,041 | class PhoneValidator {
/// 验证中国大陆手机号
static bool isChinaMainlandPhone(String phone) {
if (phone.isEmpty) return false;
// 去除所有空格
phone = phone.replaceAll(RegExp(r'\s+'), '');
// 验证手机号格式
RegExp cnPhoneReg = RegExp(r'^1[3-9]\d{9}$');
return cnPhoneReg.hasMatch(phone);
}
/// 格式化手机号 (xxx ... | 5 |
AbdoWa7eed/nectar_app | ac8018e | lib/features/location/presentation/widgets/place_item_widget.dart | Dart | www.github.com/AbdoWa7eed/nectar_app/tree/main/lib/features/location/presentation/widgets/place_item_widget.dart | https://raw.githubusercontent.com/AbdoWa7eed/nectar_app/ac8018e/lib/features/location/presentation/widgets/place_item_widget.dart | AbdoWa7eed/nectar_app ac8018e lib/features/location/presentation/widgets/place_item_widget.dart | true | 200 | 2,747 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:groceries_app/core/res/color_manager.dart';
import 'package:groceries_app/core/res/styles_manager.dart';
import 'package:groceries_app/core/res/values_manager.dart';
import 'package:groceries_app/features/location/d... | 0 |
Vensemart/service-provider-app | 67c2312 | lib/widgets/components/SecurityCard.dart | Dart | www.github.com/Vensemart/service-provider-app/tree/main/lib/widgets/components/SecurityCard.dart | https://raw.githubusercontent.com/Vensemart/service-provider-app/67c2312/lib/widgets/components/SecurityCard.dart | Vensemart/service-provider-app 67c2312 lib/widgets/components/SecurityCard.dart | true | 200 | 1,440 | import 'package:flutter/material.dart';
class SecurityCard extends StatelessWidget {
const SecurityCard({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Center(
child: Container(
height: MediaQuery.of(context).size.height / 10,
width: MediaQuery.of(c... | 6 |
horlann/e-commerce | eeed36f | lib/domain/entities/user/history_item.dart | Dart | www.github.com/horlann/e-commerce/tree/main/lib/domain/entities/user/history_item.dart | https://raw.githubusercontent.com/horlann/e-commerce/eeed36f/lib/domain/entities/user/history_item.dart | horlann/e-commerce eeed36f lib/domain/entities/user/history_item.dart | true | 200 | 913 | import 'package:kurilki/data/models/user/history_item_table_model.dart';
import 'package:kurilki/domain/entities/items/item.dart';
import 'package:kurilki/domain/entities/items/item_settings.dart';
import 'package:kurilki/domain/entities/order/order.dart';
class HistoryItem {
final Item item;
final ItemSettings it... | 7 |
arshitamaini/ValueApp | 178b9ce | frontend/lib/goodBehaviour/bloc/fetch_new_task_bloc/fetch_good_behaviour_task_bloc.dart | Dart | www.github.com/arshitamaini/ValueApp/tree/main/frontend/lib/goodBehaviour/bloc/fetch_new_task_bloc/fetch_good_behaviour_task_bloc.dart | https://raw.githubusercontent.com/arshitamaini/ValueApp/178b9ce/frontend/lib/goodBehaviour/bloc/fetch_new_task_bloc/fetch_good_behaviour_task_bloc.dart | arshitamaini/ValueApp 178b9ce frontend/lib/goodBehaviour/bloc/fetch_new_task_bloc/fetch_good_behaviour_task_bloc.dart | true | 200 | 1,574 | import 'dart:convert';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:http/http.dart' as http;
import '../../models/fetch_task_model.dart';
part 'fetch_good_behaviour_task_event.dart';
part 'fetch_good_behaviour_task_state.dart';
class F... | 1 |
Atevaz/flutter_educatly_task | 8bbd00c | lib/core/widgets/my_form_field.dart | Dart | www.github.com/Atevaz/flutter_educatly_task/tree/main/lib/core/widgets/my_form_field.dart | https://raw.githubusercontent.com/Atevaz/flutter_educatly_task/8bbd00c/lib/core/widgets/my_form_field.dart | Atevaz/flutter_educatly_task 8bbd00c lib/core/widgets/my_form_field.dart | true | 200 | 5,201 | import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import '../colors/app_colors.dart';
import '../global_cubit/global/glo... | 4 |
hngx-org/team-harpoon-breakout | 3b4ee41 | lib/game_widgets/bricks.dart | Dart | www.github.com/hngx-org/team-harpoon-breakout/tree/main/lib/game_widgets/bricks.dart | https://raw.githubusercontent.com/hngx-org/team-harpoon-breakout/3b4ee41/lib/game_widgets/bricks.dart | hngx-org/team-harpoon-breakout 3b4ee41 lib/game_widgets/bricks.dart | true | 200 | 1,012 | import 'package:flutter/material.dart';
class Brick extends StatelessWidget {
const Brick(
{super.key,
required this.brickXState,
required this.brickYState,
required this.brickHeightState,
required this.brickWidthState,
required this.isBrickBroken});
final double brickXState;
... | 3 |
aayushnaphade/testing | 9b35342 | lib/flutter_flow/internationalization.dart | Dart | www.github.com/aayushnaphade/testing/tree/main/lib/flutter_flow/internationalization.dart | https://raw.githubusercontent.com/aayushnaphade/testing/9b35342/lib/flutter_flow/internationalization.dart | aayushnaphade/testing 9b35342 lib/flutter_flow/internationalization.dart | true | 200 | 27,673 | import 'package:flutter/material.dart';
import 'package:flutter/foundation.dart';
import 'package:shared_preferences/shared_preferences.dart';
const _kLocaleStorageKey = '__locale_key__';
class FFLocalizations {
FFLocalizations(this.locale);
final Locale locale;
static FFLocalizations of(BuildContext context)... | 5 |
MohamedAliMostafa/Healing-Quran- | 5c6528e | lib/Api/apiManager.dart | Dart | www.github.com/MohamedAliMostafa/Healing-Quran-/tree/main/lib/Api/apiManager.dart | https://raw.githubusercontent.com/MohamedAliMostafa/Healing-Quran-/5c6528e/lib/Api/apiManager.dart | MohamedAliMostafa/Healing-Quran- 5c6528e lib/Api/apiManager.dart | true | 200 | 392 | import 'dart:convert';
import 'package:http/http.dart' as http;
import 'package:islami/Model/RadioModel.dart';
class ApiManager
{
static Future<RadioModel>getRadio()
async {
Uri url=Uri.https("api.mp3quran.net","/radios/radio_arabic.json");
var res=await http.get(url);
var r=jsonDecode(utf8.decode(res.bodyBytes))... | 2 |
hippieperm/StudyOnly | bdc1069 | lib/temp/coding_test/0/main.dart | Dart | www.github.com/hippieperm/StudyOnly/tree/main/lib/temp/coding_test/0/main.dart | https://raw.githubusercontent.com/hippieperm/StudyOnly/bdc1069/lib/temp/coding_test/0/main.dart | hippieperm/StudyOnly bdc1069 lib/temp/coding_test/0/main.dart | true | 200 | 15,938 | // ig118372ore_for_file: avoid_print
// ignore_for_file: avoid_print
import 'solution.dart';
void main() {
print(Solution().solution('aaaa', 'bbbb'));
print(Solution().solution1(['a', 'b', 'c', 'd']));
print(Solution().solution2('str', 3));
print(Solution().solution3(7));
print(Solution().solution3(10))... | 0 |
shaln07dj/Flutter-Project | 94fa6ec | lib/screens/multi_factor.dart | Dart | www.github.com/shaln07dj/Flutter-Project/tree/main/lib/screens/multi_factor.dart | https://raw.githubusercontent.com/shaln07dj/Flutter-Project/94fa6ec/lib/screens/multi_factor.dart | shaln07dj/Flutter-Project 94fa6ec lib/screens/multi_factor.dart | true | 200 | 21,646 | import 'package:firebase_auth/firebase_auth.dart';
import 'package:firebase_ui_auth/firebase_ui_auth.dart' hide PhoneAuthProvider;
import 'package:flutter/material.dart';
import 'package:fluttertoast/fluttertoast.dart';
import 'package:intl_phone_field/intl_phone_field.dart';
import 'package:pauzible_app/Helper/Constan... | 1 |
mohamedelbendary228/multi-step-order-creation | 4c9d300 | lib/core/widgets/app_headr.dart | Dart | www.github.com/mohamedelbendary228/multi-step-order-creation/tree/main/lib/core/widgets/app_headr.dart | https://raw.githubusercontent.com/mohamedelbendary228/multi-step-order-creation/4c9d300/lib/core/widgets/app_headr.dart | mohamedelbendary228/multi-step-order-creation 4c9d300 lib/core/widgets/app_headr.dart | true | 200 | 1,799 | import 'package:baridx_order_creation/core/resources/app_assets.dart';
import 'package:baridx_order_creation/core/resources/app_colors.dart';
import 'package:baridx_order_creation/core/widgets/app_deafult_text.dart';
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
class AppHeader ext... | 6 |
FlutterStore/Take-screenshort-and-save-in-local-storage | 055e483 | lib/main.dart | Dart | www.github.com/FlutterStore/Take-screenshort-and-save-in-local-storage/tree/main/lib/main.dart | https://raw.githubusercontent.com/FlutterStore/Take-screenshort-and-save-in-local-storage/055e483/lib/main.dart | FlutterStore/Take-screenshort-and-save-in-local-storage 055e483 lib/main.dart | true | 200 | 4,532 | // ignore_for_file: camel_case_types, use_build_context_synchronously, non_constant_identifier_names
import 'dart:io';
import 'dart:math';
import 'dart:typed_data';
import 'dart:ui';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:permission_handler/permission_handler.d... | 7 |
mousabalsyoufi/Khadamty | fbf3209 | lib/screens/main_screen/presentation/UI/main_screen.dart | Dart | www.github.com/mousabalsyoufi/Khadamty/tree/main/lib/screens/main_screen/presentation/UI/main_screen.dart | https://raw.githubusercontent.com/mousabalsyoufi/Khadamty/fbf3209/lib/screens/main_screen/presentation/UI/main_screen.dart | mousabalsyoufi/Khadamty fbf3209 lib/screens/main_screen/presentation/UI/main_screen.dart | true | 200 | 11,971 | import 'package:animated_bottom_navigation_bar/animated_bottom_navigation_bar.dart';
import 'package:faciltateur_de_vies/constants/colors/colors.dart';
import 'package:faciltateur_de_vies/constants/enums/user_type.dart';
import 'package:faciltateur_de_vies/constants/icons/icons.dart';
import 'package:faciltateur_de_vie... | 5 |
Sun-Kwak/web_test2 | 8cf4d2e | lib/common/component/animated_button.dart | Dart | www.github.com/Sun-Kwak/web_test2/tree/main/lib/common/component/animated_button.dart | https://raw.githubusercontent.com/Sun-Kwak/web_test2/8cf4d2e/lib/common/component/animated_button.dart | Sun-Kwak/web_test2 8cf4d2e lib/common/component/animated_button.dart | true | 200 | 1,033 | import 'package:flutter/material.dart';
import 'package:web_test2/common/component/animated_Object.dart';
class AnimatedButton extends StatelessWidget {
final FocusNode? focusNode;
final VoidCallback onPressed;
final String buttonText;
final Color backgroundColor;
final double columnWidth;
final VoidCallba... | 3 |
Tu2-prog/flutter_do | a86a211 | lib/main.dart | Dart | www.github.com/Tu2-prog/flutter_do/tree/main/lib/main.dart | https://raw.githubusercontent.com/Tu2-prog/flutter_do/a86a211/lib/main.dart | Tu2-prog/flutter_do a86a211 lib/main.dart | true | 200 | 1,232 | import 'package:flutter/material.dart';
import 'package:hive_flutter/adapters.dart';
import 'package:provider/provider.dart';
import 'screens/home_screen.dart';
import 'screens/add_task_screen.dart';
import 'screens/task_detail_screen.dart';
import 'providers/task_provider.dart';
import 'models/task.dart';
void main()... | 2 |
Mredul10/Portfolio | 2100928 | lib/View/components/top_bar.dart | Dart | www.github.com/Mredul10/Portfolio/tree/main/lib/View/components/top_bar.dart | https://raw.githubusercontent.com/Mredul10/Portfolio/2100928/lib/View/components/top_bar.dart | Mredul10/Portfolio 2100928 lib/View/components/top_bar.dart | true | 200 | 3,436 | import 'package:flutter/material.dart';
import 'package:portfolio/Reposnive/responsive.dart';
import 'package:portfolio/Utils/text_style.dart';
class TopBar extends StatelessWidget {
final ScrollController scrollController;
const TopBar({super.key, required this.scrollController});
@override
Widget build(Bui... | 0 |
dasH128/mapas_flutter | 584cf3c | lib/main.dart | Dart | www.github.com/dasH128/mapas_flutter/tree/main/lib/main.dart | https://raw.githubusercontent.com/dasH128/mapas_flutter/584cf3c/lib/main.dart | dasH128/mapas_flutter 584cf3c lib/main.dart | true | 200 | 1,287 | import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:mapas_flutter/config/config.dart';
import 'package:mapas_flutter/presentation/providers/providers.dart';
void main() {
runApp(
const ProviderScope(
child: MyApp(),
),
);
}
class MyApp ext... | 6 |
wis062-sridhar/flutter | 09a585b | examples/api/test/widgets/page_view/page_view.1_test.dart | Dart | www.github.com/wis062-sridhar/flutter/tree/main/examples/api/test/widgets/page_view/page_view.1_test.dart | https://raw.githubusercontent.com/wis062-sridhar/flutter/09a585b/examples/api/test/widgets/page_view/page_view.1_test.dart | wis062-sridhar/flutter 09a585b examples/api/test/widgets/page_view/page_view.1_test.dart | true | 200 | 1,100 | // Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_api_samples/widgets/page_view/page_view.1.dart' as example;
import 'package:flutter_test/fl... | 4 |
Ozdemiroguz/childLearningApp | 115682e | lib/features/intro/presnetation/pages/analysing_result_page.dart | Dart | www.github.com/Ozdemiroguz/childLearningApp/tree/main/lib/features/intro/presnetation/pages/analysing_result_page.dart | https://raw.githubusercontent.com/Ozdemiroguz/childLearningApp/115682e/lib/features/intro/presnetation/pages/analysing_result_page.dart | Ozdemiroguz/childLearningApp 115682e lib/features/intro/presnetation/pages/analysing_result_page.dart | true | 200 | 983 | import 'package:auto_route/annotations.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:tododyst/constants/colors.dart';
import 'package:tododyst/gen/assets.gen.dart';
@RoutePage()
class Anal... | 7 |
MtiPsd/foodies_app | 53dae63 | lib/Features/Splash/Screens/splash_screen.dart | Dart | www.github.com/MtiPsd/foodies_app/tree/main/lib/Features/Splash/Screens/splash_screen.dart | https://raw.githubusercontent.com/MtiPsd/foodies_app/53dae63/lib/Features/Splash/Screens/splash_screen.dart | MtiPsd/foodies_app 53dae63 lib/Features/Splash/Screens/splash_screen.dart | true | 200 | 2,561 | import 'package:foodies/Controllers/auth_controller.dart';
import 'package:foodies/Controllers/location_controller.dart';
import 'package:foodies/Controllers/recommended_product_controller.dart';
import 'package:foodies/Controllers/popular_product_controller.dart';
import 'package:foodies/Controllers/user_controller.da... | 1 |
mikklf/flutter_health_app | 053889a | lib/src/data/repositories/weight_repository.dart | Dart | www.github.com/mikklf/flutter_health_app/tree/main/lib/src/data/repositories/weight_repository.dart | https://raw.githubusercontent.com/mikklf/flutter_health_app/053889a/lib/src/data/repositories/weight_repository.dart | mikklf/flutter_health_app 053889a lib/src/data/repositories/weight_repository.dart | true | 200 | 2,042 | import 'package:flutter_health_app/src/data/models/weight.dart';
import '../data_context/interfaces/weight_datacontext.dart';
import 'interfaces/weight_repository.dart';
class WeightRepository implements IWeightRepository {
final IWeightDataContext _weightContext;
WeightRepository(this._weightContext);
/// In... | 3 |
exaby73/advent_of_code_2023 | 60f9137 | lib/day6/shared.dart | Dart | www.github.com/exaby73/advent_of_code_2023/tree/main/lib/day6/shared.dart | https://raw.githubusercontent.com/exaby73/advent_of_code_2023/60f9137/lib/day6/shared.dart | exaby73/advent_of_code_2023 60f9137 lib/day6/shared.dart | true | 200 | 1,484 | typedef Input = (String timeString, String distance);
typedef RaceInformation = ({int maxTime, int record});
extension InputSolution on Input {
List<RaceInformation> get allRaceInformation {
final [_, ...timeStrings] =
$1.split(' ').where((element) => element.isNotEmpty).toList();
final times = time... | 5 |
HanyHagar/Weatherly-Forecasts | 95a3773 | lib/features/home/presentation/views/home_view.dart | Dart | www.github.com/HanyHagar/Weatherly-Forecasts/tree/main/lib/features/home/presentation/views/home_view.dart | https://raw.githubusercontent.com/HanyHagar/Weatherly-Forecasts/95a3773/lib/features/home/presentation/views/home_view.dart | HanyHagar/Weatherly-Forecasts 95a3773 lib/features/home/presentation/views/home_view.dart | true | 200 | 2,409 |
import 'package:awesome_snackbar_content/awesome_snackbar_content.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:weatherly_forecasts/core/utils/api_services.dart';
import 'package:weatherly_forecasts/core/widgets/background_Widget.dart';
import 'package... | 0 |
sudeshnb/post-app | 90a930d | lib/features/screens/widgets/player_widget.dart | Dart | www.github.com/sudeshnb/post-app/tree/main/lib/features/screens/widgets/player_widget.dart | https://raw.githubusercontent.com/sudeshnb/post-app/90a930d/lib/features/screens/widgets/player_widget.dart | sudeshnb/post-app 90a930d lib/features/screens/widgets/player_widget.dart | true | 200 | 7,074 | import 'dart:async';
import 'package:audioplayers/audioplayers.dart';
import 'package:audioplayers/notifications.dart';
import 'package:flutter/material.dart';
class PlayerWidget extends StatefulWidget {
final String url;
const PlayerWidget({Key? key, required this.url}) : super(key: key);
@override
_Player... | 2 |
IsmailAbdelRahman/todolive | 58be237 | lib/Shared/CuibtApp/CubitApp.dart | Dart | www.github.com/IsmailAbdelRahman/todolive/tree/main/lib/Shared/CuibtApp/CubitApp.dart | https://raw.githubusercontent.com/IsmailAbdelRahman/todolive/58be237/lib/Shared/CuibtApp/CubitApp.dart | IsmailAbdelRahman/todolive 58be237 lib/Shared/CuibtApp/CubitApp.dart | true | 200 | 3,720 | import 'package:flutter/material.dart%20';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:sqflite/sqflite.dart';
import 'package:todolive/feature/archive_view/presentation/view/archive_view.dart';
import 'package:todolive/feature/home_todo/presetation/view/todo.dart';
import 'StateApp.dart';
class C... | 6 |
KyungKyung2/simple-todo | 235d748 | lib/screens/homescreen.dart | Dart | www.github.com/KyungKyung2/simple-todo/tree/main/lib/screens/homescreen.dart | https://raw.githubusercontent.com/KyungKyung2/simple-todo/235d748/lib/screens/homescreen.dart | KyungKyung2/simple-todo 235d748 lib/screens/homescreen.dart | true | 200 | 5,204 | import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:todo_app/add_task.dart';
import 'package:url_launcher/url_launcher.dart';
class HomeScreen extends StatefulWidget {
const HomeScreen({super.key});
@override
State<HomeScreen> createState() => _Ho... | 4 |
Nadun-Charuka/flutter_local_notification | ff78b2e | lib/main.dart | Dart | www.github.com/Nadun-Charuka/flutter_local_notification/tree/main/lib/main.dart | https://raw.githubusercontent.com/Nadun-Charuka/flutter_local_notification/ff78b2e/lib/main.dart | Nadun-Charuka/flutter_local_notification ff78b2e lib/main.dart | true | 200 | 783 | import 'package:flutter/material.dart';
import 'package:notifications_test_app/notifications/local_notifications.dart';
import 'package:notifications_test_app/screens/home_page.dart';
//navigator key
final GlobalKey<NavigatorState> navigatorKey = GlobalKey<NavigatorState>();
void main() async {
WidgetsFlutterBinding... | 7 |
Manoj882/food_delivery_app | 24dc71e | lib/widgets/app_icon.dart | Dart | www.github.com/Manoj882/food_delivery_app/tree/main/lib/widgets/app_icon.dart | https://raw.githubusercontent.com/Manoj882/food_delivery_app/24dc71e/lib/widgets/app_icon.dart | Manoj882/food_delivery_app 24dc71e lib/widgets/app_icon.dart | true | 200 | 843 | import 'package:flutter/material.dart';
import 'package:food_delivery_app/utils/dimension.dart';
class AppIcon extends StatelessWidget {
const AppIcon({
required this.icon,
this.backgroundColor = const Color(0xFFfcf4e4),
this.iconColor = const Color(0xFF756d54),
this.size = 40,
this.iconSize = ... | 1 |
TymonPawelczyk/WashedApp | d622915 | lib/api_service.dart | Dart | www.github.com/TymonPawelczyk/WashedApp/tree/main/lib/api_service.dart | https://raw.githubusercontent.com/TymonPawelczyk/WashedApp/d622915/lib/api_service.dart | TymonPawelczyk/WashedApp d622915 lib/api_service.dart | true | 200 | 557 | import 'dart:convert';
import 'package:http/http.dart' as http;
Future<void> uploadImage(String base64Image) async {
final url = Uri.parse('https://detect.roboflow.com/data1-bbgfd/2?api_key=Oy4J8qJPnxyXm73F9Ukc&name=YOUR_IMAGE.jpg');
final headers = {'Content-Type': 'application/x-www-form-urlencoded'};
final bo... | 5 |
mardeyar/StatSense | 23e993f | lib/main.dart | Dart | www.github.com/mardeyar/StatSense/tree/main/lib/main.dart | https://raw.githubusercontent.com/mardeyar/StatSense/23e993f/lib/main.dart | mardeyar/StatSense 23e993f lib/main.dart | true | 200 | 2,662 | import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:statsense/managers/function_manager.dart';
import 'package:statsense/utils/styles.dart';
import '../UI/schedule.dart';
import '../UI/streamerscores.dart';
import '../UI/settings.dart';
void main() async {
WidgetsFlutterBi... | 3 |
Mohamed0Amr/DogApp | 16977ca | lib/Functions.dart | Dart | www.github.com/Mohamed0Amr/DogApp/tree/main/lib/Functions.dart | https://raw.githubusercontent.com/Mohamed0Amr/DogApp/16977ca/lib/Functions.dart | Mohamed0Amr/DogApp 16977ca lib/Functions.dart | true | 200 | 1,708 | import 'dart:ui';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:get/get_core/src/get_main.dart';
import 'package:google_fonts/google_fonts.dart';
const Color blusishClr = Color(0xFF4e5ae8);
const Color yellowClr = Color.fromRGBO(255, 238, 88, 1);
const Color pinkClr = Color(0xF... | 0 |
mg3994/useless_ble_code | 1cc5bd9 | lib/main.dart | Dart | www.github.com/mg3994/useless_ble_code/tree/main/lib/main.dart | https://raw.githubusercontent.com/mg3994/useless_ble_code/1cc5bd9/lib/main.dart | mg3994/useless_ble_code 1cc5bd9 lib/main.dart | true | 200 | 3,390 | import 'dart:async';
import 'dart:ui';
import 'package:eld/Screens/WelcomeScreens/welcomePage.dart';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:eld/Provider/authProvider.dart';
// import 'BLE/FlutterBlue/flutter_blue_plus.dart';
// import 'BLE/screens/bluetooth_off... | 2 |
ang9009/stock-count-app | d66f504 | lib/components/task_ui/item_details_floating_btns.dart | Dart | www.github.com/ang9009/stock-count-app/tree/main/lib/components/task_ui/item_details_floating_btns.dart | https://raw.githubusercontent.com/ang9009/stock-count-app/d66f504/lib/components/task_ui/item_details_floating_btns.dart | ang9009/stock-count-app d66f504 lib/components/task_ui/item_details_floating_btns.dart | true | 200 | 2,338 | import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:infinite_scroll_pagination/infinite_scroll_pagination.dart';
import 'package:responsive_sizer/responsive_sizer.dart';
import 'package:stock_count/data/primary_theme.dart';
import 'package:stock_count/utils/o... | 6 |
SelaseKay/decipher | af8f571 | lib/screens/sign_in_screen.dart | Dart | www.github.com/SelaseKay/decipher/tree/main/lib/screens/sign_in_screen.dart | https://raw.githubusercontent.com/SelaseKay/decipher/af8f571/lib/screens/sign_in_screen.dart | SelaseKay/decipher af8f571 lib/screens/sign_in_screen.dart | true | 200 | 4,997 | import 'package:decipher/componenets/auth_button.dart';
import 'package:decipher/componenets/auth_text_fields.dart';
import 'package:decipher/componenets/custom_rich_text.dart';
import 'package:decipher/componenets/third_party_auth_button.dart';
import 'package:decipher/screens/sign_up_screen.dart';
import 'package:flu... | 4 |
hardwhy/payung_teduh | e327dfa | lib/presentation/screens/welcome/cubits/welcome_cubit.dart | Dart | www.github.com/hardwhy/payung_teduh/tree/main/lib/presentation/screens/welcome/cubits/welcome_cubit.dart | https://raw.githubusercontent.com/hardwhy/payung_teduh/e327dfa/lib/presentation/screens/welcome/cubits/welcome_cubit.dart | hardwhy/payung_teduh e327dfa lib/presentation/screens/welcome/cubits/welcome_cubit.dart | true | 200 | 892 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:payung_teduh/common/common.dart';
import 'package:shared_preferences/shared_preferences.dart';
part 'welcome_state.dart';
extension WelcomeCubitExt on BuildContext {
WelcomeCubit get welcomeCubit => read<Welcome... | 1 |
TrumpRothschild/flutter_video | 9ca9ea5 | packages/services/lib/models/res/notice/notice_bean.dart | Dart | www.github.com/TrumpRothschild/flutter_video/tree/main/packages/services/lib/models/res/notice/notice_bean.dart | https://raw.githubusercontent.com/TrumpRothschild/flutter_video/9ca9ea5/packages/services/lib/models/res/notice/notice_bean.dart | TrumpRothschild/flutter_video 9ca9ea5 packages/services/lib/models/res/notice/notice_bean.dart | true | 200 | 1,248 | /// noticeContent : ""
/// noticeName : ""
/// type : 0
class NoticeBean {
NoticeBean({
String? noticeContent,
String? noticeName,
num? type,}){
//公告内容
_noticeContent = noticeContent;
//公告名称
_noticeName = noticeName;
//公告类型 1直播间公告 2开场公告 3循环公告 4首页公告 5推荐栏目跑马灯公告 6游戏列... | 5 |
ajaykanse65/major_project | def11e1 | lib/widget/refundable_card_widget.dart | Dart | www.github.com/ajaykanse65/major_project/tree/main/lib/widget/refundable_card_widget.dart | https://raw.githubusercontent.com/ajaykanse65/major_project/def11e1/lib/widget/refundable_card_widget.dart | ajaykanse65/major_project def11e1 lib/widget/refundable_card_widget.dart | true | 200 | 4,445 | import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
class RefundableCardWidget extends StatefulWidget {
const RefundableCardWidget({Key? key}) : super(key: key);
@override
State<RefundableCardWidget> createState() => _RefundableCardWidgetState();
}
class _RefundableCardWidgetState e... | 0 |
masud51435/fitness_tracking_app | a78d9c5 | lib/pages/home_page/widgets/daily_activity/home_activity.dart | Dart | www.github.com/masud51435/fitness_tracking_app/tree/main/lib/pages/home_page/widgets/daily_activity/home_activity.dart | https://raw.githubusercontent.com/masud51435/fitness_tracking_app/a78d9c5/lib/pages/home_page/widgets/daily_activity/home_activity.dart | masud51435/fitness_tracking_app a78d9c5 lib/pages/home_page/widgets/daily_activity/home_activity.dart | true | 200 | 2,674 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:smooth_page_indicator/smooth_page_indicator.dart';
import '../../../../common/section_heading.dart';
import '../../../../controllers/activity_controller.dart';
import 'daily_acitivity_card.dart';
class ActivitySection extends State... | 3 |
andyduke/dart_http_middleware | 445f1ef | package/example/http_middleware_example.dart | Dart | www.github.com/andyduke/dart_http_middleware/tree/main/package/example/http_middleware_example.dart | https://raw.githubusercontent.com/andyduke/dart_http_middleware/445f1ef/package/example/http_middleware_example.dart | andyduke/dart_http_middleware 445f1ef package/example/http_middleware_example.dart | true | 200 | 823 | import 'package:http/http.dart' as http;
import 'package:http_middleware/http_middleware.dart';
class HttpTrace extends HttpMiddleware {
HttpTrace();
@override
Future<http.BaseRequest> onRequest(http.BaseRequest request) async {
print('Request: $request');
return request;
}
@override
Future<http.... | 2 |
NanaNivo/farm_scheduling | f4bb47e | lib/data/responses/emergency_response.dart | Dart | www.github.com/NanaNivo/farm_scheduling/tree/main/lib/data/responses/emergency_response.dart | https://raw.githubusercontent.com/NanaNivo/farm_scheduling/f4bb47e/lib/data/responses/emergency_response.dart | NanaNivo/farm_scheduling f4bb47e lib/data/responses/emergency_response.dart | true | 200 | 1,913 |
import 'package:farm_scheduling/core/response/api_response.dart';
import 'package:farm_scheduling/data/models/emrgincy_model.dart';
import 'package:farm_scheduling/data/models/emrgincy_type_mode.dart';
class EmergencyResponse extends ApiResponse<List<EmergencyModel>?> {
EmergencyResponse(
String msg,
... | 6 |
udshah31/flutter_mvvm_project | 08bc81c | lib/view_models/services/splash_services.dart | Dart | www.github.com/udshah31/flutter_mvvm_project/tree/main/lib/view_models/services/splash_services.dart | https://raw.githubusercontent.com/udshah31/flutter_mvvm_project/08bc81c/lib/view_models/services/splash_services.dart | udshah31/flutter_mvvm_project 08bc81c lib/view_models/services/splash_services.dart | true | 200 | 266 | import 'dart:async';
import 'package:flutter_mvvm_project/res/routes/routes_name.dart';
import 'package:get/get.dart';
class SplashServices {
void isLogin() {
Timer(const Duration(seconds: 3),
() => Get.toNamed(RoutesName.WELCOME_SCREEN));
}
} | 7 |
TrieuNam/move_app | 92c8ffe | lib/presentation/themes/theme_text.dart | Dart | www.github.com/TrieuNam/move_app/tree/main/lib/presentation/themes/theme_text.dart | https://raw.githubusercontent.com/TrieuNam/move_app/92c8ffe/lib/presentation/themes/theme_text.dart | TrieuNam/move_app 92c8ffe lib/presentation/themes/theme_text.dart | true | 200 | 1,298 | import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:move_app/common/constants/size_constants.dart';
import 'package:move_app/common/extensions/size_extensions.dart';
import 'package:move_app/presentation/themes/theme_color.dart';
class ThemeText {
const ThemeText.... | 4 |
yohannesAlemayehu/UGR-2497-14-LAB_Exercises | d57509b | LAB-1-Erorr-Handling-1.dart | Dart | www.github.com/yohannesAlemayehu/UGR-2497-14-LAB_Exercises/tree/main/LAB-1-Erorr-Handling-1.dart | https://raw.githubusercontent.com/yohannesAlemayehu/UGR-2497-14-LAB_Exercises/d57509b/LAB-1-Erorr-Handling-1.dart | yohannesAlemayehu/UGR-2497-14-LAB_Exercises d57509b LAB-1-Erorr-Handling-1.dart | true | 200 | 276 | import 'dart:io';
void main() {
try {
print("Enter a number:");
String userInput = stdin.readLineSync()!;
int convertedNumber = int.parse(userInput);
print("Successfully converted to integer: $convertedNumber");
} catch (e) {
print("Error: $e");
}
}
| 1 |
pangondion-k-naibaho/UserHub | 0eadf1d | lib/data/model/response/UserResponse.dart | Dart | www.github.com/pangondion-k-naibaho/UserHub/tree/main/lib/data/model/response/UserResponse.dart | https://raw.githubusercontent.com/pangondion-k-naibaho/UserHub/0eadf1d/lib/data/model/response/UserResponse.dart | pangondion-k-naibaho/UserHub 0eadf1d lib/data/model/response/UserResponse.dart | true | 200 | 705 | import 'package:json_annotation/json_annotation.dart';
part 'UserResponse.g.dart';
@JsonSerializable()
class UserResponse {
final int? id;
final String? email;
final String? firstName;
final String? lastName;
final String? avatar;
UserResponse({
required this.id,
required this.email,
required... | 5 |
ghanikamil/gigimu_Flutter | a11eb25 | lib/data/models/userModel.dart | Dart | www.github.com/ghanikamil/gigimu_Flutter/tree/main/lib/data/models/userModel.dart | https://raw.githubusercontent.com/ghanikamil/gigimu_Flutter/a11eb25/lib/data/models/userModel.dart | ghanikamil/gigimu_Flutter a11eb25 lib/data/models/userModel.dart | true | 200 | 957 | import 'package:equatable/equatable.dart';
class UserModel extends Equatable {
UserModel({
required this.pasienId,
required this.nama,
required this.alamat,
required this.telepon,
required this.email,
});
final int pasienId;
final String nama;
final String alamat;
final String telepon;... | 3 |
davopaco/mobile-apps | b42cc22 | mid-term-exam/app/items_list/lib/model/item.dart | Dart | www.github.com/davopaco/mobile-apps/tree/main/mid-term-exam/app/items_list/lib/model/item.dart | https://raw.githubusercontent.com/davopaco/mobile-apps/b42cc22/mid-term-exam/app/items_list/lib/model/item.dart | davopaco/mobile-apps b42cc22 mid-term-exam/app/items_list/lib/model/item.dart | true | 200 | 675 | class Item {
final int id;
final String name;
final String vendor;
final double rating;
final String imagePath;
Item(
{required this.id,
required this.name,
required this.vendor,
required this.rating,
required this.imagePath});
factory Item.fromJson(Map<String, dynamic> jso... | 0 |
kuromadara/cricketApp | 672e2af | lib/screens/upload_stadium_image_screen.dart | Dart | www.github.com/kuromadara/cricketApp/tree/main/lib/screens/upload_stadium_image_screen.dart | https://raw.githubusercontent.com/kuromadara/cricketApp/672e2af/lib/screens/upload_stadium_image_screen.dart | kuromadara/cricketApp 672e2af lib/screens/upload_stadium_image_screen.dart | true | 200 | 7,157 | import 'dart:io';
import 'package:flutter/material.dart';
import 'package:image_picker/image_picker.dart';
import 'package:provider/provider.dart';
import 'package:cricket/controllers/upload_stadium_image_controller.dart';
import 'package:cricket/models/models.dart';
import 'package:dio/dio.dart';
import 'package:image... | 6 |
Adelmostafa31/admin_panel_dashboard | 922a028 | lib/features/home/presentation/view/widgets/analytical_info_card.dart | Dart | www.github.com/Adelmostafa31/admin_panel_dashboard/tree/main/lib/features/home/presentation/view/widgets/analytical_info_card.dart | https://raw.githubusercontent.com/Adelmostafa31/admin_panel_dashboard/922a028/lib/features/home/presentation/view/widgets/analytical_info_card.dart | Adelmostafa31/admin_panel_dashboard 922a028 lib/features/home/presentation/view/widgets/analytical_info_card.dart | true | 200 | 1,579 | import 'package:admin_panel_dashboard/core/constants/constants.dart';
import 'package:admin_panel_dashboard/core/models/analytic_model/analytic_info_model.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
class analytical_info_card extends StatelessWidget {
const analytical_info_c... | 2 |
karemthabet/X-O-Game | 05eb4ce | lib/Screens/Widgets/ButtonCard.dart | Dart | www.github.com/karemthabet/X-O-Game/tree/main/lib/Screens/Widgets/ButtonCard.dart | https://raw.githubusercontent.com/karemthabet/X-O-Game/05eb4ce/lib/Screens/Widgets/ButtonCard.dart | karemthabet/X-O-Game 05eb4ce lib/Screens/Widgets/ButtonCard.dart | true | 200 | 738 | import 'package:flutter/material.dart';
class Buttoncard extends StatelessWidget {
Buttoncard({super.key,required this.txt,required this.onclick});
String txt;
Function onclick;
@override
Widget build(BuildContext context) {
return ElevatedButton(onPressed: (){
onclick();
}, child: Text(txt,s... | 4 |
gabrielGoncalves159/flutter_learn | 8af259e | app_flutter/lib/screens/minha_primeira_tela.dart | Dart | www.github.com/gabrielGoncalves159/flutter_learn/tree/main/app_flutter/lib/screens/minha_primeira_tela.dart | https://raw.githubusercontent.com/gabrielGoncalves159/flutter_learn/8af259e/app_flutter/lib/screens/minha_primeira_tela.dart | gabrielGoncalves159/flutter_learn 8af259e app_flutter/lib/screens/minha_primeira_tela.dart | true | 200 | 3,285 | import 'package:flutter/material.dart';
class MyFirstWidget extends StatelessWidget {
const MyFirstWidget({super.key});
@override
Widget build(BuildContext context) {
return
// Stack(
// alignment: AlignmentDirectional.center,
// children: [
// Container(height: 300, width: 30... | 1 |
Fathi123-max/E-commerce-App | 1d7fd81 | lib/view/pages/cart_view/trauck_order.dart | Dart | www.github.com/Fathi123-max/E-commerce-App/tree/main/lib/view/pages/cart_view/trauck_order.dart | https://raw.githubusercontent.com/Fathi123-max/E-commerce-App/1d7fd81/lib/view/pages/cart_view/trauck_order.dart | Fathi123-max/E-commerce-App 1d7fd81 lib/view/pages/cart_view/trauck_order.dart | true | 200 | 4,025 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:order_tracker/order_tracker.dart';
import 'add_truck.dart';
class OrderTrack extends StatefulWidget {
const OrderTrack({Key? key}) : super(key: key);
@override
State<OrderTrack> createState() =>... | 7 |
idris-j/neobank-fintech-mobile-app | 32af2ab | lib/ui/features/signup/signup_screen.dart | Dart | www.github.com/idris-j/neobank-fintech-mobile-app/tree/main/lib/ui/features/signup/signup_screen.dart | https://raw.githubusercontent.com/idris-j/neobank-fintech-mobile-app/32af2ab/lib/ui/features/signup/signup_screen.dart | idris-j/neobank-fintech-mobile-app 32af2ab lib/ui/features/signup/signup_screen.dart | true | 200 | 5,070 | import 'package:jeemo_pay/shared/size.dart';
import 'package:jeemo_pay/shared/sizeConfig.dart';
import 'package:jeemo_pay/shared/text_style.dart';
import 'package:jeemo_pay/ui/features/login/login_screen.dart';
import 'package:jeemo_pay/ui/features/signup/create_password_screen.dart';
import 'package:jeemo_pay/ui/featu... | 5 |
tamizhselvangt/today_news | b4bb216 | lib/utilities/dataBase_service.dart | Dart | www.github.com/tamizhselvangt/today_news/tree/main/lib/utilities/dataBase_service.dart | https://raw.githubusercontent.com/tamizhselvangt/today_news/b4bb216/lib/utilities/dataBase_service.dart | tamizhselvangt/today_news b4bb216 lib/utilities/dataBase_service.dart | true | 200 | 1,267 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:day_today/Model/SavedArticles.dart';
import 'package:firebase_auth/firebase_auth.dart';
const String SavedArticle_Collection = "SavedArticles";
class DataBaseService{
final FirebaseAuth _auth = FirebaseAuth.instance;
final _fireStore = Fireba... | 0 |
sultonovSaidmalik/jewellery_app | 43c0a66 | lib/src/screens/card_screen/view/confirm_cart_button_wiget.dart | Dart | www.github.com/sultonovSaidmalik/jewellery_app/tree/main/lib/src/screens/card_screen/view/confirm_cart_button_wiget.dart | https://raw.githubusercontent.com/sultonovSaidmalik/jewellery_app/43c0a66/lib/src/screens/card_screen/view/confirm_cart_button_wiget.dart | sultonovSaidmalik/jewellery_app 43c0a66 lib/src/screens/card_screen/view/confirm_cart_button_wiget.dart | true | 200 | 921 | import 'package:flutter/material.dart';
import 'package:jewellery_app/src/common/constants/strings.dart';
import 'package:jewellery_app/src/common/ext/context_ext.dart';
import '../../../common/constants/text_style.dart';
class ConfirmCartButton extends StatelessWidget {
final bool isActive;
final void Function()... | 3 |
kdomon231/comprehensive_utils | 4371470 | lib/src/data_types/integers/byte.dart | Dart | www.github.com/kdomon231/comprehensive_utils/tree/main/lib/src/data_types/integers/byte.dart | https://raw.githubusercontent.com/kdomon231/comprehensive_utils/4371470/lib/src/data_types/integers/byte.dart | kdomon231/comprehensive_utils 4371470 lib/src/data_types/integers/byte.dart | true | 200 | 999 | import 'package:comprehensive_utils/src/data_types/integers/unsigned_integer.dart';
import 'package:meta/meta.dart';
/// Extension type on [int] that provides methods for working with bytes.
///
/// This extension type allows for easy conversion of integers to bytes and vice versa.
/// It implements the [num] interfac... | 6 |
OrganizacionProyectPSI/SedesAdmin | 1024f61 | lib/services/global_notification.dart | Dart | www.github.com/OrganizacionProyectPSI/SedesAdmin/tree/main/lib/services/global_notification.dart | https://raw.githubusercontent.com/OrganizacionProyectPSI/SedesAdmin/1024f61/lib/services/global_notification.dart | OrganizacionProyectPSI/SedesAdmin 1024f61 lib/services/global_notification.dart | true | 200 | 1,680 | import 'package:firebase_messaging/firebase_messaging.dart';
import 'package:flutter_local_notifications/flutter_local_notifications.dart';
import 'package:timezone/timezone.dart' as tz;
import 'package:timezone/data/latest_all.dart' as tz;
class CustomNotification{
final int id;
final String? title;
final Strin... | 2 |
santiagogonzalezblowe/flugram | 1107795 | lib/features/sign_up/ui/page/sign_up_page.dart | Dart | www.github.com/santiagogonzalezblowe/flugram/tree/main/lib/features/sign_up/ui/page/sign_up_page.dart | https://raw.githubusercontent.com/santiagogonzalezblowe/flugram/1107795/lib/features/sign_up/ui/page/sign_up_page.dart | santiagogonzalezblowe/flugram 1107795 lib/features/sign_up/ui/page/sign_up_page.dart | true | 200 | 1,744 | import 'package:flugram/app/constants/assets.dart';
import 'package:flugram/app/widgets/form_header.dart';
import 'package:flugram/features/sign_up/logic/sign_up_listener.dart';
import 'package:flugram/features/sign_up/logic/sign_up_provider.dart';
import 'package:flugram/features/sign_up/ui/widgets/sign_up_form.dart';... | 4 |
andristory1004/punditv | 0ed923a | lib/screens/send_wallets/send_wallets.dart | Dart | www.github.com/andristory1004/punditv/tree/main/lib/screens/send_wallets/send_wallets.dart | https://raw.githubusercontent.com/andristory1004/punditv/0ed923a/lib/screens/send_wallets/send_wallets.dart | andristory1004/punditv 0ed923a lib/screens/send_wallets/send_wallets.dart | true | 200 | 2,621 | import 'package:flutter/material.dart';
import 'package:punditv/screens/send_wallets_credit_pundi/send_wallets_credit_pundi.dart';
import 'package:punditv/utils/constrans.dart';
import 'package:punditv/utils/next_screen.dart';
import 'package:punditv/widgets/custom_button.dart';
import 'package:rounded_loading_button/r... | 7 |
manyMANN/APP-Empleados-FLUTTER-LARAVEL | bfb02d5 | lib/empleado.dart | Dart | www.github.com/manyMANN/APP-Empleados-FLUTTER-LARAVEL/tree/main/lib/empleado.dart | https://raw.githubusercontent.com/manyMANN/APP-Empleados-FLUTTER-LARAVEL/bfb02d5/lib/empleado.dart | manyMANN/APP-Empleados-FLUTTER-LARAVEL bfb02d5 lib/empleado.dart | true | 200 | 891 | class Empleado {
final int id;
final String nombre;
final DateTime fechanaci;
final String correo;
final int activo;
final int id_departamento;
const Empleado({
required this.id,
required this.nombre,
required this.fechanaci,
required this.correo,
required this.activo,
required thi... | 5 |
Bilal-EZ-ZAIM/Gestion-Syndic- | 74127a9 | mobile/lib/login_screen.dart | Dart | www.github.com/Bilal-EZ-ZAIM/Gestion-Syndic-/tree/main/mobile/lib/login_screen.dart | https://raw.githubusercontent.com/Bilal-EZ-ZAIM/Gestion-Syndic-/74127a9/mobile/lib/login_screen.dart | Bilal-EZ-ZAIM/Gestion-Syndic- 74127a9 mobile/lib/login_screen.dart | true | 200 | 5,241 | import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
import 'package:shared_preferences/shared_preferences.dart';
class LoginScreen extends StatefulWidget {
@override
_LoginScreenState createState() => _LoginScreenState();
}
class _LoginScreenState extends State<... | 0 |
damienecgoal/ecgoalcmp_UIcomponent | 7827a7f | lib/components/nodal/email_option/email_option_model.dart | Dart | www.github.com/damienecgoal/ecgoalcmp_UIcomponent/tree/main/lib/components/nodal/email_option/email_option_model.dart | https://raw.githubusercontent.com/damienecgoal/ecgoalcmp_UIcomponent/7827a7f/lib/components/nodal/email_option/email_option_model.dart | damienecgoal/ecgoalcmp_UIcomponent 7827a7f lib/components/nodal/email_option/email_option_model.dart | true | 200 | 606 | import '/flutter_flow/flutter_flow_util.dart';
import 'email_option_widget.dart' show EmailOptionWidget;
import 'package:flutter/material.dart';
class EmailOptionModel extends FlutterFlowModel<EmailOptionWidget> {
/// State fields for stateful widgets in this component.
// State field(s) for MouseRegion widget.
... | 6 |
kluevercode/todo-list | e5486b4 | todo_list_app/lib/models/task.dart | Dart | www.github.com/kluevercode/todo-list/tree/main/todo_list_app/lib/models/task.dart | https://raw.githubusercontent.com/kluevercode/todo-list/e5486b4/todo_list_app/lib/models/task.dart | kluevercode/todo-list e5486b4 todo_list_app/lib/models/task.dart | true | 200 | 680 | class Task {
final int id;
final String title;
final String description;
final int priority;
bool isDone;
Task({
required this.id,
required this.title,
required this.description,
required this.priority,
this.isDone = false,
});
Map<String, dynamic> toJson() => {
'id': id,
... | 3 |
VISHNUPRABHAKARAN-7100/Interview | 620a051 | lib/registration_page/controller/registration_provider.dart | Dart | www.github.com/VISHNUPRABHAKARAN-7100/Interview/tree/main/lib/registration_page/controller/registration_provider.dart | https://raw.githubusercontent.com/VISHNUPRABHAKARAN-7100/Interview/620a051/lib/registration_page/controller/registration_provider.dart | VISHNUPRABHAKARAN-7100/Interview 620a051 lib/registration_page/controller/registration_provider.dart | true | 200 | 955 | import 'dart:convert';
import 'dart:developer';
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
class RegistrationProvider with ChangeNotifier {
// API link for register
final String registerUrl = 'https://test-auth-final.vercel.app/user/signup';
// Function to register the use... | 7 |
Villy15/lakbay | cdcbca5 | lib/features/notifications/notifications_controller.dart | Dart | www.github.com/Villy15/lakbay/tree/main/lib/features/notifications/notifications_controller.dart | https://raw.githubusercontent.com/Villy15/lakbay/cdcbca5/lib/features/notifications/notifications_controller.dart | Villy15/lakbay cdcbca5 lib/features/notifications/notifications_controller.dart | true | 200 | 3,495 | // ignore_for_file: unused_field
import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:http/http.dart' as http;
import 'package:lakbay/core/util/utils.dart';
import 'package:lakbay/features/notifications/notifications_repository.dart';
... | 4 |
AhmedFadlalla/restaurant-app | 740fd59 | lib/core/localization/applocalization.dart | Dart | www.github.com/AhmedFadlalla/restaurant-app/tree/main/lib/core/localization/applocalization.dart | https://raw.githubusercontent.com/AhmedFadlalla/restaurant-app/740fd59/lib/core/localization/applocalization.dart | AhmedFadlalla/restaurant-app 740fd59 lib/core/localization/applocalization.dart | true | 200 | 1,272 | import 'dart:convert';
import 'dart:ui';
import 'package:flutter/cupertino.dart';
import 'package:flutter/services.dart';
class AppLocalization{
final Locale? locale;
AppLocalization({
this.locale
});
static LocalizationsDelegate<AppLocalization> delegate=_AppLocalizationDelegate();
static AppLocalization? of(conte... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.