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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
aalaa-hesham/fr | 30c2cd9 | lib/sign.dart | Dart | www.github.com/aalaa-hesham/fr/tree/main/lib/sign.dart | https://raw.githubusercontent.com/aalaa-hesham/fr/30c2cd9/lib/sign.dart | aalaa-hesham/fr 30c2cd9 lib/sign.dart | true | 200 | 377 | import 'package:flutter/material.dart';
class SignUp extends StatefulWidget {
const SignUp({super.key});
@override
State<SignUp> createState() => _SignUpState();
}
class _SignUpState extends State<SignUp> {
@override
Widget build(BuildContext context) {
return Scaffold(appBar: AppBar(
title: Te... | 7 |
abdullhasseeb/Covid-19-Application | 160dc69 | lib/main.dart | Dart | www.github.com/abdullhasseeb/Covid-19-Application/tree/main/lib/main.dart | https://raw.githubusercontent.com/abdullhasseeb/Covid-19-Application/160dc69/lib/main.dart | abdullhasseeb/Covid-19-Application 160dc69 lib/main.dart | true | 200 | 853 |
import 'package:covid19_app/constants/constants.dart';
import 'package:covid19_app/screens/home_screen.dart';
import 'package:covid19_app/screens/login/signin_screen.dart';
import 'package:covid19_app/screens/splash_screen.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
void mai... | 0 |
schorio/cinetix | 8db7fcb | lib/feature/reserverfilm/widget/type_place_widget.dart | Dart | www.github.com/schorio/cinetix/tree/main/lib/feature/reserverfilm/widget/type_place_widget.dart | https://raw.githubusercontent.com/schorio/cinetix/8db7fcb/lib/feature/reserverfilm/widget/type_place_widget.dart | schorio/cinetix 8db7fcb lib/feature/reserverfilm/widget/type_place_widget.dart | true | 200 | 1,425 | import 'package:cinetix/core/model/place_model.dart';
import 'package:flutter/material.dart';
class TypePlaceWidget extends StatelessWidget {
const TypePlaceWidget({
Key? key,
required this.couleurDominant,
}) : super(key: key);
final Color couleurDominant;
@override
Widget build(BuildContext conte... | 6 |
Najam-ud-Din/TicketPro-Booking-app- | 7e4116e | lib/utils/app_styles.dart | Dart | www.github.com/Najam-ud-Din/TicketPro-Booking-app-/tree/main/lib/utils/app_styles.dart | https://raw.githubusercontent.com/Najam-ud-Din/TicketPro-Booking-app-/7e4116e/lib/utils/app_styles.dart | Najam-ud-Din/TicketPro-Booking-app- 7e4116e lib/utils/app_styles.dart | true | 200 | 969 | import 'package:flutter/material.dart';
Color primary = Color.fromARGB(255, 24, 84, 226);
class styles {
static Color primarycolor = primary;
static Color textcolor = Color.fromARGB(255, 40, 40, 40);
static Color bg = const Color(0xFFeeedf2);
static Color orangecolor = const Color(0xFF526799);
static TextSt... | 1 |
GabrielCosta16/ouvite_cidadao | a3fc5a6 | lib/widgets/my_drawer.dart | Dart | www.github.com/GabrielCosta16/ouvite_cidadao/tree/main/lib/widgets/my_drawer.dart | https://raw.githubusercontent.com/GabrielCosta16/ouvite_cidadao/a3fc5a6/lib/widgets/my_drawer.dart | GabrielCosta16/ouvite_cidadao a3fc5a6 lib/widgets/my_drawer.dart | true | 200 | 3,012 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:ouvinte_cidadao/infra/theme.dart';
class MyDrawer extends StatefulWidget {
const MyDrawer({super.key});
@override
State<MyDrawer> createState() => _MyDrawerState();
}
class _MyDrawerState extends State<MyDrawer> {
@overrid... | 3 |
yui0/bsnap | d756186 | lib/ui/home_page.dart | Dart | www.github.com/yui0/bsnap/tree/main/lib/ui/home_page.dart | https://raw.githubusercontent.com/yui0/bsnap/d756186/lib/ui/home_page.dart | yui0/bsnap d756186 lib/ui/home_page.dart | true | 200 | 6,809 | //---------------------------------------------------------
// ncnn-ai
//
// ©2024 Yuichiro Nakada
//---------------------------------------------------------
import 'package:easy_debounce/easy_debounce.dart';
import 'package:file_picker/file_picker.dart';
import 'package:flutter/material.dart';
import 'package:flutt... | 4 |
losziad3/cary | 6b7d331 | lib/features/main_screens/sell_screen.dart | Dart | www.github.com/losziad3/cary/tree/main/lib/features/main_screens/sell_screen.dart | https://raw.githubusercontent.com/losziad3/cary/6b7d331/lib/features/main_screens/sell_screen.dart | losziad3/cary 6b7d331 lib/features/main_screens/sell_screen.dart | true | 200 | 401 | import 'package:flutter/material.dart';
import 'home_widgets/car_part_widget.dart';
class SellScreen extends StatelessWidget {
const SellScreen({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignm... | 5 |
mansilakhani/MultiUser-Authentication | 6eb3d5b | lib/helpers/cloud_firestore.dart | Dart | www.github.com/mansilakhani/MultiUser-Authentication/tree/main/lib/helpers/cloud_firestore.dart | https://raw.githubusercontent.com/mansilakhani/MultiUser-Authentication/6eb3d5b/lib/helpers/cloud_firestore.dart | mansilakhani/MultiUser-Authentication 6eb3d5b lib/helpers/cloud_firestore.dart | true | 200 | 2,849 | import 'package:cloud_firestore/cloud_firestore.dart';
class CloudFirestoreHelper {
CloudFirestoreHelper._();
static final CloudFirestoreHelper cloudFirestoreHelper =
CloudFirestoreHelper._();
static final FirebaseFirestore firebaseFirestore = FirebaseFirestore.instance;
late CollectionReference usersR... | 7 |
sky-sunnext/kkgen | 78824a0 | lib/pages/overview/components/students/main.dart | Dart | www.github.com/sky-sunnext/kkgen/tree/main/lib/pages/overview/components/students/main.dart | https://raw.githubusercontent.com/sky-sunnext/kkgen/78824a0/lib/pages/overview/components/students/main.dart | sky-sunnext/kkgen 78824a0 lib/pages/overview/components/students/main.dart | true | 200 | 389 | import "package:flutter/material.dart";
import "../templates/manager.dart";
class StudentsComponent extends StatelessWidget {
const StudentsComponent({
super.key
});
@override
Widget build(BuildContext context) {
final params = ManagerTemplateParams(
pageTitle: "管理",
props: []
);
return ManagerTem... | 0 |
implude/ITNun-Flutter-EXPLUDE-Archived | fc3b4d4 | lib/controllers/search/cheap_search_controller.dart | Dart | www.github.com/implude/ITNun-Flutter-EXPLUDE-Archived/tree/main/lib/controllers/search/cheap_search_controller.dart | https://raw.githubusercontent.com/implude/ITNun-Flutter-EXPLUDE-Archived/fc3b4d4/lib/controllers/search/cheap_search_controller.dart | implude/ITNun-Flutter-EXPLUDE-Archived fc3b4d4 lib/controllers/search/cheap_search_controller.dart | true | 200 | 610 | import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:get/get.dart';
import 'package:itnun/models/cheap_market_info.dart';
class CheapSearchController extends GetxController {
final searchController = TextEditingController();
late final Future<List... | 6 |
MZainAsif/Wallpaper_App | 072ba20 | lib/view/home.dart | Dart | www.github.com/MZainAsif/Wallpaper_App/tree/main/lib/view/home.dart | https://raw.githubusercontent.com/MZainAsif/Wallpaper_App/072ba20/lib/view/home.dart | MZainAsif/Wallpaper_App 072ba20 lib/view/home.dart | true | 200 | 7,570 | // ignore_for_file: library_private_types_in_public_api
import 'package:cached_network_image/cached_network_image.dart';
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:http/http.dart' as http;
import 'package:url_launcher/url_launcher.dart';
import 'package:wal... | 1 |
6487015/ITDS283_Project_Gr.D_015_072_074 | 6194ebf | lib/model/event_data_source.dart | Dart | www.github.com/6487015/ITDS283_Project_Gr.D_015_072_074/tree/main/lib/model/event_data_source.dart | https://raw.githubusercontent.com/6487015/ITDS283_Project_Gr.D_015_072_074/6194ebf/lib/model/event_data_source.dart | 6487015/ITDS283_Project_Gr.D_015_072_074 6194ebf lib/model/event_data_source.dart | true | 200 | 765 | //ref: HeyFlutter․com https://youtu.be/LoDtxRkGDTw
import 'package:flutter/animation.dart';
import 'package:syncfusion_flutter_calendar/calendar.dart';
import 'package:flutter_application_1/model/event.dart';
class EventDataSource extends CalendarDataSource {
EventDataSource(List<Event> appointments) {
this.app... | 5 |
myanes-dev/flutter-clean-architecture-mvvm-example | c23b06a | lib/domain/models/dog.dart | Dart | www.github.com/myanes-dev/flutter-clean-architecture-mvvm-example/tree/main/lib/domain/models/dog.dart | https://raw.githubusercontent.com/myanes-dev/flutter-clean-architecture-mvvm-example/c23b06a/lib/domain/models/dog.dart | myanes-dev/flutter-clean-architecture-mvvm-example c23b06a lib/domain/models/dog.dart | true | 200 | 237 | import 'package:flutter_clean_architecture_2022/domain/models/breed.dart';
class Dog {
final String id;
final String imageUrl;
final Breed? breed;
Dog({
required this.id,
required this.imageUrl,
this.breed,
});
}
| 3 |
alaaalshaibi/ecoomerceApp | c704f5e | lib/data/model/orders_model.dart | Dart | www.github.com/alaaalshaibi/ecoomerceApp/tree/main/lib/data/model/orders_model.dart | https://raw.githubusercontent.com/alaaalshaibi/ecoomerceApp/c704f5e/lib/data/model/orders_model.dart | alaaalshaibi/ecoomerceApp c704f5e lib/data/model/orders_model.dart | true | 200 | 2,967 | class OrdersModel {
String? ordersId;
String? ordersUsersId;
String? ordersAddress;
String? ordersType;
String? ordersPriceDelivery;
String? ordersPrice;
String? ordersTotalPrice;
String? ordersCouponId;
String? ordersPaymentType;
String? ordersStatus;
String? ordersRating;
String? ordersNoteRat... | 4 |
michaelqu2/PlayByPlay_V1 | 4604dd2 | lib/logs/golf_data_backend.dart | Dart | www.github.com/michaelqu2/PlayByPlay_V1/tree/main/lib/logs/golf_data_backend.dart | https://raw.githubusercontent.com/michaelqu2/PlayByPlay_V1/4604dd2/lib/logs/golf_data_backend.dart | michaelqu2/PlayByPlay_V1 4604dd2 lib/logs/golf_data_backend.dart | true | 200 | 22,117 | import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
import 'dart:convert';
import 'package:shared_preferences/shared_preferences.dart';
import '../constants.dart';
class GolfDataBackendPage extends StatefulWidget {
const GolfDataBackendPage({super.key});
@override
State<GolfDataBac... | 7 |
Ry8Sg2i/counter_offer.2 | ea19a45 | lib/compornents/text_field_widget.dart | Dart | www.github.com/Ry8Sg2i/counter_offer.2/tree/main/lib/compornents/text_field_widget.dart | https://raw.githubusercontent.com/Ry8Sg2i/counter_offer.2/ea19a45/lib/compornents/text_field_widget.dart | Ry8Sg2i/counter_offer.2 ea19a45 lib/compornents/text_field_widget.dart | true | 200 | 608 | import 'package:flutter/material.dart';
class TextFieldWidget extends StatelessWidget {
const TextFieldWidget({
super.key,
required this.textEditingController,
required this.labelText,
});
final TextEditingController textEditingController;
final String labelText;
@override
Widget build(... | 0 |
sumitsg/chattie | 1109a77 | lib/common/network/http_response.dart | Dart | www.github.com/sumitsg/chattie/tree/main/lib/common/network/http_response.dart | https://raw.githubusercontent.com/sumitsg/chattie/1109a77/lib/common/network/http_response.dart | sumitsg/chattie 1109a77 lib/common/network/http_response.dart | true | 200 | 671 | class HttpResponse<T> {
int statuscode;
String message;
T data;
Map<String, String> responseHeaders;
HttpResponse({
required this.statuscode,
required this.data,
required this.message,
required this.responseHeaders,
});
factory HttpResponse.fromJson(Map<String, dynamic> json) {
retur... | 2 |
Bazabizi/2023-project-phase-mobile-tasks | d70ad99 | on-boarding/todo_app/lib/features/todo/presentation/widgets/button_todo.dart | Dart | www.github.com/Bazabizi/2023-project-phase-mobile-tasks/tree/main/on-boarding/todo_app/lib/features/todo/presentation/widgets/button_todo.dart | https://raw.githubusercontent.com/Bazabizi/2023-project-phase-mobile-tasks/d70ad99/on-boarding/todo_app/lib/features/todo/presentation/widgets/button_todo.dart | Bazabizi/2023-project-phase-mobile-tasks d70ad99 on-boarding/todo_app/lib/features/todo/presentation/widgets/button_todo.dart | true | 200 | 982 | import 'package:flutter/material.dart';
class Button extends StatelessWidget {
final String label;
final VoidCallback onPressed;
const Button({
Key?key,
required this.label,
required this.onPressed,
}):super(key: key);
@override
Widget build(BuildContext context) {
return Center(
ch... | 6 |
vinipachecov/learn-flutter-and-dart | 81285ee | meals_app/lib/screens/meal_detail_screen.dart | Dart | www.github.com/vinipachecov/learn-flutter-and-dart/tree/main/meals_app/lib/screens/meal_detail_screen.dart | https://raw.githubusercontent.com/vinipachecov/learn-flutter-and-dart/81285ee/meals_app/lib/screens/meal_detail_screen.dart | vinipachecov/learn-flutter-and-dart 81285ee meals_app/lib/screens/meal_detail_screen.dart | true | 200 | 2,946 | import 'package:flutter/material.dart';
import 'package:meals_app/dummy_data.dart';
class MealDetailScreen extends StatelessWidget {
static const routeName = '/meal-detail';
final Function _toggleFavorite;
final Function _isMealFavorite;
MealDetailScreen(this._toggleFavorite, this._isMealFavorite);
Widget ... | 1 |
ahmedyoussef352/La-vie | d3afb27 | lib/modules/Home_Layout/notification/notification.dart | Dart | www.github.com/ahmedyoussef352/La-vie/tree/main/lib/modules/Home_Layout/notification/notification.dart | https://raw.githubusercontent.com/ahmedyoussef352/La-vie/d3afb27/lib/modules/Home_Layout/notification/notification.dart | ahmedyoussef352/La-vie d3afb27 lib/modules/Home_Layout/notification/notification.dart | true | 200 | 1,124 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import '../../../shared/componant/componant.dart';
class NotificationScreen extends StatelessWidget {
const NotificationScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffol... | 3 |
dailyrunner/TravelSync_client_new | a731727 | lib/location/people_check.dart | Dart | www.github.com/dailyrunner/TravelSync_client_new/tree/main/lib/location/people_check.dart | https://raw.githubusercontent.com/dailyrunner/TravelSync_client_new/a731727/lib/location/people_check.dart | dailyrunner/TravelSync_client_new a731727 lib/location/people_check.dart | true | 200 | 12,922 | import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
import 'package:travelsync_client_new/group/group_main_page.dart';
import 'package:travelsync_client_new/location/one_location.dart';
import 'package:travelsync_client_new/logo/airplaneLo... | 4 |
kamal635/store_app | a0a6c14 | lib/feautres/auth/presentation/bloc/auth_bloc/sign_out/sign_out_bloc.dart | Dart | www.github.com/kamal635/store_app/tree/main/lib/feautres/auth/presentation/bloc/auth_bloc/sign_out/sign_out_bloc.dart | https://raw.githubusercontent.com/kamal635/store_app/a0a6c14/lib/feautres/auth/presentation/bloc/auth_bloc/sign_out/sign_out_bloc.dart | kamal635/store_app a0a6c14 lib/feautres/auth/presentation/bloc/auth_bloc/sign_out/sign_out_bloc.dart | true | 200 | 731 | import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:equatable/equatable.dart';
import '../../../../domain/use_cases/auth_use_case/auth_sign_out_use_case.dart';
part 'sign_out_event.dart';
part 'sign_out_state.dart';
class SignOutBloc extends Bloc<SignOutEvent, SignOutState> {
final AuthSignOutUseCase a... | 7 |
Iskandarrcode/HomeWork_iyun_4_5_10_11 | 896c403 | lib/repositoryes/lesson_repositoryes.dart | Dart | www.github.com/Iskandarrcode/HomeWork_iyun_4_5_10_11/tree/main/lib/repositoryes/lesson_repositoryes.dart | https://raw.githubusercontent.com/Iskandarrcode/HomeWork_iyun_4_5_10_11/896c403/lib/repositoryes/lesson_repositoryes.dart | Iskandarrcode/HomeWork_iyun_4_5_10_11 896c403 lib/repositoryes/lesson_repositoryes.dart | true | 200 | 825 |
import 'package:iyun4/models/lesson_model.dart';
import 'package:iyun4/services/lesson_http_services.dart';
class LessonRepository {
final LessonHttpService _lessonHttpService = LessonHttpService();
Future<List<LessonModel>> getLessonRepo(String courseId) async {
return await _lessonHttpService.getData(cours... | 0 |
yinyajiang/flutter_study | a20483d | e_book/e_book/lib/pages/douban_store/douban_store_vm.dart | Dart | www.github.com/yinyajiang/flutter_study/tree/main/e_book/e_book/lib/pages/douban_store/douban_store_vm.dart | https://raw.githubusercontent.com/yinyajiang/flutter_study/a20483d/e_book/e_book/lib/pages/douban_store/douban_store_vm.dart | yinyajiang/flutter_study a20483d e_book/e_book/lib/pages/douban_store/douban_store_vm.dart | true | 200 | 1,007 | import 'package:e_book/http/spider/spider_api.dart';
import 'package:flutter/material.dart';
import 'package:e_book/http/spider/spider_api.dart';
import 'package:e_book/model/book.dart';
class DoubanStoreViewModel extends ChangeNotifier {
List<Book>? _expressBooks;
List<Book>? _weeklyBooks;
List<Book>? _top250Bo... | 6 |
ali-esmailie-dev/flutter_boilerplate | 889ba65 | lib/features/home_feature/presentation/screens/play_ground.dart | Dart | www.github.com/ali-esmailie-dev/flutter_boilerplate/tree/main/lib/features/home_feature/presentation/screens/play_ground.dart | https://raw.githubusercontent.com/ali-esmailie-dev/flutter_boilerplate/889ba65/lib/features/home_feature/presentation/screens/play_ground.dart | ali-esmailie-dev/flutter_boilerplate 889ba65 lib/features/home_feature/presentation/screens/play_ground.dart | true | 200 | 2,541 | import 'package:flutter/material.dart';
import 'package:personal_portfolio/core/widgets/app_scaffold.dart';
import 'package:personal_portfolio/core/widgets/buttons/app_button.dart';
import 'package:personal_portfolio/core/widgets/general_appbar.dart';
import 'package:personal_portfolio/core/widgets/lists/app_list_view.... | 2 |
charithmadhuranga/filmpisso-extensions | ce83bf6 | dart/manga/multisrc/madara/src/arthurscan/arthurscan.dart | Dart | www.github.com/charithmadhuranga/filmpisso-extensions/tree/main/dart/manga/multisrc/madara/src/arthurscan/arthurscan.dart | https://raw.githubusercontent.com/charithmadhuranga/filmpisso-extensions/ce83bf6/dart/manga/multisrc/madara/src/arthurscan/arthurscan.dart | charithmadhuranga/filmpisso-extensions ce83bf6 dart/manga/multisrc/madara/src/arthurscan/arthurscan.dart | true | 200 | 454 | import '../../../../../../model/source.dart';
Source get arthurscanSource => _arthurscanSource;
Source _arthurscanSource = Source(
name: "Arthur Scan",
baseUrl: "https://arthurscan.xyz",
lang: "pt-BR",
typeSource: "madara",
iconUrl:
"https://raw.githubusercontent.com/charithmadhuranga/filmpisso-extens... | 3 |
patrickwalter1952/wordsearch_puzzle | 36c9c0c | lib/services/constants.dart | Dart | www.github.com/patrickwalter1952/wordsearch_puzzle/tree/main/lib/services/constants.dart | https://raw.githubusercontent.com/patrickwalter1952/wordsearch_puzzle/36c9c0c/lib/services/constants.dart | patrickwalter1952/wordsearch_puzzle 36c9c0c lib/services/constants.dart | true | 200 | 1,093 |
import 'dart:ui';
import 'package:flutter/material.dart';
const int NBR_ROWS = 14;
const int NBR_COLS = 14;
const int NBR_SQUARES = NBR_ROWS * NBR_COLS;
const int NO_CHAR_SELECTED = 9999;
const Color BACKGROUND_DEFAULT_COLOR = Colors.blueGrey;
const List<Color> BACKGROUND_COLORS = [
Colors.black,
Colors.pink... | 1 |
BaHithBENON/flutter-supabase-auth | e536f58 | flutter_supabase_auth/libs/core/lib/core/utilities/config/l10n_l18n_config.dart | Dart | www.github.com/BaHithBENON/flutter-supabase-auth/tree/main/flutter_supabase_auth/libs/core/lib/core/utilities/config/l10n_l18n_config.dart | https://raw.githubusercontent.com/BaHithBENON/flutter-supabase-auth/e536f58/flutter_supabase_auth/libs/core/lib/core/utilities/config/l10n_l18n_config.dart | BaHithBENON/flutter-supabase-auth e536f58 flutter_supabase_auth/libs/core/lib/core/utilities/config/l10n_l18n_config.dart | true | 200 | 1,161 | /// This class holds the configuration for the localization and localization
/// service in the project.
///
/// The [L10nL18nConfig] class is responsible for managing the languages
/// available in the app. This includes the language code and the language
/// name in various languages.
class L10nL18nConfig {
/// A m... | 4 |
SoumitroKarmaker/Future.builder | a838010 | lib/home.dart | Dart | www.github.com/SoumitroKarmaker/Future.builder/tree/main/lib/home.dart | https://raw.githubusercontent.com/SoumitroKarmaker/Future.builder/a838010/lib/home.dart | SoumitroKarmaker/Future.builder a838010 lib/home.dart | true | 200 | 995 | import 'package:flutter/material.dart';
import 'package:practice/student_data.dart';
class Home extends StatefulWidget {
@override
State<Home> createState() => _HomeState();
}
class _HomeState extends State<Home> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(... | 0 |
dinotdinero/CovidHealthTech | 50eb64f | lib/widgets/customAppBar.dart | Dart | www.github.com/dinotdinero/CovidHealthTech/tree/main/lib/widgets/customAppBar.dart | https://raw.githubusercontent.com/dinotdinero/CovidHealthTech/50eb64f/lib/widgets/customAppBar.dart | dinotdinero/CovidHealthTech 50eb64f lib/widgets/customAppBar.dart | true | 200 | 844 |
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
class MyAppBar extends StatelessWidget with PreferredSizeWidget
{
final PreferredSizeWidget bottom;
MyAppBar({this.bottom});
@override
Widget build(BuildContext context) {
return AppBar(
iconTheme: IconThemeData(
... | 7 |
abdullah-19-8/optionals-in-dart | 6dfe4ee | bin/nullable_type_promotion.dart | Dart | www.github.com/abdullah-19-8/optionals-in-dart/tree/main/bin/nullable_type_promotion.dart | https://raw.githubusercontent.com/abdullah-19-8/optionals-in-dart/6dfe4ee/bin/nullable_type_promotion.dart | abdullah-19-8/optionals-in-dart 6dfe4ee bin/nullable_type_promotion.dart | true | 200 | 540 | void main(List<String> args) {
final String? name = null;
// if we want to assign length of name to another variable we have to use question mark (?)
//after name variable to tell the compiler that name can be null
final int? nameLength = name?.length;
print(nameLength);
if(name ==null){
print('name i... | 2 |
Fallid/Pemrograman-Mobile | 2c2c824 | Modul6/modul_6_prak/test/widget_test/widget_test.dart | Dart | www.github.com/Fallid/Pemrograman-Mobile/tree/main/Modul6/modul_6_prak/test/widget_test/widget_test.dart | https://raw.githubusercontent.com/Fallid/Pemrograman-Mobile/2c2c824/Modul6/modul_6_prak/test/widget_test/widget_test.dart | Fallid/Pemrograman-Mobile 2c2c824 Modul6/modul_6_prak/test/widget_test/widget_test.dart | true | 200 | 838 | import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:modul_4_prak/app/modules/Login/view/login.dart';
void main() {
testWidgets('LoginPage UI Test', (WidgetTester tester) async {
// Build our app and trigger a frame.
await tester.pumpWidget(const MaterialAp... | 6 |
AbdullahOmaar/o_one_healthy | c40b879 | lib/common/bottom_bar/bottombar_view_model/bottomBar_view_model.dart | Dart | www.github.com/AbdullahOmaar/o_one_healthy/tree/main/lib/common/bottom_bar/bottombar_view_model/bottomBar_view_model.dart | https://raw.githubusercontent.com/AbdullahOmaar/o_one_healthy/c40b879/lib/common/bottom_bar/bottombar_view_model/bottomBar_view_model.dart | AbdullahOmaar/o_one_healthy c40b879 lib/common/bottom_bar/bottombar_view_model/bottomBar_view_model.dart | true | 200 | 2,505 | import 'package:app/screens/ads_screen/view/ads_screen.dart';
import 'package:app/screens/home/view/home_screen.dart';
import 'package:app/screens/subscribers_screen/view/subscribers_screen.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import '../../../routes/a... | 5 |
usmantahir32/ecommerce_app | 2bef149 | lib/views/pages/buyer bottom nav bar/map/map_location_page.dart | Dart | www.github.com/usmantahir32/ecommerce_app/tree/main/lib/views/pages/buyer bottom nav bar/map/map_location_page.dart | https://raw.githubusercontent.com/usmantahir32/ecommerce_app/2bef149/lib/views/pages/buyer%20bottom%20nav%20bar/map/map_location_page.dart | usmantahir32/ecommerce_app 2bef149 lib/views/pages/buyer bottom nav bar/map/map_location_page.dart | true | 200 | 11,010 | import 'dart:typed_data';
import 'dart:ui' as ui;
import 'package:custom_info_window/custom_info_window.dart';
import 'package:ecommerce_app/utils/size_config.dart';
import 'package:ecommerce_app/views/bottom%20sheets/distance_filter.dart';
import 'package:ecommerce_app/views/widgets/search_widget.dart';
import 'packag... | 3 |
kamal635/just_music | a9b20ca | lib/features/albums/widgets/songs_album/sliver_appbar_songs_album.dart | Dart | www.github.com/kamal635/just_music/tree/main/lib/features/albums/widgets/songs_album/sliver_appbar_songs_album.dart | https://raw.githubusercontent.com/kamal635/just_music/a9b20ca/lib/features/albums/widgets/songs_album/sliver_appbar_songs_album.dart | kamal635/just_music a9b20ca lib/features/albums/widgets/songs_album/sliver_appbar_songs_album.dart | true | 200 | 2,578 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:just_music/core/shared_widgets/custom_icon_back.dart';
import '../../../../core/shared_widgets/custom_art_work.dart';
import '../../../../core/styling/app_colors.dart';
import '../../../../core/styling/a... | 1 |
nizwar/borneo_security | f6e32ed | lib/model/app_package.dart | Dart | www.github.com/nizwar/borneo_security/tree/main/lib/model/app_package.dart | https://raw.githubusercontent.com/nizwar/borneo_security/f6e32ed/lib/model/app_package.dart | nizwar/borneo_security f6e32ed lib/model/app_package.dart | true | 200 | 6,394 | import 'dart:typed_data';
/// A class that represents an application package.
///
/// This class can be used to define and manage the properties
/// and behaviors associated with an application package.
class AppPackage {
/// The unique identifier for the application package.
int uid;
/// The name of the applic... | 0 |
kachhiya07/flutterdartprograming | 8894c11 | pro20h.dart | Dart | www.github.com/kachhiya07/flutterdartprograming/tree/main/pro20h.dart | https://raw.githubusercontent.com/kachhiya07/flutterdartprograming/8894c11/pro20h.dart | kachhiya07/flutterdartprograming 8894c11 pro20h.dart | true | 200 | 714 | //(h)Write a program to find out the max from given number (E.g. No: -1562
//Max number is 6
import 'dart:io';
void main(List<String> args) {
stdout.write("Enter the count of numbers: ");
int count = int.parse(stdin.readLineSync()!);
if (count <= 0) {
print("Please enter a valid count of numbers.");
ret... | 7 |
saran9272/ecommerce_vendor_app | 3189fc7 | lib/main.dart | Dart | www.github.com/saran9272/ecommerce_vendor_app/tree/main/lib/main.dart | https://raw.githubusercontent.com/saran9272/ecommerce_vendor_app/3189fc7/lib/main.dart | saran9272/ecommerce_vendor_app 3189fc7 lib/main.dart | true | 200 | 656 | import 'package:ecommerce_vendor_app/view/main_screen.dart';
import 'package:ecommerce_vendor_app/view/signin_screen.dart';
import 'package:flutter/material.dart';
import 'package:get/get_navigation/src/root/get_material_app.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const... | 5 |
Iconica-Development/flutter_connectivity | aec74d6 | lib/src/screens/no_internet_screen.dart | Dart | www.github.com/Iconica-Development/flutter_connectivity/tree/main/lib/src/screens/no_internet_screen.dart | https://raw.githubusercontent.com/Iconica-Development/flutter_connectivity/aec74d6/lib/src/screens/no_internet_screen.dart | Iconica-Development/flutter_connectivity aec74d6 lib/src/screens/no_internet_screen.dart | true | 200 | 5,063 | import "package:flutter/material.dart";
import "package:flutter_connectivity/src/enums/connectivity_display_type_enum.dart";
/// Standard screen to use as fallback.
class NoInternetScreen extends StatefulWidget {
const NoInternetScreen({
required this.connectivityDisplayType,
this.titleText = "No internet",
... | 2 |
mahfujurrahman511351/blog-app | 38e2db5 | lib/app/views/dashboard/home/post_details_view.dart | Dart | www.github.com/mahfujurrahman511351/blog-app/tree/main/lib/app/views/dashboard/home/post_details_view.dart | https://raw.githubusercontent.com/mahfujurrahman511351/blog-app/38e2db5/lib/app/views/dashboard/home/post_details_view.dart | mahfujurrahman511351/blog-app 38e2db5 lib/app/views/dashboard/home/post_details_view.dart | true | 200 | 8,767 | // ignore_for_file: prefer_const_constructors
import 'package:blog/app/constants/colors.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import '../../../constants/api_string.dart';
import '../../../constants/helper_function.dar... | 6 |
ririssilvia/learnShalatForKids | 9600886 | lib/page/splashScreen/splashScreen.dart | Dart | www.github.com/ririssilvia/learnShalatForKids/tree/main/lib/page/splashScreen/splashScreen.dart | https://raw.githubusercontent.com/ririssilvia/learnShalatForKids/9600886/lib/page/splashScreen/splashScreen.dart | ririssilvia/learnShalatForKids 9600886 lib/page/splashScreen/splashScreen.dart | true | 200 | 521 | // ignore: file_names
import 'package:aplikasibelajarsholat/page/splashScreen/body.dart';
import 'package:flutter/material.dart';
class SplashScreen extends StatefulWidget {
const SplashScreen({super.key});
@override
State<SplashScreen> createState() => _SplashScreenState();
}
class _SplashScreenState extend... | 4 |
pawuload/github_search | ac14bd4 | lib/service/api/client/api_client_service.dart | Dart | www.github.com/pawuload/github_search/tree/main/lib/service/api/client/api_client_service.dart | https://raw.githubusercontent.com/pawuload/github_search/ac14bd4/lib/service/api/client/api_client_service.dart | pawuload/github_search ac14bd4 lib/service/api/client/api_client_service.dart | true | 200 | 699 | import 'dart:async';
import 'package:dio/dio.dart';
import 'package:github_search/app/app_reporter.dart';
import 'package:utopia_rest/utopia_rest.dart';
class ApiClientService {
ApiClientService();
FutureOr<String?> Function()? tokenProvider;
Dio createDio(String baseUrl, {String? apiKey}) {
final options... | 3 |
Meet5656/E-commerce | 85a8e8b | lib/otp_screen.dart | Dart | www.github.com/Meet5656/E-commerce/tree/main/lib/otp_screen.dart | https://raw.githubusercontent.com/Meet5656/E-commerce/85a8e8b/lib/otp_screen.dart | Meet5656/E-commerce 85a8e8b lib/otp_screen.dart | true | 200 | 7,418 | import 'dart:convert';
import 'package:first_screen/signaccount_screen.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter/src/widgets/framework.dart';
import 'package:flutter/src/widgets/placeholder.dart';
import 'package:pin_code_fields/pin_code_fields.dart';... | 1 |
JoyHansChristabelSinaga/UAS_MobileLanjut_2017051050 | 6c00733 | uas_joysinaga/lib/screens/empty_catatan_screen.dart | Dart | www.github.com/JoyHansChristabelSinaga/UAS_MobileLanjut_2017051050/tree/main/uas_joysinaga/lib/screens/empty_catatan_screen.dart | https://raw.githubusercontent.com/JoyHansChristabelSinaga/UAS_MobileLanjut_2017051050/6c00733/uas_joysinaga/lib/screens/empty_catatan_screen.dart | JoyHansChristabelSinaga/UAS_MobileLanjut_2017051050 6c00733 uas_joysinaga/lib/screens/empty_catatan_screen.dart | true | 200 | 801 | import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
import '../models/models.dart';
class EmptyGroceryScreen extends StatelessWidget {
const EmptyGroceryScreen({super.key});
@override
Widget build(BuildContext context) {
return Padding(
padding: const EdgeInsets.all(30.0... | 7 |
bagussubagja/Task-Ku-Mobile-App | 452b4db | lib/screens/body_screen/body_screen.dart | Dart | www.github.com/bagussubagja/Task-Ku-Mobile-App/tree/main/lib/screens/body_screen/body_screen.dart | https://raw.githubusercontent.com/bagussubagja/Task-Ku-Mobile-App/452b4db/lib/screens/body_screen/body_screen.dart | bagussubagja/Task-Ku-Mobile-App 452b4db lib/screens/body_screen/body_screen.dart | true | 200 | 2,976 | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:task_ku_mobile_app/provider/theme_provider.dart';
import 'package:task_ku_mobile_app/screens/add_task_screen/add_task_screen.dart';
import 'package:task_ku_mobile_app/screens/body_screen/home.dart';
import 'package:task_ku_... | 0 |
Thinklogics2022/famlynk_version-2 | 67d8b95 | famlynk/lib/services/forgetPswdService.dart | Dart | www.github.com/Thinklogics2022/famlynk_version-2/tree/main/famlynk/lib/services/forgetPswdService.dart | https://raw.githubusercontent.com/Thinklogics2022/famlynk_version-2/67d8b95/famlynk/lib/services/forgetPswdService.dart | Thinklogics2022/famlynk_version-2 67d8b95 famlynk/lib/services/forgetPswdService.dart | true | 200 | 2,074 | import 'dart:convert';
import 'package:famlynk/mvc/model/login_model/register_model.dart';
import 'package:famlynk/utils/utils.dart';
import 'package:http/http.dart' as http;
class ForgetPasswordService {
Future<dynamic> getEmail(String email) async {
try {
http.Response response;
response = await h... | 5 |
rachana-egov/Frontend-pgr-assignment | 8ccb2ce | apps/health_campaign_field_worker_app/lib/data/local/localization.dart | Dart | www.github.com/rachana-egov/Frontend-pgr-assignment/tree/main/apps/health_campaign_field_worker_app/lib/data/local/localization.dart | https://raw.githubusercontent.com/rachana-egov/Frontend-pgr-assignment/8ccb2ce/apps/health_campaign_field_worker_app/lib/data/local/localization.dart | rachana-egov/Frontend-pgr-assignment 8ccb2ce apps/health_campaign_field_worker_app/lib/data/local/localization.dart | true | 200 | 2,885 | import 'dart:async';
import 'package:digit_data_model/data/local_store/sql_store/sql_store.dart';
import 'package:digit_data_model/utils/utils.dart';
import 'package:drift/drift.dart';
import '../../../utils/utils.dart';
import '../local_store/no_sql/schema/localization.dart';
class LocalizationLocalRepository {
F... | 2 |
Davinci2386/Handy | 05846fc | lib/views/screens/main_screens/bills.dart | Dart | www.github.com/Davinci2386/Handy/tree/main/lib/views/screens/main_screens/bills.dart | https://raw.githubusercontent.com/Davinci2386/Handy/05846fc/lib/views/screens/main_screens/bills.dart | Davinci2386/Handy 05846fc lib/views/screens/main_screens/bills.dart | true | 200 | 3,562 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import '../../../controller/select_cat_controller.dart';
import '../../../controller/timer_controller.dart';
import '../../../core/constant/app_colors.dart';
import '../../../core/constant/app_images.dart';
import '../../widgets/category_card.dart';... | 6 |
germani1978/flutter-found-info-peliculas | b7efd45 | lib/models/popular_response.dart | Dart | www.github.com/germani1978/flutter-found-info-peliculas/tree/main/lib/models/popular_response.dart | https://raw.githubusercontent.com/germani1978/flutter-found-info-peliculas/b7efd45/lib/models/popular_response.dart | germani1978/flutter-found-info-peliculas b7efd45 lib/models/popular_response.dart | true | 200 | 813 |
// To parse this JSON data, do
//
// final popularMovie = popularMovieFromMap(jsonString);
import 'dart:convert';
import 'package:libreria_de_peliculas/models/movie.dart';
class PopularMovie {
PopularMovie({
required this.page,
required this.results,
required this.totalPages,
... | 4 |
rkt1234/Summarizer | 4d6db17 | lib/widgets/custom_textfield_widget.dart | Dart | www.github.com/rkt1234/Summarizer/tree/main/lib/widgets/custom_textfield_widget.dart | https://raw.githubusercontent.com/rkt1234/Summarizer/4d6db17/lib/widgets/custom_textfield_widget.dart | rkt1234/Summarizer 4d6db17 lib/widgets/custom_textfield_widget.dart | true | 200 | 857 | import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
class CustomTextField extends StatefulWidget {
final String hintText;
final TextStyle style;
final TextStyle hintStyle;
final Icon icon;
final TextEditingController controller;
CustomTextField({super.key, required this.hintText,... | 3 |
pradhumna896/Dawners | 5562e54 | lib/screens/custom_textfield.dart | Dart | www.github.com/pradhumna896/Dawners/tree/main/lib/screens/custom_textfield.dart | https://raw.githubusercontent.com/pradhumna896/Dawners/5562e54/lib/screens/custom_textfield.dart | pradhumna896/Dawners 5562e54 lib/screens/custom_textfield.dart | true | 200 | 2,593 | import 'dart:ffi';
import 'package:dawners/helper/ktext_class.dart';
import 'package:dawners/screens/helper/dimentions/dimentions.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
class CustomTextField extends StatelessWidget {
St... | 1 |
nobin-cpu/svkraft | 99baa8e | lib/Features/special_day/controllar/category_1_con.dart | Dart | www.github.com/nobin-cpu/svkraft/tree/main/lib/Features/special_day/controllar/category_1_con.dart | https://raw.githubusercontent.com/nobin-cpu/svkraft/99baa8e/lib/Features/special_day/controllar/category_1_con.dart | nobin-cpu/svkraft 99baa8e lib/Features/special_day/controllar/category_1_con.dart | true | 200 | 2,391 | import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:http/http.dart' as http;
import 'package:shared_preferences/shared_preferences.dart';
import 'package:sv_craft/Features/special_day/model/category_1.dart';
import '../../../constant/api_link.dart';
import '..... | 7 |
wuffeel/mint | b67a9d1 | lib/presentation/pages/main/specialist_details/widgets/review_delete_dialog.dart | Dart | www.github.com/wuffeel/mint/tree/main/lib/presentation/pages/main/specialist_details/widgets/review_delete_dialog.dart | https://raw.githubusercontent.com/wuffeel/mint/b67a9d1/lib/presentation/pages/main/specialist_details/widgets/review_delete_dialog.dart | wuffeel/mint b67a9d1 lib/presentation/pages/main/specialist_details/widgets/review_delete_dialog.dart | true | 200 | 716 | import 'package:auto_route/auto_route.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:mint/l10n/l10n.dart';
import 'package:mint/presentation/widgets/mint_alert_dialog.dart';
class ReviewDeleteDialog extends StatelessWidget {
const ReviewDeleteDialog({super.key... | 0 |
zyadmohamed2/FalconAi-v2 | cae4121 | lib/Features/Home/data/models/exercise_model/exercise_model.dart | Dart | www.github.com/zyadmohamed2/FalconAi-v2/tree/main/lib/Features/Home/data/models/exercise_model/exercise_model.dart | https://raw.githubusercontent.com/zyadmohamed2/FalconAi-v2/cae4121/lib/Features/Home/data/models/exercise_model/exercise_model.dart | zyadmohamed2/FalconAi-v2 cae4121 lib/Features/Home/data/models/exercise_model/exercise_model.dart | true | 200 | 1,969 | import 'package:falconai/Features/Home/data/models/exercise_model/equipments.dart';
import 'attempt.dart';
import 'video.dart';
class ExerciseModel {
int? id;
String? title;
String? description;
int? attemptsCount;
List<Video>? videos;
List<dynamic>? skills;
List<Equipments>? equipments;
List<dynamic>... | 5 |
Luvianto/PAB1-IF3A | 6945adf | pertemuan_4/bin/pertemuan_4.dart | Dart | www.github.com/Luvianto/PAB1-IF3A/tree/main/pertemuan_4/bin/pertemuan_4.dart | https://raw.githubusercontent.com/Luvianto/PAB1-IF3A/6945adf/pertemuan_4/bin/pertemuan_4.dart | Luvianto/PAB1-IF3A 6945adf pertemuan_4/bin/pertemuan_4.dart | true | 200 | 782 | void main() async {
/*final myFuture = Future(() {
print("Create future");
return 1;
});*/
/*getOrder(1).then((value) {
print("Your order : $value");
}).catchError((error) { //catch
print("Error $error");
}).whenComplete(() { //finally
print("Thank You");
});*/
//Asyncronous
... | 2 |
abir739/Travel-application | 8ba2f16 | lib/login/RoleSelectionPage.dart | Dart | www.github.com/abir739/Travel-application/tree/main/lib/login/RoleSelectionPage.dart | https://raw.githubusercontent.com/abir739/Travel-application/8ba2f16/lib/login/RoleSelectionPage.dart | abir739/Travel-application 8ba2f16 lib/login/RoleSelectionPage.dart | true | 200 | 3,458 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:zenify_trip/login/login_Page.dart';
import 'TravellerLoginPage_test.dart';
import 'package:wave/config.dart';
import 'package:wave/wave.dart';
class RoleSelectionPage extends StatelessWidget {
const RoleSelectionPage({super.key});... | 6 |
KrinaMendpara/rotating_planet | 28ec708 | lib/screens/venus_screen.dart | Dart | www.github.com/KrinaMendpara/rotating_planet/tree/main/lib/screens/venus_screen.dart | https://raw.githubusercontent.com/KrinaMendpara/rotating_planet/28ec708/lib/screens/venus_screen.dart | KrinaMendpara/rotating_planet 28ec708 lib/screens/venus_screen.dart | true | 200 | 4,203 |
import 'package:flutter/material.dart';
import 'package:rotating_planet/widgets/screen.dart';
class VenusScreen extends StatelessWidget {
const VenusScreen({required this.pageController, required this.currentPage, super.key});
final PageController pageController;
final int currentPage;
@override
Widget buil... | 4 |
MansourSayed2002/paseeta | 2fd6322 | lib/presentation/view/widget/onboarding/custom_button_boarding.dart | Dart | www.github.com/MansourSayed2002/paseeta/tree/main/lib/presentation/view/widget/onboarding/custom_button_boarding.dart | https://raw.githubusercontent.com/MansourSayed2002/paseeta/2fd6322/lib/presentation/view/widget/onboarding/custom_button_boarding.dart | MansourSayed2002/paseeta 2fd6322 lib/presentation/view/widget/onboarding/custom_button_boarding.dart | true | 200 | 1,901 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:paseeta/core/constant/string_app/string_app.dart';
import 'package:paseeta/core/di/di.dart';
import 'package:paseeta/core/function/get_token.dart';
import 'package:paseeta/core/theme/textstayle_app.dart'... | 3 |
fes-ho/PIN-Code | a6806a8 | frontend/lib/src/features/habits/application/habit_service.dart | Dart | www.github.com/fes-ho/PIN-Code/tree/main/frontend/lib/src/features/habits/application/habit_service.dart | https://raw.githubusercontent.com/fes-ho/PIN-Code/a6806a8/frontend/lib/src/features/habits/application/habit_service.dart | fes-ho/PIN-Code a6806a8 frontend/lib/src/features/habits/application/habit_service.dart | true | 200 | 4,035 | import 'dart:convert';
import 'package:frontend/src/config.dart';
import 'package:frontend/src/features/habits/domain/day_time.dart';
import 'package:frontend/src/features/habits/domain/habit.dart';
import 'package:frontend/src/features/streaks/services/streak_service.dart';
import 'package:frontend/src/utils/headers_f... | 1 |
jsuofga/flutter-hdlan-zoned | 69530ce | lib/custom/card_zone.dart | Dart | www.github.com/jsuofga/flutter-hdlan-zoned/tree/main/lib/custom/card_zone.dart | https://raw.githubusercontent.com/jsuofga/flutter-hdlan-zoned/69530ce/lib/custom/card_zone.dart | jsuofga/flutter-hdlan-zoned 69530ce lib/custom/card_zone.dart | true | 200 | 2,474 | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:hdlan_controller/provider_model.dart';
class CardZone extends StatefulWidget {
int zoneID ;
String zoneName = '';
//Constructor
CardZone({required this.zoneID,required this.zoneName });
@override
State<CardZ... | 7 |
krishnathummar118/disable_screenshot | c3cdd00 | lib/controller/ScreenCaptureController.dart | Dart | www.github.com/krishnathummar118/disable_screenshot/tree/main/lib/controller/ScreenCaptureController.dart | https://raw.githubusercontent.com/krishnathummar118/disable_screenshot/c3cdd00/lib/controller/ScreenCaptureController.dart | krishnathummar118/disable_screenshot c3cdd00 lib/controller/ScreenCaptureController.dart | true | 200 | 857 | import 'package:flutter/services.dart';
import 'dart:io';
class ScreenCaptureController {
static const MethodChannel _channel =
MethodChannel('disable_screenshot');
static final ScreenCaptureController _instance =
ScreenCaptureController._internal();
factory ScreenCaptureController() {
return _instance... | 0 |
ahmed122222222222/lms-managment | 517e6e6 | lib/featcher/Loginscreen/presention/view/Login.dart | Dart | www.github.com/ahmed122222222222/lms-managment/tree/main/lib/featcher/Loginscreen/presention/view/Login.dart | https://raw.githubusercontent.com/ahmed122222222222/lms-managment/517e6e6/lib/featcher/Loginscreen/presention/view/Login.dart | ahmed122222222222/lms-managment 517e6e6 lib/featcher/Loginscreen/presention/view/Login.dart | true | 200 | 570 | import 'package:flutter/material.dart';
import 'package:lms/featcher/Loginscreen/presention/view/widget/loginbody.dart';
class Login extends StatelessWidget {
const Login({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
body: Container(
decoration: const BoxDecora... | 5 |
samuelBaz/fitness_app | 25b4db4 | lib/screens/wellcome_screen.dart | Dart | www.github.com/samuelBaz/fitness_app/tree/main/lib/screens/wellcome_screen.dart | https://raw.githubusercontent.com/samuelBaz/fitness_app/25b4db4/lib/screens/wellcome_screen.dart | samuelBaz/fitness_app 25b4db4 lib/screens/wellcome_screen.dart | true | 200 | 2,001 | import 'package:fitness_app/app_routes.dart';
import 'package:fitness_app/widgets/button_fit.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
class WellcomeScreen extends StatefulWidget {
const WellcomeScreen({super.key});
@override
State<WellcomeScreen> createState(... | 2 |
flutteruniv/happyo | a173c63 | lib/page/home_page.dart | Dart | www.github.com/flutteruniv/happyo/tree/main/lib/page/home_page.dart | https://raw.githubusercontent.com/flutteruniv/happyo/a173c63/lib/page/home_page.dart | flutteruniv/happyo a173c63 lib/page/home_page.dart | true | 200 | 1,872 | import 'package:flutter/material.dart';
import 'package:happyo/common/routes.dart';
import 'package:happyo/infrastructure/repository/master_repository.dart';
import 'package:happyo/widgets/custom_tab_bar.dart';
import 'package:happyo/widgets/play_list.dart';
class HomePage extends StatelessWidget {
const HomePage({K... | 3 |
Mujtabaa-Ahmed/_1st_app | b96ca07 | lib/chatScreen.dart | Dart | www.github.com/Mujtabaa-Ahmed/_1st_app/tree/main/lib/chatScreen.dart | https://raw.githubusercontent.com/Mujtabaa-Ahmed/_1st_app/b96ca07/lib/chatScreen.dart | Mujtabaa-Ahmed/_1st_app b96ca07 lib/chatScreen.dart | true | 200 | 4,944 | import 'package:flutter/material.dart';
import 'callMe.dart';
class ChatScreen extends StatelessWidget {
final String chatName;
const ChatScreen({super.key, required this.chatName});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
automaticallyImplyLeading: f... | 6 |
shakhjon/clot_app | 12de194 | lib/features/search_page/search_page_controller.dart | Dart | www.github.com/shakhjon/clot_app/tree/main/lib/features/search_page/search_page_controller.dart | https://raw.githubusercontent.com/shakhjon/clot_app/12de194/lib/features/search_page/search_page_controller.dart | shakhjon/clot_app 12de194 lib/features/search_page/search_page_controller.dart | true | 200 | 1,877 | import 'package:my_project/core/constants/color.dart';
import 'package:flutter/material.dart';
import 'package:iconsax_plus/iconsax_plus.dart';
import 'if_found.dart';
class SearchPageMain extends StatelessWidget {
const SearchPageMain({super.key});
@override
Widget build(BuildContext context) {
return Scaf... | 1 |
josuastg/HobiHub | 519f8fb | lib/group/data/models/group_model.dart | Dart | www.github.com/josuastg/HobiHub/tree/main/lib/group/data/models/group_model.dart | https://raw.githubusercontent.com/josuastg/HobiHub/519f8fb/lib/group/data/models/group_model.dart | josuastg/HobiHub 519f8fb lib/group/data/models/group_model.dart | true | 200 | 927 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:hobihub/group/domain/entities/group_entity.dart';
class GroupModel extends GroupEntity {
const GroupModel({
final Timestamp? createdAt,
final String? groupName,
final String? groupProfileImage,
final String? uid,
}) : super(
... | 0 |
ymm83/eAquaSaver_flutter | 3bb13c2 | lib/widgets/characteristic_tile.dart | Dart | www.github.com/ymm83/eAquaSaver_flutter/tree/main/lib/widgets/characteristic_tile.dart | https://raw.githubusercontent.com/ymm83/eAquaSaver_flutter/3bb13c2/lib/widgets/characteristic_tile.dart | ymm83/eAquaSaver_flutter 3bb13c2 lib/widgets/characteristic_tile.dart | true | 200 | 5,129 | import 'dart:async';
//import 'dart:math';
import "dart:typed_data";
import "package:flutter/material.dart";
import "package:flutter_blue_plus/flutter_blue_plus.dart";
import "../utils/snackbar_helper.dart";
import "descriptor_tile.dart";
class CharacteristicTile extends StatefulWidget {
final BluetoothCharacteris... | 7 |
PSR-Co/FRONTEND | 2a00ed6 | lib/presenter/review/review_service.dart | Dart | www.github.com/PSR-Co/FRONTEND/tree/main/lib/presenter/review/review_service.dart | https://raw.githubusercontent.com/PSR-Co/FRONTEND/2a00ed6/lib/presenter/review/review_service.dart | PSR-Co/FRONTEND 2a00ed6 lib/presenter/review/review_service.dart | true | 200 | 2,591 |
import '../../model/data/review/review_model.dart';
import '../../model/network/api_manager.dart';
enum REQUEST_TYPE { ADD, EDIT }
class ReviewService {
final REVIEW_LIST_URL = '/products';
final REVIEW_URL = '/reviews';
final REVIEW_POST_URL = '/orders';
/// Singleton Pattern
static final ReviewService _... | 5 |
duc896/htecomposadmin | f0930b3 | lib/Screen/Widgets/Sidebar/sidebar_widget.dart | Dart | www.github.com/duc896/htecomposadmin/tree/main/lib/Screen/Widgets/Sidebar/sidebar_widget.dart | https://raw.githubusercontent.com/duc896/htecomposadmin/f0930b3/lib/Screen/Widgets/Sidebar/sidebar_widget.dart | duc896/htecomposadmin f0930b3 lib/Screen/Widgets/Sidebar/sidebar_widget.dart | true | 200 | 5,238 | // ignore_for_file: unrelated_type_equality_checks
import 'package:flutter/material.dart';
import 'package:flutter_feather_icons/flutter_feather_icons.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
import 'package:salespro_saas_admin/Screen/Dashboard/dashboard.dart';
import '../../../Hom... | 2 |
vinod898/bazaar | 72220e4 | lib/models/user_model.dart | Dart | www.github.com/vinod898/bazaar/tree/main/lib/models/user_model.dart | https://raw.githubusercontent.com/vinod898/bazaar/72220e4/lib/models/user_model.dart | vinod898/bazaar 72220e4 lib/models/user_model.dart | true | 200 | 562 | class UserModel {
String? uid;
String? email;
String? firstName;
String? secondName;
UserModel({this.email, this.firstName, this.secondName, this.uid});
// from database
factory UserModel.fromMap(map) {
return UserModel(
email: map['email'],
firstName: map['firstName'],
secondN... | 3 |
kireatanaskov/MIS_Labs | e3ed846 | lab4/lib/screens/map_screen.dart | Dart | www.github.com/kireatanaskov/MIS_Labs/tree/main/lab4/lib/screens/map_screen.dart | https://raw.githubusercontent.com/kireatanaskov/MIS_Labs/e3ed846/lab4/lib/screens/map_screen.dart | kireatanaskov/MIS_Labs e3ed846 lab4/lib/screens/map_screen.dart | true | 200 | 4,589 | import 'dart:math';
import 'package:flutter/material.dart';
import 'package:flutter_map/flutter_map.dart';
import 'package:latlong2/latlong.dart';
import 'package:http/http.dart' as http;
import 'dart:convert';
import '../models/exam.dart';
class MapScreen extends StatefulWidget {
final Exam exam;
MapScreen({req... | 6 |
Remziz/vehical_app | 8423bce | lib/blocs/transport_on_set_state/transport_on_set_state_event.dart | Dart | www.github.com/Remziz/vehical_app/tree/main/lib/blocs/transport_on_set_state/transport_on_set_state_event.dart | https://raw.githubusercontent.com/Remziz/vehical_app/8423bce/lib/blocs/transport_on_set_state/transport_on_set_state_event.dart | Remziz/vehical_app 8423bce lib/blocs/transport_on_set_state/transport_on_set_state_event.dart | true | 200 | 648 | part of 'transport_on_set_state_bloc.dart';
sealed class TransportOnSetStateEvent extends Equatable {
const TransportOnSetStateEvent();
@override
List<Object> get props => [];
}
final class StateChangedEvent extends TransportOnSetStateEvent {
final int index;
final String status;
const StateChangedEvent... | 4 |
minahil57/Wajba-QR-Based-Restaurant-Ordering-App- | 8f4eaf4 | lib/QR_code_screen/bottomsheet.dart | Dart | www.github.com/minahil57/Wajba-QR-Based-Restaurant-Ordering-App-/tree/main/lib/QR_code_screen/bottomsheet.dart | https://raw.githubusercontent.com/minahil57/Wajba-QR-Based-Restaurant-Ordering-App-/8f4eaf4/lib/QR_code_screen/bottomsheet.dart | minahil57/Wajba-QR-Based-Restaurant-Ordering-App- 8f4eaf4 lib/QR_code_screen/bottomsheet.dart | true | 200 | 2,974 | import 'package:animated_notch_bottom_bar/animated_notch_bottom_bar/animated_notch_bottom_bar.dart';
import 'package:flutter/material.dart';
import 'package:wajba/Chat/chat.dart';
import 'package:wajba/QR_code_screen/qr_code.dart';
import '../main_splash_drawer/drawer.dart';
class MyAppy extends StatelessWidget {
c... | 1 |
ahmedzayan7920/chat | bfa3eed | lib/features/auth/ui/widgets/login/login_button.dart | Dart | www.github.com/ahmedzayan7920/chat/tree/main/lib/features/auth/ui/widgets/login/login_button.dart | https://raw.githubusercontent.com/ahmedzayan7920/chat/bfa3eed/lib/features/auth/ui/widgets/login/login_button.dart | ahmedzayan7920/chat bfa3eed lib/features/auth/ui/widgets/login/login_button.dart | true | 200 | 1,239 | import 'package:flutter/widgets.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import '../../../../../core/utils/app_strings.dart';
import '../../../../../core/widgets/custom_elevated_button.dart';
import '../../../logic/auth_cubit.dart';
import '../../../logic/auth_state.dart';
class LoginButton extends Sta... | 0 |
brasizza/simple_cart_spinbox_gets | 6494f07 | lib/app/data/services/products/products_service.dart | Dart | www.github.com/brasizza/simple_cart_spinbox_gets/tree/main/lib/app/data/services/products/products_service.dart | https://raw.githubusercontent.com/brasizza/simple_cart_spinbox_gets/6494f07/lib/app/data/services/products/products_service.dart | brasizza/simple_cart_spinbox_gets 6494f07 lib/app/data/services/products/products_service.dart | true | 200 | 573 | // ignore_for_file: public_member_api_docs, sort_constructors_first
import 'package:dynamic_products/app/data/models/product_model.dart';
import 'package:dynamic_products/app/data/repositories/products/i_products_repository.dart';
import 'i_products_service.dart';
class ProductsService implements IProductsService {
... | 7 |
RenanNB3/Agenda1.0 | 4358ae7 | lib/pages/contacts_screen.dart | Dart | www.github.com/RenanNB3/Agenda1.0/tree/main/lib/pages/contacts_screen.dart | https://raw.githubusercontent.com/RenanNB3/Agenda1.0/4358ae7/lib/pages/contacts_screen.dart | RenanNB3/Agenda1.0 4358ae7 lib/pages/contacts_screen.dart | true | 200 | 4,057 | import 'package:flutter/material.dart';
import 'contact_details_screen.dart';
import 'add_contact_screen.dart';
import 'contact.dart';
import 'package:path/path.dart';
import 'package:sqflite/sqflite.dart';
class ContactsScreen extends StatefulWidget {
@override
_ContactsScreenState createState() => _ContactsScree... | 5 |
mg120/cms_v3 | 13c78a8 | lib/views/courses/courses_screen.dart | Dart | www.github.com/mg120/cms_v3/tree/main/lib/views/courses/courses_screen.dart | https://raw.githubusercontent.com/mg120/cms_v3/13c78a8/lib/views/courses/courses_screen.dart | mg120/cms_v3 13c78a8 lib/views/courses/courses_screen.dart | true | 200 | 1,607 | import 'package:cms_app/controller/courses_controller.dart';
import 'package:cms_app/widgets/app_bar_widget.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import '../../widgets/empty_list_widget.dart';
import '../../widgets/loading_widget.dart';
import 'widgets/build_course_widget.dart';... | 2 |
blackmenthor/sample-clean-arch | f7620da | lib/domain/auth/repository/auth_repository.dart | Dart | www.github.com/blackmenthor/sample-clean-arch/tree/main/lib/domain/auth/repository/auth_repository.dart | https://raw.githubusercontent.com/blackmenthor/sample-clean-arch/f7620da/lib/domain/auth/repository/auth_repository.dart | blackmenthor/sample-clean-arch f7620da lib/domain/auth/repository/auth_repository.dart | true | 200 | 1,309 | import 'package:flutter_clean_arch/core/di/di.dart';
import 'package:flutter_clean_arch/core/shared_prefs/shared_prefs.dart';
import 'package:flutter_clean_arch/domain/auth/models/user.dart';
import 'package:flutter_clean_arch/domain/auth/repository/auth_api_repository.dart';
class AuthRepository {
final cacheSource... | 3 |
RiadhAdrani/werewolves | 95bd8e7 | test/model_use_ability_test.dart | Dart | www.github.com/RiadhAdrani/werewolves/tree/main/test/model_use_ability_test.dart | https://raw.githubusercontent.com/RiadhAdrani/werewolves/95bd8e7/test/model_use_ability_test.dart | RiadhAdrani/werewolves 95bd8e7 test/model_use_ability_test.dart | true | 200 | 1,999 | import 'package:flutter_test/flutter_test.dart';
import 'package:werewolves/models/ability.dart';
import 'package:werewolves/models/player.dart';
import 'package:werewolves/models/use_ability_model.dart';
import 'package:werewolves/objects/roles/protector.dart';
void main() {
group("UseAbility", () {
var player ... | 6 |
AlDaniel1337/yes_no_app | 46cdce3 | lib/presentation/widgets/message_field_box/message_field_box.dart | Dart | www.github.com/AlDaniel1337/yes_no_app/tree/main/lib/presentation/widgets/message_field_box/message_field_box.dart | https://raw.githubusercontent.com/AlDaniel1337/yes_no_app/46cdce3/lib/presentation/widgets/message_field_box/message_field_box.dart | AlDaniel1337/yes_no_app 46cdce3 lib/presentation/widgets/message_field_box/message_field_box.dart | true | 200 | 1,211 | import 'package:flutter/material.dart';
import 'package:yes_no_app/presentation/widgets/message_field_box/style/message_field_box_style.dart';
class MessageFieldBox extends StatelessWidget {
final ValueChanged<String> onValue;
const MessageFieldBox({
super.key,
required this.onValue
});
@overr... | 4 |
ChrisWW/LearningManagerFlutterver2 | ea7a4a7 | lib/bloc/goals/goals_bloc.dart | Dart | www.github.com/ChrisWW/LearningManagerFlutterver2/tree/main/lib/bloc/goals/goals_bloc.dart | https://raw.githubusercontent.com/ChrisWW/LearningManagerFlutterver2/ea7a4a7/lib/bloc/goals/goals_bloc.dart | ChrisWW/LearningManagerFlutterver2 ea7a4a7 lib/bloc/goals/goals_bloc.dart | true | 200 | 3,072 | import 'package:flutter/material.dart';
import 'package:flutter_production_boilerplate/bloc/goals/goals_search_cubit.dart';
import 'package:flutter_production_boilerplate/data/models/goal/goal.dart';
import 'package:flutter_production_boilerplate/repositories/goals_repository.dart';
import 'package:flutter_production_b... | 1 |
Aman8996622/movie-app-tmdb | 5b1955e | lib/presentation/screen/movie_list_screen/bloc/movie_bloc.dart | Dart | www.github.com/Aman8996622/movie-app-tmdb/tree/main/lib/presentation/screen/movie_list_screen/bloc/movie_bloc.dart | https://raw.githubusercontent.com/Aman8996622/movie-app-tmdb/5b1955e/lib/presentation/screen/movie_list_screen/bloc/movie_bloc.dart | Aman8996622/movie-app-tmdb 5b1955e lib/presentation/screen/movie_list_screen/bloc/movie_bloc.dart | true | 200 | 5,909 | // movie_bloc.dart
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:hive_flutter/hive_flutter.dart';
import 'package:movieapp/data/models/movie_model.dart';
import 'package:movieapp/data/repositories/movie_repository.dart';
import 'package:movieapp/presentation/screen/movie_list_screen/bloc/movie_event.... | 0 |
athuljohny/apicodes | 707c772 | lib/helperservices/helper.dart | Dart | www.github.com/athuljohny/apicodes/tree/main/lib/helperservices/helper.dart | https://raw.githubusercontent.com/athuljohny/apicodes/707c772/lib/helperservices/helper.dart | athuljohny/apicodes 707c772 lib/helperservices/helper.dart | true | 200 | 607 | import 'dart:convert';
import 'package:http/http.dart' as http;
import '/model/detailsdata.dart';
class HelperService {
static Future<List<Datum>> getCourses() async {
var client = http.Client();
var uri =
'https://datausa.io/api/data?drilldowns=Nation&measures=Population';
var url = Uri.parse(u... | 5 |
houssem019/iStart | 2a9bd82 | lib/widget/divider.dart | Dart | www.github.com/houssem019/iStart/tree/main/lib/widget/divider.dart | https://raw.githubusercontent.com/houssem019/iStart/2a9bd82/lib/widget/divider.dart | houssem019/iStart 2a9bd82 lib/widget/divider.dart | true | 200 | 599 | import 'package:flutter/material.dart';
class Div extends StatelessWidget {
const Div({ Key? key }) : super(key: key);
@override
Widget build(BuildContext context) {
return Padding(
padding: const EdgeInsets.only(top: 35,left: 50, right: 50),
child: Column(
children: [
Text("Or"... | 2 |
jannatul/display_server_data | e6db10d | lib/controllers/log_in_controller.dart | Dart | www.github.com/jannatul/display_server_data/tree/main/lib/controllers/log_in_controller.dart | https://raw.githubusercontent.com/jannatul/display_server_data/e6db10d/lib/controllers/log_in_controller.dart | jannatul/display_server_data e6db10d lib/controllers/log_in_controller.dart | true | 200 | 1,781 | import 'package:flutter/cupertino.dart';
import 'dart:convert';
import 'package:get/get.dart';
import 'package:http/http.dart' as httpJannatul;
import '../pages/my_products_list_page.dart';
import '../pages/product_list_page.dart';
class LogInController extends GetxController{
final TextEditingController userNameCont... | 6 |
FerialSalah/skori_app | d215103 | lib/modules/authentication/domain/entity/type_entity.dart | Dart | www.github.com/FerialSalah/skori_app/tree/main/lib/modules/authentication/domain/entity/type_entity.dart | https://raw.githubusercontent.com/FerialSalah/skori_app/d215103/lib/modules/authentication/domain/entity/type_entity.dart | FerialSalah/skori_app d215103 lib/modules/authentication/domain/entity/type_entity.dart | true | 200 | 431 | import 'package:equatable/equatable.dart';
class TypeEntity extends Equatable {
final String code;
final bool isFan;
final bool isPlayer;
final bool isAdmin;
final bool isSupervisor;
TypeEntity({
required this.code,
required this.isFan,
required this.isPlayer,
required this.isAdmin,
... | 3 |
tarekFpi/-MovieFlutterTask | d5d17d0 | lib/core/features/home/search_screen.dart | Dart | www.github.com/tarekFpi/-MovieFlutterTask/tree/main/lib/core/features/home/search_screen.dart | https://raw.githubusercontent.com/tarekFpi/-MovieFlutterTask/d5d17d0/lib/core/features/home/search_screen.dart | tarekFpi/-MovieFlutterTask d5d17d0 lib/core/features/home/search_screen.dart | true | 200 | 2,740 |
import 'package:basie_project/core/features/home/model/MovieResponse.dart';
import 'package:basie_project/core/features/theme/color_scheme.dart';
import 'package:flutter/material.dart';
class SearchDetails extends StatefulWidget {
final Search movielist;
SearchDetails({super.key,required this.movielist});
... | 7 |
MandirDas/Working-Firebase-Flutter-App | 04cd85f | lib/semester/sem8.dart | Dart | www.github.com/MandirDas/Working-Firebase-Flutter-App/tree/main/lib/semester/sem8.dart | https://raw.githubusercontent.com/MandirDas/Working-Firebase-Flutter-App/04cd85f/lib/semester/sem8.dart | MandirDas/Working-Firebase-Flutter-App 04cd85f lib/semester/sem8.dart | true | 200 | 660 | import 'package:flutter/material.dart';
import 'package:instagram_clone/widgets/widgets_sem.dart';
import '../mainbody/bodysem.dart';
class sem8 extends StatefulWidget {
@override
State<sem8> createState() => _sem8State();
}
class _sem8State extends State<sem8> {
final String location_s8='/files/3rd_sem/pra... | 4 |
ayaanpathan/top_up_app | e53df1b | lib/domain/usecases/remove_beneficiary.dart | Dart | www.github.com/ayaanpathan/top_up_app/tree/main/lib/domain/usecases/remove_beneficiary.dart | https://raw.githubusercontent.com/ayaanpathan/top_up_app/e53df1b/lib/domain/usecases/remove_beneficiary.dart | ayaanpathan/top_up_app e53df1b lib/domain/usecases/remove_beneficiary.dart | true | 200 | 644 | import 'package:top_up_app/domain/repositories/beneficiary_repository.dart';
/// Use case for removing a beneficiary.
class RemoveBeneficiary {
/// The repository for managing beneficiaries.
final BeneficiaryRepository repository;
/// Constructor for `RemoveBeneficiary` use case.
///
/// [repository] - The ... | 1 |
vinay7869/tic_tac_toe | 8ce05d1 | lib/play.dart | Dart | www.github.com/vinay7869/tic_tac_toe/tree/main/lib/play.dart | https://raw.githubusercontent.com/vinay7869/tic_tac_toe/8ce05d1/lib/play.dart | vinay7869/tic_tac_toe 8ce05d1 lib/play.dart | true | 200 | 4,618 | import 'package:flutter/material.dart';
import 'package:tic_tac_toe/main.dart';
class PlayPage extends StatefulWidget {
const PlayPage({Key? key}) : super(key: key);
@override
State<PlayPage> createState() => _PlayPageState();
}
class _PlayPageState extends State<PlayPage> {
List grid = [
'-',
'-',
... | 0 |
nuyos/shopping3 | 8dca0b3 | lib/item/ranking_list.dart | Dart | www.github.com/nuyos/shopping3/tree/main/lib/item/ranking_list.dart | https://raw.githubusercontent.com/nuyos/shopping3/8dca0b3/lib/item/ranking_list.dart | nuyos/shopping3 8dca0b3 lib/item/ranking_list.dart | true | 200 | 3,498 | //item/Ranking_list.dart
import 'package:flutter/material.dart';
import 'package:shopping3/const/colors.dart';
import 'package:shopping3/item/item_detail.dart';
import 'package:shopping3/model/cart.dart';
class RankList extends StatelessWidget {
final List<CartItem> cartItems;
RankList({required this.cartItems});... | 5 |
danbi4f/vita_app | e7e2114 | lib/common/repository/data/local_database.dart | Dart | www.github.com/danbi4f/vita_app/tree/main/lib/common/repository/data/local_database.dart | https://raw.githubusercontent.com/danbi4f/vita_app/e7e2114/lib/common/repository/data/local_database.dart | danbi4f/vita_app e7e2114 lib/common/repository/data/local_database.dart | true | 200 | 4,074 | import 'package:flutter/material.dart';
import 'package:isar/isar.dart';
import 'package:path_provider/path_provider.dart';
import 'package:vita_app/common/repository/models/survey_foods_model.dart';
import 'package:vita_app/features/3_meals/models/recipe_model.dart';
class LocalDatabase extends ChangeNotifier {
st... | 2 |
CallMeSahril/vespa_apps_two | cbdd9d7 | lib/page/detail_screen.page.dart | Dart | www.github.com/CallMeSahril/vespa_apps_two/tree/main/lib/page/detail_screen.page.dart | https://raw.githubusercontent.com/CallMeSahril/vespa_apps_two/cbdd9d7/lib/page/detail_screen.page.dart | CallMeSahril/vespa_apps_two cbdd9d7 lib/page/detail_screen.page.dart | true | 200 | 4,133 | import 'package:flutter/material.dart';
import 'package:vespa_apps/class/Itemvespa/item_vespa.dart';
class DetailScreenPage extends StatelessWidget {
const DetailScreenPage({Key? key, required this.place}) : super(key: key);
final Vespa place;
@override
Widget build(BuildContext context) {
return Scaffold(... | 3 |
miroevry/flutter-demo | 56aba22 | my_app/lib/services/weather_service.dart | Dart | www.github.com/miroevry/flutter-demo/tree/main/my_app/lib/services/weather_service.dart | https://raw.githubusercontent.com/miroevry/flutter-demo/56aba22/my_app/lib/services/weather_service.dart | miroevry/flutter-demo 56aba22 my_app/lib/services/weather_service.dart | true | 200 | 1,258 | import 'dart:convert';
import 'package:geocoding/geocoding.dart';
import '../models/weather_model.dart';
import 'package:http/http.dart' as http;
import 'package:geolocator/geolocator.dart';
class WeatherService {
static const BASE_URL = 'http://api.weatherapi.com/v1/current.json';
final String apiKey;
Weath... | 6 |
PeterTawaky/dart_power | b9c8b95 | sealed_class/auth/lib/main.dart | Dart | www.github.com/PeterTawaky/dart_power/tree/main/sealed_class/auth/lib/main.dart | https://raw.githubusercontent.com/PeterTawaky/dart_power/b9c8b95/sealed_class/auth/lib/main.dart | PeterTawaky/dart_power b9c8b95 sealed_class/auth/lib/main.dart | true | 200 | 942 | sealed class AuthState {}
class Authenticated extends AuthState {
final String userId;
final String email;
Authenticated(this.userId, this.email);
}
class UnAuthenticated extends AuthState {}
class AuthLoading extends AuthState {}
void handleAuthState(AuthState state) {
switch (state) {
case Authentica... | 7 |
lie16/fic_exercises | 0008ea4 | lib/module/tutorial/latihan/ltfm_edit_profile/view/ltfm_edit_profile_view.dart | Dart | www.github.com/lie16/fic_exercises/tree/main/lib/module/tutorial/latihan/ltfm_edit_profile/view/ltfm_edit_profile_view.dart | https://raw.githubusercontent.com/lie16/fic_exercises/0008ea4/lib/module/tutorial/latihan/ltfm_edit_profile/view/ltfm_edit_profile_view.dart | lie16/fic_exercises 0008ea4 lib/module/tutorial/latihan/ltfm_edit_profile/view/ltfm_edit_profile_view.dart | true | 200 | 2,196 | import 'package:flutter/material.dart';
import 'package:example/core.dart';
class LtfmEditProfileView extends StatefulWidget {
const LtfmEditProfileView({Key? key}) : super(key: key);
Widget build(context, LtfmEditProfileController controller) {
controller.view = this;
return Scaffold(
appBar: AppB... | 1 |
Priyaranjan-DA/Petverse | 426ee58 | petverse/lib/frontend/lostandfound1.dart | Dart | www.github.com/Priyaranjan-DA/Petverse/tree/main/petverse/lib/frontend/lostandfound1.dart | https://raw.githubusercontent.com/Priyaranjan-DA/Petverse/426ee58/petverse/lib/frontend/lostandfound1.dart | Priyaranjan-DA/Petverse 426ee58 petverse/lib/frontend/lostandfound1.dart | true | 200 | 8,562 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:geolocator/geolocator.dart';
import 'package:petverse/frontend/petdetailsscreen.dart';
import 'package:petverse/frontend/reportlostpet.dart';
import 'package:s... | 4 |
ChillPandey/Mentee | 9c9ae17 | lib/widgets/chat_user_card.dart | Dart | www.github.com/ChillPandey/Mentee/tree/main/lib/widgets/chat_user_card.dart | https://raw.githubusercontent.com/ChillPandey/Mentee/9c9ae17/lib/widgets/chat_user_card.dart | ChillPandey/Mentee 9c9ae17 lib/widgets/chat_user_card.dart | true | 200 | 1,872 | import 'package:cached_network_image/cached_network_image.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:mento/main.dart';
import 'package:mento/models/chat_user.dart';
class ChatUserCard extends StatefulWidget {
final ChatUser user;
const ChatUserCard({supe... | 0 |
jcortezOleTecno/transcoseApp | 0cdfb06 | lib/app/view/my_services/events/bloc/events_state.dart | Dart | www.github.com/jcortezOleTecno/transcoseApp/tree/main/lib/app/view/my_services/events/bloc/events_state.dart | https://raw.githubusercontent.com/jcortezOleTecno/transcoseApp/0cdfb06/lib/app/view/my_services/events/bloc/events_state.dart | jcortezOleTecno/transcoseApp 0cdfb06 lib/app/view/my_services/events/bloc/events_state.dart | true | 200 | 491 | import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:vemare/app/domain/model/header.dart';
part 'events_state.freezed.dart';
@freezed
class EventsState with _$EventsState {
const factory EventsState({
@Default(false) bool loading,
// @Default(<Header>[]) List<Header> headers,
Hea... | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.