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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
baymanlive/ITEQDG_ERP | 989ed71 | apda/utils/app_client.dart | Dart | www.github.com/baymanlive/ITEQDG_ERP/tree/main/apda/utils/app_client.dart | https://raw.githubusercontent.com/baymanlive/ITEQDG_ERP/989ed71/apda/utils/app_client.dart | baymanlive/ITEQDG_ERP 989ed71 apda/utils/app_client.dart | true | 200 | 1,156 | import 'dart:convert';
import 'package:apda/utils/app_const.dart';
import 'package:get/get.dart';
import 'package:http/http.dart';
class AppClient {
static getAsync(
String path,
Object obj, {
Function()? onFail,
Function()? onFinal,
void Function(dynamic obj)? onSuccess,
}) async {
// try... | 3 |
rootasjey/courrier | c4ec442 | lib/screens/messages_page/action_header.dart | Dart | www.github.com/rootasjey/courrier/tree/main/lib/screens/messages_page/action_header.dart | https://raw.githubusercontent.com/rootasjey/courrier/c4ec442/lib/screens/messages_page/action_header.dart | rootasjey/courrier c4ec442 lib/screens/messages_page/action_header.dart | true | 200 | 3,319 | import "package:courrier/components/fade_in_x.dart";
import "package:courrier/types/enums/enum_page_data_filter.dart";
import "package:courrier/types/message.dart";
import "package:easy_localization/easy_localization.dart";
import "package:flutter/material.dart";
import "package:font_awesome_flutter/font_awesome_flutte... | 6 |
Omnia-97/E-commerce_App | bfcf889 | lib/features/wish_list/presentation/widgets/wish_list_item.dart | Dart | www.github.com/Omnia-97/E-commerce_App/tree/main/lib/features/wish_list/presentation/widgets/wish_list_item.dart | https://raw.githubusercontent.com/Omnia-97/E-commerce_App/bfcf889/lib/features/wish_list/presentation/widgets/wish_list_item.dart | Omnia-97/E-commerce_App bfcf889 lib/features/wish_list/presentation/widgets/wish_list_item.dart | true | 200 | 7,827 | import 'package:cached_network_image/cached_network_image.dart';
import 'package:e_commerce_app/config.dart';
import 'package:e_commerce_app/core/utils/app_colors.dart';
import 'package:e_commerce_app/core/utils/app_images.dart';
import 'package:e_commerce_app/core/utils/app_strings.dart';
import 'package:e_commerce_ap... | 7 |
flavynho-gif/consumindo_api | 77a55b0 | bin/consumindo_apis.dart | Dart | www.github.com/flavynho-gif/consumindo_api/tree/main/bin/consumindo_apis.dart | https://raw.githubusercontent.com/flavynho-gif/consumindo_api/77a55b0/bin/consumindo_apis.dart | flavynho-gif/consumindo_api 77a55b0 bin/consumindo_apis.dart | true | 200 | 1,262 | import 'dart:convert';
import 'package:crypto/crypto.dart' as crypto_hash;
import 'package:http/http.dart' as http;
Future<void> main() async {
final String publicKey = '33a7a8e0c30161d063e6bb258801488f';
final String privateKey = '78efc93778279f22e82b3d065394b500c6a738a8';
final String marvelCharacters =
... | 0 |
MACKEYLABS/FlutterMobileApp | cffe435 | lib/ScoreWidget.dart | Dart | www.github.com/MACKEYLABS/FlutterMobileApp/tree/main/lib/ScoreWidget.dart | https://raw.githubusercontent.com/MACKEYLABS/FlutterMobileApp/cffe435/lib/ScoreWidget.dart | MACKEYLABS/FlutterMobileApp cffe435 lib/ScoreWidget.dart | true | 200 | 644 | import 'package:flutter/material.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
class ScoreWidget extends StatelessWidget {
final int score;
const ScoreWidget({super.key, required this.score});
@override
Widget build(BuildContext context) {
return Column(
children: <Widget>[
... | 4 |
duccuong145/app_xem_tro | bdb70d3 | app_xem_tro-main/lib/config/widget/select_image.dart | Dart | www.github.com/duccuong145/app_xem_tro/tree/main/app_xem_tro-main/lib/config/widget/select_image.dart | https://raw.githubusercontent.com/duccuong145/app_xem_tro/bdb70d3/app_xem_tro-main/lib/config/widget/select_image.dart | duccuong145/app_xem_tro bdb70d3 app_xem_tro-main/lib/config/widget/select_image.dart | true | 200 | 850 | import 'package:app_xem_tro/provider/house_register_provider.dart';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
class ImageSelected extends StatelessWidget {
const ImageSelected({super.key});
@override
Widget build(BuildContext context) {
return FractionallySizedBox(
... | 2 |
notizen-00/pos_flutter | 4023d95 | lib/features/product/data/dto/product_dto.dart | Dart | www.github.com/notizen-00/pos_flutter/tree/main/lib/features/product/data/dto/product_dto.dart | https://raw.githubusercontent.com/notizen-00/pos_flutter/4023d95/lib/features/product/data/dto/product_dto.dart | notizen-00/pos_flutter 4023d95 lib/features/product/data/dto/product_dto.dart | true | 200 | 2,437 | import 'package:blog_app/features/product/domain/entities/product.dart';
import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:flutter/foundation.dart';
part 'product_dto.freezed.dart';
part 'product_dto.g.dart';
@freezed
class ProductDto with _$ProductDto {
factory ProductDto({
required ... | 5 |
Amarj234/apeejay_crew_management | 32bc90f | lib/screen/profileSetup/tabPage/back_tab.dart | Dart | www.github.com/Amarj234/apeejay_crew_management/tree/main/lib/screen/profileSetup/tabPage/back_tab.dart | https://raw.githubusercontent.com/Amarj234/apeejay_crew_management/32bc90f/lib/screen/profileSetup/tabPage/back_tab.dart | Amarj234/apeejay_crew_management 32bc90f lib/screen/profileSetup/tabPage/back_tab.dart | true | 200 | 7,315 | import 'dart:convert';
import 'package:auto_size_text/auto_size_text.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:google_fonts/google_fonts.dart';
import '../../../commonBloc/dropdownList/dropdown_bloc.dart';
import '../../../commonBloc/uploadpic/upload... | 3 |
aerri/my_notebook | e39d3ef | lib/view_models/contact_view_model.dart | Dart | www.github.com/aerri/my_notebook/tree/main/lib/view_models/contact_view_model.dart | https://raw.githubusercontent.com/aerri/my_notebook/e39d3ef/lib/view_models/contact_view_model.dart | aerri/my_notebook e39d3ef lib/view_models/contact_view_model.dart | true | 200 | 943 | import 'package:my_notebook/app/app.locator.dart';
import 'package:my_notebook/app/app.router.dart';
import 'package:my_notebook/models/contact.dart';
import 'package:my_notebook/models/phone.dart';
// ignore: import_of_legacy_library_into_null_safe
import 'package:stacked/stacked.dart';
// ignore: import_of_legacy_lib... | 6 |
mikecc788/MultiTechApp | f1db3a0 | demo_flutter/lib/page/fourth_page.dart | Dart | www.github.com/mikecc788/MultiTechApp/tree/main/demo_flutter/lib/page/fourth_page.dart | https://raw.githubusercontent.com/mikecc788/MultiTechApp/f1db3a0/demo_flutter/lib/page/fourth_page.dart | mikecc788/MultiTechApp f1db3a0 demo_flutter/lib/page/fourth_page.dart | true | 200 | 1,625 | import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
class FourthPage extends StatefulWidget {
const FourthPage({Key? key}) : super(key: key);
@override
State<FourthPage> createState() => _FourthPageState();
}
class _FourthPageState extends State<FourthPage> {
static const platform... | 0 |
offical-waqas-khurshid/e_commerece_store_app | bb9f945 | lib/app/modules/detail_page/controllers/detail_page_controller.dart | Dart | www.github.com/offical-waqas-khurshid/e_commerece_store_app/tree/main/lib/app/modules/detail_page/controllers/detail_page_controller.dart | https://raw.githubusercontent.com/offical-waqas-khurshid/e_commerece_store_app/bb9f945/lib/app/modules/detail_page/controllers/detail_page_controller.dart | offical-waqas-khurshid/e_commerece_store_app bb9f945 lib/app/modules/detail_page/controllers/detail_page_controller.dart | true | 200 | 1,443 | import 'package:e_commerece_store_app/app/modules/home_page/controllers/home_page_controller.dart';
import 'package:e_commerece_store_app/app/models/Products.dart';
import 'package:flutter/material.dart';
import 'package:fluttertoast/fluttertoast.dart';
import 'package:get/get.dart';
class DetailPageController extends... | 7 |
ibrahimMedhat-1/eductaion_system | d4d8a62 | lib/student/features/profile/widgets/personal_data.dart | Dart | www.github.com/ibrahimMedhat-1/eductaion_system/tree/main/lib/student/features/profile/widgets/personal_data.dart | https://raw.githubusercontent.com/ibrahimMedhat-1/eductaion_system/d4d8a62/lib/student/features/profile/widgets/personal_data.dart | ibrahimMedhat-1/eductaion_system d4d8a62 lib/student/features/profile/widgets/personal_data.dart | true | 200 | 1,689 | import 'package:education_system/models/student_model.dart';
import 'package:flutter/material.dart';
import '../../../../components/locale/applocale.dart';
import '../../../../shared/utils/colors.dart';
class PersonalData extends StatelessWidget {
final StudentModel studentModel;
const PersonalData({super.key, re... | 2 |
EngrSagorHossain/ecommerce_seller_app | 568a0de | lib/presentation/shop_details_two_tab_container_screen/binding/shop_details_two_tab_container_binding.dart | Dart | www.github.com/EngrSagorHossain/ecommerce_seller_app/tree/main/lib/presentation/shop_details_two_tab_container_screen/binding/shop_details_two_tab_container_binding.dart | https://raw.githubusercontent.com/EngrSagorHossain/ecommerce_seller_app/568a0de/lib/presentation/shop_details_two_tab_container_screen/binding/shop_details_two_tab_container_binding.dart | EngrSagorHossain/ecommerce_seller_app 568a0de lib/presentation/shop_details_two_tab_container_screen/binding/shop_details_two_tab_container_binding.dart | true | 200 | 476 | import '../controller/shop_details_two_tab_container_controller.dart';
import 'package:get/get.dart';
/// A binding class for the ShopDetailsTwoTabContainerScreen.
///
/// This class ensures that the ShopDetailsTwoTabContainerController is created when the
/// ShopDetailsTwoTabContainerScreen is first loaded.
class Sh... | 3 |
gudda-hub/G-Hub | bf31723 | lib/commons/logic/payment.dart | Dart | www.github.com/gudda-hub/G-Hub/tree/main/lib/commons/logic/payment.dart | https://raw.githubusercontent.com/gudda-hub/G-Hub/bf31723/lib/commons/logic/payment.dart | gudda-hub/G-Hub bf31723 lib/commons/logic/payment.dart | true | 200 | 2,074 | import 'dart:developer';
import '../../export.dart';
final paymentProvider =
Provider.autoDispose<PaymentGateway>((ref) => PaymentGateway(ref: ref));
class PaymentGateway {
final AutoDisposeProviderRef<PaymentGateway> ref;
late Razorpay _razorpay;
late BuildContext buildContext;
double? totalAmount;
// ... | 6 |
karar0120/users-task | 88f753b | lib/features/login/data/repos/login_repo.dart | Dart | www.github.com/karar0120/users-task/tree/main/lib/features/login/data/repos/login_repo.dart | https://raw.githubusercontent.com/karar0120/users-task/88f753b/lib/features/login/data/repos/login_repo.dart | karar0120/users-task 88f753b lib/features/login/data/repos/login_repo.dart | true | 200 | 2,570 | import 'package:firebase_auth/firebase_auth.dart';
import 'package:google_sign_in/google_sign_in.dart';
import 'package:users_tasks/core/helper/shared_preferences.dart';
import 'package:users_tasks/core/networking/api_error_handler.dart';
import 'package:users_tasks/core/networking/api_result.dart';
import 'package:use... | 0 |
amruta123-dowell/daily_expense | d7e5abb | flutter_application_expense/lib/ui/add_transaction_screen/bloc/add_spend_bloc.dart | Dart | www.github.com/amruta123-dowell/daily_expense/tree/main/flutter_application_expense/lib/ui/add_transaction_screen/bloc/add_spend_bloc.dart | https://raw.githubusercontent.com/amruta123-dowell/daily_expense/d7e5abb/flutter_application_expense/lib/ui/add_transaction_screen/bloc/add_spend_bloc.dart | amruta123-dowell/daily_expense d7e5abb flutter_application_expense/lib/ui/add_transaction_screen/bloc/add_spend_bloc.dart | true | 200 | 883 | import 'dart:async';
import 'package:bloc/bloc.dart';
import 'add_spend_event.dart';
import 'add_spend_state.dart';
class AddSpendBloc extends Bloc<AddSpendEvent, AddSpendState> {
// final HomeWidgetBloc homeBloc;
AddSpendBloc() : super(AddSpendState()) {
on<AddSpendInitialEvent>(_initialize);
on<OnSelec... | 7 |
jayson4sure/rtp-flutter | 63b7a84 | lib/login/login_model.dart | Dart | www.github.com/jayson4sure/rtp-flutter/tree/main/lib/login/login_model.dart | https://raw.githubusercontent.com/jayson4sure/rtp-flutter/63b7a84/lib/login/login_model.dart | jayson4sure/rtp-flutter 63b7a84 lib/login/login_model.dart | true | 200 | 1,004 | import '/flutter_flow/flutter_flow_util.dart';
import 'login_widget.dart' show LoginWidget;
import 'package:flutter/material.dart';
class LoginModel extends FlutterFlowModel<LoginWidget> {
/// State fields for stateful widgets in this page.
// State field(s) for emailAddress widget.
FocusNode? emailAdd... | 1 |
sajibsaj66/flutter_residence_booking_app | eb04cf9 | lib/view/screen/auth/sign_in/sign_in_screen.dart | Dart | www.github.com/sajibsaj66/flutter_residence_booking_app/tree/main/lib/view/screen/auth/sign_in/sign_in_screen.dart | https://raw.githubusercontent.com/sajibsaj66/flutter_residence_booking_app/eb04cf9/lib/view/screen/auth/sign_in/sign_in_screen.dart | sajibsaj66/flutter_residence_booking_app eb04cf9 lib/view/screen/auth/sign_in/sign_in_screen.dart | true | 200 | 6,694 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:get/get.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:resid_plus_user/core/app_route.dart';
import 'package:resid_plus_user/servic... | 5 |
HoangTrieu02092003/app_nghe_nhac | 22897d8 | lib/storage_image_helper.dart | Dart | www.github.com/HoangTrieu02092003/app_nghe_nhac/tree/main/lib/storage_image_helper.dart | https://raw.githubusercontent.com/HoangTrieu02092003/app_nghe_nhac/22897d8/lib/storage_image_helper.dart | HoangTrieu02092003/app_nghe_nhac 22897d8 lib/storage_image_helper.dart | true | 200 | 1,044 | import 'dart:io';
import 'package:firebase_storage/firebase_storage.dart';
import 'package:flutter/foundation.dart';
import 'package:image_picker/image_picker.dart';
Future<String> uploadImage({required String imagePath, required List<String> folders, required String fileName}) async{
String downloadUrl;
// tạo đ... | 2 |
22521618/PlantApp | 5829744 | lib/widgets/custom_appbar.dart | Dart | www.github.com/22521618/PlantApp/tree/main/lib/widgets/custom_appbar.dart | https://raw.githubusercontent.com/22521618/PlantApp/5829744/lib/widgets/custom_appbar.dart | 22521618/PlantApp 5829744 lib/widgets/custom_appbar.dart | true | 200 | 418 | import 'package:flutter/material.dart';
class CustomAppBar extends StatelessWidget {
final String title;
const CustomAppBar({Key? key, required this.title}) : super(key: key);
@override
Widget build(BuildContext context) {
return Center(
child: Text(
title,
style: const TextStyle(
... | 3 |
Rajmathan22/skill-mentor- | 5e46eec | skillzmentors post validation/lib/Screens/home_screen/notification_screen/notifiaction_screen.dart | Dart | www.github.com/Rajmathan22/skill-mentor-/tree/main/skillzmentors post validation/lib/Screens/home_screen/notification_screen/notifiaction_screen.dart | https://raw.githubusercontent.com/Rajmathan22/skill-mentor-/5e46eec/skillzmentors%20post%20validation/lib/Screens/home_screen/notification_screen/notifiaction_screen.dart | Rajmathan22/skill-mentor- 5e46eec skillzmentors post validation/lib/Screens/home_screen/notification_screen/notifiaction_screen.dart | true | 200 | 6,843 | import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
class NotificationScreen extends StatefulWidget {
const NotificationScreen({Key? key}) : super(key: key);
@override
_NotificationScreenState createState() => _NotificationScreenState();
}
class _Notification... | 4 |
ahmed9949/MindSpeak-GP | 09c2d6f | flutter/mind_speak_app/lib/models/User.dart | Dart | www.github.com/ahmed9949/MindSpeak-GP/tree/main/flutter/mind_speak_app/lib/models/User.dart | https://raw.githubusercontent.com/ahmed9949/MindSpeak-GP/09c2d6f/flutter/mind_speak_app/lib/models/User.dart | ahmed9949/MindSpeak-GP 09c2d6f flutter/mind_speak_app/lib/models/User.dart | true | 200 | 1,363 | class UserModel {
final String userId;
final String email;
final String username;
final String role;
final String password;
final bool biometricEnabled;
UserModel({
required this.userId,
required this.email,
required this.username,
required this.role,
required this.password,
this.... | 6 |
khanblair/SRMS | 20cfa6a | lib/widgets/common/drawer.dart | Dart | www.github.com/khanblair/SRMS/tree/main/lib/widgets/common/drawer.dart | https://raw.githubusercontent.com/khanblair/SRMS/20cfa6a/lib/widgets/common/drawer.dart | khanblair/SRMS 20cfa6a lib/widgets/common/drawer.dart | true | 200 | 2,842 | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:srms/state/auth_provider.dart';
import 'package:srms/config/constants.dart';
class CustomDrawer extends StatelessWidget {
const CustomDrawer({super.key});
@override
Widget build(BuildContext context) {
final aut... | 0 |
AymenDevFull/wemanity_app | dafeb67 | lib/features/movies/presentation/bloc/movies_state.dart | Dart | www.github.com/AymenDevFull/wemanity_app/tree/main/lib/features/movies/presentation/bloc/movies_state.dart | https://raw.githubusercontent.com/AymenDevFull/wemanity_app/dafeb67/lib/features/movies/presentation/bloc/movies_state.dart | AymenDevFull/wemanity_app dafeb67 lib/features/movies/presentation/bloc/movies_state.dart | true | 200 | 644 | import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:wemanity_app/core/network/failure.dart';
import 'package:wemanity_app/features/movies/domain/entities/movie_entity.dart';
part 'movies_state.freezed.dart';
@Freezed(makeCollectionsUnmodifiable: false)
class MoviesState with _$MoviesState {
... | 7 |
aboelwafa/shop_App | 618a365 | lib/modules/Home&filter/cubit/my_home_cubit.dart | Dart | www.github.com/aboelwafa/shop_App/tree/main/lib/modules/Home&filter/cubit/my_home_cubit.dart | https://raw.githubusercontent.com/aboelwafa/shop_App/618a365/lib/modules/Home%26filter/cubit/my_home_cubit.dart | aboelwafa/shop_App 618a365 lib/modules/Home&filter/cubit/my_home_cubit.dart | true | 200 | 843 | // ignore_for_file: depend_on_referenced_packages, unnecessary_import
import 'package:bloc/bloc.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:meta/meta.dart';
import 'package:shop_app/modules/Home&filter/details_screen.dart';
import 'package:shop_app/mo... | 1 |
alirezark/ghadir | ddfca22 | lib/custom_code/actions/to_teammate_data_type.dart | Dart | www.github.com/alirezark/ghadir/tree/main/lib/custom_code/actions/to_teammate_data_type.dart | https://raw.githubusercontent.com/alirezark/ghadir/ddfca22/lib/custom_code/actions/to_teammate_data_type.dart | alirezark/ghadir ddfca22 lib/custom_code/actions/to_teammate_data_type.dart | true | 200 | 1,178 | // Automatic FlutterFlow imports
import '/backend/schema/structs/index.dart';
import '/backend/schema/enums/enums.dart';
import '/actions/actions.dart' as action_blocks;
import '/flutter_flow/flutter_flow_theme.dart';
import '/flutter_flow/flutter_flow_util.dart';
import 'index.dart'; // Imports other custom actions
im... | 5 |
vishalvishvakarma1111/bloc_demo | 483978b | lib/firebase_todo/video/video_item.dart | Dart | www.github.com/vishalvishvakarma1111/bloc_demo/tree/main/lib/firebase_todo/video/video_item.dart | https://raw.githubusercontent.com/vishalvishvakarma1111/bloc_demo/483978b/lib/firebase_todo/video/video_item.dart | vishalvishvakarma1111/bloc_demo 483978b lib/firebase_todo/video/video_item.dart | true | 200 | 2,290 | import 'package:chewie/chewie.dart';
import 'package:flutter/material.dart';
import 'package:video_player/video_player.dart';
class VideoItemView extends StatefulWidget {
final String url;
const VideoItemView({Key? key, required this.url}) : super(key: key);
@override
State<VideoItemView> createState() => _V... | 2 |
AdrienHoyoux/FitTrack | 4afcf9c | lib/classes/app_user.dart | Dart | www.github.com/AdrienHoyoux/FitTrack/tree/main/lib/classes/app_user.dart | https://raw.githubusercontent.com/AdrienHoyoux/FitTrack/4afcf9c/lib/classes/app_user.dart | AdrienHoyoux/FitTrack 4afcf9c lib/classes/app_user.dart | true | 200 | 1,149 | class Appuser{
String? name;
String? firstName;
String? weight;
String? biography;
String? birthDate;
bool? firstConnection;
String? imageURL;
Appuser({
this.name,
this.firstName,
this.weight,
this.biography,
this.birthDate,
this.firstConnection,
this.imageUR... | 3 |
subashkhatri36/pashu2024 | 33cf72e | lib/app/core/repositories/labor_repositiories.dart | Dart | www.github.com/subashkhatri36/pashu2024/tree/main/lib/app/core/repositories/labor_repositiories.dart | https://raw.githubusercontent.com/subashkhatri36/pashu2024/33cf72e/lib/app/core/repositories/labor_repositiories.dart | subashkhatri36/pashu2024 33cf72e lib/app/core/repositories/labor_repositiories.dart | true | 200 | 1,706 | import 'package:pasuhisab/app/constants/db_name.dart';
import 'package:pasuhisab/app/data/database/database.dart';
import 'package:pasuhisab/app/data/model/labor.dart';
abstract class LaborRepo {
Future<Labor?> getAllLabor(int challid);
Future<int> saveLabor(Labor labor);
Future<int> updateLabor(Labor labor);
... | 6 |
shuihuadx/remote_files | 97032b1 | lib/app.dart | Dart | www.github.com/shuihuadx/remote_files/tree/main/lib/app.dart | https://raw.githubusercontent.com/shuihuadx/remote_files/97032b1/lib/app.dart | shuihuadx/remote_files 97032b1 lib/app.dart | true | 200 | 2,912 | import 'dart:async';
import 'dart:io';
import 'package:device_info_plus/device_info_plus.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
class App {
static GlobalKey<NavigatorState> navigatorKey = GlobalKey();
static BuildContext? g... | 0 |
muhammed-jahas/trudd-flutter-dart-bloc-websocket-nodejs | 3100edd | lib/feature/map/presentation/widgets/search_bar.dart | Dart | www.github.com/muhammed-jahas/trudd-flutter-dart-bloc-websocket-nodejs/tree/main/lib/feature/map/presentation/widgets/search_bar.dart | https://raw.githubusercontent.com/muhammed-jahas/trudd-flutter-dart-bloc-websocket-nodejs/3100edd/lib/feature/map/presentation/widgets/search_bar.dart | muhammed-jahas/trudd-flutter-dart-bloc-websocket-nodejs 3100edd lib/feature/map/presentation/widgets/search_bar.dart | true | 200 | 1,370 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:trudd_track_your_buddy/core/utils/text_styles.dart';
import 'package:trudd_track_your_buddy/feature/map/presentation/bloc/search/search_bloc.dart';
import '../../../../core/components/app_textfield.dart';
import '.... | 7 |
SpokeSugar/question_marks | 6295126 | lib/question_marks_application.dart | Dart | www.github.com/SpokeSugar/question_marks/tree/main/lib/question_marks_application.dart | https://raw.githubusercontent.com/SpokeSugar/question_marks/6295126/lib/question_marks_application.dart | SpokeSugar/question_marks 6295126 lib/question_marks_application.dart | true | 200 | 4,575 | import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:go_router/go_router.dart';
import 'package:question_marks/mixin/localization_mixin.dart';
import 'package:question_marks/router/router.dart';
imp... | 1 |
qubic/wallet-app | 6b28816 | lib/dtos/current_balance_dto.dart | Dart | www.github.com/qubic/wallet-app/tree/main/lib/dtos/current_balance_dto.dart | https://raw.githubusercontent.com/qubic/wallet-app/6b28816/lib/dtos/current_balance_dto.dart | qubic/wallet-app 6b28816 lib/dtos/current_balance_dto.dart | true | 200 | 1,172 | /// A data transfer object representing the current balance of a wallet.
/// Holds results from Qubic GetNetworkBalances
class CurrentBalanceDto {
/// The public ID of the wallet.
final String publicId;
/// The current balance amount in the wallet.
final int amount;
/// The tick of the wallet.
final int t... | 5 |
shernandez1131/route_master_mobile_app | 36bea82 | lib/models/passenger_model.dart | Dart | www.github.com/shernandez1131/route_master_mobile_app/tree/main/lib/models/passenger_model.dart | https://raw.githubusercontent.com/shernandez1131/route_master_mobile_app/36bea82/lib/models/passenger_model.dart | shernandez1131/route_master_mobile_app 36bea82 lib/models/passenger_model.dart | true | 200 | 1,491 | import 'models.dart';
class Passenger {
final int userId;
final String firstName;
final String? middleName;
final String lastName;
final String? lastName2;
final String? phoneNumber;
final bool isActive;
final int paymentMethodId;
final User? user;
final PaymentMethod? paymentMethod;
final Wallet... | 2 |
akhil-ge0rge/education_app | ddf9607 | lib/src/onboarding/presentation/views/onboarding_screen.dart | Dart | www.github.com/akhil-ge0rge/education_app/tree/main/lib/src/onboarding/presentation/views/onboarding_screen.dart | https://raw.githubusercontent.com/akhil-ge0rge/education_app/ddf9607/lib/src/onboarding/presentation/views/onboarding_screen.dart | akhil-ge0rge/education_app ddf9607 lib/src/onboarding/presentation/views/onboarding_screen.dart | true | 200 | 3,103 | import 'package:education_app/core/common/view/loading_view.dart';
import 'package:education_app/core/common/widgets/gradient_background.dart';
import 'package:education_app/core/res/colors.dart';
import 'package:education_app/core/res/media_res.dart';
import 'package:education_app/src/onboarding/domain/entities/page_c... | 4 |
IgorDodukh/trudor | 6e967f3 | test/domain/usecases/delivery_info/get_cached_delivery_info_usecase_test.dart | Dart | www.github.com/IgorDodukh/trudor/tree/main/test/domain/usecases/delivery_info/get_cached_delivery_info_usecase_test.dart | https://raw.githubusercontent.com/IgorDodukh/trudor/6e967f3/test/domain/usecases/delivery_info/get_cached_delivery_info_usecase_test.dart | IgorDodukh/trudor 6e967f3 test/domain/usecases/delivery_info/get_cached_delivery_info_usecase_test.dart | true | 200 | 1,886 | import 'package:dartz/dartz.dart';
import 'package:spoto/core/error/failures.dart';
import 'package:spoto/core/usecases/usecase.dart';
import 'package:spoto/domain/repositories/delivery_info_repository.dart';
import 'package:spoto/domain/usecases/delivery_info/get_cached_delivery_info_usecase.dart';
import 'package:flu... | 3 |
ahmedabdelsalam22/shoppy | 85b7385 | lib/shop/module/favorites/favorites.dart | Dart | www.github.com/ahmedabdelsalam22/shoppy/tree/main/lib/shop/module/favorites/favorites.dart | https://raw.githubusercontent.com/ahmedabdelsalam22/shoppy/85b7385/lib/shop/module/favorites/favorites.dart | ahmedabdelsalam22/shoppy 85b7385 lib/shop/module/favorites/favorites.dart | true | 200 | 4,551 | import 'package:conditional_builder_null_safety/conditional_builder_null_safety.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_iconly/flutter_iconly.dart';
import 'package:shop_app_udgrade/shop/layout/cubit/cubit.dart';
import 'package:shop_app_ud... | 6 |
Harshul-Maheshwari/Emart-App | 2c2b0e0 | lib/views/profile_screen/components/details_cart.dart | Dart | www.github.com/Harshul-Maheshwari/Emart-App/tree/main/lib/views/profile_screen/components/details_cart.dart | https://raw.githubusercontent.com/Harshul-Maheshwari/Emart-App/2c2b0e0/lib/views/profile_screen/components/details_cart.dart | Harshul-Maheshwari/Emart-App 2c2b0e0 lib/views/profile_screen/components/details_cart.dart | true | 200 | 400 | import 'package:ecommerce_app/consts/consts.dart';
Widget detailsCart({width, String? count, String? title}) {
return Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
count!.text.color(darkFontGrey).size(16).fontFamily(semibold).make(),
5.heightBox,
title!.text.color(darkFon... | 0 |
SbudahNkoane/Ambulance_Dispatch_Mobile | 0bc5631 | lib/View_Models/Paramedic_Management/paramedic_management.dart | Dart | www.github.com/SbudahNkoane/Ambulance_Dispatch_Mobile/tree/main/lib/View_Models/Paramedic_Management/paramedic_management.dart | https://raw.githubusercontent.com/SbudahNkoane/Ambulance_Dispatch_Mobile/0bc5631/lib/View_Models/Paramedic_Management/paramedic_management.dart | SbudahNkoane/Ambulance_Dispatch_Mobile 0bc5631 lib/View_Models/Paramedic_Management/paramedic_management.dart | true | 200 | 9,097 | import 'package:ambulance_dispatch_application/Models/ambulance.dart';
import 'package:ambulance_dispatch_application/Models/paramedic.dart';
import 'package:ambulance_dispatch_application/Models/ticket.dart';
import 'package:ambulance_dispatch_application/Views/app_constants.dart';
import 'package:cloud_firestore/clou... | 1 |
BeshoSafwat/E_commerce | 346775b | lib/utils/alertDialog/alert_dialog.dart | Dart | www.github.com/BeshoSafwat/E_commerce/tree/main/lib/utils/alertDialog/alert_dialog.dart | https://raw.githubusercontent.com/BeshoSafwat/E_commerce/346775b/lib/utils/alertDialog/alert_dialog.dart | BeshoSafwat/E_commerce 346775b lib/utils/alertDialog/alert_dialog.dart | true | 200 | 2,073 | // ignore_for_file: prefer_const_constructors
import 'package:e_commerce_app/utils/theme/my_colors.dart';
import 'package:flutter/material.dart';
class DialogUtils {
static void showLoading(BuildContext context, String message) {
showDialog(
barrierDismissible: false,
context: context,
b... | 7 |
Phool-Prakash/LearnFlutter | c9e58fb | lib/Json/model/user.dart | Dart | www.github.com/Phool-Prakash/LearnFlutter/tree/main/lib/Json/model/user.dart | https://raw.githubusercontent.com/Phool-Prakash/LearnFlutter/c9e58fb/lib/Json/model/user.dart | Phool-Prakash/LearnFlutter c9e58fb lib/Json/model/user.dart | true | 200 | 1,100 | //this is userModel
class User {
final String name;
final int age;
final String email;
User({required this.name, required this.age, required this.email});
// factory User.fromJson(Map<String, dynamic> json) => _$UserFromJson(json);
// Map<String, dynamic> toJson() => _$UserToJson(this);
}
class Time {
... | 2 |
Ahmed2120/E.platform2 | 8187923 | lib/pages/whishlist/wishlist.dart | Dart | www.github.com/Ahmed2120/E.platform2/tree/main/lib/pages/whishlist/wishlist.dart | https://raw.githubusercontent.com/Ahmed2120/E.platform2/8187923/lib/pages/whishlist/wishlist.dart | Ahmed2120/E.platform2 8187923 lib/pages/whishlist/wishlist.dart | true | 200 | 2,971 | import 'dart:convert';
import 'package:eplatform/core/utility/app_colors.dart';
import 'package:eplatform/pages/components/row_title.dart';
import 'package:flutter/material.dart';
import '../../api/api.dart';
import '../../model/notifier.dart';
import '../../widgets/dialogs/alertMsg.dart';
class WishListPage extends... | 3 |
KhuongKayyyyy/sound_sphere | 34f546c | lib/presentation/views/main/home/components/playlist_section.dart | Dart | www.github.com/KhuongKayyyyy/sound_sphere/tree/main/lib/presentation/views/main/home/components/playlist_section.dart | https://raw.githubusercontent.com/KhuongKayyyyy/sound_sphere/34f546c/lib/presentation/views/main/home/components/playlist_section.dart | KhuongKayyyyy/sound_sphere 34f546c lib/presentation/views/main/home/components/playlist_section.dart | true | 200 | 1,421 | import 'package:flutter/material.dart';
import 'package:sound_sphere/core/utils/fake_data.dart';
import 'package:sound_sphere/presentation/widgets/playlist/mixed_playlist_big.dart';
class PlaylistSection extends StatelessWidget {
final String playlistSectionTitle;
const PlaylistSection({super.key, required this.p... | 4 |
sabbirDIU-222/flutter-webview-on-practice | f23ae8b | lib/main.dart | Dart | www.github.com/sabbirDIU-222/flutter-webview-on-practice/tree/main/lib/main.dart | https://raw.githubusercontent.com/sabbirDIU-222/flutter-webview-on-practice/f23ae8b/lib/main.dart | sabbirDIU-222/flutter-webview-on-practice f23ae8b lib/main.dart | true | 200 | 2,230 | import 'dart:async';
import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
final _completerControll... | 6 |
LeonardoVargas19/flutter-components | 7869bf5 | lib/screens/avatar_screen.dart | Dart | www.github.com/LeonardoVargas19/flutter-components/tree/main/lib/screens/avatar_screen.dart | https://raw.githubusercontent.com/LeonardoVargas19/flutter-components/7869bf5/lib/screens/avatar_screen.dart | LeonardoVargas19/flutter-components 7869bf5 lib/screens/avatar_screen.dart | true | 200 | 782 | import 'package:flutter/material.dart';
class AvatarScreen extends StatelessWidget {
const AvatarScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('Stan Lee'),
actions: [
Container(
... | 0 |
ali-susanto/kaloriku | b1e14ae | lib/screen/home/home_screen.dart | Dart | www.github.com/ali-susanto/kaloriku/tree/main/lib/screen/home/home_screen.dart | https://raw.githubusercontent.com/ali-susanto/kaloriku/b1e14ae/lib/screen/home/home_screen.dart | ali-susanto/kaloriku b1e14ae lib/screen/home/home_screen.dart | true | 200 | 2,016 | import 'package:flutter/material.dart';
class HomeScreen extends StatefulWidget {
const HomeScreen({Key? key}) : super(key: key);
@override
State<HomeScreen> createState() => _HomeScreenState();
}
class _HomeScreenState extends State<HomeScreen> {
final _page = ['/home', '/calculator', '/scan', '/tips', '/pr... | 1 |
retromp3/retro | a28a2cb | lib/ipod_menu_widget/ipod_menu_widget.dart | Dart | www.github.com/retromp3/retro/tree/main/lib/ipod_menu_widget/ipod_menu_widget.dart | https://raw.githubusercontent.com/retromp3/retro/a28a2cb/lib/ipod_menu_widget/ipod_menu_widget.dart | retromp3/retro a28a2cb lib/ipod_menu_widget/ipod_menu_widget.dart | true | 200 | 3,682 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:retro/blocs/player/player_bloc.dart';
import 'package:retro/blocs/player/player_event.dart';
import 'package:retro/ipod_menu_widget/ipod_menu_page_widget.dart';
import 'package:retro/main.dart';
import 'ipod_sub_me... | 7 |
mohamed-rajeh/maror | 7ff02d8 | lib/controller/users/home_controller.dart | Dart | www.github.com/mohamed-rajeh/maror/tree/main/lib/controller/users/home_controller.dart | https://raw.githubusercontent.com/mohamed-rajeh/maror/7ff02d8/lib/controller/users/home_controller.dart | mohamed-rajeh/maror 7ff02d8 lib/controller/users/home_controller.dart | true | 200 | 1,045 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import '../../components/constant/them.dart';
import '../../model/car.dart';
import '../cars_controller.dart';
import '../driver_controller.dart';
class HomeController extends GetxController {
CarsController carController = Get.find();
Driver... | 5 |
Michallves/darmbank | 3ec346d | lib/app/models/address_model.dart | Dart | www.github.com/Michallves/darmbank/tree/main/lib/app/models/address_model.dart | https://raw.githubusercontent.com/Michallves/darmbank/3ec346d/lib/app/models/address_model.dart | Michallves/darmbank 3ec346d lib/app/models/address_model.dart | true | 200 | 667 | class AddressModel {
final String? state;
final String? city;
final String? district;
final String? street;
final String? number;
AddressModel({
this.state,
this.city,
this.district,
this.street,
this.number,
});
factory AddressModel.fromMap(Map<String, dynamic> json) => AddressMod... | 2 |
Aswin-007/Attendanceapp | 3a28508 | lib/todayscreen.dart | Dart | www.github.com/Aswin-007/Attendanceapp/tree/main/lib/todayscreen.dart | https://raw.githubusercontent.com/Aswin-007/Attendanceapp/3a28508/lib/todayscreen.dart | Aswin-007/Attendanceapp 3a28508 lib/todayscreen.dart | true | 200 | 13,664 | import 'dart:async';
import 'package:attendanceapp/model/user.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/material.dart';
import 'package:flutter_barcode_scanner/flutter_barcode_scanner.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
import 'package:geo... | 3 |
WilliamDCGomes/elephant-control | dc5d425 | lib/app/views/pages/administratorPages/operetorsVisitPeriodFilter/page/operetors_visit_period_filter_page.dart | Dart | www.github.com/WilliamDCGomes/elephant-control/tree/main/lib/app/views/pages/administratorPages/operetorsVisitPeriodFilter/page/operetors_visit_period_filter_page.dart | https://raw.githubusercontent.com/WilliamDCGomes/elephant-control/dc5d425/lib/app/views/pages/administratorPages/operetorsVisitPeriodFilter/page/operetors_visit_period_filter_page.dart | WilliamDCGomes/elephant-control dc5d425 lib/app/views/pages/administratorPages/operetorsVisitPeriodFilter/page/operetors_visit_period_filter_page.dart | true | 200 | 1,331 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:responsive_sizer/responsive_sizer.dart';
import '../../../widgetsShared/shimmer/default_shimmer.dart';
import '../controller/operetors_visit_period_filter_controller.dart';
import '../widget/operetors_visit_period_filter_after_load_w... | 4 |
LizzzaD/yandex_todo | 3da20aa | lib/features/pages/splash/splash_page.dart | Dart | www.github.com/LizzzaD/yandex_todo/tree/main/lib/features/pages/splash/splash_page.dart | https://raw.githubusercontent.com/LizzzaD/yandex_todo/3da20aa/lib/features/pages/splash/splash_page.dart | LizzzaD/yandex_todo 3da20aa lib/features/pages/splash/splash_page.dart | true | 200 | 850 | import 'package:flutter/material.dart';
import '../../../core/ui_kit/scaffolds/safe_scaffold.dart';
import '../../../init.dart';
import '../todos/todos_page.dart';
class SplashPage extends StatefulWidget {
const SplashPage({super.key});
@override
State<SplashPage> createState() => _SplashPageState();
}
class ... | 6 |
kingsleynnajide/scanner_app | fe03e25 | lib/main.dart | Dart | www.github.com/kingsleynnajide/scanner_app/tree/main/lib/main.dart | https://raw.githubusercontent.com/kingsleynnajide/scanner_app/fe03e25/lib/main.dart | kingsleynnajide/scanner_app fe03e25 lib/main.dart | true | 200 | 340 | import 'package:flutter/material.dart';
import 'package:scanner_app/scanner_screen.dart';
void main() {
runApp(const MainApp());
}
class MainApp extends StatelessWidget {
const MainApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home:QRViewExample (),
)... | 7 |
Wajeed-Mabroukeh/Graduation-Project-Smart-Child-Incubator- | bb6cf68 | lib/presentation/child_livea_screen/child_livea_screen.dart | Dart | www.github.com/Wajeed-Mabroukeh/Graduation-Project-Smart-Child-Incubator-/tree/main/lib/presentation/child_livea_screen/child_livea_screen.dart | https://raw.githubusercontent.com/Wajeed-Mabroukeh/Graduation-Project-Smart-Child-Incubator-/bb6cf68/lib/presentation/child_livea_screen/child_livea_screen.dart | Wajeed-Mabroukeh/Graduation-Project-Smart-Child-Incubator- bb6cf68 lib/presentation/child_livea_screen/child_livea_screen.dart | true | 200 | 1,313 | import 'package:flutter/material.dart';
import 'package:wajeed_s_application4/core/app_export.dart';
import 'package:wajeed_s_application4/widgets/app_bar/appbar_iconbutton.dart';
import 'package:wajeed_s_application4/widgets/app_bar/appbar_subtitle.dart';
import 'package:wajeed_s_application4/widgets/app_bar/custom_ap... | 1 |
osamasabry9/SHS-ShoeSpotter-Flutter | 2519306 | lib/features/auth/data/repository/auth_firebase_repository_impl.dart | Dart | www.github.com/osamasabry9/SHS-ShoeSpotter-Flutter/tree/main/lib/features/auth/data/repository/auth_firebase_repository_impl.dart | https://raw.githubusercontent.com/osamasabry9/SHS-ShoeSpotter-Flutter/2519306/lib/features/auth/data/repository/auth_firebase_repository_impl.dart | osamasabry9/SHS-ShoeSpotter-Flutter 2519306 lib/features/auth/data/repository/auth_firebase_repository_impl.dart | true | 200 | 1,217 | import 'package:firebase_auth/firebase_auth.dart';
import '../../domain/repository/auth_firebase_repository.dart';
import '../data_sources/auth_remote_data_source.dart';
class AuthRepositoryImpl implements AuthRepository {
final AuthRemoteDataSource userRemoteDataSource;
AuthRepositoryImpl({required this.userRem... | 0 |
HadyBrh/clean_architecture | ed3e728 | lib/common/rounded_clipper_bottom.dart | Dart | www.github.com/HadyBrh/clean_architecture/tree/main/lib/common/rounded_clipper_bottom.dart | https://raw.githubusercontent.com/HadyBrh/clean_architecture/ed3e728/lib/common/rounded_clipper_bottom.dart | HadyBrh/clean_architecture ed3e728 lib/common/rounded_clipper_bottom.dart | true | 200 | 655 | import 'dart:ui';
import 'package:flutter/cupertino.dart';
class RoundedClipperBottom extends CustomClipper<Path> {
@override
Path getClip(Size size) {
double curveHeight = 20;
Offset controlPoint = Offset(size.width / 2, size.height - size.height*.15);
Offset endPoint = Offset(size.width, size.height... | 5 |
Shahidbangash/video_editor_overlay | f977a2b | lib/views/draggable/cubit/curve_drag_cubit.dart | Dart | www.github.com/Shahidbangash/video_editor_overlay/tree/main/lib/views/draggable/cubit/curve_drag_cubit.dart | https://raw.githubusercontent.com/Shahidbangash/video_editor_overlay/f977a2b/lib/views/draggable/cubit/curve_drag_cubit.dart | Shahidbangash/video_editor_overlay f977a2b lib/views/draggable/cubit/curve_drag_cubit.dart | true | 200 | 770 | import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter/material.dart';
import 'package:video_editor_overlay/models/path_with_color.dart';
class CurveDrawingCubit extends Cubit<List<PathWithColor>> {
CurveDrawingCubit() : super([]);
List<Offset> currentPath = [];
void startPath(Offset startPoi... | 2 |
Saedxd/YumGott | 887de3a | lib/UI/Home/RestaurantsScreen/bloc/RestaurantsScreen_Bloc.dart | Dart | www.github.com/Saedxd/YumGott/tree/main/lib/UI/Home/RestaurantsScreen/bloc/RestaurantsScreen_Bloc.dart | https://raw.githubusercontent.com/Saedxd/YumGott/887de3a/lib/UI/Home/RestaurantsScreen/bloc/RestaurantsScreen_Bloc.dart | Saedxd/YumGott 887de3a lib/UI/Home/RestaurantsScreen/bloc/RestaurantsScreen_Bloc.dart | true | 200 | 4,892 | import 'dart:typed_data';
import 'package:Yumgott/Core/Classes/Classes.dart';
import 'package:bloc/bloc.dart';
import 'package:Yumgott/Data/repository/irepository.dart';
import 'package:Yumgott/UI/Home/HomeScreen/bloc/HomePage_Event.dart';
import 'package:Yumgott/UI/Home/HomeScreen/bloc/HomePage_State.dart';
import 'p... | 3 |
akhmadjonakbarov/OsonKassa | 726315c | lib/app/features/dashboard_views/debt/logic/debt_service.dart | Dart | www.github.com/akhmadjonakbarov/OsonKassa/tree/main/lib/app/features/dashboard_views/debt/logic/debt_service.dart | https://raw.githubusercontent.com/akhmadjonakbarov/OsonKassa/726315c/lib/app/features/dashboard_views/debt/logic/debt_service.dart | akhmadjonakbarov/OsonKassa 726315c lib/app/features/dashboard_views/debt/logic/debt_service.dart | true | 200 | 1,189 | import '../../../../core/interfaces/api/api_interfaces.dart';
import '../models/builder_debt_model.dart';
import '../models/debt_model.dart';
class DebtService {
final GetAll<DebtModel> _getAllRepository;
final Update<int> _updateRepository;
DebtService({
required GetAll<DebtModel> getAllRepository,
requ... | 4 |
Jayakrishnan-manoj/Search-It | e634e76 | lib/screens/login_screen.dart | Dart | www.github.com/Jayakrishnan-manoj/Search-It/tree/main/lib/screens/login_screen.dart | https://raw.githubusercontent.com/Jayakrishnan-manoj/Search-It/e634e76/lib/screens/login_screen.dart | Jayakrishnan-manoj/Search-It e634e76 lib/screens/login_screen.dart | true | 200 | 1,346 | import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:search_it/services/Auth/auth_service.dart';
import 'package:search_it/constants/constants.dart';
import 'package:search_it/widgets/login_button.dart';
class LoginScreen extends StatefulWidget {
const LoginScreen(... | 6 |
thisisKamran/todo | 0f9c03d | lib/pages/add_task_page.dart | Dart | www.github.com/thisisKamran/todo/tree/main/lib/pages/add_task_page.dart | https://raw.githubusercontent.com/thisisKamran/todo/0f9c03d/lib/pages/add_task_page.dart | thisisKamran/todo 0f9c03d lib/pages/add_task_page.dart | true | 200 | 3,038 | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:todo/app_colors.dart';
import 'package:todo/view_models/task_vm.dart';
class AddTaskPage extends StatelessWidget {
AddTaskPage({super.key});
final GlobalKey<FormState> _formKey = GlobalKey<FormState>();
@override
... | 1 |
2172008ChristopherRichardAlexander/app-mobile | 93b63ca | lib/pages/editprofile.dart | Dart | www.github.com/2172008ChristopherRichardAlexander/app-mobile/tree/main/lib/pages/editprofile.dart | https://raw.githubusercontent.com/2172008ChristopherRichardAlexander/app-mobile/93b63ca/lib/pages/editprofile.dart | 2172008ChristopherRichardAlexander/app-mobile 93b63ca lib/pages/editprofile.dart | true | 200 | 8,723 | import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:tugasbesar_2172008/pages/camera.dart';
import 'package:tugasbesar_2172008/pages/home.dart';
import 'package:tugasbesar_2172008/pages/login.dart';
import 'package:tugasbesar_2172008/provider/user_data_provide... | 7 |
TrongPhuoc001/letutor | 576e0ff | lib/ui/menu/menu.dart | Dart | www.github.com/TrongPhuoc001/letutor/tree/main/lib/ui/menu/menu.dart | https://raw.githubusercontent.com/TrongPhuoc001/letutor/576e0ff/lib/ui/menu/menu.dart | TrongPhuoc001/letutor 576e0ff lib/ui/menu/menu.dart | true | 200 | 4,687 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:lettutor/themes/main_theme.dart';
import 'package:lettutor/ui/courses/buy_course.dart';
import 'package:lettutor/ui/courses/course.dart';
import 'package:lettutor/ui/login/login.dart';
import 'package:lettutor/ui/my_app.dar... | 0 |
AJITH0104/Mealgenerator | 28598e0 | lib/mealrepo.dart | Dart | www.github.com/AJITH0104/Mealgenerator/tree/main/lib/mealrepo.dart | https://raw.githubusercontent.com/AJITH0104/Mealgenerator/28598e0/lib/mealrepo.dart | AJITH0104/Mealgenerator 28598e0 lib/mealrepo.dart | true | 200 | 312 | import 'dart:convert';
import 'mealmodel.dart';
import 'package:http/http.dart' as http;
class mealrepo{
Future<Mealmodel> getmeal() async{
http.Response response=await http.get(Uri.parse('https://www.themealdb.com/api/json/v1/1/random.php'));
return Mealmodel.fromJson(jsonDecode(response.body));
}
} | 3 |
wanrabbae/E-learning-frontend | b88f01a | lib/core/provider/dashboard_provider.dart | Dart | www.github.com/wanrabbae/E-learning-frontend/tree/main/lib/core/provider/dashboard_provider.dart | https://raw.githubusercontent.com/wanrabbae/E-learning-frontend/b88f01a/lib/core/provider/dashboard_provider.dart | wanrabbae/E-learning-frontend b88f01a lib/core/provider/dashboard_provider.dart | true | 200 | 2,684 | import 'package:e_learning_app/core/model/class_model.dart';
import 'package:e_learning_app/core/model/user_model.dart';
import 'package:e_learning_app/core/repository/class_repository.dart';
import 'package:e_learning_app/core/repository/user_repository.dart';
import 'package:e_learning_app/core/utils/constants.dart';... | 2 |
mateusz-sawicki/podliczator2000 | 830d12b | lib/screen/diary_screen.dart | Dart | www.github.com/mateusz-sawicki/podliczator2000/tree/main/lib/screen/diary_screen.dart | https://raw.githubusercontent.com/mateusz-sawicki/podliczator2000/830d12b/lib/screen/diary_screen.dart | mateusz-sawicki/podliczator2000 830d12b lib/screen/diary_screen.dart | true | 200 | 1,432 | import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:podliczator2000/constants/constant.dart';
import 'package:podliczator2000/provider/database_provider.dart';
import 'package:provider/provider.dart';
import '../widgets/planner_screen/planner_fetcher.dart';
class D... | 6 |
Resonance-Network/resonance-mobile-app | ff65cfe | lib/generated/polkadot/types/sp_consensus_babe/digests/pre_digest.dart | Dart | www.github.com/Resonance-Network/resonance-mobile-app/tree/main/lib/generated/polkadot/types/sp_consensus_babe/digests/pre_digest.dart | https://raw.githubusercontent.com/Resonance-Network/resonance-mobile-app/ff65cfe/lib/generated/polkadot/types/sp_consensus_babe/digests/pre_digest.dart | Resonance-Network/resonance-mobile-app ff65cfe lib/generated/polkadot/types/sp_consensus_babe/digests/pre_digest.dart | true | 200 | 5,207 | // ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:typed_data' as _i2;
import 'package:polkadart/scale_codec.dart' as _i1;
import 'primary_pre_digest.dart' as _i3;
import 'secondary_plain_pre_digest.dart' as _i4;
import 'secondary_v_r_f_pre_digest.dart' as _i5;
abstract class PreDigest {
... | 4 |
suraj2084/ExpenseTracker | f8cad3b | expensetracker/lib/models/expense.dart | Dart | www.github.com/suraj2084/ExpenseTracker/tree/main/expensetracker/lib/models/expense.dart | https://raw.githubusercontent.com/suraj2084/ExpenseTracker/f8cad3b/expensetracker/lib/models/expense.dart | suraj2084/ExpenseTracker f8cad3b expensetracker/lib/models/expense.dart | true | 200 | 1,254 | import 'package:uuid/uuid.dart';
import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
const uuid = Uuid();
final formatter = DateFormat.yMEd();
enum Category { food, fun, work, grocery, travel }
class ExpenseBucket {
const ExpenseBucket({
required this.category,
required this.expenseIte... | 1 |
JahezAcademy/flutter_rocket | 1aeb2f4 | packages/rocket_singleton/lib/src/rocket_singleton_base.dart | Dart | www.github.com/JahezAcademy/flutter_rocket/tree/main/packages/rocket_singleton/lib/src/rocket_singleton_base.dart | https://raw.githubusercontent.com/JahezAcademy/flutter_rocket/1aeb2f4/packages/rocket_singleton/lib/src/rocket_singleton_base.dart | JahezAcademy/flutter_rocket 1aeb2f4 packages/rocket_singleton/lib/src/rocket_singleton_base.dart | true | 200 | 3,510 | import 'dart:collection';
import 'extensions.dart';
class Rocket {
Rocket._();
static HashMap<String, dynamic> get _models =>
_modelsDelegate ??= HashMap<String, dynamic>();
static HashMap<String, dynamic>? _modelsDelegate;
/// Adds a value to the collection.
///
/// [value] The value to add.
//... | 7 |
abdellahchrif200201/devti_test | 93af159 | lib/main.dart | Dart | www.github.com/abdellahchrif200201/devti_test/tree/main/lib/main.dart | https://raw.githubusercontent.com/abdellahchrif200201/devti_test/93af159/lib/main.dart | abdellahchrif200201/devti_test 93af159 lib/main.dart | true | 200 | 1,131 | import 'package:devti_test/mainPageNavigation/navigationButtom.dart';
import 'package:devti_test/theme/ProviderSubscription.dart';
import 'package:devti_test/theme/ProviderTheme.dart';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
void main() async {
WidgetsFlutterBinding.ensureIni... | 0 |
UnionPlayerApp/player | 3cd42c5 | lib/common/widgets/anchored_overlay.dart | Dart | www.github.com/UnionPlayerApp/player/tree/main/lib/common/widgets/anchored_overlay.dart | https://raw.githubusercontent.com/UnionPlayerApp/player/3cd42c5/lib/common/widgets/anchored_overlay.dart | UnionPlayerApp/player 3cd42c5 lib/common/widgets/anchored_overlay.dart | true | 200 | 2,726 | // code from: https://github.com/matthew-carroll/flutter_ui_challenge_feature_discovery
// TODO: Use https://github.com/matthew-carroll/fluttery/blob/master/lib/src/layout_overlays.dart
import 'package:flutter/material.dart';
class AnchoredOverlay extends StatelessWidget {
final bool showOverlay;
final Widget Func... | 5 |
YangSuGuo/HeLe_app | 37e79a4 | lib/pages/settings/views/settings.dart | Dart | www.github.com/YangSuGuo/HeLe_app/tree/main/lib/pages/settings/views/settings.dart | https://raw.githubusercontent.com/YangSuGuo/HeLe_app/37e79a4/lib/pages/settings/views/settings.dart | YangSuGuo/HeLe_app 37e79a4 lib/pages/settings/views/settings.dart | true | 200 | 6,674 | import 'package:flutter/material.dart';
import 'package:hele_app/l10n/gen/app_g.dart';
import 'package:hele_app/pages/settings/widget/select_dialog.dart';
import 'package:hele_app/pages/settings/widget/switch_item.dart';
import 'package:hele_app/providers/application/application.dart';
import 'package:hele_app/themes/m... | 3 |
MinhNhatQA15101910/se346.flower_shop_management | 1e6a24b | frontend/lib/features/customer/cart/screens/cart_screen.dart | Dart | www.github.com/MinhNhatQA15101910/se346.flower_shop_management/tree/main/frontend/lib/features/customer/cart/screens/cart_screen.dart | https://raw.githubusercontent.com/MinhNhatQA15101910/se346.flower_shop_management/1e6a24b/frontend/lib/features/customer/cart/screens/cart_screen.dart | MinhNhatQA15101910/se346.flower_shop_management 1e6a24b frontend/lib/features/customer/cart/screens/cart_screen.dart | true | 200 | 7,751 | import 'package:flutter/material.dart';
import 'package:flutter_icon_snackbar/flutter_icon_snackbar.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:frontend/constants/global_variables.dart';
import 'package:frontend/features/customer/cart/widgets/product_cart_item.dart';
import 'package:frontend/f... | 2 |
devgear21/learnsmart | 8f7cf6b | lib/pages/chatbot_screen.dart | Dart | www.github.com/devgear21/learnsmart/tree/main/lib/pages/chatbot_screen.dart | https://raw.githubusercontent.com/devgear21/learnsmart/8f7cf6b/lib/pages/chatbot_screen.dart | devgear21/learnsmart 8f7cf6b lib/pages/chatbot_screen.dart | true | 200 | 8,102 | import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
import 'package:learnsmart/pages/accessibilty_settings_page.dart';
import 'dart:convert';
import 'package:provider/provider.dart';
import 'package:learnsmart/accessibility_settings.dart';
class ChatbotScreen extends StatefulWidget {
con... | 6 |
Dune-Global/uni_junction | 72551cb | lib/features/event/models/event/event_model.dart | Dart | www.github.com/Dune-Global/uni_junction/tree/main/lib/features/event/models/event/event_model.dart | https://raw.githubusercontent.com/Dune-Global/uni_junction/72551cb/lib/features/event/models/event/event_model.dart | Dune-Global/uni_junction 72551cb lib/features/event/models/event/event_model.dart | true | 200 | 2,989 | import 'package:cloud_firestore/cloud_firestore.dart';
class EventModel {
final String id;
final String userId;
String title;
String description;
String? eventUrl;
DateTime startDate;
DateTime? endDate;
DateTime? startTime;
DateTime? endTime;
String imageUrl;
String location;
bool? isPrivate;
... | 4 |
noahfraiture/Starthack24 | 0f79444 | bellcoach/lib/page/shop_page.dart | Dart | www.github.com/noahfraiture/Starthack24/tree/main/bellcoach/lib/page/shop_page.dart | https://raw.githubusercontent.com/noahfraiture/Starthack24/0f79444/bellcoach/lib/page/shop_page.dart | noahfraiture/Starthack24 0f79444 bellcoach/lib/page/shop_page.dart | true | 200 | 3,838 | import 'package:bellcoach/widget/top_bar_custom.dart';
import 'package:bellcoach/user.dart';
import 'package:flutter/material.dart';
class ShopPage extends StatefulWidget {
const ShopPage({super.key});
@override
State<ShopPage> createState() => _ShopPage();
}
class _ShopPage extends State<ShopPage> {
TextEdi... | 1 |
duynho2003/ADFD | 82ca71c | shopping_app/lib/models/product.dart | Dart | www.github.com/duynho2003/ADFD/tree/main/shopping_app/lib/models/product.dart | https://raw.githubusercontent.com/duynho2003/ADFD/82ca71c/shopping_app/lib/models/product.dart | duynho2003/ADFD 82ca71c shopping_app/lib/models/product.dart | true | 200 | 307 | class Product {
late String name;
late double price;
Product({String name = '', double price = 0}) {
this.name = name;
this.price = price;
}
get getName => this.name;
set setName(name) => this.name = name;
get getPrice => this.price;
set setPrice(price) => this.price = price;
}
| 7 |
franklingg/Beez | ccadd0b | lib/presentation/register/otp_inserter_widget.dart | Dart | www.github.com/franklingg/Beez/tree/main/lib/presentation/register/otp_inserter_widget.dart | https://raw.githubusercontent.com/franklingg/Beez/ccadd0b/lib/presentation/register/otp_inserter_widget.dart | franklingg/Beez ccadd0b lib/presentation/register/otp_inserter_widget.dart | true | 200 | 2,191 | import 'package:beez/constants/app_colors.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:collection/collection.dart';
class OTPInserter extends StatefulWidget {
const OTPInserter({super.key, required this.updateCode});
final Function(String?) updateCode;
@... | 0 |
haitt173508/chat | 95971ec | lib/modules/timekeeping/screens/choose_a_timekeeping_screen.dart | Dart | www.github.com/haitt173508/chat/tree/main/lib/modules/timekeeping/screens/choose_a_timekeeping_screen.dart | https://raw.githubusercontent.com/haitt173508/chat/95971ec/lib/modules/timekeeping/screens/choose_a_timekeeping_screen.dart | haitt173508/chat 95971ec lib/modules/timekeeping/screens/choose_a_timekeeping_screen.dart | true | 200 | 9,075 | import 'package:app_settings/app_settings.dart';
import 'package:chat_365/common/images.dart';
import 'package:chat_365/core/constants/string_constants.dart';
import 'package:chat_365/core/theme/app_colors.dart';
import 'package:chat_365/core/theme/app_text_style.dart';
import 'package:chat_365/modules/auth/bloc/auth_b... | 5 |
MayYaminThant/navigation_sample_app | 6d3e912 | helpy_chat/lib/src/presentations/views/register/components/employment_history_update_modal.dart | Dart | www.github.com/MayYaminThant/navigation_sample_app/tree/main/helpy_chat/lib/src/presentations/views/register/components/employment_history_update_modal.dart | https://raw.githubusercontent.com/MayYaminThant/navigation_sample_app/6d3e912/helpy_chat/lib/src/presentations/views/register/components/employment_history_update_modal.dart | MayYaminThant/navigation_sample_app 6d3e912 helpy_chat/lib/src/presentations/views/register/components/employment_history_update_modal.dart | true | 200 | 8,223 | import 'package:dh_mobile/src/presentations/values/values.dart';
import 'package:dh_mobile/src/presentations/widgets/widgets.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:get/get.dart';
import '../../../../core/params/params.dart';
import '../../../../c... | 3 |
fonsecguilherme/local_turism_app | df72a77 | lib/core/features/widgets/error_page.dart | Dart | www.github.com/fonsecguilherme/local_turism_app/tree/main/lib/core/features/widgets/error_page.dart | https://raw.githubusercontent.com/fonsecguilherme/local_turism_app/df72a77/lib/core/features/widgets/error_page.dart | fonsecguilherme/local_turism_app df72a77 lib/core/features/widgets/error_page.dart | true | 200 | 1,171 | import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
import 'package:local_turism/core/commons/app_strings.dart';
import 'package:local_turism/domain/city_repository.dart';
class ErrorPage extends StatefulWidget {
final ICityRepository cityRepository;
const ErrorPage({super.key, requ... | 2 |
mayi2126/contact_tracing | 854ca44 | tracking/lib/components/utils/card_today.dart | Dart | www.github.com/mayi2126/contact_tracing/tree/main/tracking/lib/components/utils/card_today.dart | https://raw.githubusercontent.com/mayi2126/contact_tracing/854ca44/tracking/lib/components/utils/card_today.dart | mayi2126/contact_tracing 854ca44 tracking/lib/components/utils/card_today.dart | true | 200 | 1,696 | part of '../../core/cores.dart';
class CardToday extends StatelessWidget {
const CardToday(this.causeries, {super.key});
final List<VisiteModel> causeries;
@override
Widget build(BuildContext context) {
// print(causeries);
return Column(
children: causeries
.map(
(causerie... | 6 |
dionlahh/flutter-map-module | 1780e02 | map/lib/ui/common/handleTap.dart | Dart | www.github.com/dionlahh/flutter-map-module/tree/main/map/lib/ui/common/handleTap.dart | https://raw.githubusercontent.com/dionlahh/flutter-map-module/1780e02/map/lib/ui/common/handleTap.dart | dionlahh/flutter-map-module 1780e02 map/lib/ui/common/handleTap.dart | true | 200 | 4,457 | import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:latlong2/latlong.dart';
import 'package:geodesy/geodesy.dart' as geo;
import 'package:map/blocs/menu_bloc/menu_bloc.dart';
import 'package:map/blocs/object_bloc/draw_objects_bloc.dart';
import 'package:map/markers_mgr.dart';
// import '../../blocs/object_... | 4 |
shadan1234/classroom-hackathon | 2dfdbf5 | lib/features/dashboard/dashboard_screen.dart | Dart | www.github.com/shadan1234/classroom-hackathon/tree/main/lib/features/dashboard/dashboard_screen.dart | https://raw.githubusercontent.com/shadan1234/classroom-hackathon/2dfdbf5/lib/features/dashboard/dashboard_screen.dart | shadan1234/classroom-hackathon 2dfdbf5 lib/features/dashboard/dashboard_screen.dart | true | 200 | 2,321 | // lib/screens/dashboard_screen.dart
import 'package:flutter/material.dart';
import '../../commons/custom_card.dart';
import '../../models/user_models.dart';
import '../../themes/app_theme.dart';
class DashboardScreen extends StatelessWidget {
static const String routeName = '/dashboard_screen';
final UserRole ... | 7 |
O-Thadd/HNG11-Stage1Task | 455b698 | lib/main.dart | Dart | www.github.com/O-Thadd/HNG11-Stage1Task/tree/main/lib/main.dart | https://raw.githubusercontent.com/O-Thadd/HNG11-Stage1Task/455b698/lib/main.dart | O-Thadd/HNG11-Stage1Task 455b698 lib/main.dart | true | 200 | 538 | import 'package:flutter/material.dart';
import 'package:hng11stage1task/main_screen.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return SafeArea(
child: MaterialApp(
title: 'Flutt... | 1 |
lgangas88/game-stream | f3a773b | lib/pages/home/category_list.dart | Dart | www.github.com/lgangas88/game-stream/tree/main/lib/pages/home/category_list.dart | https://raw.githubusercontent.com/lgangas88/game-stream/f3a773b/lib/pages/home/category_list.dart | lgangas88/game-stream f3a773b lib/pages/home/category_list.dart | true | 200 | 1,944 | import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
import 'package:game_stream/models/category_game.dart';
import 'package:game_stream/theme.dart';
class CategoryList extends StatelessWidget {
final List<CategoryGame> categoryList = [
CategoryGame(id: 0, name: 'FPS', svgPath: 'assets/... | 5 |
Amin-Naimi/Flutter-PostsApplication-DSI32 | fe935f8 | app/lib/features/auth/domain/usecases/sign_out_user.dart | Dart | www.github.com/Amin-Naimi/Flutter-PostsApplication-DSI32/tree/main/app/lib/features/auth/domain/usecases/sign_out_user.dart | https://raw.githubusercontent.com/Amin-Naimi/Flutter-PostsApplication-DSI32/fe935f8/app/lib/features/auth/domain/usecases/sign_out_user.dart | Amin-Naimi/Flutter-PostsApplication-DSI32 fe935f8 app/lib/features/auth/domain/usecases/sign_out_user.dart | true | 200 | 369 | import 'package:app/core/exceptions/failures.dart';
import 'package:app/features/auth/domain/reposiotrys/user_repository.dart';
import 'package:dartz/dartz.dart';
class SignOutUserUseCase {
final UserRepository userRepository;
SignOutUserUseCase(this.userRepository);
Future<Either<Failure, Unit>> call() async {
... | 3 |
shivrajtharu/Major_project | a9a0c17 | lib/pages/feed_back.dart | Dart | www.github.com/shivrajtharu/Major_project/tree/main/lib/pages/feed_back.dart | https://raw.githubusercontent.com/shivrajtharu/Major_project/a9a0c17/lib/pages/feed_back.dart | shivrajtharu/Major_project a9a0c17 lib/pages/feed_back.dart | true | 200 | 2,006 | import 'package:flutter/material.dart';
import 'package:url_launcher/url_launcher.dart';
import '../res/color.dart';
class FeedbackPage extends StatefulWidget {
const FeedbackPage({Key? key}) : super(key: key);
@override
State<FeedbackPage> createState() => _FeedbackPageState();
}
class _FeedbackPageState exte... | 2 |
RakeshFlutterDev/appointment_app | 1825fbc | lib/view/screens/profile/my_works_screen.dart | Dart | www.github.com/RakeshFlutterDev/appointment_app/tree/main/lib/view/screens/profile/my_works_screen.dart | https://raw.githubusercontent.com/RakeshFlutterDev/appointment_app/1825fbc/lib/view/screens/profile/my_works_screen.dart | RakeshFlutterDev/appointment_app 1825fbc lib/view/screens/profile/my_works_screen.dart | true | 200 | 1,140 | import 'package:flutter/material.dart';
import 'package:jazeera_paints/util/images.dart';
import 'package:jazeera_paints/util/styles.dart';
import 'package:jazeera_paints/view/base/custom_app_bar.dart';
class MyWorksScreen extends StatefulWidget {
const MyWorksScreen({Key? key}) : super(key: key);
@override
Sta... | 6 |
hirpadii07/final_project | e8854cf | lib/hp/add_customer_screen.dart | Dart | www.github.com/hirpadii07/final_project/tree/main/lib/hp/add_customer_screen.dart | https://raw.githubusercontent.com/hirpadii07/final_project/e8854cf/lib/hp/add_customer_screen.dart | hirpadii07/final_project e8854cf lib/hp/add_customer_screen.dart | true | 200 | 7,165 | import 'package:flutter/material.dart';
import 'customer.dart';
import 'database_helper.dart';
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
import 'localization.dart';
class AddCustomerScreen extends StatefulWidget {
final Customer? customer;
final Function(Locale) setLocale;
AddCustomer... | 0 |
Mohamed123-r/nectar_app | 1da61b0 | lib/features/signUp/presentation/manager/cubits/sign_up_cubit.dart | Dart | www.github.com/Mohamed123-r/nectar_app/tree/main/lib/features/signUp/presentation/manager/cubits/sign_up_cubit.dart | https://raw.githubusercontent.com/Mohamed123-r/nectar_app/1da61b0/lib/features/signUp/presentation/manager/cubits/sign_up_cubit.dart | Mohamed123-r/nectar_app 1da61b0 lib/features/signUp/presentation/manager/cubits/sign_up_cubit.dart | true | 200 | 1,987 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:nectar/core/api/api_consumer.dart';
import 'package:nectar/core/api/end_point.dart';
import 'package:nectar/core/database/cache/cache_helper.dart';
import 'package:nectar/core/errors/exceptions.dart';
import 'packag... | 4 |
jmrbnn/flutter-ui-boilerplate | 607ff15 | packages/emp_ai_ds/lib/widgets/datagrid/pagination_parameters_model.dart | Dart | www.github.com/jmrbnn/flutter-ui-boilerplate/tree/main/packages/emp_ai_ds/lib/widgets/datagrid/pagination_parameters_model.dart | https://raw.githubusercontent.com/jmrbnn/flutter-ui-boilerplate/607ff15/packages/emp_ai_ds/lib/widgets/datagrid/pagination_parameters_model.dart | jmrbnn/flutter-ui-boilerplate 607ff15 packages/emp_ai_ds/lib/widgets/datagrid/pagination_parameters_model.dart | true | 200 | 1,185 | import 'package:get/get.dart';
class PaginationParameters {
String? accessToken;
String? tenantId;
String? permissionId;
String? groupId;
String? clientId;
late bool isTenantRole;
int? page;
int? limit;
String? search;
RxMap? filters;
PaginationParameters({
this.accessToken,
this.tenantI... | 7 |
ashrafabdu96/mini_ecommerce | 4ef045a | lib/features/product_details/presentation/widgets/rate_widgets/dialog_review_text_button.dart | Dart | www.github.com/ashrafabdu96/mini_ecommerce/tree/main/lib/features/product_details/presentation/widgets/rate_widgets/dialog_review_text_button.dart | https://raw.githubusercontent.com/ashrafabdu96/mini_ecommerce/4ef045a/lib/features/product_details/presentation/widgets/rate_widgets/dialog_review_text_button.dart | ashrafabdu96/mini_ecommerce 4ef045a lib/features/product_details/presentation/widgets/rate_widgets/dialog_review_text_button.dart | true | 200 | 605 | import 'package:flutter/material.dart';
import 'package:mini_ecommerce/core/constants/app_colors.dart';
class DialogReviewTextButton extends StatelessWidget {
const DialogReviewTextButton({Key? key, this.onPressed, required this.title})
: super(key: key);
final void Function()? onPressed;
final String titl... | 5 |
abraamhossam/mindcare_app | 0e50511 | lib/controller/paymob_manager/function_pay.dart | Dart | www.github.com/abraamhossam/mindcare_app/tree/main/lib/controller/paymob_manager/function_pay.dart | https://raw.githubusercontent.com/abraamhossam/mindcare_app/0e50511/lib/controller/paymob_manager/function_pay.dart | abraamhossam/mindcare_app 0e50511 lib/controller/paymob_manager/function_pay.dart | true | 200 | 320 | import 'package:url_launcher/url_launcher.dart';
import 'paymob_manager.dart';
Future<void> pay() async {
PaymobManager().getPaymentKey(10, "EGP").then((String paymentKey) {
launchUrl(
Uri.parse(
"https://accept.paymob.com/api/acceptance/iframes/819235?payment_token=$paymentKey"),
);
});
}
| 3 |
habeebjafar/farm_stack | 7d497f7 | lib/services/initiliaze_paystack.dart | Dart | www.github.com/habeebjafar/farm_stack/tree/main/lib/services/initiliaze_paystack.dart | https://raw.githubusercontent.com/habeebjafar/farm_stack/7d497f7/lib/services/initiliaze_paystack.dart | habeebjafar/farm_stack 7d497f7 lib/services/initiliaze_paystack.dart | true | 200 | 583 | import 'dart:convert';
import 'package:http/http.dart' as http;
createAccessCode(skTest) async {
// skTest -> Secret key
Map<String, String> headers = {
'Content-Type': 'application/json',
'Accept': 'application/json',
'Authorization': 'Bearer $skTest'
};
Map data = {"amount": 250000, "email": "jo... | 1 |
Zaylomaz/ANDROID1 | 1509293 | modules/api/lib/src/exceptions/api_exception.dart | Dart | www.github.com/Zaylomaz/ANDROID1/tree/main/modules/api/lib/src/exceptions/api_exception.dart | https://raw.githubusercontent.com/Zaylomaz/ANDROID1/1509293/modules/api/lib/src/exceptions/api_exception.dart | Zaylomaz/ANDROID1 1509293 modules/api/lib/src/exceptions/api_exception.dart | true | 200 | 1,898 | import 'package:api/api.dart';
import 'package:dio/dio.dart';
import 'package:json_reader/json_reader.dart';
abstract class ExceptionWithMessage implements Exception {
const ExceptionWithMessage();
String get message => '';
}
class ApiException extends DioException {
ApiException(
DioException error,
th... | 2 |
jainparam/FlashChat-FlutterApp | e8e6294 | lib/screens/welcome_screen.dart | Dart | www.github.com/jainparam/FlashChat-FlutterApp/tree/main/lib/screens/welcome_screen.dart | https://raw.githubusercontent.com/jainparam/FlashChat-FlutterApp/e8e6294/lib/screens/welcome_screen.dart | jainparam/FlashChat-FlutterApp e8e6294 lib/screens/welcome_screen.dart | true | 200 | 2,437 | import 'package:flash_chat/screens/login_screen.dart';
import 'package:flash_chat/screens/registration_screen.dart';
import 'package:flutter/material.dart';
import 'package:animated_text_kit/animated_text_kit.dart';
import 'package:flash_chat/components/rounded_button.dart';
class WelcomeScreen extends StatefulW... | 6 |
M7moud-Hassan/Judgment-and-examples | 20ac996 | lib/sidebar/sidebar.dart | Dart | www.github.com/M7moud-Hassan/Judgment-and-examples/tree/main/lib/sidebar/sidebar.dart | https://raw.githubusercontent.com/M7moud-Hassan/Judgment-and-examples/20ac996/lib/sidebar/sidebar.dart | M7moud-Hassan/Judgment-and-examples 20ac996 lib/sidebar/sidebar.dart | true | 200 | 7,092 | import 'dart:math';
import 'package:awesome_dialog/awesome_dialog.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:hakm/MyController/MyController.dart';
import '../MyController/ControllerSecondPage.dart';
import '../sidebar/menu_item.dart';
class SideBar extends GetView<My... | 0 |
tomavelev/image_client | 66a73f5 | lib/home/view/search_field.dart | Dart | www.github.com/tomavelev/image_client/tree/main/lib/home/view/search_field.dart | https://raw.githubusercontent.com/tomavelev/image_client/66a73f5/lib/home/view/search_field.dart | tomavelev/image_client 66a73f5 lib/home/view/search_field.dart | true | 200 | 1,696 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
class SearchField extends StatelessWidget {
final String initialValue;
final Function(String) onTap;
final Function(String) onUnTap;
final List<String> suggestions;
const SearchField({
super.key,
required this.onTap,
... | 4 |
SERO68/Understandu | 79bce08 | lib/main.dart | Dart | www.github.com/SERO68/Understandu/tree/main/lib/main.dart | https://raw.githubusercontent.com/SERO68/Understandu/79bce08/lib/main.dart | SERO68/Understandu 79bce08 lib/main.dart | true | 200 | 1,321 | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:sam/provider/model.dart';
import 'UI/onboard/loadscreen.dart';
import 'provider/taskprov.dart';
import 'UI/onboard/welcomescreen.dart';
void main() {
WidgetsFlutterBinding.ensureInitialized();
runApp(
ChangeNotifie... | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.