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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
Aryapreethi/bloc_netflixclone_blocsearch_internship | 932ddbf | lib/screens/screens/search/searchbloc/SearchnewState.dart | Dart | www.github.com/Aryapreethi/bloc_netflixclone_blocsearch_internship/tree/main/lib/screens/screens/search/searchbloc/SearchnewState.dart | https://raw.githubusercontent.com/Aryapreethi/bloc_netflixclone_blocsearch_internship/932ddbf/lib/screens/screens/search/searchbloc/SearchnewState.dart | Aryapreethi/bloc_netflixclone_blocsearch_internship 932ddbf lib/screens/screens/search/searchbloc/SearchnewState.dart | true | 200 | 491 | import 'package:net/model/model.dart';
// import 'package:net/screens/screens/search/searchbloc/searchnewEvent.dart';
abstract class SearchState {}
class SearchStateLoading extends SearchState {}
class SearchStateSuccess extends SearchState {
final List<Mylist> items;
SearchStateSuccess({required th... | 1 |
chandanaadla/dietapp | b4c65ba | lib/screens/favorite_recipes_screen.dart | Dart | www.github.com/chandanaadla/dietapp/tree/main/lib/screens/favorite_recipes_screen.dart | https://raw.githubusercontent.com/chandanaadla/dietapp/b4c65ba/lib/screens/favorite_recipes_screen.dart | chandanaadla/dietapp b4c65ba lib/screens/favorite_recipes_screen.dart | true | 200 | 4,903 | import 'package:flutter/material.dart';
class FavoriteRecipesScreen extends StatefulWidget {
@override
_FavoriteRecipesScreenState createState() => _FavoriteRecipesScreenState();
}
class _FavoriteRecipesScreenState extends State<FavoriteRecipesScreen> {
int selectedTab = 0;
@override
Widget build(BuildCon... | 2 |
Hryashch/courseViewer | 05cb590 | courseDetailsScreen.dart | Dart | www.github.com/Hryashch/courseViewer/tree/main/courseDetailsScreen.dart | https://raw.githubusercontent.com/Hryashch/courseViewer/05cb590/courseDetailsScreen.dart | Hryashch/courseViewer 05cb590 courseDetailsScreen.dart | true | 200 | 2,710 | import 'package:courseviewer/course.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'statemanagement.dart';
class CourseDaetailsPage extends ConsumerWidget {
Course course;
CourseDaetailsPage({required this.course});
@override
Widget b... | 5 |
Dishanakrani2306/module__4 | 93d1e52 | lib/question_26/activity_1.dart | Dart | www.github.com/Dishanakrani2306/module__4/tree/main/lib/question_26/activity_1.dart | https://raw.githubusercontent.com/Dishanakrani2306/module__4/93d1e52/lib/question_26/activity_1.dart | Dishanakrani2306/module__4 93d1e52 lib/question_26/activity_1.dart | true | 200 | 1,708 | //Write a code to redirect user from one activity to another when button click.
import 'package:flutter/material.dart';
import 'package:module_4/question_26/activity_2.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return ... | 7 |
themetadara/makittestexercise | ff6baf7 | lib/Screens/cust_repo.dart | Dart | www.github.com/themetadara/makittestexercise/tree/main/lib/Screens/cust_repo.dart | https://raw.githubusercontent.com/themetadara/makittestexercise/ff6baf7/lib/Screens/cust_repo.dart | themetadara/makittestexercise ff6baf7 lib/Screens/cust_repo.dart | true | 200 | 430 | import 'package:bloc_user_app/Screens/user_page.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import '../repos/repositories.dart';
class CustRepo extends StatelessWidget {
const CustRepo({
super.key,
});
@override
Widget build(BuildContext context) {
... | 4 |
aldinurhanudin/Konsep-dasar-Bloc | 252f36e | latihan_bloc/lib/main.dart | Dart | www.github.com/aldinurhanudin/Konsep-dasar-Bloc/tree/main/latihan_bloc/lib/main.dart | https://raw.githubusercontent.com/aldinurhanudin/Konsep-dasar-Bloc/252f36e/latihan_bloc/lib/main.dart | aldinurhanudin/Konsep-dasar-Bloc 252f36e latihan_bloc/lib/main.dart | true | 200 | 520 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:latihan_bloc/bloc/counter.dart';
import 'package:latihan_bloc/ui/pages/home.dart';
void main(List<String> args) {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(... | 0 |
Khanno/flutter_boilerplate_project | 90be132 | lib/helpers/route_builder_helper.dart | Dart | www.github.com/Khanno/flutter_boilerplate_project/tree/main/lib/helpers/route_builder_helper.dart | https://raw.githubusercontent.com/Khanno/flutter_boilerplate_project/90be132/lib/helpers/route_builder_helper.dart | Khanno/flutter_boilerplate_project 90be132 lib/helpers/route_builder_helper.dart | true | 200 | 1,914 | import 'package:flutter/material.dart';
Route<dynamic> createRoute({required Widget Function(BuildContext, Animation<double>, Animation<double>) pageBuilder}) {
return PageRouteBuilder<dynamic>(
pageBuilder: pageBuilder,
transitionsBuilder: (
BuildContext context,
Animation<double> animat... | 3 |
Hosam-Shalaby/salamtak | 24d55e9 | lib/view/pages/rays/raysApi.dart | Dart | www.github.com/Hosam-Shalaby/salamtak/tree/main/lib/view/pages/rays/raysApi.dart | https://raw.githubusercontent.com/Hosam-Shalaby/salamtak/24d55e9/lib/view/pages/rays/raysApi.dart | Hosam-Shalaby/salamtak 24d55e9 lib/view/pages/rays/raysApi.dart | true | 200 | 2,153 | // ignore_for_file: camel_case_types, avoid_print, file_names
import 'dart:convert';
// ignore: depend_on_referenced_packages
import 'package:flutter/material.dart';
import 'package:http/http.dart';
class rays extends StatefulWidget {
const rays({super.key});
@override
State<rays> createState() => _raysState(... | 6 |
gilbertohnrq/pokedexfi_monorepo | 5aa3649 | pokedexfi/test/core/domain/models/pokemon/pokemon_model_test.dart | Dart | www.github.com/gilbertohnrq/pokedexfi_monorepo/tree/main/pokedexfi/test/core/domain/models/pokemon/pokemon_model_test.dart | https://raw.githubusercontent.com/gilbertohnrq/pokedexfi_monorepo/5aa3649/pokedexfi/test/core/domain/models/pokemon/pokemon_model_test.dart | gilbertohnrq/pokedexfi_monorepo 5aa3649 pokedexfi/test/core/domain/models/pokemon/pokemon_model_test.dart | true | 200 | 472 | import 'package:flutter_test/flutter_test.dart';
import 'package:pokedexfi/core/domain/models/pokemon/pokemon_model.dart';
void main() {
group('Pokemon', () {
test('creates Pokemon from JSON', () {
const mockJson = {'name': 'Pikachu', 'url': 'https://pokeapi.co/api/v2/pokemon/25/'};
final pokemon = ... | 5 |
kubastick/tiny-hn | 1df26a5 | lib/presentation/pages/home/home_page_cubit.dart | Dart | www.github.com/kubastick/tiny-hn/tree/main/lib/presentation/pages/home/home_page_cubit.dart | https://raw.githubusercontent.com/kubastick/tiny-hn/1df26a5/lib/presentation/pages/home/home_page_cubit.dart | kubastick/tiny-hn 1df26a5 lib/presentation/pages/home/home_page_cubit.dart | true | 200 | 790 | import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:injectable/injectable.dart';
import 'package:tiny_hn/domain/hacker_news/models/story.dart';
import 'package:tiny_hn/domain/hacker_news/use_cases/fetch_stories_use_case.dart';
part 'home_page_cu... | 7 |
MANISH-MAHESH-TALREJA/TIRANGA | 734f68f | lib/SubCategory.dart | Dart | www.github.com/MANISH-MAHESH-TALREJA/TIRANGA/tree/main/lib/SubCategory.dart | https://raw.githubusercontent.com/MANISH-MAHESH-TALREJA/TIRANGA/734f68f/lib/SubCategory.dart | MANISH-MAHESH-TALREJA/TIRANGA 734f68f lib/SubCategory.dart | true | 200 | 3,718 | import 'package:flutter/material.dart';
import 'package:pokemon/MainPages/PortraitPages/SecondPage.dart';
import 'Constants.dart';
import 'FirstTabPages/ParentPages/ImageFiles.dart';
import 'FirstTabPages/ParentPages/NationalSongs.dart';
import 'GeneralUtilityFunctions.dart';
import 'MainPages/Other/AppBarDrawer.dart';... | 0 |
iqbalrahman900/najia_app | a6e42cb | lib/screens/quran/quran_audio/play_audio.dart | Dart | www.github.com/iqbalrahman900/najia_app/tree/main/lib/screens/quran/quran_audio/play_audio.dart | https://raw.githubusercontent.com/iqbalrahman900/najia_app/a6e42cb/lib/screens/quran/quran_audio/play_audio.dart | iqbalrahman900/najia_app a6e42cb lib/screens/quran/quran_audio/play_audio.dart | true | 200 | 7,247 | import 'package:audio_session/audio_session.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:just_audio/just_audio.dart';
import 'package:rxdart/rxdart.dart';
import 'package:na... | 2 |
Arsen20000/Kazarman_jarnama | 4590154 | lib/view/main_view.dart | Dart | www.github.com/Arsen20000/Kazarman_jarnama/tree/main/lib/view/main_view.dart | https://raw.githubusercontent.com/Arsen20000/Kazarman_jarnama/4590154/lib/view/main_view.dart | Arsen20000/Kazarman_jarnama 4590154 lib/view/main_view.dart | true | 200 | 3,287 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import '../models/product_model.dart';
import 'drawer_view/drawer_view.dart';
import 'login_view/login_view.dart';
class MainView extends StatelessWidget {
const MainView({super.key... | 6 |
Youssef-Khorshed/food_order | 0fd85b9 | lib/core/style/styles.dart | Dart | www.github.com/Youssef-Khorshed/food_order/tree/main/lib/core/style/styles.dart | https://raw.githubusercontent.com/Youssef-Khorshed/food_order/0fd85b9/lib/core/style/styles.dart | Youssef-Khorshed/food_order 0fd85b9 lib/core/style/styles.dart | true | 200 | 3,254 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:food_order/core/theme/colors.dart';
class AppStyle {
static TextStyle style48w800WhiteNeutralWhite = TextStyle(
fontSize: 48.sp,
fontFamily: "AbhayaLibreExtraBold",
fontWeight: FontW... | 1 |
Tommyval/widows_challenge | 4c7c7cb | lib/ui/widgets/graphChat/pieChart/ngomembership/ngomembership_model.dart | Dart | www.github.com/Tommyval/widows_challenge/tree/main/lib/ui/widgets/graphChat/pieChart/ngomembership/ngomembership_model.dart | https://raw.githubusercontent.com/Tommyval/widows_challenge/4c7c7cb/lib/ui/widgets/graphChat/pieChart/ngomembership/ngomembership_model.dart | Tommyval/widows_challenge 4c7c7cb lib/ui/widgets/graphChat/pieChart/ngomembership/ngomembership_model.dart | true | 200 | 656 | import 'package:stacked/stacked.dart';
import '../../../../../core/Models/ngomembership_model.dart';
import '../../../../../app/app_setup.locator.dart';
import '../../../../../core/services/api/widowsdata_service.dart';
class NGOStatusModel extends BaseViewModel {
WidowsDataService widowsDataService =
locator... | 3 |
JMDBay/InternHeroesMobileApp | df5652c | Flutter-Firebase-Series-main/lib/features/user_auth/presentation/pages/knowledge.dart | Dart | www.github.com/JMDBay/InternHeroesMobileApp/tree/main/Flutter-Firebase-Series-main/lib/features/user_auth/presentation/pages/knowledge.dart | https://raw.githubusercontent.com/JMDBay/InternHeroesMobileApp/df5652c/Flutter-Firebase-Series-main/lib/features/user_auth/presentation/pages/knowledge.dart | JMDBay/InternHeroesMobileApp df5652c Flutter-Firebase-Series-main/lib/features/user_auth/presentation/pages/knowledge.dart | true | 200 | 10,382 | import 'package:flutter/material.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:InternHeroes/features/user_auth/presentation/pages/home_page.dart';
import 'package:InternHeroes/features/user_auth/presentation/pages/addpost.dart';
import '... | 4 |
jmcerezodev/cinemapedia | 519873e | lib/presentation/providers/movies/initial_loading.provider.dart | Dart | www.github.com/jmcerezodev/cinemapedia/tree/main/lib/presentation/providers/movies/initial_loading.provider.dart | https://raw.githubusercontent.com/jmcerezodev/cinemapedia/519873e/lib/presentation/providers/movies/initial_loading.provider.dart | jmcerezodev/cinemapedia 519873e lib/presentation/providers/movies/initial_loading.provider.dart | true | 200 | 507 | import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:cinemapedia/presentation/providers/movies/movies_providers.dart';
final initialLoadingProvider = Provider<bool>((ref){
final step1 = ref.watch(nowPlayingMoviesProvider).isEmpty;
final step2 = ref.watch(popularMoviesProvider).isEmpty;
fin... | 5 |
Guojian-Wang/268-app-router | ec047e8 | lib/authentication/authentication_bloc.dart | Dart | www.github.com/Guojian-Wang/268-app-router/tree/main/lib/authentication/authentication_bloc.dart | https://raw.githubusercontent.com/Guojian-Wang/268-app-router/ec047e8/lib/authentication/authentication_bloc.dart | Guojian-Wang/268-app-router ec047e8 lib/authentication/authentication_bloc.dart | true | 200 | 410 | import 'package:flutter_bloc/flutter_bloc.dart';
import 'authentication_event.dart';
import 'authentication_state.dart';
class AuthenticationBloc extends Bloc<AuthenticationEvent, AuthenticationState> {
AuthenticationBloc() : super(AuthenticationInitial()) {
on<LogInEvent>((event, emit) => emit(Authentication... | 7 |
ferjmc/religion_amigo | 3c4d023 | lib/features/presentation/page/post/widget/upload_post_main_widget.dart | Dart | www.github.com/ferjmc/religion_amigo/tree/main/lib/features/presentation/page/post/widget/upload_post_main_widget.dart | https://raw.githubusercontent.com/ferjmc/religion_amigo/3c4d023/lib/features/presentation/page/post/widget/upload_post_main_widget.dart | ferjmc/religion_amigo 3c4d023 lib/features/presentation/page/post/widget/upload_post_main_widget.dart | true | 200 | 5,992 | import 'dart:io';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:image_picker/image_picker.dart';
import 'package:religion_amigo/consts.dart';
import 'package:religion_amigo/features/domain/entities/post_en... | 3 |
AmritRandhawaJi/license_plate_number | fd3266d | lib/Utils/auth_errors.dart | Dart | www.github.com/AmritRandhawaJi/license_plate_number/tree/main/lib/Utils/auth_errors.dart | https://raw.githubusercontent.com/AmritRandhawaJi/license_plate_number/fd3266d/lib/Utils/auth_errors.dart | AmritRandhawaJi/license_plate_number fd3266d lib/Utils/auth_errors.dart | true | 200 | 619 | import 'package:another_flushbar/flushbar.dart';
import 'package:another_flushbar/flushbar_route.dart';
import 'package:flutter/material.dart';
class Messege {
static void flushBarAuth(String message, BuildContext context,Icon icon) {
showFlushbar(context: context, flushbar: Flushbar(
icon: icon,
mes... | 6 |
Bibani-Jihed/CryptoCollect | 1d6d57b | lib/utils/themes.dart | Dart | www.github.com/Bibani-Jihed/CryptoCollect/tree/main/lib/utils/themes.dart | https://raw.githubusercontent.com/Bibani-Jihed/CryptoCollect/1d6d57b/lib/utils/themes.dart | Bibani-Jihed/CryptoCollect 1d6d57b lib/utils/themes.dart | true | 200 | 915 | import 'package:flutter/material.dart';
final darkTheme = ThemeData(
scaffoldBackgroundColor: const Color(0xff161719),
primaryColor: const Color.fromARGB(255, 247, 247, 243),
secondaryHeaderColor: const Color(0xff161719),
textTheme:
textTheme.apply(bodyColor: Colors.white, displayColor: Colors.white),
);... | 1 |
nergiztopaloglu/menu | 73107af | lib/main.dart | Dart | www.github.com/nergiztopaloglu/menu/tree/main/lib/main.dart | https://raw.githubusercontent.com/nergiztopaloglu/menu/73107af/lib/main.dart | nergiztopaloglu/menu 73107af lib/main.dart | true | 200 | 3,082 | import 'package:flutter/material.dart';
import 'package:menu/DetaySayfa.dart';
import 'package:menu/Yemekler.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
debugShowCheckedMod... | 0 |
mohsen-w-elsisi/wardrobe_app | 6e3984f | lib/outfit/backend/manager.dart | Dart | www.github.com/mohsen-w-elsisi/wardrobe_app/tree/main/lib/outfit/backend/manager.dart | https://raw.githubusercontent.com/mohsen-w-elsisi/wardrobe_app/6e3984f/lib/outfit/backend/manager.dart | mohsen-w-elsisi/wardrobe_app 6e3984f lib/outfit/backend/manager.dart | true | 200 | 1,792 | import 'package:flutter/material.dart';
import 'outfit.dart';
class OutfitManager with ChangeNotifier {
final OutfitStorageAgent _storageAgent;
late List<Outfit> _outfits;
OutfitManager({
required OutfitStorageAgent storageAgent,
}) : _storageAgent = storageAgent {
_outfits = storageAgent.presavedOut... | 2 |
samsaie/aviz_application | f219ec0 | lib/features/home/data/repository/home_repository.dart | Dart | www.github.com/samsaie/aviz_application/tree/main/lib/features/home/data/repository/home_repository.dart | https://raw.githubusercontent.com/samsaie/aviz_application/f219ec0/lib/features/home/data/repository/home_repository.dart | samsaie/aviz_application f219ec0 lib/features/home/data/repository/home_repository.dart | true | 200 | 1,057 | import 'package:dartz/dartz.dart';
import '../../../../networkUtil/api_exception.dart';
import '../dataSource/home_dataSource.dart';
import '../model/promotion.dart';
abstract class IHomeRepository {
Future<Either<String, List<Promotion>>> getHotPromotion();
Future<Either<String, List<Promotion>>> getLatestPromot... | 4 |
Bakai12/Weather | 4a05064 | lib/widgets/weather_widgets.dart | Dart | www.github.com/Bakai12/Weather/tree/main/lib/widgets/weather_widgets.dart | https://raw.githubusercontent.com/Bakai12/Weather/4a05064/lib/widgets/weather_widgets.dart | Bakai12/Weather 4a05064 lib/widgets/weather_widgets.dart | true | 200 | 5,018 | import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
import 'package:weather/weather.dart';
import 'package:weather_app/constants/city_constants.dart';
class WeatherUI extends StatelessWidget {
final String backgroundImagePath;
final Weather weather;
final String selectedCity;
final Functio... | 5 |
Kingkobi01/Yard-Sales | c872c11 | lib/pages/add_item/add_item_model.dart | Dart | www.github.com/Kingkobi01/Yard-Sales/tree/main/lib/pages/add_item/add_item_model.dart | https://raw.githubusercontent.com/Kingkobi01/Yard-Sales/c872c11/lib/pages/add_item/add_item_model.dart | Kingkobi01/Yard-Sales c872c11 lib/pages/add_item/add_item_model.dart | true | 200 | 4,236 | import '/backend/backend.dart';
import '/components/to_cart/to_cart_widget.dart';
import '/flutter_flow/flutter_flow_util.dart';
import 'add_item_widget.dart' show AddItemWidget;
import 'package:flutter/material.dart';
class AddItemModel extends FlutterFlowModel<AddItemWidget> {
/// Local state fields for this page... | 7 |
roxas1533/niconico_player | 43c61bb | lib/contents/mylist/mylist.dart | Dart | www.github.com/roxas1533/niconico_player/tree/main/lib/contents/mylist/mylist.dart | https://raw.githubusercontent.com/roxas1533/niconico_player/43c61bb/lib/contents/mylist/mylist.dart | roxas1533/niconico_player 43c61bb lib/contents/mylist/mylist.dart | true | 200 | 8,392 | import 'package:cached_network_image/cached_network_image.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_html/flutter_html.dart';
import 'package:niconico/constant.dart';
import 'package:niconico/contents/parts/utls/common.dart';
import 'package:niconico/... | 6 |
sb-dor/FTube | d19c4a8 | lib/features/library_screen/domain/repository/library_screen_repository.dart | Dart | www.github.com/sb-dor/FTube/tree/main/lib/features/library_screen/domain/repository/library_screen_repository.dart | https://raw.githubusercontent.com/sb-dor/FTube/d19c4a8/lib/features/library_screen/domain/repository/library_screen_repository.dart | sb-dor/FTube d19c4a8 lib/features/library_screen/domain/repository/library_screen_repository.dart | true | 200 | 847 | import 'package:youtube/core/db/base_video_model_db/base_video_model_db.dart';
import 'package:youtube/core/db/playlists_db/playlist_model_db/playlist_model_db.dart';
import 'package:youtube/core/youtube_data_api/models/playlist.dart';
import 'package:youtube/core/youtube_data_api/models/video.dart';
abstract class Li... | 1 |
bengidev/Flutter_Experimental_Projects | e26e697 | Flutter_Weather_Sense_MVVM_BLoC/test/features/daily_weather_forecast/models/daily_weather_forecast_model/daily_units_test.dart | Dart | www.github.com/bengidev/Flutter_Experimental_Projects/tree/main/Flutter_Weather_Sense_MVVM_BLoC/test/features/daily_weather_forecast/models/daily_weather_forecast_model/daily_units_test.dart | https://raw.githubusercontent.com/bengidev/Flutter_Experimental_Projects/e26e697/Flutter_Weather_Sense_MVVM_BLoC/test/features/daily_weather_forecast/models/daily_weather_forecast_model/daily_units_test.dart | bengidev/Flutter_Experimental_Projects e26e697 Flutter_Weather_Sense_MVVM_BLoC/test/features/daily_weather_forecast/models/daily_weather_forecast_model/daily_units_test.dart | true | 200 | 3,092 | import 'dart:convert';
import 'package:flutter_test/flutter_test.dart';
import 'package:flutter_weather_sense_mvvm_bloc/features/daily_weather_forecast/models/daily_weather_forecast_model_barrel.dart';
void main() async {
String buildRawJsonResults() {
return '''
{"time":"iso8601","weathercode":"wmo code","... | 0 |
SoonhanSaram/Biz_Flutter_2023_02 | d4f1b2a | regist/lib/main.dart | Dart | www.github.com/SoonhanSaram/Biz_Flutter_2023_02/tree/main/regist/lib/main.dart | https://raw.githubusercontent.com/SoonhanSaram/Biz_Flutter_2023_02/d4f1b2a/regist/lib/main.dart | SoonhanSaram/Biz_Flutter_2023_02 d4f1b2a regist/lib/main.dart | true | 200 | 9,536 | import 'package:firebase_auth/firebase_auth.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:google_sign_in/google_sign_in.dart';
import 'package:regist/calendar.dart';
import 'package:regist/dto/reselvation_info.dart';
import 'package:regist/membership_r... | 2 |
HS-OS-AG-Intelligente-Agrarsysteme/AW40-hub-docker | 4f0f2af | frontend/app/test/services/config_service_test.dart | Dart | www.github.com/HS-OS-AG-Intelligente-Agrarsysteme/AW40-hub-docker/tree/main/frontend/app/test/services/config_service_test.dart | https://raw.githubusercontent.com/HS-OS-AG-Intelligente-Agrarsysteme/AW40-hub-docker/4f0f2af/frontend/app/test/services/config_service_test.dart | HS-OS-AG-Intelligente-Agrarsysteme/AW40-hub-docker 4f0f2af frontend/app/test/services/config_service_test.dart | true | 200 | 3,549 | import "package:aw40_hub_frontend/exceptions/app_exception.dart";
import "package:aw40_hub_frontend/services/config_service.dart";
import "package:aw40_hub_frontend/utils/enums.dart";
import "package:collection/collection.dart";
import "package:flutter_test/flutter_test.dart";
import "package:logging/logging.dart";
vo... | 4 |
mathislebel/FlutterLearning | 4bbab33 | dating_app/datingapp/lib/Password.dart | Dart | www.github.com/mathislebel/FlutterLearning/tree/main/dating_app/datingapp/lib/Password.dart | https://raw.githubusercontent.com/mathislebel/FlutterLearning/4bbab33/dating_app/datingapp/lib/Password.dart | mathislebel/FlutterLearning 4bbab33 dating_app/datingapp/lib/Password.dart | true | 200 | 2,967 | import 'dart:ui';
import 'package:datingapp/Profile.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:http/http.dart';
import 'package:datingapp/widget/delayAnimation.dart';
class MyPassword extends StatefulWidget {
const ... | 5 |
Robel-azmera/Giftshop-Application | ad97295 | lib/screens/splash/widgets/splash_bottom_text.dart | Dart | www.github.com/Robel-azmera/Giftshop-Application/tree/main/lib/screens/splash/widgets/splash_bottom_text.dart | https://raw.githubusercontent.com/Robel-azmera/Giftshop-Application/ad97295/lib/screens/splash/widgets/splash_bottom_text.dart | Robel-azmera/Giftshop-Application ad97295 lib/screens/splash/widgets/splash_bottom_text.dart | true | 200 | 810 | import 'package:flutter/material.dart';
import 'package:lezemed_mobile_app/config/size.dart';
class SplashBottomText extends StatelessWidget {
// const SplashBottomText({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Container(
padding:
EdgeInsets.symmetr... | 7 |
ErenBal1/Apart-Asistan | 0820f67 | lib/pages/admin/elevator_gelen_kutusu.dart | Dart | www.github.com/ErenBal1/Apart-Asistan/tree/main/lib/pages/admin/elevator_gelen_kutusu.dart | https://raw.githubusercontent.com/ErenBal1/Apart-Asistan/0820f67/lib/pages/admin/elevator_gelen_kutusu.dart | ErenBal1/Apart-Asistan 0820f67 lib/pages/admin/elevator_gelen_kutusu.dart | true | 200 | 6,455 | import 'package:apart_asistan/service/auth_service.dart';
import 'package:apart_asistan/utils/custom_colors.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
import 'package:iconly/iconly.dart';
class ElevatorGelenKu... | 3 |
LFBRxD/app_ponto_grupohdi | e27d0f2 | lib/core/API.dart | Dart | www.github.com/LFBRxD/app_ponto_grupohdi/tree/main/lib/core/API.dart | https://raw.githubusercontent.com/LFBRxD/app_ponto_grupohdi/e27d0f2/lib/core/API.dart | LFBRxD/app_ponto_grupohdi e27d0f2 lib/core/API.dart | true | 200 | 3,107 | import 'dart:convert';
import 'package:app_grupohdi/core/UserPreferencesManager.dart';
import 'package:flutter/cupertino.dart';
import 'package:http/http.dart' as http;
import 'package:jwt_decoder/jwt_decoder.dart';
import '../entitys/Batidas.dart';
import 'GhdiAppConstants.dart';
class API {
static const _baseURL... | 6 |
susmoydutta/e_commerce | 240f1c8 | lib/presentation/state_holders/complete_create_profile_controller.dart | Dart | www.github.com/susmoydutta/e_commerce/tree/main/lib/presentation/state_holders/complete_create_profile_controller.dart | https://raw.githubusercontent.com/susmoydutta/e_commerce/240f1c8/lib/presentation/state_holders/complete_create_profile_controller.dart | susmoydutta/e_commerce 240f1c8 lib/presentation/state_holders/complete_create_profile_controller.dart | true | 200 | 1,024 | import 'dart:developer';
import 'package:e_commerce/data/%20utilits/urls.dart';
import 'package:e_commerce/data/models/create_profile_data.dart';
import 'package:e_commerce/data/models/network_response.dart';
import 'package:e_commerce/data/network_caller/network_caller.dart';
import 'package:get/get.dart';
class Comp... | 0 |
itsFanix/playVerse | 19c0572 | lib/src/categories/sensors/ballMov.dart/Target.dart | Dart | www.github.com/itsFanix/playVerse/tree/main/lib/src/categories/sensors/ballMov.dart/Target.dart | https://raw.githubusercontent.com/itsFanix/playVerse/19c0572/lib/src/categories/sensors/ballMov.dart/Target.dart | itsFanix/playVerse 19c0572 lib/src/categories/sensors/ballMov.dart/Target.dart | true | 200 | 524 |
import 'package:flutter/material.dart';
class Target extends StatelessWidget{
final double targetX;
final double targetY;
final color;
const Target({super.key, required this.targetX, required this.targetY, this.color});
@override
Widget build(BuildContext context) {
return Container(
align... | 1 |
alfharisqi/navigasiflutter | 60e93d7 | lib/pages/item_page.dart | Dart | www.github.com/alfharisqi/navigasiflutter/tree/main/lib/pages/item_page.dart | https://raw.githubusercontent.com/alfharisqi/navigasiflutter/60e93d7/lib/pages/item_page.dart | alfharisqi/navigasiflutter 60e93d7 lib/pages/item_page.dart | true | 200 | 965 | // lib/item_page.dart
import 'package:flutter/material.dart';
import 'package:navigasiflutter/model/item.dart';
class ItemPage extends StatelessWidget {
final Item item;
ItemPage({required this.item});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Te... | 4 |
Sahalmp/Doctorbuddy-doctor | a1b7bd7 | lib/view/search.dart | Dart | www.github.com/Sahalmp/Doctorbuddy-doctor/tree/main/lib/view/search.dart | https://raw.githubusercontent.com/Sahalmp/Doctorbuddy-doctor/a1b7bd7/lib/view/search.dart | Sahalmp/Doctorbuddy-doctor a1b7bd7 lib/view/search.dart | true | 200 | 5,040 | import 'dart:convert';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:prodoctor/model/colors.dart';
import 'package:prodoctor/view/patientdetails.dart';
class CustomSearch... | 7 |
anabil-inbox/mini_mobile_devlop | 13ee1ee | lib/feature/view/screens/auth/auth_company/widget/company_sector_item_widget.dart | Dart | www.github.com/anabil-inbox/mini_mobile_devlop/tree/main/lib/feature/view/screens/auth/auth_company/widget/company_sector_item_widget.dart | https://raw.githubusercontent.com/anabil-inbox/mini_mobile_devlop/13ee1ee/lib/feature/view/screens/auth/auth_company/widget/company_sector_item_widget.dart | anabil-inbox/mini_mobile_devlop 13ee1ee lib/feature/view/screens/auth/auth_company/widget/company_sector_item_widget.dart | true | 200 | 1,104 | import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
import 'package:inbox_clients/feature/model/app_setting_modle.dart';
import 'package:inbox_clients/util/app_color.dart';
import 'package:inbox_clients/util/app_dimen.dart';
import '../../../../../../util/app_shaerd_data.dart';
class Compa... | 3 |
AboutaibDev/Nike-App | eec3d3e | lib/pages/home_page.dart | Dart | www.github.com/AboutaibDev/Nike-App/tree/main/lib/pages/home_page.dart | https://raw.githubusercontent.com/AboutaibDev/Nike-App/eec3d3e/lib/pages/home_page.dart | AboutaibDev/Nike-App eec3d3e lib/pages/home_page.dart | true | 200 | 4,187 | // ignore_for_file: prefer_const_literals_to_create_immutables, prefer_const_constructors
import 'package:eco_app/componenets/bottom_navbar.dart';
import 'package:eco_app/pages/cart_page.dart';
import 'package:eco_app/pages/shop_page.dart';
import 'package:flutter/material.dart';
class HomePage extends StatefulWidget... | 2 |
mohd-mb2205153/yalapay | 915d45e | phase1/yalapay/lib/styling/background.dart | Dart | www.github.com/mohd-mb2205153/yalapay/tree/main/phase1/yalapay/lib/styling/background.dart | https://raw.githubusercontent.com/mohd-mb2205153/yalapay/915d45e/phase1/yalapay/lib/styling/background.dart | mohd-mb2205153/yalapay 915d45e phase1/yalapay/lib/styling/background.dart | true | 200 | 2,003 | import 'dart:ui';
import 'package:flutter/material.dart';
import 'package:yalapay/constants/constants.dart';
Widget blurredGradientBackground(BuildContext context) {
return Stack(
children: [
Align(
alignment: const AlignmentDirectional(20, -1.2),
child: Container(
height: MediaQu... | 6 |
mardiansyah17/qur_an | 9478a43 | lib/src/features/prayer_time/presentation/widgets/location_and_date_widget.dart | Dart | www.github.com/mardiansyah17/qur_an/tree/main/lib/src/features/prayer_time/presentation/widgets/location_and_date_widget.dart | https://raw.githubusercontent.com/mardiansyah17/qur_an/9478a43/lib/src/features/prayer_time/presentation/widgets/location_and_date_widget.dart | mardiansyah17/qur_an 9478a43 lib/src/features/prayer_time/presentation/widgets/location_and_date_widget.dart | true | 200 | 2,896 | import 'package:calendar_date_picker2/calendar_date_picker2.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:qur_an/src/core/config/datepicker_config.dart';
import 'package:qur_an/src/core/theme/app_pallete.dart';
import 'package:qur_an/src/features/prayer_... | 1 |
hheinsoee/wpFlutter | bb187e7 | lib/home_screen.dart | Dart | www.github.com/hheinsoee/wpFlutter/tree/main/lib/home_screen.dart | https://raw.githubusercontent.com/hheinsoee/wpFlutter/bb187e7/lib/home_screen.dart | hheinsoee/wpFlutter bb187e7 lib/home_screen.dart | true | 200 | 2,928 | import 'package:a/myProfile_screen.dart';
import 'package:a/wp.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
class HomeScreen extends StatefulWidget {
HomeScreen({super.key});
static const TextStyle optionStyle = TextStyle(
fontSize: 30, fontWeight: FontWeight.bold, c... | 5 |
ahmed-shorbagy/WeatheApp | 61568d1 | lib/screens/search_page.dart | Dart | www.github.com/ahmed-shorbagy/WeatheApp/tree/main/lib/screens/search_page.dart | https://raw.githubusercontent.com/ahmed-shorbagy/WeatheApp/61568d1/lib/screens/search_page.dart | ahmed-shorbagy/WeatheApp 61568d1 lib/screens/search_page.dart | true | 200 | 1,858 | import 'package:flutter/material.dart';
import 'package:flutter/src/widgets/framework.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:provider/provider.dart';
import 'package:weather_app/cubits/weather_cubits/weather_cubit.dart';
import 'package:weather_app/models/weatherData_model.dart';
impor... | 0 |
Syed-A-Naqvi/mobile_development | 4ec536d | week2/2a_myTest_updated.dart | Dart | www.github.com/Syed-A-Naqvi/mobile_development/tree/main/week2/2a_myTest_updated.dart | https://raw.githubusercontent.com/Syed-A-Naqvi/mobile_development/4ec536d/week2/2a_myTest_updated.dart | Syed-A-Naqvi/mobile_development 4ec536d week2/2a_myTest_updated.dart | true | 200 | 5,883 | import 'dart:ffi';
void main() {
//VARIABLES *******************
String var1 = "ali";
String var2 = 'ali';
int x = 20;
bool b = true;
double mynumber = 3;
//mynumber = "ali" -> this will generate an error because mynumber is statically typed as double
print(mynumber + 1); //A? = 4
print(mynumber++); ... | 4 |
fadillaoegi/Dil-money-record | 704f8e2 | lib/module/data/sources/history_source.dart | Dart | www.github.com/fadillaoegi/Dil-money-record/tree/main/lib/module/data/sources/history_source.dart | https://raw.githubusercontent.com/fadillaoegi/Dil-money-record/704f8e2/lib/module/data/sources/history_source.dart | fadillaoegi/Dil-money-record 704f8e2 lib/module/data/sources/history_source.dart | true | 200 | 5,675 | // ignore_for_file: curly_braces_in_flow_control_structures, avoid_print, unnecessary_string_interpolations
import 'package:dilrecord_money/config/apis.dart';
import 'package:dilrecord_money/config/app_request_config.dart';
import 'package:dilrecord_money/module/data/models/history.dart';
import 'package:get/get.dart';... | 7 |
Marwansalem122/cafit | 0732571 | lib/common/widgets/buttons/tab_button.dart | Dart | www.github.com/Marwansalem122/cafit/tree/main/lib/common/widgets/buttons/tab_button.dart | https://raw.githubusercontent.com/Marwansalem122/cafit/0732571/lib/common/widgets/buttons/tab_button.dart | Marwansalem122/cafit 0732571 lib/common/widgets/buttons/tab_button.dart | true | 200 | 2,482 | import 'package:cafit/common/helper/color_extension.dart';
import 'package:cafit/core/config/size_config.dart';
import 'package:cafit/core/resourses/height_size_manager.dart';
import 'package:cafit/core/resourses/width_size_manager.dart';
import 'package:flutter/material.dart';
class TabButton extends StatelessWidget... | 3 |
nStevenH/app_cinemovida | 304c444 | lib/src/features/presentation/widgets/appbar_widget.dart | Dart | www.github.com/nStevenH/app_cinemovida/tree/main/lib/src/features/presentation/widgets/appbar_widget.dart | https://raw.githubusercontent.com/nStevenH/app_cinemovida/304c444/lib/src/features/presentation/widgets/appbar_widget.dart | nStevenH/app_cinemovida 304c444 lib/src/features/presentation/widgets/appbar_widget.dart | true | 200 | 679 | import 'package:flutter/material.dart';
class AppBarWidget extends StatelessWidget implements PreferredSizeWidget {
final VoidCallback? onPressed;
final Widget title;
const AppBarWidget({
Key? key,
this.icon,
required this.onPressed,
required this.title,
this.leading
}) : super(key: key);... | 1 |
whiteSHADOW1234/CafedentialApp | 690cc29 | test/widget_tests/page_widget_test.dart | Dart | www.github.com/whiteSHADOW1234/CafedentialApp/tree/main/test/widget_tests/page_widget_test.dart | https://raw.githubusercontent.com/whiteSHADOW1234/CafedentialApp/690cc29/test/widget_tests/page_widget_test.dart | whiteSHADOW1234/CafedentialApp 690cc29 test/widget_tests/page_widget_test.dart | true | 200 | 3,470 | import 'package:cafedential/MainPageScreen/edit_coffee_info_page.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:mockito/mockito.dart';
import 'package:cafedential/MainPageScreen/add_coffee_page.dart';
import 'package:cafedential/MainPageScreen/card_page.d... | 6 |
haibuiorg/housing-management-flutter | 4d0bc28 | lib/core/notification/usescases/get_notification_messages.dart | Dart | www.github.com/haibuiorg/housing-management-flutter/tree/main/lib/core/notification/usescases/get_notification_messages.dart | https://raw.githubusercontent.com/haibuiorg/housing-management-flutter/4d0bc28/lib/core/notification/usescases/get_notification_messages.dart | haibuiorg/housing-management-flutter 4d0bc28 lib/core/notification/usescases/get_notification_messages.dart | true | 200 | 1,088 | import 'package:equatable/equatable.dart';
import 'package:priorli/core/base/result.dart';
import 'package:priorli/core/base/usecase.dart';
import 'package:priorli/core/notification/entities/notification_message.dart';
import 'package:priorli/core/notification/repos/notification_message_repository.dart';
class GetNoti... | 2 |
nurlanabdyrakhman/techno_catalog | aa002dd | lib/widgets/item_widget.dart | Dart | www.github.com/nurlanabdyrakhman/techno_catalog/tree/main/lib/widgets/item_widget.dart | https://raw.githubusercontent.com/nurlanabdyrakhman/techno_catalog/aa002dd/lib/widgets/item_widget.dart | nurlanabdyrakhman/techno_catalog aa002dd lib/widgets/item_widget.dart | true | 200 | 720 |
import 'package:flutter/material.dart';
import 'package:techno_catalog/models/catalog.dart';
class ItemWidget extends StatelessWidget {
const ItemWidget({super.key, required this.item}):assert(item!=null);
final Item item;
@override
Widget build(BuildContext context) {
return Card(
child: L... | 0 |
Naresh0825/webshopflutter | 9add433 | lib/view/group/widget/appbar_widget_item_page.dart | Dart | www.github.com/Naresh0825/webshopflutter/tree/main/lib/view/group/widget/appbar_widget_item_page.dart | https://raw.githubusercontent.com/Naresh0825/webshopflutter/9add433/lib/view/group/widget/appbar_widget_item_page.dart | Naresh0825/webshopflutter 9add433 lib/view/group/widget/appbar_widget_item_page.dart | true | 200 | 2,593 | import 'package:flutter/material.dart';
import 'package:webshop/commons/exporter.dart';
import 'package:webshop/view/homepage/home_screen.dart';
import 'package:webshop/widgets/search_widgets.dart';
class ItemAppBarWidget extends StatelessWidget {
const ItemAppBarWidget({
Key? key,
required this.searchContro... | 5 |
Muneebahmadno1/shower_tracking | c31f1ef | lib/screens/calendar/habits_screen.dart | Dart | www.github.com/Muneebahmadno1/shower_tracking/tree/main/lib/screens/calendar/habits_screen.dart | https://raw.githubusercontent.com/Muneebahmadno1/shower_tracking/c31f1ef/lib/screens/calendar/habits_screen.dart | Muneebahmadno1/shower_tracking c31f1ef lib/screens/calendar/habits_screen.dart | true | 200 | 3,517 | import 'package:awesome_dialog/awesome_dialog.dart';
import 'package:awesome_notifications/awesome_notifications.dart';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:too_cool/screens/calendar/CalenderScreen.dart';
import 'package:too_cool/screens/calendar/habits_manage... | 4 |
AliJawadSubhan/web-sample | ee80434 | lib/layout_builder_resp/mobile_Screen.dart | Dart | www.github.com/AliJawadSubhan/web-sample/tree/main/lib/layout_builder_resp/mobile_Screen.dart | https://raw.githubusercontent.com/AliJawadSubhan/web-sample/ee80434/lib/layout_builder_resp/mobile_Screen.dart | AliJawadSubhan/web-sample ee80434 lib/layout_builder_resp/mobile_Screen.dart | true | 200 | 1,562 | import 'package:flutter/material.dart';
import 'package:webdesign/constants.dart';
import '../widgets/box.dart';
import '../widgets/tile.dart';
class MobileScreenLayout extends StatefulWidget {
const MobileScreenLayout({super.key});
@override
State<MobileScreenLayout> createState() => _MobileScreenLayoutState(... | 3 |
TheBombh2/chairty_platform | 7d31335 | lib/models/document.dart | Dart | www.github.com/TheBombh2/chairty_platform/tree/main/lib/models/document.dart | https://raw.githubusercontent.com/TheBombh2/chairty_platform/7d31335/lib/models/document.dart | TheBombh2/chairty_platform 7d31335 lib/models/document.dart | true | 200 | 491 | import 'dart:io';
class Document {
final String documentName;
final File documentPath;
String? docUrl;
Document({required this.documentName, required this.documentPath});
Map<String, dynamic> toJson() {
return {
'documentName': documentName,
'documentPath': docUrl,
};
}
factory ... | 7 |
MohamedRefaat90/Mentorship-E1-G2 | 97586ad | lib/features/launchpads/data/repo/launchpad_repo.dart | Dart | www.github.com/MohamedRefaat90/Mentorship-E1-G2/tree/main/lib/features/launchpads/data/repo/launchpad_repo.dart | https://raw.githubusercontent.com/MohamedRefaat90/Mentorship-E1-G2/97586ad/lib/features/launchpads/data/repo/launchpad_repo.dart | MohamedRefaat90/Mentorship-E1-G2 97586ad lib/features/launchpads/data/repo/launchpad_repo.dart | true | 200 | 645 | import 'package:spacexx/core/networking/api_error_handler.dart';
import 'package:spacexx/core/networking/api_result.dart';
import 'package:spacexx/core/networking/api_services.dart';
import 'package:spacexx/features/launchpads/data/models/lanuchpad_model.dart';
class LaunchpadRepo {
final ApiService _apiService;
... | 1 |
Malhesidek/ToDo-Draft | 8441242 | lib/business_logic/task_list_bloc/bloc/task_list_event.dart | Dart | www.github.com/Malhesidek/ToDo-Draft/tree/main/lib/business_logic/task_list_bloc/bloc/task_list_event.dart | https://raw.githubusercontent.com/Malhesidek/ToDo-Draft/8441242/lib/business_logic/task_list_bloc/bloc/task_list_event.dart | Malhesidek/ToDo-Draft 8441242 lib/business_logic/task_list_bloc/bloc/task_list_event.dart | true | 200 | 264 | // ignore_for_file: public_member_api_docs, sort_constructors_first
part of 'task_list_bloc.dart';
abstract class TaskListEvent {}
class TaskListAddedTaskEvent extends TaskListEvent {
final Task task;
TaskListAddedTaskEvent({
required this.task,
});
}
| 5 |
rodgav/user_cedtodo | 421974b | lib/startapp/data/network/error_handler.dart | Dart | www.github.com/rodgav/user_cedtodo/tree/main/lib/startapp/data/network/error_handler.dart | https://raw.githubusercontent.com/rodgav/user_cedtodo/421974b/lib/startapp/data/network/error_handler.dart | rodgav/user_cedtodo 421974b lib/startapp/data/network/error_handler.dart | true | 200 | 21,017 | import 'package:appwrite/appwrite.dart';
import 'package:flutter/foundation.dart';
import 'package:user_cedtodo/startapp/data/network/failure.dart';
import 'package:user_cedtodo/startapp/internationalization/intl/l10n.dart';
class ErrorHandler {
late Failure failure;
ErrorHandler.handle(dynamic error, S s) {
... | 6 |
vogelFritz/widgets_app | 6af9cd7 | lib/presentation/screens/snackbar/snackbar_screen.dart | Dart | www.github.com/vogelFritz/widgets_app/tree/main/lib/presentation/screens/snackbar/snackbar_screen.dart | https://raw.githubusercontent.com/vogelFritz/widgets_app/6af9cd7/lib/presentation/screens/snackbar/snackbar_screen.dart | vogelFritz/widgets_app 6af9cd7 lib/presentation/screens/snackbar/snackbar_screen.dart | true | 200 | 2,230 | import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
class SnackbarScreen extends StatelessWidget {
static const name = 'snackbar_screen';
const SnackbarScreen({super.key});
void showCustomSnackbar(BuildContext context) {
final snackBar = SnackBar(
content: const Text('... | 2 |
ebubechi/notes | dd33ae9 | lib/views/auth/verify_email_view.dart | Dart | www.github.com/ebubechi/notes/tree/main/lib/views/auth/verify_email_view.dart | https://raw.githubusercontent.com/ebubechi/notes/dd33ae9/lib/views/auth/verify_email_view.dart | ebubechi/notes dd33ae9 lib/views/auth/verify_email_view.dart | true | 200 | 1,926 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:notes/extensions/buildcontext/loc.dart';
// import 'package:notes/constants/routes.dart';
// import 'package:notes/services/auth/auth_service.dart';
import 'package:notes/services/auth/bloc/auth_bloc.dart';
import '... | 0 |
AbdealiRavat/chat-app | bf1cc7e | lib/components/post_text_field.dart | Dart | www.github.com/AbdealiRavat/chat-app/tree/main/lib/components/post_text_field.dart | https://raw.githubusercontent.com/AbdealiRavat/chat-app/bf1cc7e/lib/components/post_text_field.dart | AbdealiRavat/chat-app bf1cc7e lib/components/post_text_field.dart | true | 200 | 4,681 | // ignore_for_file: prefer_const_constructors
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import '../controllers/wall_controller.dart';
import '../utlis/colors.dart';
class PostTextField extends StatefulWidget {
final TextEditi... | 4 |
ZawLwinTunSCM/ChatApp | bd8d3b6 | lib/presentation/forgot_password/forgot_password_page.dart | Dart | www.github.com/ZawLwinTunSCM/ChatApp/tree/main/lib/presentation/forgot_password/forgot_password_page.dart | https://raw.githubusercontent.com/ZawLwinTunSCM/ChatApp/bd8d3b6/lib/presentation/forgot_password/forgot_password_page.dart | ZawLwinTunSCM/ChatApp bd8d3b6 lib/presentation/forgot_password/forgot_password_page.dart | true | 200 | 7,666 | // ignore_for_file: use_build_context_synchronously
import 'dart:async';
import 'package:chat/assets/assets.gen.dart';
import 'package:chat/constants/app_color.dart';
import 'package:chat/presentation/components/animation_button.dart';
import 'package:chat/presentation/components/common.dart';
import 'package:chat/pr... | 7 |
albertoodev/nzaki-app | 791829d | lib/controller/calculation_controller.dart | Dart | www.github.com/albertoodev/nzaki-app/tree/main/lib/controller/calculation_controller.dart | https://raw.githubusercontent.com/albertoodev/nzaki-app/791829d/lib/controller/calculation_controller.dart | albertoodev/nzaki-app 791829d lib/controller/calculation_controller.dart | true | 200 | 786 | import 'package:get/get.dart';
import '/utils/data/calculations_functions.dart';
class CalculationController extends GetxController {
RxString result = '- -'.obs;
RxInt radioValue = 0.obs;
RxInt dropDownUnity = 1.obs;
/// change the [radioValue] value
changeCurrentRadioValue(
int value,
) {
radioVal... | 3 |
jhulyambrozini/git_friends_app | 9e4c98a | lib/infrastructure/api/api_client_impl.dart | Dart | www.github.com/jhulyambrozini/git_friends_app/tree/main/lib/infrastructure/api/api_client_impl.dart | https://raw.githubusercontent.com/jhulyambrozini/git_friends_app/9e4c98a/lib/infrastructure/api/api_client_impl.dart | jhulyambrozini/git_friends_app 9e4c98a lib/infrastructure/api/api_client_impl.dart | true | 200 | 545 | import 'package:dio/dio.dart';
class ApiClientImpl {
final Map<String, dynamic> _headers = {'content-type': 'application/json'};
Dio _dio;
ApiClientImpl(this._dio) {
_dio =
Dio(BaseOptions(baseUrl: 'https://api.github.com', headers: _headers));
// add intrceptos aqui
}
Future<Response> get(... | 1 |
nforesperance/smartchop | da7d2e8 | lib/global/toast.dart | Dart | www.github.com/nforesperance/smartchop/tree/main/lib/global/toast.dart | https://raw.githubusercontent.com/nforesperance/smartchop/da7d2e8/lib/global/toast.dart | nforesperance/smartchop da7d2e8 lib/global/toast.dart | true | 200 | 380 | import 'package:flutter/material.dart';
import 'package:fluttertoast/fluttertoast.dart';
void showToast(String message) {
Fluttertoast.showToast(
msg: message,
toastLength: Toast.LENGTH_SHORT,
gravity: ToastGravity.BOTTOM,
timeInSecForIosWeb: 3,
backgroundColor: const Color.fromARGB(255, 197, 8, ... | 0 |
monthawan11/dart-project | 98259cb | question2-2.dart | Dart | www.github.com/monthawan11/dart-project/tree/main/question2-2.dart | https://raw.githubusercontent.com/monthawan11/dart-project/98259cb/question2-2.dart | monthawan11/dart-project 98259cb question2-2.dart | true | 200 | 652 | import 'dart:io';
void main() {
print('กรุณาป้อนตัวอักษร:');
String? input = stdin.readLineSync();
if (input != null && input.length == 1 && isAlphabet(input)) {
String letter = input.toLowerCase();
const vowels = ['a', 'e', 'i', 'o', 'u', 'า', 'อ', 'ะ', 'ิ', 'ี', 'ึ', 'ื', 'ุ', 'ู', 'เ', 'แ', 'โ', 'ไ... | 5 |
XDJcc/Flutter_App | f86f458 | lib/splash_page/pages/splash_page.dart | Dart | www.github.com/XDJcc/Flutter_App/tree/main/lib/splash_page/pages/splash_page.dart | https://raw.githubusercontent.com/XDJcc/Flutter_App/f86f458/lib/splash_page/pages/splash_page.dart | XDJcc/Flutter_App f86f458 lib/splash_page/pages/splash_page.dart | true | 200 | 2,800 | /// create by XDJcc 2022-8-19
/// contact me by email 2045659302@qq.com
///说明:
import 'dart:async';
import 'package:bruno/bruno.dart';
import 'package:flutter/material.dart';
import 'package:flutter_app/app/global/sp_utils.dart';
import 'package:flutter_app/app/netWork/request_interceptor.dart';
import 'package:flutt... | 2 |
Abdelmonem-wagih/Sahra | b56951a | lib/features/tvs/data/data_source/tv_remote_data_source.dart | Dart | www.github.com/Abdelmonem-wagih/Sahra/tree/main/lib/features/tvs/data/data_source/tv_remote_data_source.dart | https://raw.githubusercontent.com/Abdelmonem-wagih/Sahra/b56951a/lib/features/tvs/data/data_source/tv_remote_data_source.dart | Abdelmonem-wagih/Sahra b56951a lib/features/tvs/data/data_source/tv_remote_data_source.dart | true | 200 | 3,990 | import 'package:dio/dio.dart';
import 'package:sahar/core/exception/exception.dart';
import 'package:sahar/core/network/error_message_model.dart';
import 'package:sahar/core/unit/app_constance.dart';
import 'package:sahar/features/tvs/data/models/episodes_model.dart';
import 'package:sahar/features/tvs/data/models/reco... | 6 |
jbokobosso/eau_de_vie | 2f393f3 | lib/ui/widgets/no_network.dart | Dart | www.github.com/jbokobosso/eau_de_vie/tree/main/lib/ui/widgets/no_network.dart | https://raw.githubusercontent.com/jbokobosso/eau_de_vie/2f393f3/lib/ui/widgets/no_network.dart | jbokobosso/eau_de_vie 2f393f3 lib/ui/widgets/no_network.dart | true | 200 | 1,044 | import 'package:eau_de_vie/constants/file_assets.dart';
import 'package:flutter/material.dart';
class NotNetwork extends StatefulWidget {
final Function callback;
const NotNetwork(this.callback, {Key? key}) : super(key: key);
@override
_NotNetworkState createState() => _NotNetworkState();
}
class _NotNetwork... | 3 |
OmarWahid/-Moka-Store- | bfe1b9b | lib/moka/presentation/screens/home/category_items.dart | Dart | www.github.com/OmarWahid/-Moka-Store-/tree/main/lib/moka/presentation/screens/home/category_items.dart | https://raw.githubusercontent.com/OmarWahid/-Moka-Store-/bfe1b9b/lib/moka/presentation/screens/home/category_items.dart | OmarWahid/-Moka-Store- bfe1b9b lib/moka/presentation/screens/home/category_items.dart | true | 200 | 4,418 | import 'package:cached_network_image/cached_network_image.dart';
import 'package:carousel_slider/carousel_slider.dart';
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:moka_store/core/utils/color_manager.dart';
import 'p... | 7 |
AlfaTeamUninassau/ijato | 84e1dfd | lib/app/components/avatar.dart | Dart | www.github.com/AlfaTeamUninassau/ijato/tree/main/lib/app/components/avatar.dart | https://raw.githubusercontent.com/AlfaTeamUninassau/ijato/84e1dfd/lib/app/components/avatar.dart | AlfaTeamUninassau/ijato 84e1dfd lib/app/components/avatar.dart | true | 200 | 477 | import 'package:flutter/cupertino.dart';
import 'package:routefly/routefly.dart';
import 'package:ijato/app/shared/app_images.dart';
class AvatarImage extends StatelessWidget {
const AvatarImage({super.key});
@override
Widget build(BuildContext context) {
return Center(
child: CupertinoButton(
... | 1 |
Arthritisboy/3Y1Cryptotel | abb8512 | mobile/lib/presentation/widgets/signup/header_widget.dart | Dart | www.github.com/Arthritisboy/3Y1Cryptotel/tree/main/mobile/lib/presentation/widgets/signup/header_widget.dart | https://raw.githubusercontent.com/Arthritisboy/3Y1Cryptotel/abb8512/mobile/lib/presentation/widgets/signup/header_widget.dart | Arthritisboy/3Y1Cryptotel abb8512 mobile/lib/presentation/widgets/signup/header_widget.dart | true | 200 | 774 | import 'package:flutter/material.dart';
class HeaderWidget extends StatelessWidget {
final String title;
const HeaderWidget({super.key, required this.title});
@override
Widget build(BuildContext context) {
double screenHeight = MediaQuery.of(context).size.height;
double screenWidth = MediaQuery.of(co... | 0 |
rionaldoriskysetyawan4/rioding_app | 7a53838 | lib/Widget/InpoWidget.dart | Dart | www.github.com/rionaldoriskysetyawan4/rioding_app/tree/main/lib/Widget/InpoWidget.dart | https://raw.githubusercontent.com/rionaldoriskysetyawan4/rioding_app/7a53838/lib/Widget/InpoWidget.dart | rionaldoriskysetyawan4/rioding_app 7a53838 lib/Widget/InpoWidget.dart | true | 200 | 1,294 | import 'package:flutter/material.dart';
class Inpowidget extends StatelessWidget {
final String Text1;
final String Text2;
final String Imagemu;
const Inpowidget({super.key, required this.Imagemu, required this.Text1, required this.Text2});
@override
Widget build(BuildContext context) {
return Contai... | 4 |
VivekTailor19/resume_builder | 9f48ae7 | lib/homescreen.dart | Dart | www.github.com/VivekTailor19/resume_builder/tree/main/lib/homescreen.dart | https://raw.githubusercontent.com/VivekTailor19/resume_builder/9f48ae7/lib/homescreen.dart | VivekTailor19/resume_builder 9f48ae7 lib/homescreen.dart | true | 200 | 939 | import 'package:flutter/material.dart';
class HomeScreen extends StatefulWidget {
const HomeScreen({Key? key}) : super(key: key);
@override
State<HomeScreen> createState() => _HomeScreenState();
}
class _HomeScreenState extends State<HomeScreen> {
@override
Widget build(BuildContext context) {
return S... | 2 |
Amer-Shammout/E-Delivery-App | 5482ddd | lib/Features/Auth/Presentation/Views/widgets/Lets get started/glass_button.dart | Dart | www.github.com/Amer-Shammout/E-Delivery-App/tree/main/lib/Features/Auth/Presentation/Views/widgets/Lets get started/glass_button.dart | https://raw.githubusercontent.com/Amer-Shammout/E-Delivery-App/5482ddd/lib/Features/Auth/Presentation/Views/widgets/Lets%20get%20started/glass_button.dart | Amer-Shammout/E-Delivery-App 5482ddd lib/Features/Auth/Presentation/Views/widgets/Lets get started/glass_button.dart | true | 200 | 2,985 | import 'dart:ui';
import 'package:e_delivery_app/Core/utils/assets.dart';
import 'package:e_delivery_app/Core/utils/functions/localizations_funs.dart';
import 'package:e_delivery_app/Core/utils/styles/app_styles.dart';
import 'package:e_delivery_app/Core/utils/styles/shadows.dart';
import 'package:e_delivery_app/const... | 3 |
amalsatheesh1729/instagram-clone | 41c190a | lib/widgets/textfield.dart | Dart | www.github.com/amalsatheesh1729/instagram-clone/tree/main/lib/widgets/textfield.dart | https://raw.githubusercontent.com/amalsatheesh1729/instagram-clone/41c190a/lib/widgets/textfield.dart | amalsatheesh1729/instagram-clone 41c190a lib/widgets/textfield.dart | true | 200 | 942 | import 'package:flutter/material.dart';
class TextInputField extends StatelessWidget {
final String hintText;
final TextEditingController controller;
final TextInputType textInputType;
final bool ispass;
const TextInputField({Key? key,required this.hintText,required this.controller
,required this.textInp... | 7 |
MatheusYudi/almoxarifado-app | d2a1c5d | lib/model/material_model.dart | Dart | www.github.com/MatheusYudi/almoxarifado-app/tree/main/lib/model/material_model.dart | https://raw.githubusercontent.com/MatheusYudi/almoxarifado-app/d2a1c5d/lib/model/material_model.dart | MatheusYudi/almoxarifado-app d2a1c5d lib/model/material_model.dart | true | 200 | 1,391 | import 'grupo_material.dart';
class MaterialModel
{
int? id;
String nome;
String ncm;
String unidade;
String codigoBarras;
double valorUnitario;
double qtdeEstoque;
double estoqueMinimo;
GrupoMaterial? grupoMaterial;
MaterialModel({
this.id,
this.nome = '',
this.ncm = '',
this.unid... | 5 |
mohamedhashim73/Athr-App | 9b2a3ab | lib/modules/widgets/snackBar_widget.dart | Dart | www.github.com/mohamedhashim73/Athr-App/tree/main/lib/modules/widgets/snackBar_widget.dart | https://raw.githubusercontent.com/mohamedhashim73/Athr-App/9b2a3ab/lib/modules/widgets/snackBar_widget.dart | mohamedhashim73/Athr-App 9b2a3ab lib/modules/widgets/snackBar_widget.dart | true | 200 | 742 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
SnackBar snackBarWidget({required String message,required BuildContext context,required Color color,double elevation = 0 }){
return SnackBar(
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular... | 1 |
abdulrazakshaikh/xceednet | c8af765 | lib/leads/leads_details.dart | Dart | www.github.com/abdulrazakshaikh/xceednet/tree/main/lib/leads/leads_details.dart | https://raw.githubusercontent.com/abdulrazakshaikh/xceednet/c8af765/lib/leads/leads_details.dart | abdulrazakshaikh/xceednet c8af765 lib/leads/leads_details.dart | true | 200 | 7,353 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:xceednet/leads/assignlead_bottomsheet.dart';
import 'package:xceednet/leads/cancellead_bottomsheet.dart';
import 'package:xceednet/leads/leadtab_audittrail.dart';
import 'pac... | 6 |
paramjeet198/news_feed | 71315c5 | lib/utils/check_connectivity.dart | Dart | www.github.com/paramjeet198/news_feed/tree/main/lib/utils/check_connectivity.dart | https://raw.githubusercontent.com/paramjeet198/news_feed/71315c5/lib/utils/check_connectivity.dart | paramjeet198/news_feed 71315c5 lib/utils/check_connectivity.dart | true | 200 | 849 | import 'package:connectivity_plus/connectivity_plus.dart';
import 'package:http/http.dart' as http;
/// Checks if the device is connected to a network and has internet access.
Future<bool> hasInternetConnection() async {
final List<ConnectivityResult> connectivityResult =
await (Connectivity().checkConnectivit... | 2 |
TinConstantine/weather_app | 2866f0e | lib/cubits/location_cubit.dart | Dart | www.github.com/TinConstantine/weather_app/tree/main/lib/cubits/location_cubit.dart | https://raw.githubusercontent.com/TinConstantine/weather_app/2866f0e/lib/cubits/location_cubit.dart | TinConstantine/weather_app 2866f0e lib/cubits/location_cubit.dart | true | 200 | 1,436 | import 'package:geolocator/geolocator.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:weather_app_cutbit/states/location_state.dart';
class LocationCubit extends Cubit<LocationState> {
LocationCubit() : super(LocationStateInitial());
void getLocaion() async {
final locationState = stat... | 0 |
bonyyamin/flutter_library | ec0c08d | lib/src/e_commerce/utils/validators.dart | Dart | www.github.com/bonyyamin/flutter_library/tree/main/lib/src/e_commerce/utils/validators.dart | https://raw.githubusercontent.com/bonyyamin/flutter_library/ec0c08d/lib/src/e_commerce/utils/validators.dart | bonyyamin/flutter_library ec0c08d lib/src/e_commerce/utils/validators.dart | true | 200 | 4,006 | class Validators {
/// Validates an email address.
static String? validateEmail(String? email) {
if (email == null || email.isEmpty) {
return 'Email is required';
}
final emailRegex = RegExp(r'^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$');
if (!emailRegex.hasMatch(email)) {
return 'Enter a valid e... | 4 |
shuptorahman/Dart_Codes | e0c9445 | OOPS/FactoryConstructor.dart | Dart | www.github.com/shuptorahman/Dart_Codes/tree/main/OOPS/FactoryConstructor.dart | https://raw.githubusercontent.com/shuptorahman/Dart_Codes/e0c9445/OOPS/FactoryConstructor.dart | shuptorahman/Dart_Codes e0c9445 OOPS/FactoryConstructor.dart | true | 200 | 1,249 | abstract class Person {
Person({required this.name});
String name;
void getDetails();
factory Person.fromType({required typeName, required name, salery, fees}) {
if (typeName.toString().toLowerCase() == "trainer" && salery != null)
return Trainer(name: name, salery: salery); //return trainer instanc... | 3 |
beatly-dev/beat | c79624b | packages/beat_generator/lib/src/annotation_parser/utils/service_annotation.dart | Dart | www.github.com/beatly-dev/beat/tree/main/packages/beat_generator/lib/src/annotation_parser/utils/service_annotation.dart | https://raw.githubusercontent.com/beatly-dev/beat/c79624b/packages/beat_generator/lib/src/annotation_parser/utils/service_annotation.dart | beatly-dev/beat c79624b packages/beat_generator/lib/src/annotation_parser/utils/service_annotation.dart | true | 200 | 2,091 | import 'package:analyzer/dart/constant/value.dart';
import 'package:analyzer/dart/element/element.dart';
import 'package:beat/beat.dart';
import 'package:beat_config/beat_config.dart';
import 'package:build/build.dart';
import 'package:source_gen/source_gen.dart';
import 'annotation_aggregator.dart';
List<ServiceConf... | 7 |
seifsayed77/Task1_Flutter | bad9419 | lib/profilePage.dart | Dart | www.github.com/seifsayed77/Task1_Flutter/tree/main/lib/profilePage.dart | https://raw.githubusercontent.com/seifsayed77/Task1_Flutter/bad9419/lib/profilePage.dart | seifsayed77/Task1_Flutter bad9419 lib/profilePage.dart | true | 200 | 1,491 | import 'package:flutter/material.dart';
import 'Status.dart';
class ProfilePage extends StatelessWidget {
final String name;
final int score;
final Status status;
const ProfilePage(
{super.key,
required this.name,
required this.score,
required this.status});
@override
Widget build(B... | 5 |
Raicodesokwe/ingeniousbuilddemo | 0009c13 | lib/widgets/item_tile.dart | Dart | www.github.com/Raicodesokwe/ingeniousbuilddemo/tree/main/lib/widgets/item_tile.dart | https://raw.githubusercontent.com/Raicodesokwe/ingeniousbuilddemo/0009c13/lib/widgets/item_tile.dart | Raicodesokwe/ingeniousbuilddemo 0009c13 lib/widgets/item_tile.dart | true | 200 | 693 | import 'package:flutter/material.dart';
class ItemTile extends StatelessWidget {
final Color circleColor;
final Color textColor;
final String label;
const ItemTile({
super.key,
required this.circleColor,
required this.label,
required this.textColor,
});
@override
Widget build(BuildContex... | 2 |
DiegoZaff/EcoWorld | fd294d3 | lib/components/title_page.dart | Dart | www.github.com/DiegoZaff/EcoWorld/tree/main/lib/components/title_page.dart | https://raw.githubusercontent.com/DiegoZaff/EcoWorld/fd294d3/lib/components/title_page.dart | DiegoZaff/EcoWorld fd294d3 lib/components/title_page.dart | true | 200 | 772 | import 'package:flutter/material.dart';
class TitlePage extends StatelessWidget {
const TitlePage({super.key, required this.title});
final String title;
@override
Widget build(BuildContext context) {
return Padding(
padding: const EdgeInsets.only(top: 50, bottom: 20),
child: Container(
... | 6 |
prtrifun/SWNumar1cs | 97a2c77 | lib/services/api_service.dart | Dart | www.github.com/prtrifun/SWNumar1cs/tree/main/lib/services/api_service.dart | https://raw.githubusercontent.com/prtrifun/SWNumar1cs/97a2c77/lib/services/api_service.dart | prtrifun/SWNumar1cs 97a2c77 lib/services/api_service.dart | true | 200 | 759 | import 'dart:convert';
import 'package:http/http.dart' as http;
class ApiService {
Future<List<Map<String, dynamic>>> fetchData(String url, {List<Map<String, dynamic>> data = const []}) async {
final List<Map<String, dynamic>> results = [...data];
final response = await http.get(Uri.parse(url));
if (res... | 1 |
Bivesh896/PacManRepo | 73f8703 | lib/CoverScreen.dart | Dart | www.github.com/Bivesh896/PacManRepo/tree/main/lib/CoverScreen.dart | https://raw.githubusercontent.com/Bivesh896/PacManRepo/73f8703/lib/CoverScreen.dart | Bivesh896/PacManRepo 73f8703 lib/CoverScreen.dart | true | 200 | 1,176 | import 'dart:ui';
import 'package:flutter/material.dart';
class StartScreen extends StatelessWidget {
final bool HasGameStarted;
StartScreen({required this.HasGameStarted});
@override
Widget build(BuildContext context) {
return (HasGameStarted) ? Container() : Stack(
children: [
// Blur Effec... | 0 |
oussamaennadafy/flutter-projects | 1727ca0 | expense_tracker/lib/features/transactions/widgets/empty_transactions_state.dart | Dart | www.github.com/oussamaennadafy/flutter-projects/tree/main/expense_tracker/lib/features/transactions/widgets/empty_transactions_state.dart | https://raw.githubusercontent.com/oussamaennadafy/flutter-projects/1727ca0/expense_tracker/lib/features/transactions/widgets/empty_transactions_state.dart | oussamaennadafy/flutter-projects 1727ca0 expense_tracker/lib/features/transactions/widgets/empty_transactions_state.dart | true | 200 | 1,007 | import 'package:expense_tracker/theme/colors.dart';
import 'package:expense_tracker/theme/icons.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
class EmptyTransactionsState extends StatelessWidget {
const EmptyTransactionsState({super.key});
@override
Widget build(B... | 4 |
oyen-bright/kula | fd7c17f | lib/cubits/loading_cubit/loading_cubit.dart | Dart | www.github.com/oyen-bright/kula/tree/main/lib/cubits/loading_cubit/loading_cubit.dart | https://raw.githubusercontent.com/oyen-bright/kula/fd7c17f/lib/cubits/loading_cubit/loading_cubit.dart | oyen-bright/kula fd7c17f lib/cubits/loading_cubit/loading_cubit.dart | true | 200 | 581 | import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:freezed_annotation/freezed_annotation.dart';
part 'loading_cubit.freezed.dart';
part 'loading_state.dart';
class LoadingCubit extends Cubit<LoadingState> {
LoadingCubit() : super(const LoadingState.initial());
void loading({
String? message,
... | 7 |
JosephIbe/agrotek | b6bca3e | lib/presentation/widgets/common/live_offers.dart | Dart | www.github.com/JosephIbe/agrotek/tree/main/lib/presentation/widgets/common/live_offers.dart | https://raw.githubusercontent.com/JosephIbe/agrotek/b6bca3e/lib/presentation/widgets/common/live_offers.dart | JosephIbe/agrotek b6bca3e lib/presentation/widgets/common/live_offers.dart | true | 200 | 1,901 | import 'package:agenpo/common/route_constants.dart';
import 'package:agenpo/common/size_constants.dart';
import 'package:agenpo/common/text_constants.dart';
import 'package:agenpo/presentation/blocs/offers/offers_bloc.dart';
import 'package:agenpo/presentation/widgets/common/offers_list_item.dart';
import 'package:agen... | 3 |
Dineth95/flutter_app_inro | 5f9c814 | lib/main.dart | Dart | www.github.com/Dineth95/flutter_app_inro/tree/main/lib/main.dart | https://raw.githubusercontent.com/Dineth95/flutter_app_inro/5f9c814/lib/main.dart | Dineth95/flutter_app_inro 5f9c814 lib/main.dart | true | 200 | 1,418 |
import 'package:flutter/material.dart';
import 'package:intro_app/ui/intro_screen.dart';
import 'package:intro_app/ui/intro_screens/provider/page_provider.dart';
import 'package:provider/provider.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
runApp(const MyApp());
}
class MyApp extends St... | 5 |
Sakshibhokare/flutter_practice_ | e0c1c20 | Shopping_App/shop_app/lib/home_page.dart | Dart | www.github.com/Sakshibhokare/flutter_practice_/tree/main/Shopping_App/shop_app/lib/home_page.dart | https://raw.githubusercontent.com/Sakshibhokare/flutter_practice_/e0c1c20/Shopping_App/shop_app/lib/home_page.dart | Sakshibhokare/flutter_practice_ e0c1c20 Shopping_App/shop_app/lib/home_page.dart | true | 200 | 1,549 | import 'package:flutter/material.dart';
import 'package:shop_app/cart_page.dart';
import 'package:shop_app/global_variables.dart';
import 'package:shop_app/product_card.dart';
import 'package:shop_app/product_details_page.dart';
import 'package:shop_app/product_list.dart';
class HomePage extends StatefulWidget {
//c... | 0 |
alifzr31/Triwarna | f4b28f0 | lib/main.dart | Dart | www.github.com/alifzr31/Triwarna/tree/main/lib/main.dart | https://raw.githubusercontent.com/alifzr31/Triwarna/f4b28f0/lib/main.dart | alifzr31/Triwarna f4b28f0 lib/main.dart | true | 200 | 3,461 | import 'dart:async';
import 'package:firebase_core/firebase_core.dart';
import 'package:firebase_messaging/firebase_messaging.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:get/get.dart';
import 'package:triwarna_rebuild/app/core/utils/configs/firebase_options.da... | 6 |
kanacb/codeBridgeFlutterFeathersTemplate | f0e14a1 | lib/screens/3.market/market_wallet_screen.dart | Dart | www.github.com/kanacb/codeBridgeFlutterFeathersTemplate/tree/main/lib/screens/3.market/market_wallet_screen.dart | https://raw.githubusercontent.com/kanacb/codeBridgeFlutterFeathersTemplate/f0e14a1/lib/screens/3.market/market_wallet_screen.dart | kanacb/codeBridgeFlutterFeathersTemplate f0e14a1 lib/screens/3.market/market_wallet_screen.dart | true | 200 | 2,202 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import '../../components/businesses/businesses.dart';
import '../../components/users/users.dart';
class MarketWalletScreen extends StatefulWidget {
const MarketWalletScreen(
{super.key, required this.user, required this.business}... | 1 |
Ryssia/login_with_firebase | 49655c4 | lib/app/modules/my_application/src/authentication/external/services/pokemon_service.dart | Dart | www.github.com/Ryssia/login_with_firebase/tree/main/lib/app/modules/my_application/src/authentication/external/services/pokemon_service.dart | https://raw.githubusercontent.com/Ryssia/login_with_firebase/49655c4/lib/app/modules/my_application/src/authentication/external/services/pokemon_service.dart | Ryssia/login_with_firebase 49655c4 lib/app/modules/my_application/src/authentication/external/services/pokemon_service.dart | true | 200 | 1,667 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:login_with_firebase/models/poke_model.dart';
class PokemonService {
Future<void> savePokemon(String pokemonName) async {
try {
final user = FirebaseAuth.instance.currentUser;
if (... | 2 |
rimuakter057/task_manager_with_getx | c9f31fc | lib/view/controller/auth_controller/recover_email_controller.dart | Dart | www.github.com/rimuakter057/task_manager_with_getx/tree/main/lib/view/controller/auth_controller/recover_email_controller.dart | https://raw.githubusercontent.com/rimuakter057/task_manager_with_getx/c9f31fc/lib/view/controller/auth_controller/recover_email_controller.dart | rimuakter057/task_manager_with_getx c9f31fc lib/view/controller/auth_controller/recover_email_controller.dart | true | 200 | 1,471 |
import 'package:flutter/cupertino.dart';
import 'package:get/get_core/src/get_main.dart';
import 'package:get/get_state_manager/src/simple/get_controllers.dart';
import 'package:shared_preferences/shared_preferences.dart';
import '../../../data/models/task_list/task_list_status_json_model.dart';
import '../../../dat... | 4 |
AfiqHarith20/customer_app | 9bb39c6 | lib/app/models/commercepay/pending_payment_model.dart | Dart | www.github.com/AfiqHarith20/customer_app/tree/main/lib/app/models/commercepay/pending_payment_model.dart | https://raw.githubusercontent.com/AfiqHarith20/customer_app/9bb39c6/lib/app/models/commercepay/pending_payment_model.dart | AfiqHarith20/customer_app 9bb39c6 lib/app/models/commercepay/pending_payment_model.dart | true | 200 | 4,607 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:intl/intl.dart';
class PendingPaymentModel {
String? accessToken;
String? customerId;
String? channelId;
String? selectedBankId;
double? totalPrice;
String? address;
String? companyName;
String? companyRegistrationNo;
DateTime? en... | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.