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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
peternadykamal/code-blue | b7eff70 | lib/services/remoteConfig_service.dart | Dart | www.github.com/peternadykamal/code-blue/tree/main/lib/services/remoteConfig_service.dart | https://raw.githubusercontent.com/peternadykamal/code-blue/b7eff70/lib/services/remoteConfig_service.dart | peternadykamal/code-blue b7eff70 lib/services/remoteConfig_service.dart | true | 200 | 554 | import 'package:firebase_remote_config/firebase_remote_config.dart';
class RemoteConfig {
Future<FirebaseRemoteConfig> initialize() async {
FirebaseRemoteConfig remoteConfig = FirebaseRemoteConfig.instance;
await remoteConfig.setConfigSettings(RemoteConfigSettings(
fetchTimeout: const Duration(seconds:... | 7 |
mahdi-dfr/smart_home_lite | 233510c | lib/feature/project/domain/usecase/project_usecase.dart | Dart | www.github.com/mahdi-dfr/smart_home_lite/tree/main/lib/feature/project/domain/usecase/project_usecase.dart | https://raw.githubusercontent.com/mahdi-dfr/smart_home_lite/233510c/lib/feature/project/domain/usecase/project_usecase.dart | mahdi-dfr/smart_home_lite 233510c lib/feature/project/domain/usecase/project_usecase.dart | true | 200 | 542 |
import '../../../../core/resource/data_state.dart';
import '../entity/project_board_entity.dart';
import '../entity/project_entity.dart';
import '../repository/project_repository.dart';
class ProjectUseCase{
ProjectRepository _repository;
ProjectUseCase(this._repository);
Future<DataState<ProjectEntity>> getA... | 3 |
AhmedMohsen2492/News-App | 2b1d122 | lib/main.dart | Dart | www.github.com/AhmedMohsen2492/News-App/tree/main/lib/main.dart | https://raw.githubusercontent.com/AhmedMohsen2492/News-App/2b1d122/lib/main.dart | AhmedMohsen2492/News-App 2b1d122 lib/main.dart | true | 200 | 1,257 | import 'dart:io';
import 'package:flutter/material.dart';
import 'package:hive/hive.dart';
import 'package:news_route/ui/screens/home/home_screen.dart';
import 'package:news_route/ui/screens/product%20details/product_details.dart';
import 'package:news_route/ui/screens/search/search_screen.dart';
import 'package:news_r... | 2 |
Sanjarbek17/portfolio_frontend | 21cf212 | lib/pages/frontend/desktop/skillset_page.dart | Dart | www.github.com/Sanjarbek17/portfolio_frontend/tree/main/lib/pages/frontend/desktop/skillset_page.dart | https://raw.githubusercontent.com/Sanjarbek17/portfolio_frontend/21cf212/lib/pages/frontend/desktop/skillset_page.dart | Sanjarbek17/portfolio_frontend 21cf212 lib/pages/frontend/desktop/skillset_page.dart | true | 200 | 3,294 | // ignore_for_file: deprecated_member_use
import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:get/get_utils/get_utils.dart';
import 'package:portfolio_frontend/core/providers/skillset_provider.dart';
import 'package:provider/provider.dart';
import '../widgets/skill_s... | 4 |
constantinLu/vault_pass | 5588459 | lib/common/pub.dev/shared_styles.dart | Dart | www.github.com/constantinLu/vault_pass/tree/main/lib/common/pub.dev/shared_styles.dart | https://raw.githubusercontent.com/constantinLu/vault_pass/5588459/lib/common/pub.dev/shared_styles.dart | constantinLu/vault_pass 5588459 lib/common/pub.dev/shared_styles.dart | true | 200 | 852 | import 'package:flutter/material.dart';
TextStyle get ktsTitle => TextStyle(
fontSize: 80,
height: 0.95,
fontWeight: FontWeight.w800,
);
TextStyle get ktsTitle2 => TextStyle(
fontSize: 40,
height: 0.95,
fontWeight: FontWeight.w800,
);
TextStyle get ktsBodyRegular => TextSt... | 5 |
bhupensinghS21/sound_of_meme | 5686e60 | lib/main.dart | Dart | www.github.com/bhupensinghS21/sound_of_meme/tree/main/lib/main.dart | https://raw.githubusercontent.com/bhupensinghS21/sound_of_meme/5686e60/lib/main.dart | bhupensinghS21/sound_of_meme 5686e60 lib/main.dart | true | 200 | 2,317 | import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:sound/screens/home_screen.dart';
import 'package:sound/screens/login_screen.dart';
import 'package:sound/screens/signup_screen.dart';
import 'firebase_... | 0 |
huanghui1998hhh/online_font | 3b1121f | lib/src/file_io.dart | Dart | www.github.com/huanghui1998hhh/online_font/tree/main/lib/src/file_io.dart | https://raw.githubusercontent.com/huanghui1998hhh/online_font/3b1121f/lib/src/file_io.dart | huanghui1998hhh/online_font 3b1121f lib/src/file_io.dart | true | 200 | 836 | import 'dart:typed_data' show ByteData;
import '../online_font.dart';
bool get isMacOS => false;
bool get isAndroid => false;
bool get isTest => false;
/// By default, file IO is stubbed out.
///
/// If the path provider library is available (on mobile or desktop), then the
/// implementation in `file_io_desktop_and... | 7 |
SomabhaiMistry/ths_user_app | a098b25 | lib/UIScreens/select_your_city_view.dart | Dart | www.github.com/SomabhaiMistry/ths_user_app/tree/main/lib/UIScreens/select_your_city_view.dart | https://raw.githubusercontent.com/SomabhaiMistry/ths_user_app/a098b25/lib/UIScreens/select_your_city_view.dart | SomabhaiMistry/ths_user_app a098b25 lib/UIScreens/select_your_city_view.dart | true | 200 | 3,072 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:ths_user_app/Widgets/button.dart';
import 'package:ths_user_app/Widgets/toolbar_with_title.dart';
import 'package:ths_user_app/Model/select_city_model.dart';
impo... | 6 |
MrtnvM/bogach | 1631dac | client/lib/api_client/cash_flow_api_client.dart | Dart | www.github.com/MrtnvM/bogach/tree/main/client/lib/api_client/cash_flow_api_client.dart | https://raw.githubusercontent.com/MrtnvM/bogach/1631dac/client/lib/api_client/cash_flow_api_client.dart | MrtnvM/bogach 1631dac client/lib/api_client/cash_flow_api_client.dart | true | 200 | 5,445 | library cash_flow_api;
import 'package:cash_flow/api_client/headers.dart';
import 'package:cash_flow/api_client/response_mappers.dart' as rm;
import 'package:cash_flow/models/domain/game/game_context/game_context.dart';
import 'package:cash_flow/models/domain/game/quest/quest.dart';
import 'package:cash_flow/models/do... | 1 |
CTZNpk/show_list | 4e69f61 | lib/shared/widgets/my_elevated_button.dart | Dart | www.github.com/CTZNpk/show_list/tree/main/lib/shared/widgets/my_elevated_button.dart | https://raw.githubusercontent.com/CTZNpk/show_list/4e69f61/lib/shared/widgets/my_elevated_button.dart | CTZNpk/show_list 4e69f61 lib/shared/widgets/my_elevated_button.dart | true | 200 | 1,396 | import 'package:flutter/material.dart';
import 'package:show_list/shared/constants.dart';
class MyElevatedButton extends StatelessWidget {
const MyElevatedButton({
super.key,
required this.label,
required this.labelIcon,
required this.imageUrl,
required this.onPressed,
required this.backgroun... | 4 |
Alireza-Seif/to_do_list | 0e3362a | lib/widgets/app_bar.dart | Dart | www.github.com/Alireza-Seif/to_do_list/tree/main/lib/widgets/app_bar.dart | https://raw.githubusercontent.com/Alireza-Seif/to_do_list/0e3362a/lib/widgets/app_bar.dart | Alireza-Seif/to_do_list 0e3362a lib/widgets/app_bar.dart | true | 200 | 615 | import 'package:flutter/material.dart';
import 'package:seif_list/constants/colors.dart';
AppBar buildAppBar() {
return AppBar(
backgroundColor: tdBGColor,
elevation: 0,
title: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
const Icon(
Icons.menu,
... | 2 |
Chirag-3110/flutter_timeclock | c6cce38 | firstapp/lib/ImagePicker.dart | Dart | www.github.com/Chirag-3110/flutter_timeclock/tree/main/firstapp/lib/ImagePicker.dart | https://raw.githubusercontent.com/Chirag-3110/flutter_timeclock/c6cce38/firstapp/lib/ImagePicker.dart | Chirag-3110/flutter_timeclock c6cce38 firstapp/lib/ImagePicker.dart | true | 200 | 2,163 | import 'dart:io';
import 'package:firstapp/CustomButton.dart';
import 'package:flutter/material.dart';
import 'package:image_picker/image_picker.dart';
class ChooseImage extends StatefulWidget {
const ChooseImage({super.key});
@override
State<ChooseImage> createState() => _ChooesImageState();
}
class _ChooesI... | 5 |
TRXF/VWallet | f7c9d4e | lib/wallet_information/wallet_information_widget.dart | Dart | www.github.com/TRXF/VWallet/tree/main/lib/wallet_information/wallet_information_widget.dart | https://raw.githubusercontent.com/TRXF/VWallet/f7c9d4e/lib/wallet_information/wallet_information_widget.dart | TRXF/VWallet f7c9d4e lib/wallet_information/wallet_information_widget.dart | true | 200 | 5,029 | import '../flutter_flow/flutter_flow_icon_button.dart';
import '../flutter_flow/flutter_flow_theme.dart';
import '../flutter_flow/flutter_flow_util.dart';
import 'package:flutter/material.dart';
import 'package:flutter_spinkit/flutter_spinkit.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:google_... | 0 |
EsraBeke/e_commerce_flutter | bf486f9 | lib/screens/init_screen/wishlist.dart | Dart | www.github.com/EsraBeke/e_commerce_flutter/tree/main/lib/screens/init_screen/wishlist.dart | https://raw.githubusercontent.com/EsraBeke/e_commerce_flutter/bf486f9/lib/screens/init_screen/wishlist.dart | EsraBeke/e_commerce_flutter bf486f9 lib/screens/init_screen/wishlist.dart | true | 200 | 3,071 | import 'package:dynamic_height_grid_view/dynamic_height_grid_view.dart';
import 'package:e_commerce/providers/wishlist_provider.dart';
import 'package:e_commerce/screens/cart/cart_widget.dart';
import 'package:e_commerce/screens/cart/empty_bag.dart';
import 'package:e_commerce/widgets/products/product_widget.dart';
imp... | 7 |
Mohdfayistk/online | 7b3667c | lib/Ui/Demo_Profile.dart | Dart | www.github.com/Mohdfayistk/online/tree/main/lib/Ui/Demo_Profile.dart | https://raw.githubusercontent.com/Mohdfayistk/online/7b3667c/lib/Ui/Demo_Profile.dart | Mohdfayistk/online 7b3667c lib/Ui/Demo_Profile.dart | true | 200 | 7,297 | import 'dart:io';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:image_picker/image_picker.dart';
class DemoProfile extends StatefulWidget {
const DemoProfile({super.key});
@override
State<Dem... | 6 |
duyn-run/flutter_training | abeff73 | 3.todo_app_udemy/lib/demo_buttons.dart | Dart | www.github.com/duyn-run/flutter_training/tree/main/3.todo_app_udemy/lib/demo_buttons.dart | https://raw.githubusercontent.com/duyn-run/flutter_training/abeff73/3.todo_app_udemy/lib/demo_buttons.dart | duyn-run/flutter_training abeff73 3.todo_app_udemy/lib/demo_buttons.dart | true | 200 | 1,110 | import 'package:flutter/material.dart';
class DemoButtons extends StatefulWidget {
const DemoButtons({super.key});
@override
State<DemoButtons> createState() {
return _DemoButtons();
}
}
class _DemoButtons extends State<DemoButtons> {
var _isUnderstood = false;
@override
Widget buil... | 3 |
MoatazMhamdi/AgriConnect-Flutter | c3c3cdf | lib/screens/dashboard/add_equipment_screen.dart | Dart | www.github.com/MoatazMhamdi/AgriConnect-Flutter/tree/main/lib/screens/dashboard/add_equipment_screen.dart | https://raw.githubusercontent.com/MoatazMhamdi/AgriConnect-Flutter/c3c3cdf/lib/screens/dashboard/add_equipment_screen.dart | MoatazMhamdi/AgriConnect-Flutter c3c3cdf lib/screens/dashboard/add_equipment_screen.dart | true | 200 | 6,481 | import 'dart:typed_data';
import 'package:http/http.dart' as http;
import 'package:flutter/material.dart';
import 'package:image_picker/image_picker.dart';
import '../../models/Equipment.dart';
import '../../services/EquipmentService.dart';
class AddEquipmentScreen extends StatefulWidget {
final String userId;
fin... | 4 |
Hugekyung/flutter-course | 25a5d86 | lib/course-2/main-7-GridVeiw.dart | Dart | www.github.com/Hugekyung/flutter-course/tree/main/lib/course-2/main-7-GridVeiw.dart | https://raw.githubusercontent.com/Hugekyung/flutter-course/25a5d86/lib/course-2/main-7-GridVeiw.dart | Hugekyung/flutter-course 25a5d86 lib/course-2/main-7-GridVeiw.dart | true | 200 | 1,558 | import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: The... | 1 |
omaarrwaell/genie101 | 6329023 | lib/models/device.dart | Dart | www.github.com/omaarrwaell/genie101/tree/main/lib/models/device.dart | https://raw.githubusercontent.com/omaarrwaell/genie101/6329023/lib/models/device.dart | omaarrwaell/genie101 6329023 lib/models/device.dart | true | 200 | 1,092 | class Device {
Device({
required this.id,
required this.name,
required this.protocol,
required this.status,
required this.createdAt,
required this.updatedAt,
});
late final String? id;
late final String? name;
late final String? protocol;
late final Map<String, dynamic>? status;
la... | 2 |
trannghia0997/Foursquare | 7d6d950 | lib/riverpod/product.dart | Dart | www.github.com/trannghia0997/Foursquare/tree/main/lib/riverpod/product.dart | https://raw.githubusercontent.com/trannghia0997/Foursquare/7d6d950/lib/riverpod/product.dart | trannghia0997/Foursquare 7d6d950 lib/riverpod/product.dart | true | 200 | 8,859 | import 'package:foursquare/services/pb.dart';
import 'package:foursquare/shared/custom_list.dart';
import 'package:foursquare/shared/extension.dart';
import 'package:foursquare/shared/image.dart';
import 'package:foursquare/shared/models/colour.dart';
import 'package:foursquare/shared/models/comment.dart';
import... | 5 |
AsakaLynux/travel_application | 2d0f544 | lib/services/destination_services.dart | Dart | www.github.com/AsakaLynux/travel_application/tree/main/lib/services/destination_services.dart | https://raw.githubusercontent.com/AsakaLynux/travel_application/2d0f544/lib/services/destination_services.dart | AsakaLynux/travel_application 2d0f544 lib/services/destination_services.dart | true | 200 | 8,565 | import 'dart:math';
import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
import 'package:isar/isar.dart';
import '../entities/destination.dart';
import '../entities/transaction.dart';
import 'isar_services.dart';
class DestinationServices extends IsarServices {
Future<void> ... | 0 |
Sanechkasnimaet/FF | 05793a8 | lib/pages/signup.dart | Dart | www.github.com/Sanechkasnimaet/FF/tree/main/lib/pages/signup.dart | https://raw.githubusercontent.com/Sanechkasnimaet/FF/05793a8/lib/pages/signup.dart | Sanechkasnimaet/FF 05793a8 lib/pages/signup.dart | true | 200 | 10,025 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
import 'dart:core';
import 'package:vers2/design/colors.dart';
import 'package:vers2/registration/registration_methods.dart';
import 'dart:convert';
import 'package:crypto/cr... | 6 |
OfficialOrigins/Capsule | 3d9796a | lib/support_ticket_components/set_priority_menu/set_priority_menu_model.dart | Dart | www.github.com/OfficialOrigins/Capsule/tree/main/lib/support_ticket_components/set_priority_menu/set_priority_menu_model.dart | https://raw.githubusercontent.com/OfficialOrigins/Capsule/3d9796a/lib/support_ticket_components/set_priority_menu/set_priority_menu_model.dart | OfficialOrigins/Capsule 3d9796a lib/support_ticket_components/set_priority_menu/set_priority_menu_model.dart | true | 200 | 451 | import '/flutter_flow/flutter_flow_util.dart';
import 'set_priority_menu_widget.dart' show SetPriorityMenuWidget;
import 'package:flutter/material.dart';
class SetPriorityMenuModel extends FlutterFlowModel<SetPriorityMenuWidget> {
/// Initialization and disposal methods.
@override
void initState(BuildContext co... | 3 |
volantecn/timeceptlink | 380047e | lib/widgets/message/send_location_widget.dart | Dart | www.github.com/volantecn/timeceptlink/tree/main/lib/widgets/message/send_location_widget.dart | https://raw.githubusercontent.com/volantecn/timeceptlink/380047e/lib/widgets/message/send_location_widget.dart | volantecn/timeceptlink 380047e lib/widgets/message/send_location_widget.dart | true | 200 | 961 |
import 'package:flutter/material.dart';
import '../../factory/chat_factory.dart';
import '../../models/dialogue_model.dart';
import '../../models/location_model.dart';
import '../location/map_search_picker_widget.dart';
class SendLoacationWidget extends StatelessWidget {
final Dialogue? dialogue;
... | 4 |
Gianlush/Progetto_SDCC_Pasquale | 12808a6 | Frontend/lib/widget/Logo.dart | Dart | www.github.com/Gianlush/Progetto_SDCC_Pasquale/tree/main/Frontend/lib/widget/Logo.dart | https://raw.githubusercontent.com/Gianlush/Progetto_SDCC_Pasquale/12808a6/Frontend/lib/widget/Logo.dart | Gianlush/Progetto_SDCC_Pasquale 12808a6 Frontend/lib/widget/Logo.dart | true | 200 | 801 | import 'package:flutter/material.dart';
import 'package:stroke_text/stroke_text.dart';
class Logo extends StatelessWidget{
const Logo({Key key, @required this.color}) : super(key: key);
final Color color;
@override
Widget build(BuildContext context) {
return Row(
mainAxisSize: MainAxisSize.min,
... | 1 |
fanglu0411/sgs | a2484d5 | flutter/lib/components/ftp_file_form_field.dart | Dart | www.github.com/fanglu0411/sgs/tree/main/flutter/lib/components/ftp_file_form_field.dart | https://raw.githubusercontent.com/fanglu0411/sgs/a2484d5/flutter/lib/components/ftp_file_form_field.dart | fanglu0411/sgs a2484d5 flutter/lib/components/ftp_file_form_field.dart | true | 200 | 5,177 | import 'package:flutter/material.dart';
import 'package:flutter_smart_genome/components/ftp_file_manager_widget.dart';
class FtpFileFormField extends FormField<List<String>> {
final ValueChanged<List<String>>? onChanged;
static String? defaultFileValidator(List<String>? value) {
if (value == null || value.isE... | 2 |
MGehad/RestoApp | bdd08a7 | lib/main.dart | Dart | www.github.com/MGehad/RestoApp/tree/main/lib/main.dart | https://raw.githubusercontent.com/MGehad/RestoApp/bdd08a7/lib/main.dart | MGehad/RestoApp bdd08a7 lib/main.dart | true | 200 | 1,628 | import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
import 'package:provider/provider.dart';
import 'package:restaurant/Pages/First_Page.dart';
import 'package:restaurant/Pages/Settings/Cart.dart';
import 'package:restaurant/theme/app_color.dart';
import 'package:shared_preferences/shared_p... | 5 |
SawyerNic/flutter_trivia_game | a7cb835 | lib/utilities/nflapi.dart | Dart | www.github.com/SawyerNic/flutter_trivia_game/tree/main/lib/utilities/nflapi.dart | https://raw.githubusercontent.com/SawyerNic/flutter_trivia_game/a7cb835/lib/utilities/nflapi.dart | SawyerNic/flutter_trivia_game a7cb835 lib/utilities/nflapi.dart | true | 200 | 6,762 | import 'dart:convert';
import 'dart:math';
import 'package:http/http.dart' as http;
class Player {
String name;
String imageLink;
String? position;
double yards;
dynamic stats;
Player(this.name, this.imageLink, this.yards);
}
class Team {
String name;
int id;
Player qbOne;
Player rbOne;
Player... | 7 |
Shees-Ali1/reclaim_app | af086df | lib/widgets/custom_appbar.dart | Dart | www.github.com/Shees-Ali1/reclaim_app/tree/main/lib/widgets/custom_appbar.dart | https://raw.githubusercontent.com/Shees-Ali1/reclaim_app/af086df/lib/widgets/custom_appbar.dart | Shees-Ali1/reclaim_app af086df lib/widgets/custom_appbar.dart | true | 200 | 13,231 | import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:flutter_custom_clippers/flutter_custom_clippers.dart';
import 'package:get/get.dart';
import 'package:google_fonts/google_fonts.dart';
import '../const/asse... | 0 |
Marium22222/home-water-delivery | afee85b | lib/services/product_service.dart | Dart | www.github.com/Marium22222/home-water-delivery/tree/main/lib/services/product_service.dart | https://raw.githubusercontent.com/Marium22222/home-water-delivery/afee85b/lib/services/product_service.dart | Marium22222/home-water-delivery afee85b lib/services/product_service.dart | true | 200 | 3,158 | import 'package:home_water_delivery_management_system/models/product_model.dart';
import 'dart:convert';
import 'package:http/http.dart' as http;
class ProductService {
Future<List<Product>> getProducts() async {
var client = http.Client();
try {
var response = await client.get(Uri.parse('http://167.71... | 6 |
PaDiSHaXxX-DeV/dars_uchun | 4556c0f | lib/main_page.dart | Dart | www.github.com/PaDiSHaXxX-DeV/dars_uchun/tree/main/lib/main_page.dart | https://raw.githubusercontent.com/PaDiSHaXxX-DeV/dars_uchun/4556c0f/lib/main_page.dart | PaDiSHaXxX-DeV/dars_uchun 4556c0f lib/main_page.dart | true | 200 | 1,539 | import 'package:dars_uchun/screen/Insta.dart';
import 'package:dars_uchun/screen/notification.dart';
import 'package:dars_uchun/screen/profile_page.dart';
import 'package:dars_uchun/screen/reels_page.dart';
import 'package:dars_uchun/screen/search_page.dart';
import 'package:flutter/material.dart';
import 'package:flut... | 3 |
xSengPed/bloc-clean-arch-with-graphql-ex | de28fb9 | lib/api/api_services.dart | Dart | www.github.com/xSengPed/bloc-clean-arch-with-graphql-ex/tree/main/lib/api/api_services.dart | https://raw.githubusercontent.com/xSengPed/bloc-clean-arch-with-graphql-ex/de28fb9/lib/api/api_services.dart | xSengPed/bloc-clean-arch-with-graphql-ex de28fb9 lib/api/api_services.dart | true | 200 | 631 | import 'dart:developer';
import 'package:bloc_graphql_implements_101/data/todo.dart';
import 'package:dio/dio.dart';
class ApiServices {
static late Dio _api;
ApiServices.init() {
BaseOptions options = BaseOptions(
baseUrl: 'https://jsonplaceholder.typicode.com',
);
Dio dio = Dio(options);
... | 1 |
sademirdev/iyzipay-dart | 1073033 | lib/src/models/bkm_installment_price.dart | Dart | www.github.com/sademirdev/iyzipay-dart/tree/main/lib/src/models/bkm_installment_price.dart | https://raw.githubusercontent.com/sademirdev/iyzipay-dart/1073033/lib/src/models/bkm_installment_price.dart | sademirdev/iyzipay-dart 1073033 lib/src/models/bkm_installment_price.dart | true | 200 | 586 | import 'package:iyzipay/src/json_convertible.dart';
import 'package:json_annotation/json_annotation.dart';
part 'bkm_installment_price.g.dart';
@JsonSerializable(includeIfNull: false)
class BkmInstallmentPrice with JsonConvertible<BkmInstallmentPrice> {
const BkmInstallmentPrice({
this.installmentNumber,
re... | 4 |
NegalurmathPraveen/fish_app | 0a01673 | lib/global_variables.dart | Dart | www.github.com/NegalurmathPraveen/fish_app/tree/main/lib/global_variables.dart | https://raw.githubusercontent.com/NegalurmathPraveen/fish_app/0a01673/lib/global_variables.dart | NegalurmathPraveen/fish_app 0a01673 lib/global_variables.dart | true | 200 | 426 | import 'package:flutter/material.dart';
const String URL = "http://10.0.2.2:8000/api/";
final int patientId=0;
bool newUser=true;
String mobileNumber='';
String screenStage = 'false';
//appbar height
var appBarHeight;
//userId and Token details
var page=1;
var globalBtoken;
//var Btoken;
var fileNotFound;
var writ... | 2 |
harshgaya/laundry-service-app | 42e1cfb | lib/modules/campus_employee/pages/profile/campus_employee_profile.dart | Dart | www.github.com/harshgaya/laundry-service-app/tree/main/lib/modules/campus_employee/pages/profile/campus_employee_profile.dart | https://raw.githubusercontent.com/harshgaya/laundry-service-app/42e1cfb/lib/modules/campus_employee/pages/profile/campus_employee_profile.dart | harshgaya/laundry-service-app 42e1cfb lib/modules/campus_employee/pages/profile/campus_employee_profile.dart | true | 200 | 4,741 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:get/get_core/src/get_main.dart';
import 'package:laundry_service/helpers/utils.dart';
import 'package:laundry_service/modules/authentication/controllers/login_controller.dart';
import '../../controllers/campus_employee_controller.da... | 6 |
KABOPOK/PunkMarket | 52ed12f | PUNK/lib/clases/Message.dart | Dart | www.github.com/KABOPOK/PunkMarket/tree/main/PUNK/lib/clases/Message.dart | https://raw.githubusercontent.com/KABOPOK/PunkMarket/52ed12f/PUNK/lib/clases/Message.dart | KABOPOK/PunkMarket 52ed12f PUNK/lib/clases/Message.dart | true | 200 | 1,251 | class Message {
String messageID;
String text;
DateTime time;
String chatID;
String userID;
// Empty constructor
Message({
this.messageID = '',
this.text = '',
DateTime? time,
this.chatID = '',
this.userID = '',
}) : time = time ?? DateTime.now(); // Default to current time if not p... | 5 |
ideveloper2017/saleproWeb | 2fe14e8 | lib/Repository/expense)category_repo.dart | Dart | www.github.com/ideveloper2017/saleproWeb/tree/main/lib/Repository/expense)category_repo.dart | https://raw.githubusercontent.com/ideveloper2017/saleproWeb/2fe14e8/lib/Repository/expense%29category_repo.dart | ideveloper2017/saleproWeb 2fe14e8 lib/Repository/expense)category_repo.dart | true | 200 | 1,303 | import 'dart:convert';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:firebase_database/firebase_database.dart';
import 'package:salespro_admin/model/expense_category_model.dart';
import 'package:salespro_admin/model/income_catehory_model.dart';
import '../const.dart';
class ExpenseCategoryRepo {... | 0 |
MAlazhariy/abdullah_mansour_flutter_course | 4269ac6 | lib/modules/shop_app/register/register_cubit/register_cubit.dart | Dart | www.github.com/MAlazhariy/abdullah_mansour_flutter_course/tree/main/lib/modules/shop_app/register/register_cubit/register_cubit.dart | https://raw.githubusercontent.com/MAlazhariy/abdullah_mansour_flutter_course/4269ac6/lib/modules/shop_app/register/register_cubit/register_cubit.dart | MAlazhariy/abdullah_mansour_flutter_course 4269ac6 lib/modules/shop_app/register/register_cubit/register_cubit.dart | true | 200 | 1,846 | import 'dart:developer';
import 'package:firstapp/models/shop_app/login_model.dart';
import 'package:firstapp/modules/shop_app/register/register_cubit/register_states.dart';
import 'package:firstapp/shared/network/end_points.dart';
import 'package:firstapp/shared/network/remote/dio_helper.dart';
import 'package:flutte... | 7 |
paramesBusOn/Sellerkit-Pos | 6eb6027 | lib/Constant/Configuration.dart | Dart | www.github.com/paramesBusOn/Sellerkit-Pos/tree/main/lib/Constant/Configuration.dart | https://raw.githubusercontent.com/paramesBusOn/Sellerkit-Pos/6eb6027/lib/Constant/Configuration.dart | paramesBusOn/Sellerkit-Pos 6eb6027 lib/Constant/Configuration.dart | true | 200 | 5,660 |
import 'dart:math';
import 'package:connectivity/connectivity.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'Screen.dart';
import 'package:intl/intl.dart';
class Configure {
void showDialogBox(String title, String msg, BuildContext context) {
showDialog<dynamic>(
c... | 3 |
Jyotiprajapati14/Quize_app | fb15afa | lib/start_screen.dart | Dart | www.github.com/Jyotiprajapati14/Quize_app/tree/main/lib/start_screen.dart | https://raw.githubusercontent.com/Jyotiprajapati14/Quize_app/fb15afa/lib/start_screen.dart | Jyotiprajapati14/Quize_app fb15afa lib/start_screen.dart | true | 200 | 359 | import 'package:flutter/material.dart';
class StartScreen extends StatelessWidget{
const StartScreen({super.key});
@override
Widget build(context) {
return Center(
child: Column(mainAxisSize: MainAxisSize.min,
children: [
Image.asset('assets/images/quize.png',width: 300, height: 300,... | 1 |
pushtiparikh/Flavour-Fleet-Multi-Restaurant-app | bb91c3c | lib/application/filter/filter_notifier.dart | Dart | www.github.com/pushtiparikh/Flavour-Fleet-Multi-Restaurant-app/tree/main/lib/application/filter/filter_notifier.dart | https://raw.githubusercontent.com/pushtiparikh/Flavour-Fleet-Multi-Restaurant-app/bb91c3c/lib/application/filter/filter_notifier.dart | pushtiparikh/Flavour-Fleet-Multi-Restaurant-app bb91c3c lib/application/filter/filter_notifier.dart | true | 200 | 7,472 | import 'dart:math';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:pull_to_refresh/pull_to_refresh.dart';
import 'package:flavourfleet/domain/iterface/shops.dart';
import 'package:flavourfleet/infrastructure/models/data/filter_model.dart';
import 'packa... | 4 |
nimafarzin-pr/live-cryptocurrency-streaming-app | 4e2eecd | lib/main.dart | Dart | www.github.com/nimafarzin-pr/live-cryptocurrency-streaming-app/tree/main/lib/main.dart | https://raw.githubusercontent.com/nimafarzin-pr/live-cryptocurrency-streaming-app/4e2eecd/lib/main.dart | nimafarzin-pr/live-cryptocurrency-streaming-app 4e2eecd lib/main.dart | true | 200 | 641 | import 'package:flutter/material.dart';
import 'package:get_it/get_it.dart';
import 'package:live_cryptocurrency_streaming_app/service/ably_service.dart';
import 'package:live_cryptocurrency_streaming_app/view/dashboard.dart';
GetIt getIt = GetIt.instance;
void main() {
getIt.registerSingletonAsync<AblyService>(() ... | 2 |
saquib92/News-Feed-Web-App | 065df5c | lib/controller/news_feed_controller.dart | Dart | www.github.com/saquib92/News-Feed-Web-App/tree/main/lib/controller/news_feed_controller.dart | https://raw.githubusercontent.com/saquib92/News-Feed-Web-App/065df5c/lib/controller/news_feed_controller.dart | saquib92/News-Feed-Web-App 065df5c lib/controller/news_feed_controller.dart | true | 200 | 823 | import 'package:get/get.dart';
import '../models/news_article_model.dart';
import '../repository/user_repository.dart/user_repository.dart';
class NewsFeedController extends GetxController {
final UserRepository userRepository = UserRepository.instance;
var articles = <NewsArticle>[].obs;
var isLoading = true.o... | 6 |
Maitry1999/face-recognization-flutter | c3d5783 | lib/application/auth/auth_status/auth_status_bloc.dart | Dart | www.github.com/Maitry1999/face-recognization-flutter/tree/main/lib/application/auth/auth_status/auth_status_bloc.dart | https://raw.githubusercontent.com/Maitry1999/face-recognization-flutter/c3d5783/lib/application/auth/auth_status/auth_status_bloc.dart | Maitry1999/face-recognization-flutter c3d5783 lib/application/auth/auth_status/auth_status_bloc.dart | true | 200 | 939 | import 'package:attandence_system/domain/auth/i_auth_facade.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:injectable/injectable.dart';
part 'auth_status_state.dart';
part 'auth_status_event.dart';
part 'auth_status_bloc.freezed.dar... | 5 |
hieuhaiti/finace_app | 25d337c | back_end/bin/service/user_service.dart | Dart | www.github.com/hieuhaiti/finace_app/tree/main/back_end/bin/service/user_service.dart | https://raw.githubusercontent.com/hieuhaiti/finace_app/25d337c/back_end/bin/service/user_service.dart | hieuhaiti/finace_app 25d337c back_end/bin/service/user_service.dart | true | 200 | 4,934 | import 'dart:convert';
import 'package:shelf/shelf.dart';
import '../models/user.dart';
import 'service.dart';
import '../data/user_storage.dart';
/// Lớp lưu trữ User
/// Lớp xử lý User
class UserService with Service {
final UserStorage userStorage = UserStorage('bin/data/json/users.json');
final _headers = {'Co... | 0 |
Rashad-seada/Flutter-Starter-Project-with-auth | d1213bd | lib/core/core_feature/domain/usecases/validate_password_use_case.dart | Dart | www.github.com/Rashad-seada/Flutter-Starter-Project-with-auth/tree/main/lib/core/core_feature/domain/usecases/validate_password_use_case.dart | https://raw.githubusercontent.com/Rashad-seada/Flutter-Starter-Project-with-auth/d1213bd/lib/core/core_feature/domain/usecases/validate_password_use_case.dart | Rashad-seada/Flutter-Starter-Project-with-auth d1213bd lib/core/core_feature/domain/usecases/validate_password_use_case.dart | true | 200 | 511 | import 'package:regexpattern/regexpattern.dart';
class ValidatePasswordUseCase {
RegExp specialChars = RegExp(r'[!@#%^&*(),.?":{}|<>]');
String? call(String text){
if(text.trim().isEmpty){
return "Please enter your password";
} else if(!text.isPasswordEasy()) {
return "Please enter a correct ... | 7 |
rutviknakum/iEducation | 33c5b9c | user_apppp/lib/splash_screen.dart | Dart | www.github.com/rutviknakum/iEducation/tree/main/user_apppp/lib/splash_screen.dart | https://raw.githubusercontent.com/rutviknakum/iEducation/33c5b9c/user_apppp/lib/splash_screen.dart | rutviknakum/iEducation 33c5b9c user_apppp/lib/splash_screen.dart | true | 200 | 1,393 | import 'dart:async';
import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:user_apppp/constant.dart';
import 'package:user_apppp/login_screen.dart';
import 'package:user_apppp/screens/home_screen/home_screen_bottombar.dart';
class SplashScreen ext... | 3 |
zackyrr7/mrmelawiflutter | 3573f25 | lib/screens/account/blocs/account_bloc/account_cubit.dart | Dart | www.github.com/zackyrr7/mrmelawiflutter/tree/main/lib/screens/account/blocs/account_bloc/account_cubit.dart | https://raw.githubusercontent.com/zackyrr7/mrmelawiflutter/3573f25/lib/screens/account/blocs/account_bloc/account_cubit.dart | zackyrr7/mrmelawiflutter 3573f25 lib/screens/account/blocs/account_bloc/account_cubit.dart | true | 200 | 426 | import 'package:flutter_bloc/flutter_bloc.dart';
import '../../../../services/auth_service.dart';
import 'account_state.dart';
class AccountCubit extends Cubit<AccountState> {
AccountCubit() : super(AccountInitial());
Future<void> logout() async {
emit(AccountLoading());
try {
await AuthService.ins... | 4 |
MatheusRmelo/test_vibbra | 63c945a | lib/views/widgets/custom_outlined_textfield.dart | Dart | www.github.com/MatheusRmelo/test_vibbra/tree/main/lib/views/widgets/custom_outlined_textfield.dart | https://raw.githubusercontent.com/MatheusRmelo/test_vibbra/63c945a/lib/views/widgets/custom_outlined_textfield.dart | MatheusRmelo/test_vibbra 63c945a lib/views/widgets/custom_outlined_textfield.dart | true | 200 | 2,140 | import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:vibbra_test/models/error.dart';
class CustomOutlinedTextField extends StatefulWidget {
final String label;
final String placeholder;
final TextEditingController? controller;
final Function(String? value)? onChanged;... | 2 |
rafiyandi/SPK-Copras---Topsis | 3c8a043 | lib/features/user/pages/user_home_page.dart | Dart | www.github.com/rafiyandi/SPK-Copras---Topsis/tree/main/lib/features/user/pages/user_home_page.dart | https://raw.githubusercontent.com/rafiyandi/SPK-Copras---Topsis/3c8a043/lib/features/user/pages/user_home_page.dart | rafiyandi/SPK-Copras---Topsis 3c8a043 lib/features/user/pages/user_home_page.dart | true | 200 | 3,059 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:gap/gap.dart';
import 'package:get/get.dart';
import 'package:spk_topsis_copras/app/config/app_assets.dart';
import 'package:spk_topsis_copras/app/config/app_colors.dart';
import 'package:spk_topsis_copr... | 0 |
TakamiNakajima/meal_ai | cf9d243 | lib/presentation/setting/setting_page.dart | Dart | www.github.com/TakamiNakajima/meal_ai/tree/main/lib/presentation/setting/setting_page.dart | https://raw.githubusercontent.com/TakamiNakajima/meal_ai/cf9d243/lib/presentation/setting/setting_page.dart | TakamiNakajima/meal_ai cf9d243 lib/presentation/setting/setting_page.dart | true | 200 | 494 | import 'package:flutter/material.dart';
import 'package:meal_ai/presentation/style/color.dart';
class SettingPage extends StatefulWidget {
const SettingPage({super.key});
@override
State<SettingPage> createState() => _SettingPageState();
}
class _SettingPageState extends State<SettingPage> {
@override
Widg... | 6 |
lukman-fun/trading-app | dc26d43 | lib/model/trading_history_model.dart | Dart | www.github.com/lukman-fun/trading-app/tree/main/lib/model/trading_history_model.dart | https://raw.githubusercontent.com/lukman-fun/trading-app/dc26d43/lib/model/trading_history_model.dart | lukman-fun/trading-app dc26d43 lib/model/trading_history_model.dart | true | 200 | 2,710 | // To parse this JSON data, do
//
// final tradingHistoryModel = tradingHistoryModelFromJson(jsonString);
import 'dart:convert';
TradingHistoryModel tradingHistoryModelFromJson(String str) =>
TradingHistoryModel.fromJson(json.decode(str));
String tradingHistoryModelToJson(TradingHistoryModel data) =>
jso... | 7 |
nishant-vekariya90/b2b | 8060745 | lib/model/flight/from_to_location_model.dart | Dart | www.github.com/nishant-vekariya90/b2b/tree/main/lib/model/flight/from_to_location_model.dart | https://raw.githubusercontent.com/nishant-vekariya90/b2b/8060745/lib/model/flight/from_to_location_model.dart | nishant-vekariya90/b2b 8060745 lib/model/flight/from_to_location_model.dart | true | 200 | 1,012 | import 'package:get/get.dart';
class MultiStopFromToDateModel {
RxString? fromLocationName = ''.obs;
RxString? fromLocationCode = ''.obs;
RxString? toLocationName = ''.obs;
RxString? toLocationCode = ''.obs;
RxString? date = ''.obs;
MultiStopFromToDateModel({
this.fromLocationName,
this.fromLocati... | 3 |
theluanz/payflow-flutter | ec5aa86 | lib/shared/widgets/boleto_tile/boleto_tile.dart | Dart | www.github.com/theluanz/payflow-flutter/tree/main/lib/shared/widgets/boleto_tile/boleto_tile.dart | https://raw.githubusercontent.com/theluanz/payflow-flutter/ec5aa86/lib/shared/widgets/boleto_tile/boleto_tile.dart | theluanz/payflow-flutter ec5aa86 lib/shared/widgets/boleto_tile/boleto_tile.dart | true | 200 | 1,079 | import 'package:animated_card/animated_card.dart';
import 'package:flutter/material.dart';
import 'package:flutter/src/foundation/key.dart';
import 'package:flutter/src/widgets/framework.dart';
import 'package:payflow/shared/model/boleto_model.dart';
import 'package:payflow/shared/themes/app_text_styles.dart';
class B... | 2 |
marmot8080/Soom-Charm | 01f6a38 | lib/mini_game/components/BonfireGameFirewood.dart | Dart | www.github.com/marmot8080/Soom-Charm/tree/main/lib/mini_game/components/BonfireGameFirewood.dart | https://raw.githubusercontent.com/marmot8080/Soom-Charm/01f6a38/lib/mini_game/components/BonfireGameFirewood.dart | marmot8080/Soom-Charm 01f6a38 lib/mini_game/components/BonfireGameFirewood.dart | true | 200 | 904 | import 'package:flame/components.dart';
class BonfireGameFirewood extends SpriteComponent with HasGameRef {
@override
Future<void> onLoad() async {
super.onLoad();
sprite = await gameRef.loadSprite('Bonfire_firewood.png');
final spriteOriginalSize = sprite!.srcSize; // 이미지 크기
final screenSize = ga... | 5 |
SajanBaisil/Netfilx | cfddcc1 | lib/presentation/new&hot/widgets/videowidget.dart | Dart | www.github.com/SajanBaisil/Netfilx/tree/main/lib/presentation/new&hot/widgets/videowidget.dart | https://raw.githubusercontent.com/SajanBaisil/Netfilx/cfddcc1/lib/presentation/new%26hot/widgets/videowidget.dart | SajanBaisil/Netfilx cfddcc1 lib/presentation/new&hot/widgets/videowidget.dart | true | 200 | 966 | import 'package:flutter/material.dart';
import '../../../core/constants.dart';
class VideoWidget extends StatelessWidget {
final double imagesize;
const VideoWidget({
Key? key,required this.imagesize
}) : super(key: key);
@override
Widget build(BuildContext context) {
Size size = MediaQuery.of(cont... | 4 |
HuuDanJR/volumn_controller_clientt | cfd15ab | Projects/FINISHED/volumecontrol/volumecontrol_app/lib/page/floorplan.dart | Dart | www.github.com/HuuDanJR/volumn_controller_clientt/tree/main/Projects/FINISHED/volumecontrol/volumecontrol_app/lib/page/floorplan.dart | https://raw.githubusercontent.com/HuuDanJR/volumn_controller_clientt/cfd15ab/Projects/FINISHED/volumecontrol/volumecontrol_app/lib/page/floorplan.dart | HuuDanJR/volumn_controller_clientt cfd15ab Projects/FINISHED/volumecontrol/volumecontrol_app/lib/page/floorplan.dart | true | 200 | 7,159 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:photo_view/photo_view.dart';
import 'package:volumn_control/api/api_service.dart';
import 'package:volumn_control/getx/getx_controller.dart';
import 'package:volumn_control/page/widget/floorplan/volume_stack.dart';
import 'package:vo... | 7 |
Sriram-107/dart-tutorial | 97d2ec0 | optionals/bin/example3.dart | Dart | www.github.com/Sriram-107/dart-tutorial/tree/main/optionals/bin/example3.dart | https://raw.githubusercontent.com/Sriram-107/dart-tutorial/97d2ec0/optionals/bin/example3.dart | Sriram-107/dart-tutorial 97d2ec0 optionals/bin/example3.dart | true | 200 | 442 | void main(List<String> args) {
int? age = 20;
// age = null;
if (age == null) {
// Dart does some static analsys and since age is assigned 20 age can never be null.
print("Age is null");
} else {
print("Age is not null");
}
checkAge(age);
}
void checkAge(int? age) {
if (age == null) {
// ... | 6 |
DaliaKarem/weatherApp | 19bbd63 | lib/widgets/my_chart.dart | Dart | www.github.com/DaliaKarem/weatherApp/tree/main/lib/widgets/my_chart.dart | https://raw.githubusercontent.com/DaliaKarem/weatherApp/19bbd63/lib/widgets/my_chart.dart | DaliaKarem/weatherApp 19bbd63 lib/widgets/my_chart.dart | true | 200 | 973 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:syncfusion_flutter_charts/charts.dart';
import '../controller/HomeContrroller.dart';
import '../model/fiveDaysData.dart';
class MyChart extends GetView<HomeController> {
@override
Widget build(BuildContext context) {
return... | 0 |
shiponirfan/orexa_shop_e_commerce_app | 2134fbd | lib/views/auth/login/login.dart | Dart | www.github.com/shiponirfan/orexa_shop_e_commerce_app/tree/main/lib/views/auth/login/login.dart | https://raw.githubusercontent.com/shiponirfan/orexa_shop_e_commerce_app/2134fbd/lib/views/auth/login/login.dart | shiponirfan/orexa_shop_e_commerce_app 2134fbd lib/views/auth/login/login.dart | true | 200 | 2,936 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:orexa_shop/utils/app_colors.dart';
import 'package:orexa_shop/views/auth/register/register.dart';
import 'package:orexa_shop/widgets/custom_appbar.dart';
import 'package:orexa_shop/widgets/custom_button.dart';
import 'package:orexa_s... | 3 |
moshOntong-IT/app_realtime_ext | 3717896 | lib/src/services/src/realtime_io_ext.dart | Dart | www.github.com/moshOntong-IT/app_realtime_ext/tree/main/lib/src/services/src/realtime_io_ext.dart | https://raw.githubusercontent.com/moshOntong-IT/app_realtime_ext/3717896/lib/src/services/src/realtime_io_ext.dart | moshOntong-IT/app_realtime_ext 3717896 lib/src/services/src/realtime_io_ext.dart | true | 200 | 4,426 | import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'dart:math';
import 'package:app_realtime_ext/app_realtime_ext.dart';
import 'package:appwrite/appwrite.dart';
import 'package:appwrite/client_io.dart';
import 'package:flutter/foundation.dart';
import 'package:web_socket_channel/io.dart';
import 'pa... | 2 |
Manuelkpatsu/learning_app | 29c673a | lib/screen/widget/app_bar_title.dart | Dart | www.github.com/Manuelkpatsu/learning_app/tree/main/lib/screen/widget/app_bar_title.dart | https://raw.githubusercontent.com/Manuelkpatsu/learning_app/29c673a/lib/screen/widget/app_bar_title.dart | Manuelkpatsu/learning_app 29c673a lib/screen/widget/app_bar_title.dart | true | 200 | 489 | import 'package:flutter/material.dart';
import 'package:learning_app/theme/custom_color.dart';
class AppBarTitle extends StatelessWidget {
final String title;
const AppBarTitle({Key? key, required this.title}) : super(key: key);
@override
Widget build(BuildContext context) {
return Text(
title,
... | 4 |
mohitdhami/flutter_netclock | 7c38d7b | lib/tabBar/thirdTab.dart | Dart | www.github.com/mohitdhami/flutter_netclock/tree/main/lib/tabBar/thirdTab.dart | https://raw.githubusercontent.com/mohitdhami/flutter_netclock/7c38d7b/lib/tabBar/thirdTab.dart | mohitdhami/flutter_netclock 7c38d7b lib/tabBar/thirdTab.dart | true | 200 | 7,126 | import 'package:http/http.dart' as http;
import 'package:flutter/material.dart';
import 'dart:convert' as convert;
class ThirdTab extends StatefulWidget {
ThirdTab({Key key}) : super(key: key);
@override
_ThirdTabState createState() => _ThirdTabState();
}
class _ThirdTabState extends State<ThirdTab> {
//J... | 5 |
AmrHussei/Counselor | 9a530f2 | lib/features/manager_profile_and_chat/presentation/view/widgets/chat_widgets/message_tile.dart | Dart | www.github.com/AmrHussei/Counselor/tree/main/lib/features/manager_profile_and_chat/presentation/view/widgets/chat_widgets/message_tile.dart | https://raw.githubusercontent.com/AmrHussei/Counselor/9a530f2/lib/features/manager_profile_and_chat/presentation/view/widgets/chat_widgets/message_tile.dart | AmrHussei/Counselor 9a530f2 lib/features/manager_profile_and_chat/presentation/view/widgets/chat_widgets/message_tile.dart | true | 200 | 2,582 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
class MessageTile extends StatefulWidget {
final String? message;
final String sender;
final bool sentByMe;
const MessageTile(
{Key? key,
required this.message,
required this.sender,
re... | 6 |
adi-paul-22/ksp_datathon | 1aecf60 | lib/features/user_auth/presentation/pages/search_screen.dart | Dart | www.github.com/adi-paul-22/ksp_datathon/tree/main/lib/features/user_auth/presentation/pages/search_screen.dart | https://raw.githubusercontent.com/adi-paul-22/ksp_datathon/1aecf60/lib/features/user_auth/presentation/pages/search_screen.dart | adi-paul-22/ksp_datathon 1aecf60 lib/features/user_auth/presentation/pages/search_screen.dart | true | 200 | 3,199 | import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
import 'dart:convert';
class SearchScreenWeb extends StatefulWidget {
const SearchScreenWeb({super.key});
@override
State<SearchScreenWeb> createState() => _SearchScreenWebState();
}
class _SearchScreenWebState extends State<Searc... | 0 |
projectsifma/projects | 882fe30 | quiz/lib/ui/resultados.dart | Dart | www.github.com/projectsifma/projects/tree/main/quiz/lib/ui/resultados.dart | https://raw.githubusercontent.com/projectsifma/projects/882fe30/quiz/lib/ui/resultados.dart | projectsifma/projects 882fe30 quiz/lib/ui/resultados.dart | true | 200 | 1,881 | import 'package:flutter/material.dart';
import 'package:quiz4/models/constantes.dart';
import '../widgets/myButton.dart';
class Argumentos {
int acertos = 0;
Argumentos(this.acertos);
}
class Resultados extends StatelessWidget {
static const routeName = '/Resultados';
const Resultados({Key? key}) : super(key: ... | 3 |
LeoRowjas/Blago-Quiz | f340108 | blago_quiz/lib/widgets/quizzes/components/quizz_body.dart | Dart | www.github.com/LeoRowjas/Blago-Quiz/tree/main/blago_quiz/lib/widgets/quizzes/components/quizz_body.dart | https://raw.githubusercontent.com/LeoRowjas/Blago-Quiz/f340108/blago_quiz/lib/widgets/quizzes/components/quizz_body.dart | LeoRowjas/Blago-Quiz f340108 blago_quiz/lib/widgets/quizzes/components/quizz_body.dart | true | 200 | 2,953 | import 'package:blago_quiz/controllers/question_controller.dart';
import 'package:blago_quiz/resources/resources.dart';
import 'package:blago_quiz/theme/app_colors.dart';
import 'package:blago_quiz/widgets/quizzes/components/progress_bar.dart';
import 'package:blago_quiz/widgets/quizzes/components/question_card.dart';
... | 1 |
waweru-muciri/digital_dairy | 5214141 | lib/controllers/vaccination_controller.dart | Dart | www.github.com/waweru-muciri/digital_dairy/tree/main/lib/controllers/vaccination_controller.dart | https://raw.githubusercontent.com/waweru-muciri/digital_dairy/5214141/lib/controllers/vaccination_controller.dart | waweru-muciri/digital_dairy 5214141 lib/controllers/vaccination_controller.dart | true | 200 | 3,463 | import 'package:flutter/material.dart';
import 'package:DigitalDairy/services/vaccination_service.dart';
import 'package:DigitalDairy/models/vaccination.dart';
/// A class that many Widgets can interact with to read vaccination, update and delete
/// vaccination details.
///
class VaccinationController with ChangeNoti... | 7 |
sudophils/obidient | f70acb8 | lib/screens/register_pvc.dart | Dart | www.github.com/sudophils/obidient/tree/main/lib/screens/register_pvc.dart | https://raw.githubusercontent.com/sudophils/obidient/f70acb8/lib/screens/register_pvc.dart | sudophils/obidient f70acb8 lib/screens/register_pvc.dart | true | 200 | 2,646 | import 'dart:async';
import 'dart:io';
import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';
import '../main.dart';
class RegisterForPVC extends StatefulWidget {
const RegisterForPVC({Key? key}) : super(key: key);
@override
_RegisterForPVCState createState() => _Regist... | 2 |
Kgermando/wm-sol | b3224f5 | lib/src/models/comptabilites/balance_model.dart | Dart | www.github.com/Kgermando/wm-sol/tree/main/lib/src/models/comptabilites/balance_model.dart | https://raw.githubusercontent.com/Kgermando/wm-sol/b3224f5/lib/src/models/comptabilites/balance_model.dart | Kgermando/wm-sol b3224f5 lib/src/models/comptabilites/balance_model.dart | true | 200 | 3,409 | class BalanceModel {
late int? id;
late String numeroOperation;
late String libele;
late String comptes;
late String debit;
late String credit;
late String signature;
late DateTime created;
BalanceModel(
{this.id,
required this.numeroOperation,
required this.libele,
required t... | 4 |
nandakista/flutter-expert | d3a3b33 | lib/ui/views/search/search_view.dart | Dart | www.github.com/nandakista/flutter-expert/tree/main/lib/ui/views/search/search_view.dart | https://raw.githubusercontent.com/nandakista/flutter-expert/d3a3b33/lib/ui/views/search/search_view.dart | nandakista/flutter-expert d3a3b33 lib/ui/views/search/search_view.dart | true | 200 | 3,883 | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:submission/core/constant/constant.dart';
import 'package:submission/core/theme/app_style.dart';
import 'package:submission/core/constant/network_state.dart';
import 'package:submission/ui/views/search/search_provider.dart';... | 6 |
Bexruzbek-dev/exam_3 | 58ff933 | lib/views/widgets/food_by_category.dart | Dart | www.github.com/Bexruzbek-dev/exam_3/tree/main/lib/views/widgets/food_by_category.dart | https://raw.githubusercontent.com/Bexruzbek-dev/exam_3/58ff933/lib/views/widgets/food_by_category.dart | Bexruzbek-dev/exam_3 58ff933 lib/views/widgets/food_by_category.dart | true | 200 | 1,704 |
import 'package:exam_3/services/restaurant_http_service.dart';
import 'package:flutter/material.dart';
class FoodByCategory extends StatefulWidget {
final String category;
const FoodByCategory({Key? key, required this.category}) : super(key: key);
@override
State<FoodByCategory> createState() => _FoodByCate... | 0 |
bilal-62210/Autonomate | c264899 | front/flutter_autonomate/lib/ui_view/profile_screen.dart | Dart | www.github.com/bilal-62210/Autonomate/tree/main/front/flutter_autonomate/lib/ui_view/profile_screen.dart | https://raw.githubusercontent.com/bilal-62210/Autonomate/c264899/front/flutter_autonomate/lib/ui_view/profile_screen.dart | bilal-62210/Autonomate c264899 front/flutter_autonomate/lib/ui_view/profile_screen.dart | true | 200 | 1,816 | import 'package:flutter/material.dart';
import 'package:flutter_autonomate/ui_view/autonomate_app_theme.dart'; // Assure-toi que le chemin est correct
class ProfileScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("Mon Pro... | 5 |
Darkx-dev/ShonenX | e35d0f7 | lib/screens/watch_screen/episodes_panel.dart | Dart | www.github.com/Darkx-dev/ShonenX/tree/main/lib/screens/watch_screen/episodes_panel.dart | https://raw.githubusercontent.com/Darkx-dev/ShonenX/e35d0f7/lib/screens/watch_screen/episodes_panel.dart | Darkx-dev/ShonenX e35d0f7 lib/screens/watch_screen/episodes_panel.dart | true | 200 | 10,408 | import 'package:flutter/material.dart';
import 'package:iconsax/iconsax.dart';
import 'package:shonenx/api/models/anilist/anilist_media_list.dart'
as anilist_media;
import 'package:shonenx/api/models/anime/episode_model.dart';
import 'package:shonenx/data/hive/boxes/anime_watch_progress_box.dart';
class EpisodesPa... | 3 |
Harikrishnan01/Fashion-Store-frontend- | ac9695f | lib/widgets/appbar_title.dart | Dart | www.github.com/Harikrishnan01/Fashion-Store-frontend-/tree/main/lib/widgets/appbar_title.dart | https://raw.githubusercontent.com/Harikrishnan01/Fashion-Store-frontend-/ac9695f/lib/widgets/appbar_title.dart | Harikrishnan01/Fashion-Store-frontend- ac9695f lib/widgets/appbar_title.dart | true | 200 | 2,790 | import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:hb_project1/screens/screen_signin.dart';
class appbartitlewidget extends StatelessWidget {
const appbartitlewidget({
super.key,
});
@override
Widget b... | 1 |
DiamondLuver/explorify-mobile-flutter | a2e473c | frontend_mobile/lib/screens/profile/widget/account_listing.dart | Dart | www.github.com/DiamondLuver/explorify-mobile-flutter/tree/main/frontend_mobile/lib/screens/profile/widget/account_listing.dart | https://raw.githubusercontent.com/DiamondLuver/explorify-mobile-flutter/a2e473c/frontend_mobile/lib/screens/profile/widget/account_listing.dart | DiamondLuver/explorify-mobile-flutter a2e473c frontend_mobile/lib/screens/profile/widget/account_listing.dart | true | 200 | 1,914 | import 'package:flutter/material.dart';
import 'package:frontend_mobile/common/colors.dart';
class ProfileInfoBox extends StatelessWidget {
const ProfileInfoBox({
super.key,
required this.icon,
required this.title,
required this.subTitle,
required this.onTrailingTap,
});
final IconData icon;... | 7 |
nishantrai727/yukti | 59a155e | lib/view/startup_page.dart | Dart | www.github.com/nishantrai727/yukti/tree/main/lib/view/startup_page.dart | https://raw.githubusercontent.com/nishantrai727/yukti/59a155e/lib/view/startup_page.dart | nishantrai727/yukti 59a155e lib/view/startup_page.dart | true | 200 | 3,125 | // ignore_for_file: prefer_const_constructors
import 'package:flutter/material.dart';
import 'package:get/route_manager.dart';
import 'package:get/get.dart';
class StackWidget extends StatelessWidget {
// const StackWidget({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
... | 2 |
hojun-jo/NomadCoders-Flutter-Challenge | 36539d8 | threads/lib/features/auth/view_models/sign_in_view_model.dart | Dart | www.github.com/hojun-jo/NomadCoders-Flutter-Challenge/tree/main/threads/lib/features/auth/view_models/sign_in_view_model.dart | https://raw.githubusercontent.com/hojun-jo/NomadCoders-Flutter-Challenge/36539d8/threads/lib/features/auth/view_models/sign_in_view_model.dart | hojun-jo/NomadCoders-Flutter-Challenge 36539d8 threads/lib/features/auth/view_models/sign_in_view_model.dart | true | 200 | 1,061 | import 'dart:async';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:threads/core/utils/validator.dart';
import 'package:threads/features/auth/repos/authentication_repository.dart';
class SignInViewModel extends AsyncNotifier {
late final AuthenticationRepository _authRepo;
@override
F... | 6 |
rizalanggoro/flutter-todo | f59a80c | lib/presentation/pages/category/write/view.dart | Dart | www.github.com/rizalanggoro/flutter-todo/tree/main/lib/presentation/pages/category/write/view.dart | https://raw.githubusercontent.com/rizalanggoro/flutter-todo/f59a80c/lib/presentation/pages/category/write/view.dart | rizalanggoro/flutter-todo f59a80c lib/presentation/pages/category/write/view.dart | true | 200 | 3,667 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:go_router/go_router.dart';
import 'package:todo/core/collections/category.dart';
import 'package:todo/presentation/pages/category/write/cubit.dart';
import 'package:todo/presentation/pages/category/write/states/base... | 5 |
Gauri24982003/flutter | 76ca092 | lib/splash.dart | Dart | www.github.com/Gauri24982003/flutter/tree/main/lib/splash.dart | https://raw.githubusercontent.com/Gauri24982003/flutter/76ca092/lib/splash.dart | Gauri24982003/flutter 76ca092 lib/splash.dart | true | 200 | 829 |
import "dart:async";
import "package:flutter/material.dart";
import "package:flutter1/main.dart";
class splashscreen extends StatefulWidget{
@override
State<splashscreen> createState() => _splashscreenState();
}
class _splashscreenState extends State<splashscreen> {
@override
void initState(){
su... | 3 |
Aung-Zaw-Phyo/magic_pay_app | 2e0c5c8 | lib/features/transfer/data/models/transfer_data_model.dart | Dart | www.github.com/Aung-Zaw-Phyo/magic_pay_app/tree/main/lib/features/transfer/data/models/transfer_data_model.dart | https://raw.githubusercontent.com/Aung-Zaw-Phyo/magic_pay_app/2e0c5c8/lib/features/transfer/data/models/transfer_data_model.dart | Aung-Zaw-Phyo/magic_pay_app 2e0c5c8 lib/features/transfer/data/models/transfer_data_model.dart | true | 200 | 1,224 | import 'package:magic_pay_app/features/transfer/domain/entities/transfer_data.dart';
class TransferDataModel extends TransferDataEntity {
const TransferDataModel({
required String fromName,
required String fromPhone,
required String toName,
required String toPhone,
required int amount,
String... | 1 |
KMohit99/funky_iOS | 1bf932f | lib/news_feed/model/news_feedModel.dart | Dart | www.github.com/KMohit99/funky_iOS/tree/main/lib/news_feed/model/news_feedModel.dart | https://raw.githubusercontent.com/KMohit99/funky_iOS/1bf932f/lib/news_feed/model/news_feedModel.dart | KMohit99/funky_iOS 1bf932f lib/news_feed/model/news_feedModel.dart | true | 200 | 2,872 | class NewsFeedModel {
List<Data>? data;
bool? error;
String? statusCode;
String? message;
NewsFeedModel({this.data, this.error, this.statusCode, this.message});
NewsFeedModel.fromJson(Map<String, dynamic> json) {
if (json['data'] != null) {
data = <Data>[];
json['data'].forEach((v) {
... | 7 |
Rajab-Alkahef/responsive_dashboard | 6591019 | lib/widgets/middle_section/quick_invoice.dart | Dart | www.github.com/Rajab-Alkahef/responsive_dashboard/tree/main/lib/widgets/middle_section/quick_invoice.dart | https://raw.githubusercontent.com/Rajab-Alkahef/responsive_dashboard/6591019/lib/widgets/middle_section/quick_invoice.dart | Rajab-Alkahef/responsive_dashboard 6591019 lib/widgets/middle_section/quick_invoice.dart | true | 200 | 969 | import 'package:flutter/material.dart';
import 'package:responsive_dashboard/widgets/custom_background_widget.dart';
import 'package:responsive_dashboard/widgets/middle_section/latest_transaction.dart';
import 'package:responsive_dashboard/widgets/middle_section/quick_invoice_form.dart';
import 'quick_invoice_header.d... | 0 |
DuvCabrera/yellow-clone | d33e876 | lib/presentation/widgets/option_item.dart | Dart | www.github.com/DuvCabrera/yellow-clone/tree/main/lib/presentation/widgets/option_item.dart | https://raw.githubusercontent.com/DuvCabrera/yellow-clone/d33e876/lib/presentation/widgets/option_item.dart | DuvCabrera/yellow-clone d33e876 lib/presentation/widgets/option_item.dart | true | 200 | 1,314 | import 'package:flutter/material.dart';
import '../common/utils.dart';
import '../common/colors.dart' as colors;
class OptionItem extends StatelessWidget {
const OptionItem({
super.key,
required this.title,
required this.subTitle,
required this.icon,
});
final String title;
final String subTitl... | 6 |
OrgovanGeza/Dart | ab040f7 | 04_Loops/while_loop.dart | Dart | www.github.com/OrgovanGeza/Dart/tree/main/04_Loops/while_loop.dart | https://raw.githubusercontent.com/OrgovanGeza/Dart/ab040f7/04_Loops/while_loop.dart | OrgovanGeza/Dart ab040f7 04_Loops/while_loop.dart | true | 200 | 193 | void main() {
//while loops will run as long as the passed condition evaluates to true
String greeting = "Hello there!";
int i = 0;
while (i < greeting.length){
print(greeting[i]);
i++;
}
} | 2 |
unjoo31/project_all_guide_front | 93b30ea | lib/ui/pages/components/bottom_text.dart | Dart | www.github.com/unjoo31/project_all_guide_front/tree/main/lib/ui/pages/components/bottom_text.dart | https://raw.githubusercontent.com/unjoo31/project_all_guide_front/93b30ea/lib/ui/pages/components/bottom_text.dart | unjoo31/project_all_guide_front 93b30ea lib/ui/pages/components/bottom_text.dart | true | 200 | 551 | import 'package:flutter/material.dart';
import '../../../_core/constants/colors.dart';
class BottomText extends StatelessWidget {
final String text;
const BottomText({required this.text, super.key});
@override
Widget build(BuildContext context) {
return Padding(
padding: const EdgeInsets.only(top: ... | 4 |
PauloHenrique-UFPI/APP-KOCH | 6dbed10 | lib/pages/paciente_page.dart | Dart | www.github.com/PauloHenrique-UFPI/APP-KOCH/tree/main/lib/pages/paciente_page.dart | https://raw.githubusercontent.com/PauloHenrique-UFPI/APP-KOCH/6dbed10/lib/pages/paciente_page.dart | PauloHenrique-UFPI/APP-KOCH 6dbed10 lib/pages/paciente_page.dart | true | 200 | 4,088 | import 'package:flutter/material.dart';
import 'package:koch_app/controllers.dart/controller_paciente.dart';
import 'package:koch_app/core/rest_client/dio_client.dart';
import 'package:koch_app/models/paciente.dart';
import 'package:koch_app/named_routes.dart';
import 'package:koch_app/repositories/paciente_repository.... | 5 |
Insterstellar/HvaSkjer-Flutter-App | abf3ff4 | lib/helpers/main_user.dart | Dart | www.github.com/Insterstellar/HvaSkjer-Flutter-App/tree/main/lib/helpers/main_user.dart | https://raw.githubusercontent.com/Insterstellar/HvaSkjer-Flutter-App/abf3ff4/lib/helpers/main_user.dart | Insterstellar/HvaSkjer-Flutter-App abf3ff4 lib/helpers/main_user.dart | true | 200 | 485 | import 'dart:convert';
import '../models/user_model.dart';
class MainUser {
MainUser._();
static final instance = MainUser._();
bool _isInit = false;
UserModel? model;
void onInit() {
if (_isInit == true) return null;
update();
_isInit = true;
}
void update() async {
//var value =... | 3 |
wanglei34/flutter_code | ca8f543 | share_app/lib/animation/share_page.dart | Dart | www.github.com/wanglei34/flutter_code/tree/main/share_app/lib/animation/share_page.dart | https://raw.githubusercontent.com/wanglei34/flutter_code/ca8f543/share_app/lib/animation/share_page.dart | wanglei34/flutter_code ca8f543 share_app/lib/animation/share_page.dart | true | 200 | 412 | import 'package:flutter/material.dart';
class SharePage extends StatelessWidget {
const SharePage({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
automaticallyImplyLeading: false,
title: const Center(
child: Text(... | 0 |
4gnim/simpleforum | 00694ca | lib/views/widgets/post_widget.dart | Dart | www.github.com/4gnim/simpleforum/tree/main/lib/views/widgets/post_widget.dart | https://raw.githubusercontent.com/4gnim/simpleforum/00694ca/lib/views/widgets/post_widget.dart | 4gnim/simpleforum 00694ca lib/views/widgets/post_widget.dart | true | 200 | 766 | import 'package:flutter/material.dart';
class PostWidget extends StatelessWidget {
const PostWidget(
{super.key, required this.hintText, required this.controller});
final String hintText;
final TextEditingController controller;
@override
Widget build(BuildContext context) {
return Container(
... | 6 |
ahmednoaman-git/slash-evaluation | 5ff2955 | lib/screens/create product/components/preview_card.dart | Dart | www.github.com/ahmednoaman-git/slash-evaluation/tree/main/lib/screens/create product/components/preview_card.dart | https://raw.githubusercontent.com/ahmednoaman-git/slash-evaluation/5ff2955/lib/screens/create%20product/components/preview_card.dart | ahmednoaman-git/slash-evaluation 5ff2955 lib/screens/create product/components/preview_card.dart | true | 200 | 2,863 |
import 'package:flutter/material.dart';
import 'package:flutter_rating_bar/flutter_rating_bar.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
import 'package:slash_eval/app_colors.dart';
// ignore: must_be_immutable
class PreviewCard extends StatelessWidget {
final Image? image;
final Stri... | 7 |
iitdaiafsm/warehouse_user | f4a61f4 | lib/old_warehouse/trends/model.dart | Dart | www.github.com/iitdaiafsm/warehouse_user/tree/main/lib/old_warehouse/trends/model.dart | https://raw.githubusercontent.com/iitdaiafsm/warehouse_user/f4a61f4/lib/old_warehouse/trends/model.dart | iitdaiafsm/warehouse_user f4a61f4 lib/old_warehouse/trends/model.dart | true | 200 | 1,630 | import '../utils/chart_sample_data.dart';
class TrendDataModel {
String? header;
List<Data>? data;
TrendDataModel({this.header, this.data});
TrendDataModel.fromJson(Map<String, dynamic> json) {
header = json['header'];
if (json['data'] != null) {
data = <Data>[];
json['data'].forEach((v) ... | 4 |
freshcodestechnology/abhishek-flutter-demo | 05ec020 | lib/connectivity/connectivity_bloc.dart | Dart | www.github.com/freshcodestechnology/abhishek-flutter-demo/tree/main/lib/connectivity/connectivity_bloc.dart | https://raw.githubusercontent.com/freshcodestechnology/abhishek-flutter-demo/05ec020/lib/connectivity/connectivity_bloc.dart | freshcodestechnology/abhishek-flutter-demo 05ec020 lib/connectivity/connectivity_bloc.dart | true | 200 | 1,427 | import 'dart:async';
import 'package:bloc/bloc.dart';
import 'package:connectivity_plus/connectivity_plus.dart';
import 'package:equatable/equatable.dart';
part 'connectivity_event.dart';
part 'connectivity_state.dart';
class ConnectivityBloc extends Bloc<ConnectivityEvent, ConnectivityState> {
final Connectivity ... | 2 |
sahilchaudhari2405/quick-chat | c8e1af3 | app/lib/widget/replySmsCard.dart | Dart | www.github.com/sahilchaudhari2405/quick-chat/tree/main/app/lib/widget/replySmsCard.dart | https://raw.githubusercontent.com/sahilchaudhari2405/quick-chat/c8e1af3/app/lib/widget/replySmsCard.dart | sahilchaudhari2405/quick-chat c8e1af3 app/lib/widget/replySmsCard.dart | true | 200 | 1,326 | import '../main.dart';
import '../model/messageModel.dart';
import 'package:flutter/material.dart';
class Replysmscard extends StatelessWidget {
Replysmscard({required this.message,required this.time});
Messagemodel message;
String time;
@override
Widget build(BuildContext context) {
return Align(
... | 5 |
MohammadIrtisum/app_make | de7e9e9 | lib/Crazy_work.dart | Dart | www.github.com/MohammadIrtisum/app_make/tree/main/lib/Crazy_work.dart | https://raw.githubusercontent.com/MohammadIrtisum/app_make/de7e9e9/lib/Crazy_work.dart | MohammadIrtisum/app_make de7e9e9 lib/Crazy_work.dart | true | 200 | 3,911 | import 'dart:async';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'crazy_animation.dart';
class LogoAnimation extends StatefulWidget {
//final RxBool menuClicked;
const LogoAnimation({super.key});
@override
State<LogoAnimation> createState() => _LogoAnimationStat... | 1 |
aicc-coachly-2-0/flutter | cd8aad3 | lib/home/challenge/Confirm/cofirm_image_controller.dart | Dart | www.github.com/aicc-coachly-2-0/flutter/tree/main/lib/home/challenge/Confirm/cofirm_image_controller.dart | https://raw.githubusercontent.com/aicc-coachly-2-0/flutter/cd8aad3/lib/home/challenge/Confirm/cofirm_image_controller.dart | aicc-coachly-2-0/flutter cd8aad3 lib/home/challenge/Confirm/cofirm_image_controller.dart | true | 200 | 384 | import 'dart:io';
import 'package:image_picker/image_picker.dart';
class ImagePickerManager {
File? imageFile;
final ImagePicker _picker = ImagePicker();
Future<File?> pickImage() async {
final pickedFile = await _picker.pickImage(source: ImageSource.gallery);
if (pickedFile != null) {
return Fil... | 3 |
alanbosco003/RenewSphere | 96dca61 | lib/main.dart | Dart | www.github.com/alanbosco003/RenewSphere/tree/main/lib/main.dart | https://raw.githubusercontent.com/alanbosco003/RenewSphere/96dca61/lib/main.dart | alanbosco003/RenewSphere 96dca61 lib/main.dart | true | 200 | 649 | import 'package:flutter/material.dart';
import 'package:base_flutter/infrastructure/navigation/navigation.dart';
import 'package:base_flutter/infrastructure/theme/theme.dart';
import 'package:base_flutter/initialize_app.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await initializeApp();
... | 7 |
iru-Y/course_app | 3fad1c0 | lib/user/login_repo.dart | Dart | www.github.com/iru-Y/course_app/tree/main/lib/user/login_repo.dart | https://raw.githubusercontent.com/iru-Y/course_app/3fad1c0/lib/user/login_repo.dart | iru-Y/course_app 3fad1c0 lib/user/login_repo.dart | true | 200 | 751 | import 'dart:convert';
import 'package:course_app/api_path.dart';
import 'package:http/http.dart' as http;
class LoginRepo {
Future<void> login(String email, String password) async {
final url = Uri.parse('$apiPath/v1/auth/login');
final data = {'email': email, 'password': password};
try {
final r... | 0 |
Dozzykim/GoodZ-V3 | 5c55570 | goodz/lib/models/user.dart | Dart | www.github.com/Dozzykim/GoodZ-V3/tree/main/goodz/lib/models/user.dart | https://raw.githubusercontent.com/Dozzykim/GoodZ-V3/5c55570/goodz/lib/models/user.dart | Dozzykim/GoodZ-V3 5c55570 goodz/lib/models/user.dart | true | 200 | 3,553 | class User {
int? no;
String? userId;
String? username;
String? nickname;
String? password;
String? birth;
String? phoneNumber;
String? profilePictureUrl;
int? profileImgNo;
String? account;
DateTime? createdAt;
DateTime? updatedAt;
int? enabled;
List<UserAuth>? authList;
List<User>? follo... | 6 |
MTGCGuerrero/flutter_qr_reader | fde1673 | lib/providers/scan_list_provider.dart | Dart | www.github.com/MTGCGuerrero/flutter_qr_reader/tree/main/lib/providers/scan_list_provider.dart | https://raw.githubusercontent.com/MTGCGuerrero/flutter_qr_reader/fde1673/lib/providers/scan_list_provider.dart | MTGCGuerrero/flutter_qr_reader fde1673 lib/providers/scan_list_provider.dart | true | 200 | 1,132 | import 'package:flutter/material.dart';
import 'package:qr_reader/models/scan_mode.dart';
import 'package:qr_reader/providers/db_provider.dart';
class ScanListProvider extends ChangeNotifier {
List<ScanModel> scans = [];
String tipoSeleccionado = 'http';
Future<ScanModel> nuevoScan(String valor) async {
fin... | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.