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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
Brianoop/flood-monitoring-app | 021e438 | lib/screens/welcome_screen.dart | Dart | www.github.com/Brianoop/flood-monitoring-app/tree/main/lib/screens/welcome_screen.dart | https://raw.githubusercontent.com/Brianoop/flood-monitoring-app/021e438/lib/screens/welcome_screen.dart | Brianoop/flood-monitoring-app 021e438 lib/screens/welcome_screen.dart | true | 200 | 4,660 | import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
import 'package:fmas/helpers/strings.dart';
import '../helpers/assets.dart';
import '../helpers/colors.dart';
import '../helpers/routes.dart';
class WelcomeScreen extends StatefulWidget {
const WelcomeScreen({super.key});
@override
S... | 6 |
jamesetma/alsham_socialmedia | 03a789d | lib/views/components/verification_bottomsheet.dart | Dart | www.github.com/jamesetma/alsham_socialmedia/tree/main/lib/views/components/verification_bottomsheet.dart | https://raw.githubusercontent.com/jamesetma/alsham_socialmedia/03a789d/lib/views/components/verification_bottomsheet.dart | jamesetma/alsham_socialmedia 03a789d lib/views/components/verification_bottomsheet.dart | true | 200 | 1,514 | import 'package:alsham_socialmedia/constants/app_colors.dart';
import 'package:alsham_socialmedia/views/components/button_builder.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:pin_code_fields/pin_code_fields.dart';
class VerificationBottomsheet extends StatelessWidget {
... | 2 |
infinite-dev22/church_dashboard | 5a61ea3 | lib/pages/dashboard/widgets/dashboard_graph_holder.dart | Dart | www.github.com/infinite-dev22/church_dashboard/tree/main/lib/pages/dashboard/widgets/dashboard_graph_holder.dart | https://raw.githubusercontent.com/infinite-dev22/church_dashboard/5a61ea3/lib/pages/dashboard/widgets/dashboard_graph_holder.dart | infinite-dev22/church_dashboard 5a61ea3 lib/pages/dashboard/widgets/dashboard_graph_holder.dart | true | 200 | 760 | import 'package:church_dashboard/pages/dashboard/widgets/dashboard_graph.dart';
import 'package:church_dashboard/theme/colors.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
class DashboardGraphHolder extends StatelessWidget {
final LineChartSample graph;
const DashboardGra... | 0 |
rizerzero/Amerta | 0def7b6 | lib/src/view/form_transaction/widgets/title.dart | Dart | www.github.com/rizerzero/Amerta/tree/main/lib/src/view/form_transaction/widgets/title.dart | https://raw.githubusercontent.com/rizerzero/Amerta/0def7b6/lib/src/view/form_transaction/widgets/title.dart | rizerzero/Amerta 0def7b6 lib/src/view/form_transaction/widgets/title.dart | true | 200 | 1,198 | part of '../form_transaction_page.dart';
class _Title extends ConsumerStatefulWidget {
const _Title({Key? key}) : super(key: key);
@override
_TitleState createState() => _TitleState();
}
class _TitleState extends ConsumerState<_Title> {
final TextEditingController controller = TextEditingController();
@ov... | 5 |
NQTuan1520/movie_app | 058ec1a | lib/presentation/see_all_top_rated/screen/see_all_top_rated_screen.dart | Dart | www.github.com/NQTuan1520/movie_app/tree/main/lib/presentation/see_all_top_rated/screen/see_all_top_rated_screen.dart | https://raw.githubusercontent.com/NQTuan1520/movie_app/058ec1a/lib/presentation/see_all_top_rated/screen/see_all_top_rated_screen.dart | NQTuan1520/movie_app 058ec1a lib/presentation/see_all_top_rated/screen/see_all_top_rated_screen.dart | true | 200 | 2,860 | import 'package:easy_localization/easy_localization.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:tuannq_movie/di/injection.dart';
import 'package:tuannq_movie/domain/genres/usecase/genres_usecase.dart';... | 1 |
marcelooo616/drop-tennis-store | 587fbd3 | lib/src/ui/widget/metodo_de_pagamento.dart | Dart | www.github.com/marcelooo616/drop-tennis-store/tree/main/lib/src/ui/widget/metodo_de_pagamento.dart | https://raw.githubusercontent.com/marcelooo616/drop-tennis-store/587fbd3/lib/src/ui/widget/metodo_de_pagamento.dart | marcelooo616/drop-tennis-store 587fbd3 lib/src/ui/widget/metodo_de_pagamento.dart | true | 200 | 722 | import 'package:flutter/material.dart';
import 'package:untitled/src/ui/widget/widget_cartao_de_credito.dart';
import 'package:untitled/src/ui/widget/widget_form_pagamento_pix.dart';
class MetodoDePagamento extends StatelessWidget {
String? metodo = 'Cartão de credito';
MetodoDePagamento({this.metodo});
@ove... | 3 |
MohammedSH2001/Project_E-commerce_Getx_API | 06e2a11 | lib/view/widget/profile_widget.dart | Dart | www.github.com/MohammedSH2001/Project_E-commerce_Getx_API/tree/main/lib/view/widget/profile_widget.dart | https://raw.githubusercontent.com/MohammedSH2001/Project_E-commerce_Getx_API/06e2a11/lib/view/widget/profile_widget.dart | MohammedSH2001/Project_E-commerce_Getx_API 06e2a11 lib/view/widget/profile_widget.dart | true | 200 | 2,074 | import 'package:flutter/material.dart';
import 'package:flutter_api_getx_matjer/logic/controller/auth_controller.dart';
import 'package:flutter_api_getx_matjer/logic/controller/setteing_controller.dart';
import 'package:flutter_api_getx_matjer/view/widget/text_utils.dart';
import 'package:get/get.dart';
class ProfileW... | 4 |
mhdsinas22/neflixclone | 97750af | lib/screens/more_scrren.dart | Dart | www.github.com/mhdsinas22/neflixclone/tree/main/lib/screens/more_scrren.dart | https://raw.githubusercontent.com/mhdsinas22/neflixclone/97750af/lib/screens/more_scrren.dart | mhdsinas22/neflixclone 97750af lib/screens/more_scrren.dart | true | 200 | 3,926 | import 'package:flutter/material.dart';
import 'package:netiflx_clone/widgets/commingsoon_widget.dart';
class MoreScreen extends StatefulWidget {
const MoreScreen({super.key});
@override
State<MoreScreen> createState() => _MoreScreenState();
}
class _MoreScreenState extends State<MoreScreen> {
@override
Wi... | 7 |
team-gogo/GOGO-App-DesignSystem | acafc9d | lib/src/component/textField/gogo_text_field.dart | Dart | www.github.com/team-gogo/GOGO-App-DesignSystem/tree/main/lib/src/component/textField/gogo_text_field.dart | https://raw.githubusercontent.com/team-gogo/GOGO-App-DesignSystem/acafc9d/lib/src/component/textField/gogo_text_field.dart | team-gogo/GOGO-App-DesignSystem acafc9d lib/src/component/textField/gogo_text_field.dart | true | 200 | 3,706 | import 'package:flutter/material.dart';
import '../../../gogo_app_design_system.dart';
enum GogoTextFieldState {
basic,
search,
}
class GogoTextField extends StatefulWidget {
final GogoTextFieldState textFieldState;
final TextEditingController controller;
final String? validator;
final Color backgroundCol... | 6 |
azzamaddouri/ai_assistant_using_gemini | d92266b | lib/screen/features/image_feature.dart | Dart | www.github.com/azzamaddouri/ai_assistant_using_gemini/tree/main/lib/screen/features/image_feature.dart | https://raw.githubusercontent.com/azzamaddouri/ai_assistant_using_gemini/d92266b/lib/screen/features/image_feature.dart | azzamaddouri/ai_assistant_using_gemini d92266b lib/screen/features/image_feature.dart | true | 200 | 4,821 | import 'dart:io';
import 'package:ai_assistant/controller/image_controller.dart';
import 'package:ai_assistant/helper/global.dart';
import 'package:ai_assistant/widget/custom_btn.dart';
import 'package:ai_assistant/widget/custom_loading.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
clas... | 2 |
serverpod/serverpod | 735f58b | tools/serverpod_cli/test/database/extentions/pgsql_code_generation_test.dart | Dart | www.github.com/serverpod/serverpod/tree/main/tools/serverpod_cli/test/database/extentions/pgsql_code_generation_test.dart | https://raw.githubusercontent.com/serverpod/serverpod/735f58b/tools/serverpod_cli/test/database/extentions/pgsql_code_generation_test.dart | serverpod/serverpod 735f58b tools/serverpod_cli/test/database/extentions/pgsql_code_generation_test.dart | true | 200 | 4,212 | import 'package:recase/recase.dart';
import 'package:serverpod_cli/analyzer.dart';
import 'package:serverpod_cli/src/database/create_definition.dart';
import 'package:test/test.dart';
import '../../test_util/builders/database/database_definition_builder.dart';
import '../../test_util/builders/database/table_definition... | 1 |
vuonga7k8lah/lear-flutter | c64dac3 | lib/controller/FormController.dart | Dart | www.github.com/vuonga7k8lah/lear-flutter/tree/main/lib/controller/FormController.dart | https://raw.githubusercontent.com/vuonga7k8lah/lear-flutter/c64dac3/lib/controller/FormController.dart | vuonga7k8lah/lear-flutter c64dac3 lib/controller/FormController.dart | true | 200 | 1,265 | import 'package:flutter/cupertino.dart';
import 'package:get/get.dart';
class FormController extends GetxController{
final loginFormKey = GlobalKey<FormState>();
final emailController = TextEditingController();
final passwordController = TextEditingController();
@override
void onInit() {
// Simulating o... | 0 |
miclotfy/ninetPlus | 8b0a096 | lib/Screens/intro/loading.dart | Dart | www.github.com/miclotfy/ninetPlus/tree/main/lib/Screens/intro/loading.dart | https://raw.githubusercontent.com/miclotfy/ninetPlus/8b0a096/lib/Screens/intro/loading.dart | miclotfy/ninetPlus 8b0a096 lib/Screens/intro/loading.dart | true | 200 | 1,180 | import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter/gestures.dart';
import 'dart:ui';
import 'package:google_fonts/google_fonts.dart';
import 'package:ninetplus/Screens/authenticate/signin.dart';
import 'package:ninetplus/utils.dart';
import 'Wrapper.dart';
class Loading extends Stat... | 5 |
AleeHassan0/covid-tracker-app | ef63fdd | lib/services/states_services.dart | Dart | www.github.com/AleeHassan0/covid-tracker-app/tree/main/lib/services/states_services.dart | https://raw.githubusercontent.com/AleeHassan0/covid-tracker-app/ef63fdd/lib/services/states_services.dart | AleeHassan0/covid-tracker-app ef63fdd lib/services/states_services.dart | true | 200 | 820 | import 'dart:convert';
import 'package:covid_19/model/WorldStatesModel.dart';
import 'package:covid_19/services/utilities/app_url.dart';
import 'package:flutter/material.dart';
import 'package:http/http.dart'as http;
class StateServices{
Future<WorldStatesModel>fetchWorldStatesRecords()async{
final response=awa... | 3 |
SuyashRSL0910/test-repo | b1f11f6 | lib/analytics/services/analytics_service.dart | Dart | www.github.com/SuyashRSL0910/test-repo/tree/main/lib/analytics/services/analytics_service.dart | https://raw.githubusercontent.com/SuyashRSL0910/test-repo/b1f11f6/lib/analytics/services/analytics_service.dart | SuyashRSL0910/test-repo b1f11f6 lib/analytics/services/analytics_service.dart | true | 200 | 2,453 | import 'package:connectivity_plus/connectivity_plus.dart';
import 'package:flutter/foundation.dart';
import 'package:home_page/analytics/domain/events.dart';
import 'package:home_page/features/auth/services/sign_in_view_model.dart';
import 'package:home_page/features/common/apps_script_helper.dart';
import 'package:hom... | 4 |
Sanjanasharma20/car-intel-app | b5b70d4 | lib/Pages/MyBookings.dart | Dart | www.github.com/Sanjanasharma20/car-intel-app/tree/main/lib/Pages/MyBookings.dart | https://raw.githubusercontent.com/Sanjanasharma20/car-intel-app/b5b70d4/lib/Pages/MyBookings.dart | Sanjanasharma20/car-intel-app b5b70d4 lib/Pages/MyBookings.dart | true | 200 | 8,817 | import 'package:flutter/material.dart';
import '../Constants.dart';
class MyBookings extends StatefulWidget {
@override
_MyBookingsState createState() => _MyBookingsState();
double containerRadius = 30;
double cardMarginHorizontal = 15;
double cardMarginVertical = 10;
double cardBorderRadius = 20;
doub... | 7 |
A7mednage71/Responsive_DashBoard | ead8968 | lib/widgets/active_drawer_item.dart | Dart | www.github.com/A7mednage71/Responsive_DashBoard/tree/main/lib/widgets/active_drawer_item.dart | https://raw.githubusercontent.com/A7mednage71/Responsive_DashBoard/ead8968/lib/widgets/active_drawer_item.dart | A7mednage71/Responsive_DashBoard ead8968 lib/widgets/active_drawer_item.dart | true | 200 | 806 | import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
import 'package:nag/models/drawer_model.dart';
import 'package:nag/utils/app_styles.dart';
class ActiveDrawerItem extends StatelessWidget {
const ActiveDrawerItem({
super.key,
required this.model,
});
final DrawerItemModel mo... | 6 |
felipe-graca/smol_crudclient_felipe | 009071d | lib/core/domain/models/form/email_validator.dart | Dart | www.github.com/felipe-graca/smol_crudclient_felipe/tree/main/lib/core/domain/models/form/email_validator.dart | https://raw.githubusercontent.com/felipe-graca/smol_crudclient_felipe/009071d/lib/core/domain/models/form/email_validator.dart | felipe-graca/smol_crudclient_felipe 009071d lib/core/domain/models/form/email_validator.dart | true | 200 | 580 | import 'package:formz/formz.dart';
enum EmailValidatorError { invalid }
class EmailValidator extends FormzInput<String, EmailValidatorError> {
const EmailValidator.pure([String value = '']) : super.pure(value);
const EmailValidator.dirty({String value = ''}) : super.dirty(value);
static final _emailRegExp = R... | 1 |
deepak-sjd/Shoes_application-flutter-Dart | 8c2429e | lib/pages/HomePage.dart | Dart | www.github.com/deepak-sjd/Shoes_application-flutter-Dart/tree/main/lib/pages/HomePage.dart | https://raw.githubusercontent.com/deepak-sjd/Shoes_application-flutter-Dart/8c2429e/lib/pages/HomePage.dart | deepak-sjd/Shoes_application-flutter-Dart 8c2429e lib/pages/HomePage.dart | true | 200 | 3,993 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:shoes_app/widgets/CategoriesWidget.dart';
import 'package:shoes_app/widgets/HomeAppBar.dart';
import 'package:shoes_app/widgets/ItemWidet.dart';
import 'package:curved_navigation_bar/curved_navigation_bar.dart';
class Home... | 4 |
gorkembayraktar/basic_social_media_app | 4b8b79b | lib/theme/light_theme.dart | Dart | www.github.com/gorkembayraktar/basic_social_media_app/tree/main/lib/theme/light_theme.dart | https://raw.githubusercontent.com/gorkembayraktar/basic_social_media_app/4b8b79b/lib/theme/light_theme.dart | gorkembayraktar/basic_social_media_app 4b8b79b lib/theme/light_theme.dart | true | 200 | 634 |
import 'package:flutter/material.dart';
ThemeData lightTheme = ThemeData(
brightness: Brightness.light,
appBarTheme: AppBarTheme(
backgroundColor: Colors.transparent,
elevation: 0,
iconTheme: IconThemeData(color: Colors.black),
titleTextStyle: TextStyle(color: Colors.black, fon... | 7 |
habibagamal23/News_App_Flutter | 79a5bb1 | lib/widget/category_card.dart | Dart | www.github.com/habibagamal23/News_App_Flutter/tree/main/lib/widget/category_card.dart | https://raw.githubusercontent.com/habibagamal23/News_App_Flutter/79a5bb1/lib/widget/category_card.dart | habibagamal23/News_App_Flutter 79a5bb1 lib/widget/category_card.dart | true | 200 | 824 | import 'package:flutter/material.dart';
import '../model/category_model.dart';
class CategoryCard extends StatelessWidget {
final CategoryModel category;
const CategoryCard({super.key, required this.category});
@override
Widget build(BuildContext context) {
return Container(
margin: const EdgeInset... | 0 |
ahmedwael111/responsive_dash_board | 7eb3f54 | lib/widgets/latest_transiction_listView.dart | Dart | www.github.com/ahmedwael111/responsive_dash_board/tree/main/lib/widgets/latest_transiction_listView.dart | https://raw.githubusercontent.com/ahmedwael111/responsive_dash_board/7eb3f54/lib/widgets/latest_transiction_listView.dart | ahmedwael111/responsive_dash_board 7eb3f54 lib/widgets/latest_transiction_listView.dart | true | 200 | 1,804 | import 'package:flutter/material.dart';
import 'package:responsive_dash_board/models/user_info_model.dart';
import 'package:responsive_dash_board/utils/app_assets.dart';
import 'package:responsive_dash_board/widgets/user_info_listTile.dart';
class LatestTransictionListView extends StatelessWidget {
const LatestTrans... | 2 |
fahim4440/Pantone-Book | de617a4 | lib/screens/signup_page/tablet_signup_page.dart | Dart | www.github.com/fahim4440/Pantone-Book/tree/main/lib/screens/signup_page/tablet_signup_page.dart | https://raw.githubusercontent.com/fahim4440/Pantone-Book/de617a4/lib/screens/signup_page/tablet_signup_page.dart | fahim4440/Pantone-Book de617a4 lib/screens/signup_page/tablet_signup_page.dart | true | 200 | 5,637 | import 'package:flutter/material.dart';
import 'package:lottie/lottie.dart';
import 'package:pantone_book/screens/page_navigation.dart';
import 'package:pantone_book/screens/signup_page/widget/company_name_text_field.dart';
import 'package:pantone_book/screens/signup_page/widget/email_text_field_signup.dart';
import 'p... | 6 |
joesaniya/weather_news_app | 0e202e1 | lib/modal/NewsArticle.dart | Dart | www.github.com/joesaniya/weather_news_app/tree/main/lib/modal/NewsArticle.dart | https://raw.githubusercontent.com/joesaniya/weather_news_app/0e202e1/lib/modal/NewsArticle.dart | joesaniya/weather_news_app 0e202e1 lib/modal/NewsArticle.dart | true | 200 | 495 | class NewsArticle {
final String title;
final String description;
final String url;
final String urlToImage;
NewsArticle(
{required this.title,
required this.description,
required this.url,
required this.urlToImage});
factory NewsArticle.fromJson(Map<String, dynamic> json) {
re... | 5 |
MINA000000/design_pattern | dc9b85c | lib/admin_package/categories_configurations/edit_category_page.dart | Dart | www.github.com/MINA000000/design_pattern/tree/main/lib/admin_package/categories_configurations/edit_category_page.dart | https://raw.githubusercontent.com/MINA000000/design_pattern/dc9b85c/lib/admin_package/categories_configurations/edit_category_page.dart | MINA000000/design_pattern dc9b85c lib/admin_package/categories_configurations/edit_category_page.dart | true | 200 | 1,670 | import 'package:design_pattern/single_data_base.dart';
import 'package:flutter/material.dart';
class EditCategoryPage extends StatefulWidget {
final int categoryId;
final String initialName;
EditCategoryPage({required this.categoryId, required this.initialName});
@override
_EditCategoryPageState createStat... | 1 |
ukiiing00/final_assignment | 77fc4e8 | lib/features/authentication/widgets/sign_up_button.dart | Dart | www.github.com/ukiiing00/final_assignment/tree/main/lib/features/authentication/widgets/sign_up_button.dart | https://raw.githubusercontent.com/ukiiing00/final_assignment/77fc4e8/lib/features/authentication/widgets/sign_up_button.dart | ukiiing00/final_assignment 77fc4e8 lib/features/authentication/widgets/sign_up_button.dart | true | 200 | 1,282 | import 'package:final_assignment/features/authentication/view_models/sign_up_view_model.dart';
import 'package:final_assignment/features/constants/sizes.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
class SignUpButton extends ConsumerWidget {
const SignUpButt... | 3 |
saladel/bmi_calculator | 456287b | lib/main.dart | Dart | www.github.com/saladel/bmi_calculator/tree/main/lib/main.dart | https://raw.githubusercontent.com/saladel/bmi_calculator/456287b/lib/main.dart | saladel/bmi_calculator 456287b lib/main.dart | true | 200 | 596 | import 'package:bmi_calculator/screens/input_page.dart';
import 'package:flutter/material.dart';
void main() {
runApp(
const BMICalculator(),
);
}
class BMICalculator extends StatelessWidget {
const BMICalculator({super.key});
// This widget is the root of your application.
@override
Widget build(Bui... | 7 |
johnchuma/ecare-frontend | 64c24cd | lib/modules/patients/pages/search_articles.dart | Dart | www.github.com/johnchuma/ecare-frontend/tree/main/lib/modules/patients/pages/search_articles.dart | https://raw.githubusercontent.com/johnchuma/ecare-frontend/64c24cd/lib/modules/patients/pages/search_articles.dart | johnchuma/ecare-frontend 64c24cd lib/modules/patients/pages/search_articles.dart | true | 200 | 5,258 | // ignore_for_file: implementation_imports, unnecessary_import, import_of_legacy_library_into_null_safe
import 'package:doctor/includes/pill.dart';
import 'package:doctor/modules/authentication/widgets/back_arrow.dart';
import 'package:doctor/modules/doctor/controllers/article_controlller.dart';
import 'package:doctor... | 0 |
Sojib201/badc_app | ce1d43a | lib/suggestion.dart | Dart | www.github.com/Sojib201/badc_app/tree/main/lib/suggestion.dart | https://raw.githubusercontent.com/Sojib201/badc_app/ce1d43a/lib/suggestion.dart | Sojib201/badc_app ce1d43a lib/suggestion.dart | true | 200 | 1,024 | import 'package:badc_app/style.dart';
import 'package:flutter/material.dart';
import 'package:marquee/marquee.dart';
class Suggestion extends StatefulWidget {
const Suggestion({super.key});
@override
State<Suggestion> createState() => _SuggestionState();
}
class _SuggestionState extends State<Suggestion> {
@... | 2 |
adrianoct42/DIO5-ListaDeContatosFlutterUsandoBack4App | d79abfc | lib/screens/add_contato_screen.dart | Dart | www.github.com/adrianoct42/DIO5-ListaDeContatosFlutterUsandoBack4App/tree/main/lib/screens/add_contato_screen.dart | https://raw.githubusercontent.com/adrianoct42/DIO5-ListaDeContatosFlutterUsandoBack4App/d79abfc/lib/screens/add_contato_screen.dart | adrianoct42/DIO5-ListaDeContatosFlutterUsandoBack4App d79abfc lib/screens/add_contato_screen.dart | true | 200 | 4,421 | import 'package:flutter/material.dart';
import 'package:gallery_saver/gallery_saver.dart';
import 'package:image_cropper/image_cropper.dart';
import 'package:image_picker/image_picker.dart';
import 'package:listadecontatosapp/model/contato_model.dart';
import 'package:listadecontatosapp/repository/contato_repository.da... | 5 |
Abouassi98/aquameter | f1f8554 | lib/features/Home/Data/clients_model/delete_client.dart | Dart | www.github.com/Abouassi98/aquameter/tree/main/lib/features/Home/Data/clients_model/delete_client.dart | https://raw.githubusercontent.com/Abouassi98/aquameter/f1f8554/lib/features/Home/Data/clients_model/delete_client.dart | Abouassi98/aquameter f1f8554 lib/features/Home/Data/clients_model/delete_client.dart | true | 200 | 294 | class DeleteClientModel {
int? code;
String? message;
DeleteClientModel({this.code, this.message});
factory DeleteClientModel.fromJson(Map<String, dynamic> json) {
return DeleteClientModel(
code: json['code'] as int?,
message: json['message'] as String?,
);
}
}
| 6 |
ninepointer/stoxhero-mobile | 91eb40b | lib/src/data/repositories/virtual_trading_respository.dart | Dart | www.github.com/ninepointer/stoxhero-mobile/tree/main/lib/src/data/repositories/virtual_trading_respository.dart | https://raw.githubusercontent.com/ninepointer/stoxhero-mobile/91eb40b/lib/src/data/repositories/virtual_trading_respository.dart | ninepointer/stoxhero-mobile 91eb40b lib/src/data/repositories/virtual_trading_respository.dart | true | 200 | 6,406 | import '../../base/base.dart';
import '../../core/core.dart';
import '../data.dart';
class VirtualTradingRepository extends BaseRepository {
Future<RepoResponse<InstrumentLivePriceListResponse>> getInstrumentLivePrices() async {
String apiURL = AppUrls.getliveprice;
var response = await service.getAuth(path:... | 1 |
Charlie-sHub/pami | 6357be6 | lib/views/authentication/pages/login_page.dart | Dart | www.github.com/Charlie-sHub/pami/tree/main/lib/views/authentication/pages/login_page.dart | https://raw.githubusercontent.com/Charlie-sHub/pami/6357be6/lib/views/authentication/pages/login_page.dart | Charlie-sHub/pami 6357be6 lib/views/authentication/pages/login_page.dart | true | 200 | 2,584 | import 'package:another_flushbar/flushbar_helper.dart';
import 'package:auto_route/auto_route.dart';
import 'package:dartz/dartz.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:pami/application/authentication/authentication/authentication_bloc.dart';
impor... | 3 |
bishnudev1/bruhchat | 8cb4f7f | client/bruhchat/lib/main.dart | Dart | www.github.com/bishnudev1/bruhchat/tree/main/client/bruhchat/lib/main.dart | https://raw.githubusercontent.com/bishnudev1/bruhchat/8cb4f7f/client/bruhchat/lib/main.dart | bishnudev1/bruhchat 8cb4f7f client/bruhchat/lib/main.dart | true | 200 | 1,633 | import 'dart:io';
import 'package:bruhchat/app/app.locator.dart';
import 'package:bruhchat/app/app.router.dart';
import 'package:bruhchat/services/auth_services.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:sta... | 7 |
Aveosoftware/aveoapi | 11b1faf | lib/constants/strings.dart | Dart | www.github.com/Aveosoftware/aveoapi/tree/main/lib/constants/strings.dart | https://raw.githubusercontent.com/Aveosoftware/aveoapi/11b1faf/lib/constants/strings.dart | Aveosoftware/aveoapi 11b1faf lib/constants/strings.dart | true | 200 | 552 | class StringAssets {
static String labelConnectionTimeout = 'Connection Timeout';
static String labelConnectionError = 'Connection error';
static String labelFailedToSendDataToTheServer =
'Failed to send data to the server';
static String labelFailedToRetriveDataFromTheServer =
'Failed to retrive da... | 0 |
singhtrivendra/Recipes_app | 7e5c96d | lib/widgets/category_grid_item.dart | Dart | www.github.com/singhtrivendra/Recipes_app/tree/main/lib/widgets/category_grid_item.dart | https://raw.githubusercontent.com/singhtrivendra/Recipes_app/7e5c96d/lib/widgets/category_grid_item.dart | singhtrivendra/Recipes_app 7e5c96d lib/widgets/category_grid_item.dart | true | 200 | 1,187 |
import 'package:flutter/material.dart';
import 'package:order_meals/models/category.dart';
class CategoryGridItem extends StatelessWidget{
const CategoryGridItem({
super.key,
required this.category,
required this.onSelectCategory
});
final Category category;
final void Function() onSelectCategory;
... | 2 |
cyberprophet/AnTalk | 456e4d1 | lib/api.dart | Dart | www.github.com/cyberprophet/AnTalk/tree/main/lib/api.dart | https://raw.githubusercontent.com/cyberprophet/AnTalk/456e4d1/lib/api.dart | cyberprophet/AnTalk 456e4d1 lib/api.dart | true | 200 | 1,096 | import 'package:antech/cache.dart';
import 'package:dio/dio.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
class ApiProvider {
Future<dynamic> getAsync(String path) async {
final response = await Dio(_options).get(path);
if (200 == response.statusCode) {
return response.data;
}
... | 5 |
MoeezAhmedKhan/flutter_bloc | 4db0822 | lib/bloc/slider_bloc/slider_state.dart | Dart | www.github.com/MoeezAhmedKhan/flutter_bloc/tree/main/lib/bloc/slider_bloc/slider_state.dart | https://raw.githubusercontent.com/MoeezAhmedKhan/flutter_bloc/4db0822/lib/bloc/slider_bloc/slider_state.dart | MoeezAhmedKhan/flutter_bloc 4db0822 lib/bloc/slider_bloc/slider_state.dart | true | 200 | 325 | class SliderState{
final double slideValue;
final bool isEnbale;
const SliderState({
this.slideValue = 0.4,
this.isEnbale = false,
});
SliderState copyWith({double? sliderValue, bool? isEnable}){
return SliderState(slideValue: sliderValue ?? this.slideValue, isEnbale: isEnable ?? this.isEnbale);
... | 6 |
AHMEDASML/atlbha | 7313a31 | lib/modules/account/widget/upload_images.dart | Dart | www.github.com/AHMEDASML/atlbha/tree/main/lib/modules/account/widget/upload_images.dart | https://raw.githubusercontent.com/AHMEDASML/atlbha/7313a31/lib/modules/account/widget/upload_images.dart | AHMEDASML/atlbha 7313a31 lib/modules/account/widget/upload_images.dart | true | 200 | 1,465 | import 'dart:io';
import 'package:flutter/material.dart';
import 'package:image_picker/image_picker.dart';
class UploadImages extends StatefulWidget {
final Function(File) onImagePicked;
const UploadImages({Key? key, required this.onImagePicked}) : super(key: key);
@override
State<UploadImages> createState()... | 3 |
kevinxcode/Flutter-Dashboard-with-QR-Scan- | 084af02 | lib/dashboard.dart | Dart | www.github.com/kevinxcode/Flutter-Dashboard-with-QR-Scan-/tree/main/lib/dashboard.dart | https://raw.githubusercontent.com/kevinxcode/Flutter-Dashboard-with-QR-Scan-/084af02/lib/dashboard.dart | kevinxcode/Flutter-Dashboard-with-QR-Scan- 084af02 lib/dashboard.dart | true | 200 | 7,868 | import 'package:flutter/material.dart';
import 'package:carousel_slider/carousel_slider.dart';
// import '../web/bop.dart';
// import '../web/payslip.dart';
// import '../web/lms.dart';
// import '../web/kantin.dart';
import '../pre/lms_app_icons.dart' as custicon;
// import 'package:http/http.dart' as http;
import 'da... | 1 |
yyavv/Flutter-Projects | 93ac5a7 | translator/lib/main.dart | Dart | www.github.com/yyavv/Flutter-Projects/tree/main/translator/lib/main.dart | https://raw.githubusercontent.com/yyavv/Flutter-Projects/93ac5a7/translator/lib/main.dart | yyavv/Flutter-Projects 93ac5a7 translator/lib/main.dart | true | 200 | 456 | import 'package:flutter/material.dart';
import 'package:translator/screens/home_page.dart';
import 'package:flutter_dotenv/flutter_dotenv.dart';
void main() async {
await dotenv.load(fileName: ".env");
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget... | 4 |
ribonred/pos-mobile | d33bf32 | lib/components/quantity.dart | Dart | www.github.com/ribonred/pos-mobile/tree/main/lib/components/quantity.dart | https://raw.githubusercontent.com/ribonred/pos-mobile/d33bf32/lib/components/quantity.dart | ribonred/pos-mobile d33bf32 lib/components/quantity.dart | true | 200 | 2,399 | import 'package:flutter/material.dart';
import '../utils/colors.dart';
class Quantity extends StatelessWidget {
final int quantity;
final void Function(int) onChanged;
final int? max;
final double size;
final bool withContainer;
const Quantity({
super.key,
required this.quantity,
required thi... | 7 |
quanminh251102/TWG-V2 | 7e30bb6 | lib/core/view_models/implements/booking_viewmodel.dart | Dart | www.github.com/quanminh251102/TWG-V2/tree/main/lib/core/view_models/implements/booking_viewmodel.dart | https://raw.githubusercontent.com/quanminh251102/TWG-V2/7e30bb6/lib/core/view_models/implements/booking_viewmodel.dart | quanminh251102/TWG-V2 7e30bb6 lib/core/view_models/implements/booking_viewmodel.dart | true | 200 | 14,964 | import 'package:flutter/material.dart';
import 'package:flutter_easyloading/flutter_easyloading.dart';
import 'package:flutter_map/flutter_map.dart';
import 'package:get/get.dart';
import 'package:latlong2/latlong.dart';
import 'package:twg/core/dtos/booking/booking_dto.dart';
import 'package:twg/core/dtos/booking/filt... | 2 |
TheRahulHere/Apna-Basket | dbd6717 | lib/features/shop/screens/home_screen/Main_Container.dart | Dart | www.github.com/TheRahulHere/Apna-Basket/tree/main/lib/features/shop/screens/home_screen/Main_Container.dart | https://raw.githubusercontent.com/TheRahulHere/Apna-Basket/dbd6717/lib/features/shop/screens/home_screen/Main_Container.dart | TheRahulHere/Apna-Basket dbd6717 lib/features/shop/screens/home_screen/Main_Container.dart | true | 200 | 666 | import 'package:flutter/cupertino.dart';
class MyContainer extends StatelessWidget {
const MyContainer({super.key});
@override
Widget build(BuildContext context) {
return Padding(
padding: const EdgeInsets.all(10),
child: SizedBox(
height: 250,
width: 182,
child: Position... | 5 |
moodyshaker/rick_and_morty_app | 08cf2d4 | lib/features/character_screen/presentation/widgets/character_list_widget.dart | Dart | www.github.com/moodyshaker/rick_and_morty_app/tree/main/lib/features/character_screen/presentation/widgets/character_list_widget.dart | https://raw.githubusercontent.com/moodyshaker/rick_and_morty_app/08cf2d4/lib/features/character_screen/presentation/widgets/character_list_widget.dart | moodyshaker/rick_and_morty_app 08cf2d4 lib/features/character_screen/presentation/widgets/character_list_widget.dart | true | 200 | 2,835 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:flutter_spinkit/flutter_spinkit.dart';
import 'package:rick_and_morty_app/core/theming/colors.dart';
import 'package:rick_and_morty_app/features/character... | 3 |
luchinsol/SOLVIDA2025 | 52c9e40 | lib/conductor/model/pedidos_history_model.dart | Dart | www.github.com/luchinsol/SOLVIDA2025/tree/main/lib/conductor/model/pedidos_history_model.dart | https://raw.githubusercontent.com/luchinsol/SOLVIDA2025/52c9e40/lib/conductor/model/pedidos_history_model.dart | luchinsol/SOLVIDA2025 52c9e40 lib/conductor/model/pedidos_history_model.dart | true | 200 | 4,036 | import 'dart:convert';
import 'package:app2025/conductor/model/cliente_model.dart';
class Pedidos {
final int id;
final int cliente;
final double total;
final DateTime fecha;
final String? tipo;
String? estado;
final Ubicacion ubicacion;
final List<DetallePedido> detallesPedido;
final String? client... | 1 |
HiShubhamK/customerappflutter | 68d9f96 | lib/utils/utils.dart | Dart | www.github.com/HiShubhamK/customerappflutter/tree/main/lib/utils/utils.dart | https://raw.githubusercontent.com/HiShubhamK/customerappflutter/68d9f96/lib/utils/utils.dart | HiShubhamK/customerappflutter 68d9f96 lib/utils/utils.dart | true | 200 | 1,691 | import 'package:another_flushbar/flushbar.dart';
import 'package:another_flushbar/flushbar_route.dart';
import 'package:flutter/material.dart';
import 'package:fluttertoast/fluttertoast.dart';
class Utils{
static var mobile="";
static var TOKEN="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Ijk5Njc5OTQ2ODJAaG... | 6 |
PedroMerinoDev/tattoo_manager | ddcb3d1 | test/main/factories/pages/login/signup_validation_factory_test.dart | Dart | www.github.com/PedroMerinoDev/tattoo_manager/tree/main/test/main/factories/pages/login/signup_validation_factory_test.dart | https://raw.githubusercontent.com/PedroMerinoDev/tattoo_manager/ddcb3d1/test/main/factories/pages/login/signup_validation_factory_test.dart | PedroMerinoDev/tattoo_manager ddcb3d1 test/main/factories/pages/login/signup_validation_factory_test.dart | true | 200 | 815 | import 'package:tattoo_manager/main/factories/factories.dart';
import 'package:tattoo_manager/validation/validation.dart';
import 'package:test/test.dart';
void main() {
test('Should return the correct validations', () {
final List<FieldValidation> validations = makeSignUpValidations();
expect(validations, ... | 4 |
atheelhamyel/e_commerce | 1fcb46f | lib/views/pages/home_page.dart | Dart | www.github.com/atheelhamyel/e_commerce/tree/main/lib/views/pages/home_page.dart | https://raw.githubusercontent.com/atheelhamyel/e_commerce/1fcb46f/lib/views/pages/home_page.dart | atheelhamyel/e_commerce 1fcb46f lib/views/pages/home_page.dart | true | 200 | 1,712 | import 'package:e_commerce/view_model/home_tab_cubit/home_tab_cubit.dart';
import 'package:e_commerce/views/widget/cart_widget.dart';
import 'package:e_commerce/views/widget/category_tab_inner.dart';
import 'package:e_commerce/views/widget/home_tab_inner.dart';
import 'package:flutter/material.dart';
import 'package:fl... | 0 |
Marwanali2/uber_app_customer | 481462e | lib/core/widgets/custom_app_text_form_field.dart | Dart | www.github.com/Marwanali2/uber_app_customer/tree/main/lib/core/widgets/custom_app_text_form_field.dart | https://raw.githubusercontent.com/Marwanali2/uber_app_customer/481462e/lib/core/widgets/custom_app_text_form_field.dart | Marwanali2/uber_app_customer 481462e lib/core/widgets/custom_app_text_form_field.dart | true | 200 | 1,870 | import 'package:flutter/material.dart';
class CustomAppTextFormField extends StatelessWidget {
const CustomAppTextFormField({
super.key,
required this.hintText,
this.suffixIcon,
this.obscureText,
this.border,
this.enabledBorder,
this.focusedBorder,
this.prefixIcon,
this.keyboardTy... | 7 |
moura-victor02/Test_Flutter | 3d99808 | ap_01/lib/page_indicator.dart | Dart | www.github.com/moura-victor02/Test_Flutter/tree/main/ap_01/lib/page_indicator.dart | https://raw.githubusercontent.com/moura-victor02/Test_Flutter/3d99808/ap_01/lib/page_indicator.dart | moura-victor02/Test_Flutter 3d99808 ap_01/lib/page_indicator.dart | true | 200 | 323 | import 'package:flutter/material.dart';
Widget pageIndicator(bool currentpage) {
return Container(
width: currentpage ? 15 : 10,
height: currentpage ? 15 : 10,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(12),
color: currentpage ? Colors.black87 : Colors.black38,
),
);... | 5 |
kemesay/modern_transport_flutter | abe1712 | lib/pages/phone_reg_page.dart | Dart | www.github.com/kemesay/modern_transport_flutter/tree/main/lib/pages/phone_reg_page.dart | https://raw.githubusercontent.com/kemesay/modern_transport_flutter/abe1712/lib/pages/phone_reg_page.dart | kemesay/modern_transport_flutter abe1712 lib/pages/phone_reg_page.dart | true | 200 | 5,559 | import 'package:country_code_picker/country_code_picker.dart';
import 'package:flutter/material.dart';
import 'package:modern_transportation/pages/otp_page.dart';
import 'package:modern_transportation/widgets/header_widget.dart';
import 'package:modern_transportation/widgets/popular_places_carousel.dart';
class PhoneR... | 1 |
Dev-Sashad/sanni-shafeeq-techtask-mobile-fork-repo | ce17fe9 | lib/widgets/cutsom_scaffold.dart | Dart | www.github.com/Dev-Sashad/sanni-shafeeq-techtask-mobile-fork-repo/tree/main/lib/widgets/cutsom_scaffold.dart | https://raw.githubusercontent.com/Dev-Sashad/sanni-shafeeq-techtask-mobile-fork-repo/ce17fe9/lib/widgets/cutsom_scaffold.dart | Dev-Sashad/sanni-shafeeq-techtask-mobile-fork-repo ce17fe9 lib/widgets/cutsom_scaffold.dart | true | 200 | 6,288 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import '../_lib.dart';
class BaseScaffold extends StatelessWidget {
final String title;
final String subTitle;
final bool useRowAppBar;
final String? bckImage;
final bool showTitle;
final bool showTrailing;... | 6 |
houssam-1553/Alrraid-Pro | 32955d7 | lib/screens/LoginScreen/profileScreen.dart | Dart | www.github.com/houssam-1553/Alrraid-Pro/tree/main/lib/screens/LoginScreen/profileScreen.dart | https://raw.githubusercontent.com/houssam-1553/Alrraid-Pro/32955d7/lib/screens/LoginScreen/profileScreen.dart | houssam-1553/Alrraid-Pro 32955d7 lib/screens/LoginScreen/profileScreen.dart | true | 200 | 1,518 | import 'package:arraid/config/colors.dart';
import 'package:arraid/controllers/navigationCtrl.dart';
import 'package:flutter/material.dart';
import 'package:fluttericon/mfg_labs_icons.dart';
import 'package:get/get.dart';
import 'package:iconsax/iconsax.dart';
class Profilescreen extends StatefulWidget {
const Prof... | 3 |
Arunshaik2001/video_player_demo | 45ca7b1 | lib/main.dart | Dart | www.github.com/Arunshaik2001/video_player_demo/tree/main/lib/main.dart | https://raw.githubusercontent.com/Arunshaik2001/video_player_demo/45ca7b1/lib/main.dart | Arunshaik2001/video_player_demo 45ca7b1 lib/main.dart | true | 200 | 1,817 | import 'dart:io';
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/services.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Ke... | 4 |
karim-raafat/bookstore_app | 565f856 | lib/main.dart | Dart | www.github.com/karim-raafat/bookstore_app/tree/main/lib/main.dart | https://raw.githubusercontent.com/karim-raafat/bookstore_app/565f856/lib/main.dart | karim-raafat/bookstore_app 565f856 lib/main.dart | true | 200 | 3,005 | import 'package:bookstore_app/pages/book_page.dart';
import 'package:bookstore_app/pages/library_management_page.dart';
import 'package:bookstore_app/pages/library_page.dart';
import 'package:bookstore_app/pages/login_page.dart';
import 'package:bookstore_app/pages/main_page.dart';
import 'package:bookstore_app/pages/r... | 2 |
Anikate-De/phi_chat | bf57a40 | lib/widgets/rounded_gradient_button.dart | Dart | www.github.com/Anikate-De/phi_chat/tree/main/lib/widgets/rounded_gradient_button.dart | https://raw.githubusercontent.com/Anikate-De/phi_chat/bf57a40/lib/widgets/rounded_gradient_button.dart | Anikate-De/phi_chat bf57a40 lib/widgets/rounded_gradient_button.dart | true | 200 | 1,876 | import 'package:flutter/material.dart';
class RoundedGradientTextButton extends StatelessWidget {
final String text;
final void Function()? onPressed;
const RoundedGradientTextButton(
{required this.text, required this.onPressed, Key? key})
: super(key: key);
@override
Widget build(BuildContext... | 0 |
prince5620/E-Commerce-Disinfectant-main | 074e714 | lib/utils/sp/sp_helper.dart | Dart | www.github.com/prince5620/E-Commerce-Disinfectant-main/tree/main/lib/utils/sp/sp_helper.dart | https://raw.githubusercontent.com/prince5620/E-Commerce-Disinfectant-main/074e714/lib/utils/sp/sp_helper.dart | prince5620/E-Commerce-Disinfectant-main 074e714 lib/utils/sp/sp_helper.dart | true | 200 | 2,761 | import 'package:rallis/utils/apiutils/api_response.dart';
import 'package:rallis/utils/common/global_utilities.dart';
import 'package:shared_preferences/shared_preferences.dart';
class SPHelper<T> {
static Future<T> getPreference<T>(String key, T defautlValue) async {
final SharedPreferences sp = await SharedPre... | 7 |
vaibhavbhajanka/trilicious_menu | 3ca9a34 | lib/widgets/glass_card.dart | Dart | www.github.com/vaibhavbhajanka/trilicious_menu/tree/main/lib/widgets/glass_card.dart | https://raw.githubusercontent.com/vaibhavbhajanka/trilicious_menu/3ca9a34/lib/widgets/glass_card.dart | vaibhavbhajanka/trilicious_menu 3ca9a34 lib/widgets/glass_card.dart | true | 200 | 1,970 | import 'dart:ui';
import 'package:flutter/material.dart';
class GlassCard extends StatelessWidget {
final String? image;
final String restaurantName;
final String restaurantAddress;
const GlassCard(
{Key? key,
required this.image,
required this.restaurantName,
required this.restaurantA... | 1 |
amaljosev/Note-App-Bloc | a687078 | lib/screens/home/home_screen.dart | Dart | www.github.com/amaljosev/Note-App-Bloc/tree/main/lib/screens/home/home_screen.dart | https://raw.githubusercontent.com/amaljosev/Note-App-Bloc/a687078/lib/screens/home/home_screen.dart | amaljosev/Note-App-Bloc a687078 lib/screens/home/home_screen.dart | true | 200 | 2,818 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:notebloc/screens/form/add_form_screen.dart';
import 'package:notebloc/screens/form/edit_form_screen.dart';
import 'package:notebloc/screens/home/bloc/home_bloc.dart';
import 'package:notebloc/screens/home/widgets/fu... | 5 |
Govind-Lms/shop_init_admin | 4be9b9b | lib/src/consts/my_theme.dart | Dart | www.github.com/Govind-Lms/shop_init_admin/tree/main/lib/src/consts/my_theme.dart | https://raw.githubusercontent.com/Govind-Lms/shop_init_admin/4be9b9b/lib/src/consts/my_theme.dart | Govind-Lms/shop_init_admin 4be9b9b lib/src/consts/my_theme.dart | true | 200 | 983 | import 'package:flutter/material.dart';
class MyTheme {
static final light = ThemeData(
primaryColorDark: const Color(0xff6f4f37),
primaryColorLight: const Color(0xfffff7f1),
primaryColor: const Color(0xfffff7f1),
bottomNavigationBarTheme: const BottomNavigationBarThemeData(
backgroundColor: C... | 3 |
e-medeiros1/exclusive_diary | 32d3f27 | lib/app/core/components/line_separator.dart | Dart | www.github.com/e-medeiros1/exclusive_diary/tree/main/lib/app/core/components/line_separator.dart | https://raw.githubusercontent.com/e-medeiros1/exclusive_diary/32d3f27/lib/app/core/components/line_separator.dart | e-medeiros1/exclusive_diary 32d3f27 lib/app/core/components/line_separator.dart | true | 200 | 878 | import 'package:flutter/material.dart';
class LineSeparator extends StatelessWidget {
const LineSeparator({super.key});
@override
Widget build(BuildContext context) {
return Padding(
padding: const EdgeInsets.symmetric(vertical: 10),
child: Row(
mainAxisAlignment: MainAxisAlignment.cente... | 6 |
OmarAssem11/social_media_app | acbea39 | lib/features/auth/domain/usecases/register_usecase.dart | Dart | www.github.com/OmarAssem11/social_media_app/tree/main/lib/features/auth/domain/usecases/register_usecase.dart | https://raw.githubusercontent.com/OmarAssem11/social_media_app/acbea39/lib/features/auth/domain/usecases/register_usecase.dart | OmarAssem11/social_media_app acbea39 lib/features/auth/domain/usecases/register_usecase.dart | true | 200 | 962 | import 'package:dartz/dartz.dart';
import 'package:injectable/injectable.dart';
import 'package:social_media_app/core/domain/failure/failure.dart';
import 'package:social_media_app/core/domain/params/app_params.dart';
import 'package:social_media_app/core/domain/usecases/usecase.dart';
import 'package:social_media_app/... | 4 |
mostafamahmoud145/Social_App | 967a59f | lib/main.dart | Dart | www.github.com/mostafamahmoud145/Social_App/tree/main/lib/main.dart | https://raw.githubusercontent.com/mostafamahmoud145/Social_App/967a59f/lib/main.dart | mostafamahmoud145/Social_App 967a59f lib/main.dart | true | 200 | 1,477 | import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:social_app/layout/Social_Layout/Social_Layout.dart';
import 'package:social_app/modules/LoginScreen/LoginScreen.dart';
import 'package:social_app/shared/components/... | 2 |
Mudassir7817/Catalog_App_Flutter | f6c012d | lib/widgets/drawer.dart | Dart | www.github.com/Mudassir7817/Catalog_App_Flutter/tree/main/lib/widgets/drawer.dart | https://raw.githubusercontent.com/Mudassir7817/Catalog_App_Flutter/f6c012d/lib/widgets/drawer.dart | Mudassir7817/Catalog_App_Flutter f6c012d lib/widgets/drawer.dart | true | 200 | 1,244 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
class MyDrawer extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Drawer(
child: Material(
color: Colors.grey,
child: ListView(
children: const [
DrawerHeade... | 0 |
koso-app/flutter-kosometer-sample | dac114c | lib/rx5/incoming-info2.dart | Dart | www.github.com/koso-app/flutter-kosometer-sample/tree/main/lib/rx5/incoming-info2.dart | https://raw.githubusercontent.com/koso-app/flutter-kosometer-sample/dac114c/lib/rx5/incoming-info2.dart | koso-app/flutter-kosometer-sample dac114c lib/rx5/incoming-info2.dart | true | 200 | 2,722 | import 'base-incoming.dart';
class IncomingInfo2 extends BaseIncoming {
final int odo;
final int odo_total;
final int average_speed;
final int rd_time; //總騎乘時間 sec, 16bit
final int average_consume; //平均油耗L/H, 16 bits
final int trip_1; //小里程數 m, 32bits
final int trip_1_time; //單位sec, 32bits
final int tr... | 7 |
Gabigks/Dart_Curso | 98ad80b | desafio/lib/desafio.dart | Dart | www.github.com/Gabigks/Dart_Curso/tree/main/desafio/lib/desafio.dart | https://raw.githubusercontent.com/Gabigks/Dart_Curso/98ad80b/desafio/lib/desafio.dart | Gabigks/Dart_Curso 98ad80b desafio/lib/desafio.dart | true | 200 | 1,861 | void main() {
//! Detalhe sobre a String
//! A String é composta por 4 campos (Nome|Idade|Profissão|Estado onde mora)
final pacientes = [
'Rodrigo Rahman|35|desenvolvedor|SP',
'Manoel Silva|12|estudante|MG',
'Joaquim Rahman|18|estudante|SP',
'Fernando Verne|35|estudante|MG',
'Gustavo Silva|40|... | 5 |
muji4g/installment | 0dadb72 | lib/widgets/add_products_widgets.dart | Dart | www.github.com/muji4g/installment/tree/main/lib/widgets/add_products_widgets.dart | https://raw.githubusercontent.com/muji4g/installment/0dadb72/lib/widgets/add_products_widgets.dart | muji4g/installment 0dadb72 lib/widgets/add_products_widgets.dart | true | 200 | 11,027 | import 'dart:io';
import 'package:firebase_storage/firebase_storage.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:image_picker/image_picker.dart';
import 'package:installement1_app/model/installments_model.dart';
import 'package:installement1_app/theme/Te... | 3 |
NadeenElafify/weather_app | c30a994 | lib/services/weather_service.dart | Dart | www.github.com/NadeenElafify/weather_app/tree/main/lib/services/weather_service.dart | https://raw.githubusercontent.com/NadeenElafify/weather_app/c30a994/lib/services/weather_service.dart | NadeenElafify/weather_app c30a994 lib/services/weather_service.dart | true | 200 | 907 | import 'dart:developer';
import 'package:dio/dio.dart';
import 'package:weather_app/models/weather_model.dart';
class WeatherService {
final Dio dio;
final String baseUrl = 'https://api.weatherapi.com/v1';
final String apiKey = '143b75a4254f48678f672618241802';
WeatherService( this.dio);
Future<WeatherMod... | 1 |
izazprogram/assainmenttest | c362e7d | lib/Tab_Bar/tab_bar.dart | Dart | www.github.com/izazprogram/assainmenttest/tree/main/lib/Tab_Bar/tab_bar.dart | https://raw.githubusercontent.com/izazprogram/assainmenttest/c362e7d/lib/Tab_Bar/tab_bar.dart | izazprogram/assainmenttest c362e7d lib/Tab_Bar/tab_bar.dart | true | 200 | 985 |
import 'package:assainmenttest/Nav_Bottom/Account.dart';
import 'package:assainmenttest/Nav_Bottom/Add.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
class MyTabBarr extends StatelessWidget {
const MyTabBarr({Key? key}) : super(key: key);
@override
Widget build(BuildCo... | 6 |
AsmaaOsmaan/Agrinion | 2b5a1d4 | lib/App/GlobalWidgets/app_tile.dart | Dart | www.github.com/AsmaaOsmaan/Agrinion/tree/main/lib/App/GlobalWidgets/app_tile.dart | https://raw.githubusercontent.com/AsmaaOsmaan/Agrinion/2b5a1d4/lib/App/GlobalWidgets/app_tile.dart | AsmaaOsmaan/Agrinion 2b5a1d4 lib/App/GlobalWidgets/app_tile.dart | true | 200 | 2,193 | import 'package:agriunion/App/GlobalWidgets/app_dialogs.dart';
import 'package:agriunion/App/Resources/text_themes.dart';
import 'package:flutter/material.dart';
import '../Resources/color_manager.dart';
import '../constants/values.dart';
import 'app_small_button.dart';
import 'app_text_button.dart';
import 'delete_co... | 2 |
odaykrayem/alnagel | e93ccf7 | lib/join_as_screen.dart | Dart | www.github.com/odaykrayem/alnagel/tree/main/lib/join_as_screen.dart | https://raw.githubusercontent.com/odaykrayem/alnagel/e93ccf7/lib/join_as_screen.dart | odaykrayem/alnagel e93ccf7 lib/join_as_screen.dart | true | 200 | 4,572 | // ignore_for_file: file_names
import 'package:alnagel/create_account_screen.dart';
import 'package:alnagel/controllers/app_controller.dart';
import 'package:alnagel/routes/route_helper.dart';
import 'package:alnagel/utils/app_constants.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
cla... | 0 |
AlisherHakimov/Mova-app | fd2437e | lib/models/details/details.dart | Dart | www.github.com/AlisherHakimov/Mova-app/tree/main/lib/models/details/details.dart | https://raw.githubusercontent.com/AlisherHakimov/Mova-app/fd2437e/lib/models/details/details.dart | AlisherHakimov/Mova-app fd2437e lib/models/details/details.dart | true | 200 | 1,678 | import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:mova_app/models/production_company/production_company.dart';
import 'package:mova_app/models/production_country/production_country.dart';
import '../credits/credits.dart';
import '../genres/genre.dart';
part 'details.freezed.dart';
part 'deta... | 7 |
basm1610/ecommerce-app | c926212 | lib/view/widget/home/categories_items.dart | Dart | www.github.com/basm1610/ecommerce-app/tree/main/lib/view/widget/home/categories_items.dart | https://raw.githubusercontent.com/basm1610/ecommerce-app/c926212/lib/view/widget/home/categories_items.dart | basm1610/ecommerce-app c926212 lib/view/widget/home/categories_items.dart | true | 200 | 2,527 | import 'package:ecommerce_app/controller/home_controller.dart';
import 'package:ecommerce_app/core/constant/colors.dart';
import 'package:ecommerce_app/core/functions/translate_datebase.dart';
import 'package:ecommerce_app/data/model/categories_model.dart';
import 'package:flutter/material.dart';
import 'package:flutte... | 3 |
haikalmumtaz233/mobile-flutter | 4bc1b43 | game_galaxy/lib/api/api_data_source.dart | Dart | www.github.com/haikalmumtaz233/mobile-flutter/tree/main/game_galaxy/lib/api/api_data_source.dart | https://raw.githubusercontent.com/haikalmumtaz233/mobile-flutter/4bc1b43/game_galaxy/lib/api/api_data_source.dart | haikalmumtaz233/mobile-flutter 4bc1b43 game_galaxy/lib/api/api_data_source.dart | true | 200 | 1,355 | import 'dart:async';
import 'package:game_galaxy/models/game_model.dart';
import 'base_network.dart';
class ApiDataSource {
static final ApiDataSource instance = ApiDataSource._internal();
ApiDataSource._internal();
List<Game> _allGames = [];
bool _gamesLoaded = false;
// Method to load all games
Future... | 5 |
abdullahchishty/Chat-app-python-flutter | cd5f439 | chat_app/lib/utils/colors.dart | Dart | www.github.com/abdullahchishty/Chat-app-python-flutter/tree/main/chat_app/lib/utils/colors.dart | https://raw.githubusercontent.com/abdullahchishty/Chat-app-python-flutter/cd5f439/chat_app/lib/utils/colors.dart | abdullahchishty/Chat-app-python-flutter cd5f439 chat_app/lib/utils/colors.dart | true | 200 | 674 | import 'exports.dart';
const whiteColor = Color(0xFFFFFFFF);
const blackColor = Color(0xFF000000);
const primaryFontColor = Color(0xFF000E08);
const secondaryFontColor = Color(0xFF24786D);
const subtitleColor = Color(0xFF797C7B);
const lightgreyColor = Color(0xFFF3F6F6);
const redColor = Color(0xFFFF2D1B);
const green... | 6 |
Obaidkhan19/Doctor_App | d726f37 | lib/models/institutes.dart | Dart | www.github.com/Obaidkhan19/Doctor_App/tree/main/lib/models/institutes.dart | https://raw.githubusercontent.com/Obaidkhan19/Doctor_App/d726f37/lib/models/institutes.dart | Obaidkhan19/Doctor_App d726f37 lib/models/institutes.dart | true | 200 | 1,029 | class institutionmodel {
int? status;
List<Institutions>? institutions;
institutionmodel({this.status, this.institutions});
institutionmodel.fromJson(Map<String, dynamic> json) {
status = json['Status'];
if (json['Institutions'] != null) {
institutions = <Institutions>[];
json['Institution... | 1 |
ahmed-KhaleD1/notes_app | a198ea8 | lib/main.dart | Dart | www.github.com/ahmed-KhaleD1/notes_app/tree/main/lib/main.dart | https://raw.githubusercontent.com/ahmed-KhaleD1/notes_app/a198ea8/lib/main.dart | ahmed-KhaleD1/notes_app a198ea8 lib/main.dart | true | 200 | 1,240 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:hive_flutter/hive_flutter.dart';
import 'package:notes_app/cubits/add_note_cubit/add_note_cubit.dart';
import 'package:notes_app/models/note_model.dart';
import 'package:notes_app/simple_bloc_observer.dart';
import ... | 0 |
BugraHamza/chat2learn | 14c73c0 | chat2learnfe/lib/services/AuthenticationClient.dart | Dart | www.github.com/BugraHamza/chat2learn/tree/main/chat2learnfe/lib/services/AuthenticationClient.dart | https://raw.githubusercontent.com/BugraHamza/chat2learn/14c73c0/chat2learnfe/lib/services/AuthenticationClient.dart | BugraHamza/chat2learn 14c73c0 chat2learnfe/lib/services/AuthenticationClient.dart | true | 200 | 1,763 | import 'dart:convert';
import 'dart:io';
import 'package:chat2learnfe/model/common/ErrorResponseDTO.dart';
import 'package:chat2learnfe/model/request/LoginRequest.dart';
import 'package:chat2learnfe/model/request/RegisterRequest.dart';
import 'package:chat2learnfe/model/response/LoginResponse.dart';
import 'package:ch... | 2 |
mad9910/work_app | e3925e0 | lib/widgets/task_form.dart | Dart | www.github.com/mad9910/work_app/tree/main/lib/widgets/task_form.dart | https://raw.githubusercontent.com/mad9910/work_app/e3925e0/lib/widgets/task_form.dart | mad9910/work_app e3925e0 lib/widgets/task_form.dart | true | 200 | 1,570 | import 'package:flutter/material.dart';
import '../models/task.dart';
class TaskForm extends StatefulWidget {
final Function(String) onAdd;
const TaskForm({Key? key, required this.onAdd}) : super(key: key);
@override
State<TaskForm> createState() => _TaskFormState();
}
class _TaskFormState extends State<Tas... | 7 |
trevortoni/flutter_udemy | 5b8b931 | lib/constants/styled_text.dart | Dart | www.github.com/trevortoni/flutter_udemy/tree/main/lib/constants/styled_text.dart | https://raw.githubusercontent.com/trevortoni/flutter_udemy/5b8b931/lib/constants/styled_text.dart | trevortoni/flutter_udemy 5b8b931 lib/constants/styled_text.dart | true | 200 | 396 | import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
class StyledText extends StatelessWidget {
final String text;
const StyledText({super.key, required this.text});
@override
Widget build(BuildContext context) {
return Text(
text,
style: GoogleFonts.poppin... | 4 |
Some0ne3lse/johan_flutter_tutorials | 442da9c | first_johan_app/lib/main.dart | Dart | www.github.com/Some0ne3lse/johan_flutter_tutorials/tree/main/first_johan_app/lib/main.dart | https://raw.githubusercontent.com/Some0ne3lse/johan_flutter_tutorials/442da9c/first_johan_app/lib/main.dart | Some0ne3lse/johan_flutter_tutorials 442da9c first_johan_app/lib/main.dart | true | 200 | 752 | import 'package:flutter/material.dart';
void main() {
runApp(
MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Text(
'Welcome',
),
),
body: Center(
child: Container(
alignment: Alignment.center,
height: 360,
... | 6 |
jonnyjohnson1/chat-arena | b32610c | lib/chatroom/widgets/text_type_message/trophy_message_popup_menu.dart | Dart | www.github.com/jonnyjohnson1/chat-arena/tree/main/lib/chatroom/widgets/text_type_message/trophy_message_popup_menu.dart | https://raw.githubusercontent.com/jonnyjohnson1/chat-arena/b32610c/lib/chatroom/widgets/text_type_message/trophy_message_popup_menu.dart | jonnyjohnson1/chat-arena b32610c lib/chatroom/widgets/text_type_message/trophy_message_popup_menu.dart | true | 200 | 1,305 | import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
enum TrophyMessageAction { pushToHost, markWinner }
class TrophyMessagePopupButton extends StatefulWidget {
final widget;
TrophyMessagePopupButton(this.widget, {Key? key}) : super(key: key);
@override
_TrophyMessagePopupButton... | 1 |
Hrithunath/NetflixClone | 6feba2d | lib/presentation/new_and_hot/screen_new_hot.dart | Dart | www.github.com/Hrithunath/NetflixClone/tree/main/lib/presentation/new_and_hot/screen_new_hot.dart | https://raw.githubusercontent.com/Hrithunath/NetflixClone/6feba2d/lib/presentation/new_and_hot/screen_new_hot.dart | Hrithunath/NetflixClone 6feba2d lib/presentation/new_and_hot/screen_new_hot.dart | true | 200 | 4,475 | import 'package:flutter/material.dart';
import 'package:netflixclone/api/api.dart';
import 'package:netflixclone/core/colors/colors.dart';
import 'package:netflixclone/model/new_and_hot_model.dart';
import 'package:netflixclone/presentation/new_and_hot/widgets/coming_soon_widget.dart';
import 'package:netflixclone/pres... | 2 |
mohamed09057/delevery | 21ac153 | lib/controllers/location_controller.dart | Dart | www.github.com/mohamed09057/delevery/tree/main/lib/controllers/location_controller.dart | https://raw.githubusercontent.com/mohamed09057/delevery/21ac153/lib/controllers/location_controller.dart | mohamed09057/delevery 21ac153 lib/controllers/location_controller.dart | true | 200 | 8,665 | // ignore_for_file: unused_field, prefer_final_fields, implementation_imports, unused_import
import 'dart:convert';
import 'package:deleveryapp/data/api/api_checker.dart';
import 'package:deleveryapp/models/response_model.dart';
import 'package:flutter/cupertino.dart';
import 'package:google_maps_webservice/src/places.... | 7 |
danielsleibi/ecomerece_flutter_training_app | 303c84a | lib/models/product_model.dart | Dart | www.github.com/danielsleibi/ecomerece_flutter_training_app/tree/main/lib/models/product_model.dart | https://raw.githubusercontent.com/danielsleibi/ecomerece_flutter_training_app/303c84a/lib/models/product_model.dart | danielsleibi/ecomerece_flutter_training_app 303c84a lib/models/product_model.dart | true | 200 | 753 | class ProductModel {
int? id;
String? title;
int? price;
String? description;
List<String>? images;
double discount = 0.0;
bool fav = false;
ProductModel(
{this.id, this.title, this.price, this.description, this.images});
ProductModel.fromJson(Map<String, dynamic> json) {
id = json['id'];
... | 0 |
Milad305/foodiapp-main | e4a802c | lib/view/profile/user_tile.dart | Dart | www.github.com/Milad305/foodiapp-main/tree/main/lib/view/profile/user_tile.dart | https://raw.githubusercontent.com/Milad305/foodiapp-main/e4a802c/lib/view/profile/user_tile.dart | Milad305/foodiapp-main e4a802c lib/view/profile/user_tile.dart | true | 200 | 2,058 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:persian_number_utility/persian_number_utility.dart';
import 'package:salamatiman/utils/constants.dart';
class UserTile extends StatelessWidget {
final Widget icon;
f... | 4 |
AfnasP549/DSA | 999950c | DSA2/stack/re.dart | Dart | www.github.com/AfnasP549/DSA/tree/main/DSA2/stack/re.dart | https://raw.githubusercontent.com/AfnasP549/DSA/999950c/DSA2/stack/re.dart | AfnasP549/DSA 999950c DSA2/stack/re.dart | true | 200 | 1,353 | class Stack{
List<int>stack=[];
late int top, size;
Stack(this.size){
stack = List.filled(size, 0, growable: false);
top=-1;
}
isFull(){
return top==size-1;
}
isEmpty(){
return top==-1;
}
push(int value){
if(isFull()){
print('STAC... | 5 |
harshitkau/facebook_react | d4296a1 | lib/main.dart | Dart | www.github.com/harshitkau/facebook_react/tree/main/lib/main.dart | https://raw.githubusercontent.com/harshitkau/facebook_react/d4296a1/lib/main.dart | harshitkau/facebook_react d4296a1 lib/main.dart | true | 200 | 466 | import 'package:facebook_reaction_animation/fb_reaction_box.dart';
import 'package:flutter/material.dart';
void main() => runApp(MainApp());
class MainApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Facebook Reactions',
theme: ThemeData(prim... | 3 |
Tary-nan/bloc_boilerplate_with_frreezed | bac750b | lib/src/features/authentication/bloc/authentication_bloc.dart | Dart | www.github.com/Tary-nan/bloc_boilerplate_with_frreezed/tree/main/lib/src/features/authentication/bloc/authentication_bloc.dart | https://raw.githubusercontent.com/Tary-nan/bloc_boilerplate_with_frreezed/bac750b/lib/src/features/authentication/bloc/authentication_bloc.dart | Tary-nan/bloc_boilerplate_with_frreezed bac750b lib/src/features/authentication/bloc/authentication_bloc.dart | true | 200 | 2,212 | import 'dart:async';
import 'package:architecture_bloc/src/features/authentication/models/events/authentication_event.dart';
import 'package:architecture_bloc/src/features/authentication/models/states/authentication_state.dart';
import 'package:authentication_repository/authentication_repository.dart';
import 'package... | 6 |
TinVu123/SmartLight-IoT08 | 25bfe43 | lib/components/my_slider.dart | Dart | www.github.com/TinVu123/SmartLight-IoT08/tree/main/lib/components/my_slider.dart | https://raw.githubusercontent.com/TinVu123/SmartLight-IoT08/25bfe43/lib/components/my_slider.dart | TinVu123/SmartLight-IoT08 25bfe43 lib/components/my_slider.dart | true | 200 | 676 | import 'package:flutter/material.dart';
class MySlider extends StatefulWidget {
const MySlider({super.key});
@override
State<MySlider> createState() => _SliderExampleState();
}
class _SliderExampleState extends State<MySlider> {
double _currentSliderValue = 20;
bool year2023 = true;
@override
Widget ... | 1 |
MohammadAbdulSamad1/SMIT_task | a180d93 | Even_odd_list.dart | Dart | www.github.com/MohammadAbdulSamad1/SMIT_task/tree/main/Even_odd_list.dart | https://raw.githubusercontent.com/MohammadAbdulSamad1/SMIT_task/a180d93/Even_odd_list.dart | MohammadAbdulSamad1/SMIT_task a180d93 Even_odd_list.dart | true | 200 | 700 | import 'dart:io';
void main() {
print('how many number you want to enter');
int rep = int.parse(stdin.readLineSync()!);
List<int> num = [];
for (int i = 0; i < rep; i++) {
print('enter number to add to list');
num.add(int.parse(stdin.readLineSync()!));
}
List<int> even = [];
List<int> odd = [];
... | 2 |
YX0505/DINE1ST_Flutter | fa6671e | lib/screen/Profile/update_profile.dart | Dart | www.github.com/YX0505/DINE1ST_Flutter/tree/main/lib/screen/Profile/update_profile.dart | https://raw.githubusercontent.com/YX0505/DINE1ST_Flutter/fa6671e/lib/screen/Profile/update_profile.dart | YX0505/DINE1ST_Flutter fa6671e lib/screen/Profile/update_profile.dart | true | 200 | 5,897 | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import '../../provider/user_provider.dart';
import '../../widget/nav_bar.dart';
class EditProfileScreen extends StatefulWidget {
@override
EditProfileScreenState createState() => EditProfileScreenState();
}
class EditProfileScreenSta... | 7 |
Nirosha-iOS/bloc_weather_forecast | 33a51b5 | lib/repositories/weather_repository.dart | Dart | www.github.com/Nirosha-iOS/bloc_weather_forecast/tree/main/lib/repositories/weather_repository.dart | https://raw.githubusercontent.com/Nirosha-iOS/bloc_weather_forecast/33a51b5/lib/repositories/weather_repository.dart | Nirosha-iOS/bloc_weather_forecast 33a51b5 lib/repositories/weather_repository.dart | true | 200 | 891 | import 'dart:convert';
import 'package:http/http.dart' as http;
import '../models/weather.dart';
class WeatherRepository {
final String apiKey = '724d26652745343fb9641775ca44058e'; // API key from OpenWeatherMap
final String apiUrl = 'https://api.openweathermap.org/data/2.5/weather'; // Correct API endpoint
Fut... | 4 |
ManikantaFlutterApps/RestAPICall | 60bd962 | lib/main.dart | Dart | www.github.com/ManikantaFlutterApps/RestAPICall/tree/main/lib/main.dart | https://raw.githubusercontent.com/ManikantaFlutterApps/RestAPICall/60bd962/lib/main.dart | ManikantaFlutterApps/RestAPICall 60bd962 lib/main.dart | true | 200 | 431 | import 'package:flutter/material.dart';
import 'MyHomePage.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: "RestAPI Calls",
debugShowCheckedModeBanner: false,
theme: ThemeData(colorSc... | 5 |
Torkali44/GraduationProject | fbe5a13 | lib/drawer_content/ContactPage.dart | Dart | www.github.com/Torkali44/GraduationProject/tree/main/lib/drawer_content/ContactPage.dart | https://raw.githubusercontent.com/Torkali44/GraduationProject/fbe5a13/lib/drawer_content/ContactPage.dart | Torkali44/GraduationProject fbe5a13 lib/drawer_content/ContactPage.dart | true | 200 | 416 | import 'package:flutter/material.dart';
class ContactPage extends StatelessWidget {
const ContactPage({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text("Contact"),
backgroundColor: Colors.teal,
),
body: const Cen... | 3 |
TahaMsv/Flutter.BRS-Panel | 2dd57d5 | lib/screens/airport_carts/interfaces/airport_carts_repository_interface.dart | Dart | www.github.com/TahaMsv/Flutter.BRS-Panel/tree/main/lib/screens/airport_carts/interfaces/airport_carts_repository_interface.dart | https://raw.githubusercontent.com/TahaMsv/Flutter.BRS-Panel/2dd57d5/lib/screens/airport_carts/interfaces/airport_carts_repository_interface.dart | TahaMsv/Flutter.BRS-Panel 2dd57d5 lib/screens/airport_carts/interfaces/airport_carts_repository_interface.dart | true | 200 | 792 | import 'package:brs_panel/screens/airport_carts/usecase/airport_get_carts_usecase.dart';
import 'package:dartz/dartz.dart';
import '../../../core/abstracts/failures_abs.dart';
import '../usecase/airline_add_uld_usecase.dart';
import '../usecase/airline_delete_uld_usecase.dart';
import '../usecase/airline_update_uld_use... | 1 |
Haru-Kobayashi073/SNS-For-Gamers | a8d74df | lib/models/create_post_model.dart | Dart | www.github.com/Haru-Kobayashi073/SNS-For-Gamers/tree/main/lib/models/create_post_model.dart | https://raw.githubusercontent.com/Haru-Kobayashi073/SNS-For-Gamers/a8d74df/lib/models/create_post_model.dart | Haru-Kobayashi073/SNS-For-Gamers a8d74df lib/models/create_post_model.dart | true | 200 | 4,309 | //flutter
import 'package:flutter/material.dart';
import 'dart:io';
import 'package:flutter_riverpod/flutter_riverpod.dart';
//packages
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_storage/firebase_storage.dart';
import 'package:path_provider/path_provider.dart';
import 'package:image... | 0 |
CreatorSean/stacking_cone_prototype | 7d50354 | lib/features/db_save/view_model/db_export_vm.dart | Dart | www.github.com/CreatorSean/stacking_cone_prototype/tree/main/lib/features/db_save/view_model/db_export_vm.dart | https://raw.githubusercontent.com/CreatorSean/stacking_cone_prototype/7d50354/lib/features/db_save/view_model/db_export_vm.dart | CreatorSean/stacking_cone_prototype 7d50354 lib/features/db_save/view_model/db_export_vm.dart | true | 200 | 2,719 | import 'dart:async';
import 'dart:io';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:path/path.dart';
import 'package:path_provider/path_provider.dart';
import 'package:sqflite/sqflite.dart';
import 'package:stacking_cone_prototype/services/database/database_service.dart';
import 'package:st... | 2 |
Finn30/Reflow | d0022c5 | project_fix/lib/src/features/my wallet/recharge/recharge_screen.dart | Dart | www.github.com/Finn30/Reflow/tree/main/project_fix/lib/src/features/my wallet/recharge/recharge_screen.dart | https://raw.githubusercontent.com/Finn30/Reflow/d0022c5/project_fix/lib/src/features/my%20wallet/recharge/recharge_screen.dart | Finn30/Reflow d0022c5 project_fix/lib/src/features/my wallet/recharge/recharge_screen.dart | true | 200 | 15,229 | import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
import 'package:project_fix/src/features/my%20wallet/recharge/midtrans%20payment/midtranspayment_screen.dart';
import 'package:project_fix/src/function/services.dart';
class RechargeScreen extends StatefulWidget {
@override
... | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.