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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
kallada2021/portifoliowebsite | f41fe61 | consulting_portfolio_website/lib/constants/utils.dart | Dart | www.github.com/kallada2021/portifoliowebsite/tree/main/consulting_portfolio_website/lib/constants/utils.dart | https://raw.githubusercontent.com/kallada2021/portifoliowebsite/f41fe61/consulting_portfolio_website/lib/constants/utils.dart | kallada2021/portifoliowebsite f41fe61 consulting_portfolio_website/lib/constants/utils.dart | true | 200 | 1,325 | import 'package:flutter/material.dart';
import 'global_variables.dart';
void showSnackBar(BuildContext context, String text, Color color) {
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
backgroundColor: color,
content: Text(text),
),
);
}
class Utils {
BuildContext context;
Utils(... | 5 |
LeonardoExitus/foraneo | a1c60ba | lib/utils/form_formats.dart | Dart | www.github.com/LeonardoExitus/foraneo/tree/main/lib/utils/form_formats.dart | https://raw.githubusercontent.com/LeonardoExitus/foraneo/a1c60ba/lib/utils/form_formats.dart | LeonardoExitus/foraneo a1c60ba lib/utils/form_formats.dart | true | 200 | 5,111 | import 'package:flutter/services.dart';
// ignore: depend_on_referenced_packages
import 'package:intl/intl.dart' as intl;
class FormFormats {
static final TextInputFormatter upperCase = UpperCaseTextFormatter();
static final TextInputFormatter currencyFormat = CurrencyFormat();
static final TextInputFormatter no... | 2 |
YadhukrishnaTV/shared_preference | 15f6b2b | lib/view/details_screen/details_screen.dart | Dart | www.github.com/YadhukrishnaTV/shared_preference/tree/main/lib/view/details_screen/details_screen.dart | https://raw.githubusercontent.com/YadhukrishnaTV/shared_preference/15f6b2b/lib/view/details_screen/details_screen.dart | YadhukrishnaTV/shared_preference 15f6b2b lib/view/details_screen/details_screen.dart | true | 200 | 1,352 | import 'package:exam_sharedprefence/utils/database/database.dart';
import 'package:flutter/material.dart';
class DetailsScreen extends StatelessWidget {
const DetailsScreen({super.key, required this.itemindex});
final int itemindex;
@override
Widget build(BuildContext context) {
return Scaffold(
ap... | 1 |
nsharmahack3r/simulations | 6aec3aa | cdma_simulation.dart | Dart | www.github.com/nsharmahack3r/simulations/tree/main/cdma_simulation.dart | https://raw.githubusercontent.com/nsharmahack3r/simulations/6aec3aa/cdma_simulation.dart | nsharmahack3r/simulations 6aec3aa cdma_simulation.dart | true | 200 | 2,826 | void main() async {
final case1 = ChipCodeCase(
aChippingCode: [0, 0, 1, 1, 0, 0, 1, 1],
bChippingCode: [0, 1, 1, 0, 0, 1, 1, 0],
title: "Test Case 1"
);
final case2 = ChipCodeCase(
aChippingCode: [1, 0, 1, 1, 0, 0, 1, 1],
bChippingCode: [0, 1, 1, 0, 0, 1, 0, 0],
title: "Test Case 2"
)... | 4 |
HassanMastawii/...can | 330a2ba | lib/app/profail/agency/shepmony.dart | Dart | www.github.com/HassanMastawii/...can/tree/main/lib/app/profail/agency/shepmony.dart | https://raw.githubusercontent.com/HassanMastawii/...can/330a2ba/lib/app/profail/agency/shepmony.dart | HassanMastawii/...can 330a2ba lib/app/profail/agency/shepmony.dart | true | 200 | 1,685 | import 'package:canary_app/app/colorApp/color.dart';
import 'package:canary_app/app/widgets/my_button.dart';
import 'package:canary_app/app/widgets/my_text_field.dart';
import 'package:flutter/material.dart';
class Shepmony extends StatefulWidget {
const Shepmony({super.key});
@override
State<Shepmony> createSt... | 7 |
SnowDeltha/maria_troncatti | dd171a3 | lib/presentation/screens/administracion_usuarios/agregar_usuarios.dart | Dart | www.github.com/SnowDeltha/maria_troncatti/tree/main/lib/presentation/screens/administracion_usuarios/agregar_usuarios.dart | https://raw.githubusercontent.com/SnowDeltha/maria_troncatti/dd171a3/lib/presentation/screens/administracion_usuarios/agregar_usuarios.dart | SnowDeltha/maria_troncatti dd171a3 lib/presentation/screens/administracion_usuarios/agregar_usuarios.dart | true | 200 | 11,681 | import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:widgets_app/presentation/screens/AcercadePage/AcercaScreen.dart';
import 'package:widgets_app/presentation/screens/administracion_usuarios/administracion_de_usuarios_screen.dart';... | 3 |
SamsaraBanana/mci_test | 763b980 | lib/ui/components/training/training_textfield_widget.dart | Dart | www.github.com/SamsaraBanana/mci_test/tree/main/lib/ui/components/training/training_textfield_widget.dart | https://raw.githubusercontent.com/SamsaraBanana/mci_test/763b980/lib/ui/components/training/training_textfield_widget.dart | SamsaraBanana/mci_test 763b980 lib/ui/components/training/training_textfield_widget.dart | true | 200 | 966 | import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
///TextFields for the active training session in the training page.
class TrainingTextField extends StatelessWidget {
final TextEditingController controller;
final bool isLocked;
const TrainingTextField({
super.key,
required... | 0 |
EnocDelgado/toktik-flutter | 3230080 | lib/infrastructure/repositories/video_posts_repository_impl.dart | Dart | www.github.com/EnocDelgado/toktik-flutter/tree/main/lib/infrastructure/repositories/video_posts_repository_impl.dart | https://raw.githubusercontent.com/EnocDelgado/toktik-flutter/3230080/lib/infrastructure/repositories/video_posts_repository_impl.dart | EnocDelgado/toktik-flutter 3230080 lib/infrastructure/repositories/video_posts_repository_impl.dart | true | 200 | 694 |
import 'package:toktik/domain/entities/video_post.dart';
import 'package:toktik/domain/repositories/video_posts_repository.dart';
import '../../domain/datasource/video_post_datasource.dart';
class VideoPostsRepositoryImpl implements VideoPostRepository {
// data main origin
final VideoPostDatasource videosData... | 6 |
Sushobhan-Nayak/CodeEasy | 98d1ad0 | lib/quiz_view/question_view.dart | Dart | www.github.com/Sushobhan-Nayak/CodeEasy/tree/main/lib/quiz_view/question_view.dart | https://raw.githubusercontent.com/Sushobhan-Nayak/CodeEasy/98d1ad0/lib/quiz_view/question_view.dart | Sushobhan-Nayak/CodeEasy 98d1ad0 lib/quiz_view/question_view.dart | true | 200 | 5,575 | import 'package:flutter/material.dart';
import 'package:hello_world/quiz_view/option_validation.dart';
import 'package:hello_world/quiz_view/options_view.dart';
class Question extends StatefulWidget {
final String que;
final String option1;
final String option2;
final String option3;
final String option4;
... | 5 |
Yasitha-Bhanuka/DartLearning | 988f806 | class.dart | Dart | www.github.com/Yasitha-Bhanuka/DartLearning/tree/main/class.dart | https://raw.githubusercontent.com/Yasitha-Bhanuka/DartLearning/988f806/class.dart | Yasitha-Bhanuka/DartLearning 988f806 class.dart | true | 200 | 858 | void main() {
var st1 = new Student.withParams("IT2256", "Yasitha");
print(st1.id);
print(st1.name);
print(st1.study());
st1.sleep();
st1.eat();
st1.setGpa = 3.9;
print("Student GPA is : ${st1.getGpa}");
}
class Student {
var id;
var name;
var gpa;
// default constructor
Student.defaultConstru... | 2 |
minakshibisen/bls_user_flutter | 3368d36 | lib/loandetailscreen.dart | Dart | www.github.com/minakshibisen/bls_user_flutter/tree/main/lib/loandetailscreen.dart | https://raw.githubusercontent.com/minakshibisen/bls_user_flutter/3368d36/lib/loandetailscreen.dart | minakshibisen/bls_user_flutter 3368d36 lib/loandetailscreen.dart | true | 200 | 5,112 | import 'package:bls_user_flutter/proposalscreen.dart';
import 'package:flutter/material.dart';
class LoanDetailScreen extends StatefulWidget {
const LoanDetailScreen({super.key});
@override
State<LoanDetailScreen> createState() => _LoanDetailScreenState();
}
class _LoanDetailScreenState extends State<LoanDetai... | 1 |
rnibu/BLEProject | b7b6ec5 | lib/CareTakerHomePage.dart | Dart | www.github.com/rnibu/BLEProject/tree/main/lib/CareTakerHomePage.dart | https://raw.githubusercontent.com/rnibu/BLEProject/b7b6ec5/lib/CareTakerHomePage.dart | rnibu/BLEProject b7b6ec5 lib/CareTakerHomePage.dart | true | 200 | 6,879 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:expandable/expandable.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
import 'package:flutter_blue/flutter_blue.dart';
import 'package:flutter_phone_direct_caller/flutter_phone_direct_caller.dart';
i... | 7 |
leragogogo/places | 7ed005e | lib/redux/reducer/sight_list_screen_reducer.dart | Dart | www.github.com/leragogogo/places/tree/main/lib/redux/reducer/sight_list_screen_reducer.dart | https://raw.githubusercontent.com/leragogogo/places/7ed005e/lib/redux/reducer/sight_list_screen_reducer.dart | leragogogo/places 7ed005e lib/redux/reducer/sight_list_screen_reducer.dart | true | 200 | 2,124 | import 'package:flutter/material.dart';
import 'package:places/data/model/map_point.dart';
import 'package:places/data/repository/repositories.dart';
import 'package:places/redux/action/sight_list_screen_action.dart';
import 'package:places/redux/state/app_state.dart';
import 'package:places/redux/state/map_screen_stat... | 0 |
hashimsaffarini/MARVEL | 1648af1 | lib/features/home/ui/widgets/list_view_heroes.dart | Dart | www.github.com/hashimsaffarini/MARVEL/tree/main/lib/features/home/ui/widgets/list_view_heroes.dart | https://raw.githubusercontent.com/hashimsaffarini/MARVEL/1648af1/lib/features/home/ui/widgets/list_view_heroes.dart | hashimsaffarini/MARVEL 1648af1 lib/features/home/ui/widgets/list_view_heroes.dart | true | 200 | 770 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:marvel_app/features/home/data/models/heros_model.dart';
import 'package:marvel_app/features/home/ui/widgets/heros_item.dart';
class ListViewHeroes extends StatelessWidget {
const ListViewHeroes({super... | 3 |
syaikulazhar/responsi-mobile | 89275bb | lib/pages/agents_page.dart | Dart | www.github.com/syaikulazhar/responsi-mobile/tree/main/lib/pages/agents_page.dart | https://raw.githubusercontent.com/syaikulazhar/responsi-mobile/89275bb/lib/pages/agents_page.dart | syaikulazhar/responsi-mobile 89275bb lib/pages/agents_page.dart | true | 200 | 1,780 | import 'package:flutter/material.dart';
import '../models/agent.dart';
import '../services/api_service.dart';
import 'agent_detail_page.dart';
class AgentsPage extends StatelessWidget {
final ApiService apiService = ApiService();
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: ... | 4 |
legistech/dream-home | 083ab4e | lib/src/features/authentication/presentation/widgets/common_text_field.dart | Dart | www.github.com/legistech/dream-home/tree/main/lib/src/features/authentication/presentation/widgets/common_text_field.dart | https://raw.githubusercontent.com/legistech/dream-home/083ab4e/lib/src/features/authentication/presentation/widgets/common_text_field.dart | legistech/dream-home 083ab4e lib/src/features/authentication/presentation/widgets/common_text_field.dart | true | 200 | 1,575 | import 'package:flutter/material.dart';
import '../../../../theme/pellet.dart';
/// [CommonAuthTextField] is a common text field used in the authentication feature
class CommonAuthTextField extends StatelessWidget {
const CommonAuthTextField({
super.key,
required this.controller,
required this.hintText,... | 6 |
leyleygit/tthEcatalog | ce4b8fb | lib/screens/confirm_whosale_screen/request.dart | Dart | www.github.com/leyleygit/tthEcatalog/tree/main/lib/screens/confirm_whosale_screen/request.dart | https://raw.githubusercontent.com/leyleygit/tthEcatalog/ce4b8fb/lib/screens/confirm_whosale_screen/request.dart | leyleygit/tthEcatalog ce4b8fb lib/screens/confirm_whosale_screen/request.dart | true | 200 | 1,774 | import 'package:awesome_dialog/awesome_dialog.dart';
import 'package:ecatalog/components/custom_confirm_wholesale_card.dart';
import 'package:ecatalog/components/custom_gradient_elevated_button.dart';
import 'package:ecatalog/data/status_data.dart';
import 'package:flutter/material.dart';
import 'package:flutter/src/wi... | 5 |
harpit/Fooderapp | 5995955 | lib/views/home/widgets/category_foods_list.dart | Dart | www.github.com/harpit/Fooderapp/tree/main/lib/views/home/widgets/category_foods_list.dart | https://raw.githubusercontent.com/harpit/Fooderapp/5995955/lib/views/home/widgets/category_foods_list.dart | harpit/Fooderapp 5995955 lib/views/home/widgets/category_foods_list.dart | true | 200 | 1,166 | import 'package:flutter/material.dart';
import 'package:flutter_hooks/flutter_hooks.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:foodapp/Constants/constant.dart';
import 'package:foodapp/common/shimmers/foodlist_shimmer.dart';
import 'package:foodapp/hooks/fetch_category_foods.dar... | 2 |
TagandurdyB/telfun_lib | 672d70e | Views/Pages/MainPage.dart | Dart | www.github.com/TagandurdyB/telfun_lib/tree/main/Views/Pages/MainPage.dart | https://raw.githubusercontent.com/TagandurdyB/telfun_lib/672d70e/Views/Pages/MainPage.dart | TagandurdyB/telfun_lib 672d70e Views/Pages/MainPage.dart | true | 200 | 3,452 | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:telfun/ViewModels/Providers/EventProvider.dart';
import 'package:telfun/ViewModels/MapConverter.dart';
import 'package:telfun/ViewModels/Names.dart';
import 'package:telfun/ViewModels/Providers/ValueProvider.dart';
import '... | 1 |
Mehariwamlake/article | 9f81d43 | article_app/lib/features/auth/data/data_source/local_data_source.dart | Dart | www.github.com/Mehariwamlake/article/tree/main/article_app/lib/features/auth/data/data_source/local_data_source.dart | https://raw.githubusercontent.com/Mehariwamlake/article/9f81d43/article_app/lib/features/auth/data/data_source/local_data_source.dart | Mehariwamlake/article 9f81d43 article_app/lib/features/auth/data/data_source/local_data_source.dart | true | 200 | 940 | import '../models/authenticated_user_info_model.dart';
abstract class AuthLocalDataSource {
/// Caches a [token] in the local data source
///
/// Throws a [CacheException] for cache errors
Future<void> cacheToken(String token);
Future<void> removeToken();
/// Gets the cached token from the local data sou... | 7 |
dr-old/klontong_store | 3a26277 | lib/blocs/category_bloc.dart | Dart | www.github.com/dr-old/klontong_store/tree/main/lib/blocs/category_bloc.dart | https://raw.githubusercontent.com/dr-old/klontong_store/3a26277/lib/blocs/category_bloc.dart | dr-old/klontong_store 3a26277 lib/blocs/category_bloc.dart | true | 200 | 3,318 | import 'package:flutter_bloc/flutter_bloc.dart';
import '../models/category_model.dart';
import '../repositories/category_respository.dart';
// Event
abstract class CategoryEvent {}
class FetchCategories extends CategoryEvent {
final int page;
final bool reload;
final bool? all;
FetchCategories(this.page, th... | 0 |
Preetam3620/AndroidStudioProjects | e309df9 | seri_flutter_app_merge/lib/homescreen/data/product_list.dart | Dart | www.github.com/Preetam3620/AndroidStudioProjects/tree/main/seri_flutter_app_merge/lib/homescreen/data/product_list.dart | https://raw.githubusercontent.com/Preetam3620/AndroidStudioProjects/e309df9/seri_flutter_app_merge/lib/homescreen/data/product_list.dart | Preetam3620/AndroidStudioProjects e309df9 seri_flutter_app_merge/lib/homescreen/data/product_list.dart | true | 200 | 4,335 | import 'package:flutter/material.dart';
import 'package:seri_flutter_app/homescreen/models/product_class.dart';
import '../../constants.dart';
class ProductList extends StatelessWidget {
final Product myProduct;
const ProductList({this.myProduct});
@override
Widget build(BuildContext context) {
Size siz... | 4 |
gawasa29/flutter_bluesky_clone | 457b5ce | lib/features/auth/view/sign_in_screen.dart | Dart | www.github.com/gawasa29/flutter_bluesky_clone/tree/main/lib/features/auth/view/sign_in_screen.dart | https://raw.githubusercontent.com/gawasa29/flutter_bluesky_clone/457b5ce/lib/features/auth/view/sign_in_screen.dart | gawasa29/flutter_bluesky_clone 457b5ce lib/features/auth/view/sign_in_screen.dart | true | 200 | 1,698 | import 'package:flutter/material.dart';
import 'package:flutter_bluesky_clone/common/widgets/custom_scaffold.dart';
import 'package:flutter_bluesky_clone/features/auth/view/sign_in_form_screen.dart';
import 'package:flutter_bluesky_clone/features/auth/view/widgets/custom_navigation_button.dart';
import 'package:go_rout... | 6 |
officalAbdulMalik/eatoutroundabout | 1e6b562 | lib/widgets/evidence_item.dart | Dart | www.github.com/officalAbdulMalik/eatoutroundabout/tree/main/lib/widgets/evidence_item.dart | https://raw.githubusercontent.com/officalAbdulMalik/eatoutroundabout/1e6b562/lib/widgets/evidence_item.dart | officalAbdulMalik/eatoutroundabout 1e6b562 lib/widgets/evidence_item.dart | true | 200 | 2,896 | import 'package:eatoutroundabout/models/evidence_model.dart';
import 'package:eatoutroundabout/utils/constants.dart';
import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
class EvidenceItem extends StatelessWidget {
final Evidence? evidence;
final bool? isMyEvidence;
EvidenceItem({this.isMyE... | 5 |
NitionVR/FuelerSA | 8605206 | lib/main.dart | Dart | www.github.com/NitionVR/FuelerSA/tree/main/lib/main.dart | https://raw.githubusercontent.com/NitionVR/FuelerSA/8605206/lib/main.dart | NitionVR/FuelerSA 8605206 lib/main.dart | true | 200 | 2,587 | import 'package:flutter/material.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:fuel_price_tracker/pages/home_page.dart';
import 'package:fuel_price_tracker/pages/login_page.dart';
import 'package:fuel_price_tracker/repositories/firebase_repository.dart';
import 'package:fuel_price_tracker/se... | 2 |
jamshidhusenov/e-commerce | b61a0da | lib/pages/login_page.dart | Dart | www.github.com/jamshidhusenov/e-commerce/tree/main/lib/pages/login_page.dart | https://raw.githubusercontent.com/jamshidhusenov/e-commerce/b61a0da/lib/pages/login_page.dart | jamshidhusenov/e-commerce b61a0da lib/pages/login_page.dart | true | 200 | 930 | import 'package:e_commerce/pages/intro_page.dart';
import 'package:e_commerce/pages/registration_page.dart';
import 'package:e_commerce/services/io_service.dart';
import 'home_page.dart';
class LoginPage {
LoginPage() {
login();
}
void login() {
print("Login");
io.console("Email:");
String emai... | 1 |
AhmedMohamedKhaledIbrahem/cinema_club | 83d560b | lib/features/getmovies/domain/usecases/get_top_rated_movies.dart | Dart | www.github.com/AhmedMohamedKhaledIbrahem/cinema_club/tree/main/lib/features/getmovies/domain/usecases/get_top_rated_movies.dart | https://raw.githubusercontent.com/AhmedMohamedKhaledIbrahem/cinema_club/83d560b/lib/features/getmovies/domain/usecases/get_top_rated_movies.dart | AhmedMohamedKhaledIbrahem/cinema_club 83d560b lib/features/getmovies/domain/usecases/get_top_rated_movies.dart | true | 200 | 399 | import '../../../../core/errors/failures.dart';
import '../entities/movies.dart';
import '../repositories/movie_repository.dart';
import 'package:dartz/dartz.dart';
class GetTopRatedMovies {
MovieRepository movieRepository;
GetTopRatedMovies(this.movieRepository);
Future<Either<Failures, List<Movies>>> getTopRat... | 7 |
YugoMatsuda/TMDB_Client | 10dd2fb | lib/repositopry/genre_repository.dart | Dart | www.github.com/YugoMatsuda/TMDB_Client/tree/main/lib/repositopry/genre_repository.dart | https://raw.githubusercontent.com/YugoMatsuda/TMDB_Client/10dd2fb/lib/repositopry/genre_repository.dart | YugoMatsuda/TMDB_Client 10dd2fb lib/repositopry/genre_repository.dart | true | 200 | 1,042 | import 'dart:io';
import 'package:dio/dio.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:movie_log_app/api/data/genre/genre.dart';
import 'package:movie_log_app/datasourse/remote_datasource/genre_remote_datasoure.dart';
abstract class GenreRepository {
Future<GenreResult> getGenre();
}
... | 3 |
Abra-ora/TP2-flutter-wheater-app | 9999c05 | lib/views/weather_view.dart | Dart | www.github.com/Abra-ora/TP2-flutter-wheater-app/tree/main/lib/views/weather_view.dart | https://raw.githubusercontent.com/Abra-ora/TP2-flutter-wheater-app/9999c05/lib/views/weather_view.dart | Abra-ora/TP2-flutter-wheater-app 9999c05 lib/views/weather_view.dart | true | 200 | 2,991 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:weather_app/api/network_api.dart';
import 'package:weather_app/models/location_model.dart';
import '../bloc/weather_bloc.dart';
import '../widgets/current_weather_widget.dart';
import '../widgets/forecast_view_dayli... | 0 |
vazad28/mycaselog_realm | 680143a | lib/notes/view/notes_view.dart | Dart | www.github.com/vazad28/mycaselog_realm/tree/main/lib/notes/view/notes_view.dart | https://raw.githubusercontent.com/vazad28/mycaselog_realm/680143a/lib/notes/view/notes_view.dart | vazad28/mycaselog_realm 680143a lib/notes/view/notes_view.dart | true | 200 | 1,582 | import 'package:app_models/app_models.dart';
import 'package:app_ui/app_ui.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_staggered_grid_view/flutter_staggered_grid_view.dart';
import 'package:realm... | 6 |
asif786ka/feednewsloadmore | 22c33d1 | lib/ui/widgets/app_bars/back_app_bar.dart | Dart | www.github.com/asif786ka/feednewsloadmore/tree/main/lib/ui/widgets/app_bars/back_app_bar.dart | https://raw.githubusercontent.com/asif786ka/feednewsloadmore/22c33d1/lib/ui/widgets/app_bars/back_app_bar.dart | asif786ka/feednewsloadmore 22c33d1 lib/ui/widgets/app_bars/back_app_bar.dart | true | 200 | 692 | import 'package:feednewsloadmore/constants/app_colors.dart';
import 'package:feednewsloadmore/constants/constants.dart';
import 'package:flutter/material.dart';
class BackAppBar extends StatelessWidget implements PreferredSizeWidget {
const BackAppBar({
super.key,
});
@override
Widget build(BuildContex... | 4 |
arshana-thasni-tm/dartexam | cc045a7 | bin/count_odd_even_numbers.dart | Dart | www.github.com/arshana-thasni-tm/dartexam/tree/main/bin/count_odd_even_numbers.dart | https://raw.githubusercontent.com/arshana-thasni-tm/dartexam/cc045a7/bin/count_odd_even_numbers.dart | arshana-thasni-tm/dartexam cc045a7 bin/count_odd_even_numbers.dart | true | 200 | 596 | /// *** WAP to find the count of even number odd numbers and zeros from the given list
/// *** a = [-5,1,10,0, 2, -4,0,3, 5, 8, 28, -74,0,41, 34,5,-9,62] ***///
void main() {
List<int> a = [-5, 1, 10, 0, 2, -4, 0, 3, 5, 8, 28, -74, 0, 41, 34, 5, -9, 62];
int evenCount = 0;
int oddCount = 0;
int zeroCount = 0;
... | 5 |
pip-services4/pip-services4-dart | 37b3806 | pip-services4-components-dart/lib/src/run/Closer.dart | Dart | www.github.com/pip-services4/pip-services4-dart/tree/main/pip-services4-components-dart/lib/src/run/Closer.dart | https://raw.githubusercontent.com/pip-services4/pip-services4-dart/37b3806/pip-services4-components-dart/lib/src/run/Closer.dart | pip-services4/pip-services4-dart 37b3806 pip-services4-components-dart/lib/src/run/Closer.dart | true | 200 | 1,383 | import 'dart:async';
import 'package:pip_services4_components/pip_services4_components.dart';
/// Helper class that closes previously opened components.
///
/// [ICloseable]
class Closer {
/// Closes specific component.
///
/// To be closed components must implement [ICloseable] interface.
/// If they don't ... | 2 |
ritagroup/gslist | 516db45 | example/lib/services/api_provider.dart | Dart | www.github.com/ritagroup/gslist/tree/main/example/lib/services/api_provider.dart | https://raw.githubusercontent.com/ritagroup/gslist/516db45/example/lib/services/api_provider.dart | ritagroup/gslist 516db45 example/lib/services/api_provider.dart | true | 200 | 1,359 | import 'dart:io';
import 'package:dio/dio.dart';
import 'package:pretty_dio_logger/pretty_dio_logger.dart';
class MyHttpOverrides extends HttpOverrides {
@override
HttpClient createHttpClient(SecurityContext? context) {
return super.createHttpClient(context)
..badCertificateCallback = (X509Certificate c... | 1 |
elffirem/state_management | b9cf603 | lib/main.dart | Dart | www.github.com/elffirem/state_management/tree/main/lib/main.dart | https://raw.githubusercontent.com/elffirem/state_management/b9cf603/lib/main.dart | elffirem/state_management b9cf603 lib/main.dart | true | 200 | 2,118 | import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:get/get.dart';
import 'views/light_switch_page_riverpod.dart';
import 'views/light_switch_page_getx.dart';
void main() {
runApp(const ProviderScope(child: MyApp()));
}
class MyApp extends StatelessWidget... | 0 |
katrinakaif100/backend-api | 7935d65 | lib/model_data.dart | Dart | www.github.com/katrinakaif100/backend-api/tree/main/lib/model_data.dart | https://raw.githubusercontent.com/katrinakaif100/backend-api/7935d65/lib/model_data.dart | katrinakaif100/backend-api 7935d65 lib/model_data.dart | true | 200 | 393 | import 'package:json_annotation/json_annotation.dart';
part 'model_data.g.dart';
@JsonSerializable()
class User {
final int id;
final String username;
final String password;
User({required this.id, required this.username, required this.password});
factory User.fromJson(Map<String, dynamic> json) => _$User... | 7 |
fleetimee/infinite-impermanence | 83dabdc | lib/app/modules/pengajuan_detail/views/pengajuan_detail_view.dart | Dart | www.github.com/fleetimee/infinite-impermanence/tree/main/lib/app/modules/pengajuan_detail/views/pengajuan_detail_view.dart | https://raw.githubusercontent.com/fleetimee/infinite-impermanence/83dabdc/lib/app/modules/pengajuan_detail/views/pengajuan_detail_view.dart | fleetimee/infinite-impermanence 83dabdc lib/app/modules/pengajuan_detail/views/pengajuan_detail_view.dart | true | 200 | 2,478 | // 🐦 Flutter imports:
import 'package:akm/app/common/style.dart';
import 'package:akm/app/modules/pengajuan_detail/widget/pengajuan_detail_detail_button.dart';
import 'package:akm/app/modules/pengajuan_detail/widget/pengajuan_detail_info_debitur_card.dart';
import 'package:akm/app/modules/pengajuan_detail/widget/penga... | 6 |
IT22148254/spm_flut_proj | dc5fb56 | spm_project/lib/features/videoConference/models/conference_room_model.dart | Dart | www.github.com/IT22148254/spm_flut_proj/tree/main/spm_project/lib/features/videoConference/models/conference_room_model.dart | https://raw.githubusercontent.com/IT22148254/spm_flut_proj/dc5fb56/spm_project/lib/features/videoConference/models/conference_room_model.dart | IT22148254/spm_flut_proj dc5fb56 spm_project/lib/features/videoConference/models/conference_room_model.dart | true | 200 | 1,565 | class ConferenceRoom {
final String roomId;
final String roomName;
final String hostId;
final List<String> participantIds;
final bool isActive;
ConferenceRoom({
required this.roomId,
required this.roomName,
required this.hostId,
required this.participantIds,
this.isActive = false,
})... | 3 |
chendengyuanxm/lib_core | 1616e13 | lib/src/net/interface/default_http_config.dart | Dart | www.github.com/chendengyuanxm/lib_core/tree/main/lib/src/net/interface/default_http_config.dart | https://raw.githubusercontent.com/chendengyuanxm/lib_core/1616e13/lib/src/net/interface/default_http_config.dart | chendengyuanxm/lib_core 1616e13 lib/src/net/interface/default_http_config.dart | true | 200 | 775 | import 'dart:io';
import 'package:dio/src/interceptor.dart';
import 'package:dio/src/options.dart';
import 'package:lib_core/src/net/interceptors/token_interceptor.dart';
import 'package:lib_core/src/net/interface/i_http_config.dart';
import 'package:lib_core/src/net/model/http_result.dart';
abstract class DefaultHttp... | 4 |
euphoriiiiaa/champ | 7604c0a | lib/models/ordersneakersmodel.dart | Dart | www.github.com/euphoriiiiaa/champ/tree/main/lib/models/ordersneakersmodel.dart | https://raw.githubusercontent.com/euphoriiiiaa/champ/7604c0a/lib/models/ordersneakersmodel.dart | euphoriiiiaa/champ 7604c0a lib/models/ordersneakersmodel.dart | true | 200 | 2,541 | // ignore_for_file: public_member_api_docs, sort_constructors_first
import 'dart:convert';
import 'dart:typed_data';
class OrderSneakersModel {
final String id;
final String sneaker;
final int orderid;
final int count;
final Uint8List? image;
final String? sneakername;
final double? cost;
OrderSneakers... | 1 |
CodeGather/baidu_ocr | 9ce6af6 | example/lib/main.dart | Dart | www.github.com/CodeGather/baidu_ocr/tree/main/example/lib/main.dart | https://raw.githubusercontent.com/CodeGather/baidu_ocr/9ce6af6/example/lib/main.dart | CodeGather/baidu_ocr 9ce6af6 example/lib/main.dart | true | 200 | 6,471 | import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'package:baidu_ocr/baidu_ocr.dart';
import 'package:baidu_ocr/model/Enum.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
void main() => runApp(const MyApp());
class MyA... | 5 |
j1hoonK/givoo | aa312d4 | flutter/lib/component/view/dntListCarousel.dart | Dart | www.github.com/j1hoonK/givoo/tree/main/flutter/lib/component/view/dntListCarousel.dart | https://raw.githubusercontent.com/j1hoonK/givoo/aa312d4/flutter/lib/component/view/dntListCarousel.dart | j1hoonK/givoo aa312d4 flutter/lib/component/view/dntListCarousel.dart | true | 200 | 1,304 | import 'package:carousel_slider/carousel_slider.dart';
import 'package:flutter/material.dart';
import 'package:givoo/component/model/com_dnthistory_model.dart';
class DntListCarousel extends StatelessWidget {
DntListCarousel({super.key,required this.dntList});
List<Donation> dntList;
@override
Widget build(Bui... | 2 |
DiftaFitrahul/riverpod_project | 87dc506 | lib/app-6-FILTER-StateNotifier/Page/listview_page_component.dart | Dart | www.github.com/DiftaFitrahul/riverpod_project/tree/main/lib/app-6-FILTER-StateNotifier/Page/listview_page_component.dart | https://raw.githubusercontent.com/DiftaFitrahul/riverpod_project/87dc506/lib/app-6-FILTER-StateNotifier/Page/listview_page_component.dart | DiftaFitrahul/riverpod_project 87dc506 lib/app-6-FILTER-StateNotifier/Page/listview_page_component.dart | true | 200 | 1,299 | import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import '../model/page.dart';
import '../provider/page_provider.dart';
class ListViewPage extends ConsumerWidget {
final AlwaysAliveProviderBase<Iterable<Person>> provider;
const ListViewPage({super.key, required this.... | 6 |
Abhay123qwe/todoapp | 251c5c1 | lib/main.dart | Dart | www.github.com/Abhay123qwe/todoapp/tree/main/lib/main.dart | https://raw.githubusercontent.com/Abhay123qwe/todoapp/251c5c1/lib/main.dart | Abhay123qwe/todoapp 251c5c1 lib/main.dart | true | 200 | 589 | import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:todoapp/firebase_options.dart';
import 'package:todoapp/screens/splash_screen.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp(options: DefaultFirebaseOption... | 7 |
ShojolAhmed/fooder_app | 63877df | lib/values/colors.dart | Dart | www.github.com/ShojolAhmed/fooder_app/tree/main/lib/values/colors.dart | https://raw.githubusercontent.com/ShojolAhmed/fooder_app/63877df/lib/values/colors.dart | ShojolAhmed/fooder_app 63877df lib/values/colors.dart | true | 200 | 389 | import 'package:flutter/material.dart';
const kPrimaryColor = Color.fromARGB(255, 232, 76, 79);
const kSecondaryColor = Color(0xFFEDA344);
const kTertiaryColor = Color(0xFFF7E8E5);
const kBackgroundColor = Color.fromARGB(255, 249, 245, 242);
const kOnPrimaryColor = Colors.white;
const kPrimaryTextColor = Color.fromA... | 3 |
royalgaetan/wesh | 0d165ff | lib/pages/settings.pages/payment_activity_page.dart | Dart | www.github.com/royalgaetan/wesh/tree/main/lib/pages/settings.pages/payment_activity_page.dart | https://raw.githubusercontent.com/royalgaetan/wesh/0d165ff/lib/pages/settings.pages/payment_activity_page.dart | royalgaetan/wesh 0d165ff lib/pages/settings.pages/payment_activity_page.dart | true | 200 | 8,005 | import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:lottie/lottie.dart';
import 'package:wesh/widgets/payment_card.dart';
import '../../models/payment.dart';
impor... | 4 |
shb09/ripnews-apk | 987062f | lib/main.dart | Dart | www.github.com/shb09/ripnews-apk/tree/main/lib/main.dart | https://raw.githubusercontent.com/shb09/ripnews-apk/987062f/lib/main.dart | shb09/ripnews-apk 987062f lib/main.dart | true | 200 | 1,838 | import "package:firebase_core/firebase_core.dart";
import 'package:flutter/material.dart';
import "package:shared_preferences/shared_preferences.dart";
import "login.dart";
import "navi.dart";
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp();
fina... | 0 |
slutchcms/butterfly | 7161436 | lib/app/screens/home/widgets/weather_icon.dart | Dart | www.github.com/slutchcms/butterfly/tree/main/lib/app/screens/home/widgets/weather_icon.dart | https://raw.githubusercontent.com/slutchcms/butterfly/7161436/lib/app/screens/home/widgets/weather_icon.dart | slutchcms/butterfly 7161436 lib/app/screens/home/widgets/weather_icon.dart | true | 200 | 885 | import 'package:flutter/material.dart';
import '../../../data/models/open_weather_api/icon/open_weather_api_icon.dart';
class WeatherIcon extends StatelessWidget {
final OpenWeatherApiIcon icon;
final Color? loadingIndicatorColor;
const WeatherIcon({
super.key,
required this.icon,
this.loadingIndic... | 5 |
MiroMutti/movie-flutter-app | 7785581 | lib/src/features/movies/service/helpers.dart | Dart | www.github.com/MiroMutti/movie-flutter-app/tree/main/lib/src/features/movies/service/helpers.dart | https://raw.githubusercontent.com/MiroMutti/movie-flutter-app/7785581/lib/src/features/movies/service/helpers.dart | MiroMutti/movie-flutter-app 7785581 lib/src/features/movies/service/helpers.dart | true | 200 | 370 | String getDuration(String movieDuration) {
RegExp pattern = RegExp(r'PT(\d+)M');
String duration = '';
Iterable<Match> matches = pattern.allMatches(movieDuration);
if (matches.isNotEmpty) {
Match match = matches.first;
duration = match.group(1).toString();
// return duration;
} else {
// pr... | 1 |
CyanaseInc/cyanase-App | 328558f | lib/models/top_up_model.dart | Dart | www.github.com/CyanaseInc/cyanase-App/tree/main/lib/models/top_up_model.dart | https://raw.githubusercontent.com/CyanaseInc/cyanase-App/328558f/lib/models/top_up_model.dart | CyanaseInc/cyanase-App 328558f lib/models/top_up_model.dart | true | 200 | 719 | import 'package:cyanase_mobile_app/screens/topup/slides/top_up_slide_1.dart';
import 'package:cyanase_mobile_app/screens/topup/slides/top_up_slide_2.dart';
import 'package:flutter/cupertino.dart';
class TopUpModel {
final String title, description;
final Widget slide;
TopUpModel(
{required this.slide, req... | 2 |
rajibtalukder/Telesheba-App-UI | 0075ae3 | lib/global_widgets/build_doctor.dart | Dart | www.github.com/rajibtalukder/Telesheba-App-UI/tree/main/lib/global_widgets/build_doctor.dart | https://raw.githubusercontent.com/rajibtalukder/Telesheba-App-UI/0075ae3/lib/global_widgets/build_doctor.dart | rajibtalukder/Telesheba-App-UI 0075ae3 lib/global_widgets/build_doctor.dart | true | 200 | 2,550 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import '../constants/colors.dart';
import 'custom_texts.dart';
Widget buildDoctor() {
return Container(
height: 105.h,
width: double.infinity,
padding: EdgeInsets.symmetric(horizontal: 12.w, vertical: 6.... | 7 |
G1veng/dd_app_ui | fec13e6 | lib/data/services/data_service.dart | Dart | www.github.com/G1veng/dd_app_ui/tree/main/lib/data/services/data_service.dart | https://raw.githubusercontent.com/G1veng/dd_app_ui/fec13e6/lib/data/services/data_service.dart | G1veng/dd_app_ui fec13e6 lib/data/services/data_service.dart | true | 200 | 9,994 | import 'package:dd_app_ui/data/services/database.dart';
import 'package:dd_app_ui/domain/enums/db_query.dart';
import 'package:dd_app_ui/domain/models/direct.dart';
import 'package:dd_app_ui/domain/models/direct_file.dart';
import 'package:dd_app_ui/domain/models/direct_member.dart';
import 'package:dd_app_ui/domain/mo... | 4 |
sagardewangan1/nirman_user_app | 26aed4f | lib/service/auth_services/login_service.dart | Dart | www.github.com/sagardewangan1/nirman_user_app/tree/main/lib/service/auth_services/login_service.dart | https://raw.githubusercontent.com/sagardewangan1/nirman_user_app/26aed4f/lib/service/auth_services/login_service.dart | sagardewangan1/nirman_user_app 26aed4f lib/service/auth_services/login_service.dart | true | 200 | 4,861 | import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
import 'package:provider/provider.dart';
import 'package:qixer/helper/extension/string_extension.dart';
import 'package:qixer/service/common_service.dart';
import 'package:qixer/service/profile_service.dart';
import... | 6 |
sunnyCodeENGINEER/group_11_fitness_app | acecc68 | fitness_app/lib/models/workout_model.dart | Dart | www.github.com/sunnyCodeENGINEER/group_11_fitness_app/tree/main/fitness_app/lib/models/workout_model.dart | https://raw.githubusercontent.com/sunnyCodeENGINEER/group_11_fitness_app/acecc68/fitness_app/lib/models/workout_model.dart | sunnyCodeENGINEER/group_11_fitness_app acecc68 fitness_app/lib/models/workout_model.dart | true | 200 | 1,714 | class Split {
final int id;
final String name;
final int monday;
final int tuesday;
final int wednesday;
final int thursday;
final int friday;
final int saturday;
final int sunday;
Split({
required this.id,
required this.name,
required this.monday,
required this.tuesday,
require... | 0 |
302804Fikri/klinik_app | 8c3541f | lib/ui (1)/poli_form_page (1).dart | Dart | www.github.com/302804Fikri/klinik_app/tree/main/lib/ui (1)/poli_form_page (1).dart | https://raw.githubusercontent.com/302804Fikri/klinik_app/8c3541f/lib/ui%20%281%29/poli_form_page%20%281%29.dart | 302804Fikri/klinik_app 8c3541f lib/ui (1)/poli_form_page (1).dart | true | 200 | 1,455 | import 'package:flutter/material.dart';
import 'package:klinik_app/service/poli_service.dart';
import 'package:klinik_app/ui/poli_detail_page.dart';
import '../model/poli.dart';
class PoliForm extends StatefulWidget {
const PoliForm({super.key});
@override
State<PoliForm> createState() => _PoliFormState();
}
... | 1 |
merdandt/fluttermatic | d907600 | __brick__/{{project_name.snakeCase()}}/packages/core/lib/src/exceptions/exception_parser.dart | Dart | www.github.com/merdandt/fluttermatic/tree/main/__brick__/{{project_name.snakeCase()}}/packages/core/lib/src/exceptions/exception_parser.dart | https://raw.githubusercontent.com/merdandt/fluttermatic/d907600/__brick__/%7B%7Bproject_name.snakeCase%28%29%7D%7D/packages/core/lib/src/exceptions/exception_parser.dart | merdandt/fluttermatic d907600 __brick__/{{project_name.snakeCase()}}/packages/core/lib/src/exceptions/exception_parser.dart | true | 200 | 800 | // * errorType is a string that can be one of the following:
import 'package:core/core.dart';
AppExceptions exceptionParser(final dynamic data) {
if (data is! Map<String, dynamic>) {
return OtherException(message: '');
}
final dataMap = data;
if (dataMap['error'] is! String) {
return OtherException(m... | 5 |
SenghengMeasheanh/capstone_ii | f325a8f | lib/logic/bloc/auth/auth_bloc.dart | Dart | www.github.com/SenghengMeasheanh/capstone_ii/tree/main/lib/logic/bloc/auth/auth_bloc.dart | https://raw.githubusercontent.com/SenghengMeasheanh/capstone_ii/f325a8f/lib/logic/bloc/auth/auth_bloc.dart | SenghengMeasheanh/capstone_ii f325a8f lib/logic/bloc/auth/auth_bloc.dart | true | 200 | 4,710 | import 'dart:async';
import 'package:bloc/bloc.dart';
import 'package:capstone_ii/data/data_export.dart';
import 'package:capstone_ii/helper/helper_export.dart';
import 'package:dio/dio.dart';
import 'package:flutter/material.dart';
import 'package:meta/meta.dart';
part 'auth_event.dart';
part 'auth_state.dart';
cla... | 2 |
Sajna-N/flutter_training | 3103b31 | lib/main.dart | Dart | www.github.com/Sajna-N/flutter_training/tree/main/lib/main.dart | https://raw.githubusercontent.com/Sajna-N/flutter_training/3103b31/lib/main.dart | Sajna-N/flutter_training 3103b31 lib/main.dart | true | 200 | 784 | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import './providers/counter_provider.dart';
import './providers/shopping_cart_provider.dart';
import './screens/home_screen.dart';
import './screens/second_screen.dart';
void main() {
runApp(
MultiProvider(
providers: [
... | 3 |
pine901/ACMS | d23e0c1 | lib/views/theme.dart | Dart | www.github.com/pine901/ACMS/tree/main/lib/views/theme.dart | https://raw.githubusercontent.com/pine901/ACMS/d23e0c1/lib/views/theme.dart | pine901/ACMS d23e0c1 lib/views/theme.dart | true | 200 | 8,851 | /*
* @author Oleg Khalidov <brooth@gmail.com>.
* -----------------------------------------------
* Freelance software development:
* Upwork: https://www.upwork.com/fl/khalidovoleg
* Freelancer: https://www.freelancer.com/u/brooth
*/
import 'package:flutter/material.dart';
class AppPalette {
static const prima... | 7 |
hndypryg/UAS-PPB-Kelompok-17-Tracking-Cuaca | f2f5c88 | lib/pages/result.dart | Dart | www.github.com/hndypryg/UAS-PPB-Kelompok-17-Tracking-Cuaca/tree/main/lib/pages/result.dart | https://raw.githubusercontent.com/hndypryg/UAS-PPB-Kelompok-17-Tracking-Cuaca/f2f5c88/lib/pages/result.dart | hndypryg/UAS-PPB-Kelompok-17-Tracking-Cuaca f2f5c88 lib/pages/result.dart | true | 200 | 6,561 | import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
class Result extends StatefulWidget {
final String place;
const Result({Key? key, required this.place}) : super(key: key);
@override
State<Result> createState() => _ResultState();
}
class _ResultState ext... | 4 |
JCDG002/adso2873707 | a4ffefc | actividad052.dart | Dart | www.github.com/JCDG002/adso2873707/tree/main/actividad052.dart | https://raw.githubusercontent.com/JCDG002/adso2873707/a4ffefc/actividad052.dart | JCDG002/adso2873707 a4ffefc actividad052.dart | true | 200 | 998 | // 2. Leer 10 números e imprimir solamente los números positivos
// import 'dart:io';
// void main(List<String> args) {
// int cont = 1, suma = 0;
// do {
// print('escriba el numero positivo $cont:');
// suma = int.parse(stdin.readLineSync()!);
// if (suma > 0) {
// suma++;
// cont++;
... | 0 |
Highlite-app/highlite-flutter | 86500a8 | lib/presentation/pages/navigation/profile/default/profile_about_section.dart | Dart | www.github.com/Highlite-app/highlite-flutter/tree/main/lib/presentation/pages/navigation/profile/default/profile_about_section.dart | https://raw.githubusercontent.com/Highlite-app/highlite-flutter/86500a8/lib/presentation/pages/navigation/profile/default/profile_about_section.dart | Highlite-app/highlite-flutter 86500a8 lib/presentation/pages/navigation/profile/default/profile_about_section.dart | true | 200 | 1,140 | import 'package:flutter/material.dart';
import '../../../../../core/resources/color_constants.dart';
import '../../../../../core/resources/typography_theme.dart';
import '../../../../widgets/constants/text_style.dart';
import '../../../../widgets/profile/profile_section.dart';
class ProfileAboutSection extends Statele... | 1 |
AslamTharammal/fire-base-auth | 5116b15 | lib/application/tasks/controller/sign_up_controller.dart | Dart | www.github.com/AslamTharammal/fire-base-auth/tree/main/lib/application/tasks/controller/sign_up_controller.dart | https://raw.githubusercontent.com/AslamTharammal/fire-base-auth/5116b15/lib/application/tasks/controller/sign_up_controller.dart | AslamTharammal/fire-base-auth 5116b15 lib/application/tasks/controller/sign_up_controller.dart | true | 200 | 1,695 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firbace/application/authendication/model/user_model.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import '../view/home_screen.dart';
class SignUpControlle... | 5 |
RohanDoshi21/FCM-NodeJs-Flutter | 0c8ef41 | lib/main.dart | Dart | www.github.com/RohanDoshi21/FCM-NodeJs-Flutter/tree/main/lib/main.dart | https://raw.githubusercontent.com/RohanDoshi21/FCM-NodeJs-Flutter/0c8ef41/lib/main.dart | RohanDoshi21/FCM-NodeJs-Flutter 0c8ef41 lib/main.dart | true | 200 | 1,250 | import 'dart:developer';
import 'package:flutter/material.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:firebase_messaging/firebase_messaging.dart';
import 'firebase_options.dart';
import 'services/firebase_notifications.dart';
import 'services/local_notifications.dart';
Future<void> mai... | 2 |
blacknight9/ToDo | 454905a | lib/controllers/SignUpLoginController.dart | Dart | www.github.com/blacknight9/ToDo/tree/main/lib/controllers/SignUpLoginController.dart | https://raw.githubusercontent.com/blacknight9/ToDo/454905a/lib/controllers/SignUpLoginController.dart | blacknight9/ToDo 454905a lib/controllers/SignUpLoginController.dart | true | 200 | 6,567 |
import 'package:ent5m/models/StaffModel.dart';
import 'package:ent5m/services/firebase_services.dart';
import 'package:ent5m/views/Home/AddNotePage.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/cupertino.dart';
import 'package:fluttertoast/fluttertoast.dart';
import 'package:get/get... | 6 |
KTnics/testline | adb8d29 | lib/main.dart | Dart | www.github.com/KTnics/testline/tree/main/lib/main.dart | https://raw.githubusercontent.com/KTnics/testline/adb8d29/lib/main.dart | KTnics/testline adb8d29 lib/main.dart | true | 200 | 685 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:testattached/quiz.dart';
import 'bloc.dart';
import 'event.dart';
void main() {
runApp(
MultiBlocProvider(
providers: [
BlocProvider(
create: ... | 3 |
RobinHelbig/Structure_Test | 737e7ef | lib/Data/Repositories/WhiskyRepositoryObjectBox.dart | Dart | www.github.com/RobinHelbig/Structure_Test/tree/main/lib/Data/Repositories/WhiskyRepositoryObjectBox.dart | https://raw.githubusercontent.com/RobinHelbig/Structure_Test/737e7ef/lib/Data/Repositories/WhiskyRepositoryObjectBox.dart | RobinHelbig/Structure_Test 737e7ef lib/Data/Repositories/WhiskyRepositoryObjectBox.dart | true | 200 | 563 | import 'package:structure_test/Data/Repositories/IWhiskyRepository.dart';
import 'package:structure_test/Models/Whisky.dart';
import '../../main.dart';
import '../ObjectBox/objectbox.g.dart';
class WhiskyRepositoryObjectBox implements IWhiskyRepository{
final whiskyBox = objectbox.whiskyBox;
@override
List<Whi... | 7 |
getsh91/my_eccomerce | e3a7f6f | lib/features/shop/screens/card/cart.dart | Dart | www.github.com/getsh91/my_eccomerce/tree/main/lib/features/shop/screens/card/cart.dart | https://raw.githubusercontent.com/getsh91/my_eccomerce/e3a7f6f/lib/features/shop/screens/card/cart.dart | getsh91/my_eccomerce e3a7f6f lib/features/shop/screens/card/cart.dart | true | 200 | 1,018 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:t_store/common/widgets/appbar/appbar.dart';
import 'package:t_store/features/shop/screens/card/widgets/cart_items.dart';
import 'package:t_store/features/shop/screens/checkout/checkout.dart';
import 'package:t_store/utils/constants/s... | 4 |
darshchaudhary/Apto | 5628f86 | lib/main.dart | Dart | www.github.com/darshchaudhary/Apto/tree/main/lib/main.dart | https://raw.githubusercontent.com/darshchaudhary/Apto/5628f86/lib/main.dart | darshchaudhary/Apto 5628f86 lib/main.dart | true | 200 | 1,789 | import 'package:apto/student_landing_page.dart';
import 'package:apto/student_login_page.dart';
import 'package:apto/past_tests.dart';
import 'package:apto/student_registration_page.dart';
import 'package:apto/splash_screen.dart';
import 'package:apto/teacher_landing_page.dart';
import 'package:apto/teacher_registratio... | 1 |
SAISWARI-123/FoodBridge | b03aa1b | lib/policies/termsof_services/termsof_services_model.dart | Dart | www.github.com/SAISWARI-123/FoodBridge/tree/main/lib/policies/termsof_services/termsof_services_model.dart | https://raw.githubusercontent.com/SAISWARI-123/FoodBridge/b03aa1b/lib/policies/termsof_services/termsof_services_model.dart | SAISWARI-123/FoodBridge b03aa1b lib/policies/termsof_services/termsof_services_model.dart | true | 200 | 442 | import '/flutter_flow/flutter_flow_util.dart';
import 'termsof_services_widget.dart' show TermsofServicesWidget;
import 'package:flutter/material.dart';
class TermsofServicesModel extends FlutterFlowModel<TermsofServicesWidget> {
/// State fields for stateful widgets in this page.
final unfocusNode = FocusNode()... | 5 |
bese21/projects | 4930c24 | social_media_app/lib/login_or_register/auth.dart | Dart | www.github.com/bese21/projects/tree/main/social_media_app/lib/login_or_register/auth.dart | https://raw.githubusercontent.com/bese21/projects/4930c24/social_media_app/lib/login_or_register/auth.dart | bese21/projects 4930c24 social_media_app/lib/login_or_register/auth.dart | true | 200 | 577 | import 'package:flutter/src/widgets/framework.dart';
import 'package:flutter/src/widgets/placeholder.dart';
import '../pages/login.dart';
import '../pages/signup.dart';
class Auth extends StatefulWidget {
const Auth({super.key});
@override
State<Auth> createState() => _AuthState();
}
class _AuthState extends ... | 0 |
patelhitarth08/Pawsitive-Match-A-pet-adoption-App | edc77dd | lib/Homescreen.dart | Dart | www.github.com/patelhitarth08/Pawsitive-Match-A-pet-adoption-App/tree/main/lib/Homescreen.dart | https://raw.githubusercontent.com/patelhitarth08/Pawsitive-Match-A-pet-adoption-App/edc77dd/lib/Homescreen.dart | patelhitarth08/Pawsitive-Match-A-pet-adoption-App edc77dd lib/Homescreen.dart | true | 200 | 1,789 | import 'package:flutter/material.dart';
import '/database/mongodb_service.dart';
import '/login.dart'; // Import your login screen file
class HomeScreen extends StatefulWidget {
final String username;
HomeScreen({required this.username});
@override
_HomeScreenState createState() => _HomeScree... | 2 |
vissuuu/Pause | 68bc16b | lib/Screens/login.dart | Dart | www.github.com/vissuuu/Pause/tree/main/lib/Screens/login.dart | https://raw.githubusercontent.com/vissuuu/Pause/68bc16b/lib/Screens/login.dart | vissuuu/Pause 68bc16b lib/Screens/login.dart | true | 200 | 901 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
class login extends StatefulWidget {
const login({Key? key}) : super(key: key);
@override
State<login> createState() => _loginState();
}
class _loginState extends State<login> {
@override
Widget build(BuildContext context) {
... | 6 |
yaraAlBadrsawi/express_app | 1264123 | lib/features/home/widget/menu_item.dart | Dart | www.github.com/yaraAlBadrsawi/express_app/tree/main/lib/features/home/widget/menu_item.dart | https://raw.githubusercontent.com/yaraAlBadrsawi/express_app/1264123/lib/features/home/widget/menu_item.dart | yaraAlBadrsawi/express_app 1264123 lib/features/home/widget/menu_item.dart | true | 200 | 1,338 | import 'package:express_app/core/resources/manager_color.dart';
import 'package:flutter/material.dart';
import '../../../core/resources/manager_fonts.dart';
import '../../../core/resources/manager_sizes.dart';
import '../../../core/resources/manager_strings.dart';
class DrawerItem extends StatelessWidget {
String t... | 3 |
Pratham1803/FlutterPractice | afee60f | meals/lib/screens/meals.dart | Dart | www.github.com/Pratham1803/FlutterPractice/tree/main/meals/lib/screens/meals.dart | https://raw.githubusercontent.com/Pratham1803/FlutterPractice/afee60f/meals/lib/screens/meals.dart | Pratham1803/FlutterPractice afee60f meals/lib/screens/meals.dart | true | 200 | 2,443 | import 'package:flutter/material.dart';
import 'package:meals/model/meal.dart';
import 'package:meals/widgets/meal_item.dart';
import 'package:meals/screens/meal_details.dart';
class MealsScreen extends StatelessWidget {
const MealsScreen({
super.key,
this.title,
required this.meals,
});
final Strin... | 7 |
shivamss1/Internship-Work | ce4a35c | chord_fm_flutter_app/lib/presentation/otp_login_screen/phone.dart | Dart | www.github.com/shivamss1/Internship-Work/tree/main/chord_fm_flutter_app/lib/presentation/otp_login_screen/phone.dart | https://raw.githubusercontent.com/shivamss1/Internship-Work/ce4a35c/chord_fm_flutter_app/lib/presentation/otp_login_screen/phone.dart | shivamss1/Internship-Work ce4a35c chord_fm_flutter_app/lib/presentation/otp_login_screen/phone.dart | true | 200 | 4,689 | import 'package:flutter/material.dart';
import 'package:smartradio/core/app_export.dart';
import 'package:smartradio/services/firebase_services.dart';
class Phone extends StatefulWidget {
const Phone({Key? key}) : super(key: key);
@override
State<Phone> createState() => _PhoneState();
}
var countryCode="";
var... | 4 |
omar-hanafy/flutter-starter-project | 4e2eafd | lib/app/theme/bloc/theme_event.dart | Dart | www.github.com/omar-hanafy/flutter-starter-project/tree/main/lib/app/theme/bloc/theme_event.dart | https://raw.githubusercontent.com/omar-hanafy/flutter-starter-project/4e2eafd/lib/app/theme/bloc/theme_event.dart | omar-hanafy/flutter-starter-project 4e2eafd lib/app/theme/bloc/theme_event.dart | true | 200 | 376 | part of 'theme_bloc.dart';
@immutable
abstract class ThemeEvent {}
class ChangeThemeMode extends ThemeEvent {
ChangeThemeMode(
this.context, {
this.changeType = BrightnessChangeType.toggle,
});
final BuildContext context;
final BrightnessChangeType changeType;
@override
String toString() {
r... | 5 |
FMT-creator/fmt_students | 0b3b164 | lib/services/api_services/top_teacher_api_service.dart | Dart | www.github.com/FMT-creator/fmt_students/tree/main/lib/services/api_services/top_teacher_api_service.dart | https://raw.githubusercontent.com/FMT-creator/fmt_students/0b3b164/lib/services/api_services/top_teacher_api_service.dart | FMT-creator/fmt_students 0b3b164 lib/services/api_services/top_teacher_api_service.dart | true | 200 | 8,442 | import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'package:http/http.dart' as http;
import 'package:students/models/top_teacher.dart';
import 'package:students/utils/api/api_error_helper.dart';
import 'package:students/utils/api/api_helper.dart';
import 'package:students/utils/logger/emoji_logger.da... | 1 |
Shoueib88/Jobsque | fc0fbbe | lib/services/HomePageServices/EditProfileServices.dart | Dart | www.github.com/Shoueib88/Jobsque/tree/main/lib/services/HomePageServices/EditProfileServices.dart | https://raw.githubusercontent.com/Shoueib88/Jobsque/fc0fbbe/lib/services/HomePageServices/EditProfileServices.dart | Shoueib88/Jobsque fc0fbbe lib/services/HomePageServices/EditProfileServices.dart | true | 200 | 1,164 | import 'dart:io';
import 'package:http/http.dart' as http;
import 'package:shared_preferences/shared_preferences.dart';
class EditProfileServices {
editProfileService(context, String bio, String address, String mobile,
String language) async {
try {
SharedPreferences pref = await SharedPreferences.g... | 0 |
xandecoelho5/flutter | 18dcf69 | instagram_clone/lib/features/presentation/pages/search/widgets/search_main_widget.dart | Dart | www.github.com/xandecoelho5/flutter/tree/main/instagram_clone/lib/features/presentation/pages/search/widgets/search_main_widget.dart | https://raw.githubusercontent.com/xandecoelho5/flutter/18dcf69/instagram_clone/lib/features/presentation/pages/search/widgets/search_main_widget.dart | xandecoelho5/flutter 18dcf69 instagram_clone/lib/features/presentation/pages/search/widgets/search_main_widget.dart | true | 200 | 4,867 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:instagram_clone/features/domain/entities/posts/post_entity.dart';
import 'package:instagram_clone/features/domain/entities/user/user_entity.dart';
import 'package:instagram_clone/features/presentation/cubit/post/pos... | 2 |
aakashs021/DSA-WEEk-3 | bce0f4c | Heap/spacelogic.dart | Dart | www.github.com/aakashs021/DSA-WEEk-3/tree/main/Heap/spacelogic.dart | https://raw.githubusercontent.com/aakashs021/DSA-WEEk-3/bce0f4c/Heap/spacelogic.dart | aakashs021/DSA-WEEk-3 bce0f4c Heap/spacelogic.dart | true | 200 | 231 | void main(List<String> args) {
String a="aakash akdsfj aakash aakash";
String b="";
for(int i=0;i<a.length;i++){
if(a[i]==" "){
if(a[i]==a[i+1]){
continue;
}
}
b=b+a[i];
}
print(b);
} | 6 |
Jaat0050/photo_filter_flutter_app | acaa2ae | lib/App/home_page.dart | Dart | www.github.com/Jaat0050/photo_filter_flutter_app/tree/main/lib/App/home_page.dart | https://raw.githubusercontent.com/Jaat0050/photo_filter_flutter_app/acaa2ae/lib/App/home_page.dart | Jaat0050/photo_filter_flutter_app acaa2ae lib/App/home_page.dart | true | 200 | 6,602 | import 'package:photo_filter_app/App/dialogbox.dart';
import 'package:photo_filter_app/shapes/circle.dart';
import 'package:photo_filter_app/shapes/heart.dart';
import 'package:photo_filter_app/shapes/round_rect.dart';
import 'package:photo_filter_app/shapes/square.dart';
import 'package:flutter/material.dart';
import... | 7 |
Shaheenvp/Grocery | 0f3fa6c | lib/presentation/deliver_to_current_location_screen/binding/deliver_to_current_location_binding.dart | Dart | www.github.com/Shaheenvp/Grocery/tree/main/lib/presentation/deliver_to_current_location_screen/binding/deliver_to_current_location_binding.dart | https://raw.githubusercontent.com/Shaheenvp/Grocery/0f3fa6c/lib/presentation/deliver_to_current_location_screen/binding/deliver_to_current_location_binding.dart | Shaheenvp/Grocery 0f3fa6c lib/presentation/deliver_to_current_location_screen/binding/deliver_to_current_location_binding.dart | true | 200 | 463 | import '../controller/deliver_to_current_location_controller.dart';
import 'package:get/get.dart';
/// A binding class for the DeliverToCurrentLocationScreen.
///
/// This class ensures that the DeliverToCurrentLocationController is created when the
/// DeliverToCurrentLocationScreen is first loaded.
class DeliverToCu... | 4 |
stratumfoundry/velvet | 0a275d4 | plugins/error_handling_velvet_plugin/lib/src/error_handling_plugin.dart | Dart | www.github.com/stratumfoundry/velvet/tree/main/plugins/error_handling_velvet_plugin/lib/src/error_handling_plugin.dart | https://raw.githubusercontent.com/stratumfoundry/velvet/0a275d4/plugins/error_handling_velvet_plugin/lib/src/error_handling_plugin.dart | stratumfoundry/velvet 0a275d4 plugins/error_handling_velvet_plugin/lib/src/error_handling_plugin.dart | true | 200 | 1,293 | import 'package:error_handling_velvet_plugin/src/contracts/error_handling_config_contract.dart';
import 'package:error_handling_velvet_plugin/src/interfaces/renderable_exception.dart';
import 'package:flutter/foundation.dart';
import 'package:velvet_framework/velvet_framework.dart';
class ErrorHandlingPlugin extends V... | 5 |
TobiasBp99/evConceptApp | bb4f5d6 | flutter_ev_concept_app/lib/core/app_router.dart | Dart | www.github.com/TobiasBp99/evConceptApp/tree/main/flutter_ev_concept_app/lib/core/app_router.dart | https://raw.githubusercontent.com/TobiasBp99/evConceptApp/bb4f5d6/flutter_ev_concept_app/lib/core/app_router.dart | TobiasBp99/evConceptApp bb4f5d6 flutter_ev_concept_app/lib/core/app_router.dart | true | 200 | 2,953 |
import 'package:flutter_ev_concept_app/core/repositories/evs_repository.dart';
import 'package:flutter_ev_concept_app/core/repositories/evs_repository_local.dart';
import 'package:flutter_ev_concept_app/core/repositories/users_repository.dart';
import 'package:flutter_ev_concept_app/core/repositories/users_repository_... | 0 |
517758840lzl/Flutter | 4641921 | ios_list/lib/upload_picture.dart | Dart | www.github.com/517758840lzl/Flutter/tree/main/ios_list/lib/upload_picture.dart | https://raw.githubusercontent.com/517758840lzl/Flutter/4641921/ios_list/lib/upload_picture.dart | 517758840lzl/Flutter 4641921 ios_list/lib/upload_picture.dart | true | 200 | 2,960 | import 'dart:convert';
import 'dart:io';
import 'package:flutter/material.dart';
import 'package:image_picker/image_picker.dart';
import 'package:http/http.dart' as http;
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
... | 3 |
maudoan/MsExpenseApp | 988637b | ms/lib/view/budget/cubit/budget_cubit.dart | Dart | www.github.com/maudoan/MsExpenseApp/tree/main/ms/lib/view/budget/cubit/budget_cubit.dart | https://raw.githubusercontent.com/maudoan/MsExpenseApp/988637b/ms/lib/view/budget/cubit/budget_cubit.dart | maudoan/MsExpenseApp 988637b ms/lib/view/budget/cubit/budget_cubit.dart | true | 200 | 1,366 | import 'package:bloc/bloc.dart';
import 'package:ms/data/model/budgets.dart';
import 'package:ms/data/source/business/ms_repositoy.dart';
part 'budget_state.dart';
class BudgetCubit extends Cubit<BudgetState> {
BudgetCubit(this.api) : super(AccountInProgress());
final MsRepository api;
Future getCurrentUser() ... | 2 |
gauravFlutter07/OIOT2.0 | 7c7ff37 | lib/widgets/custom_mobilefield.dart | Dart | www.github.com/gauravFlutter07/OIOT2.0/tree/main/lib/widgets/custom_mobilefield.dart | https://raw.githubusercontent.com/gauravFlutter07/OIOT2.0/7c7ff37/lib/widgets/custom_mobilefield.dart | gauravFlutter07/OIOT2.0 7c7ff37 lib/widgets/custom_mobilefield.dart | true | 200 | 898 | // ignore_for_file: prefer_typing_uninitialized_variables
import '../imports.dart';
class CustomMobileField extends StatelessWidget {
final TextEditingController controller;
final maxlength;
const CustomMobileField({
super.key,
required this.controller,
this.maxlength,
});
@override
Widget bu... | 6 |
victoiremupikano/flutter-clone | 032f547 | lib/pages/onbroarding_page.dart | Dart | www.github.com/victoiremupikano/flutter-clone/tree/main/lib/pages/onbroarding_page.dart | https://raw.githubusercontent.com/victoiremupikano/flutter-clone/032f547/lib/pages/onbroarding_page.dart | victoiremupikano/flutter-clone 032f547 lib/pages/onbroarding_page.dart | true | 200 | 4,451 | import 'package:flutter/material.dart';
import 'package:flutter_netflix/pages/signin_page.dart';
import 'package:flutter_netflix/widgets/onboarding.dart';
class OnboardingPage extends StatefulWidget {
const OnboardingPage({super.key});
@override
// ignore: library_private_types_in_public_api
_OnboardingPageSt... | 4 |
LeandroJSi/parking_app | 8072880 | lib/main.dart | Dart | www.github.com/LeandroJSi/parking_app/tree/main/lib/main.dart | https://raw.githubusercontent.com/LeandroJSi/parking_app/8072880/lib/main.dart | LeandroJSi/parking_app 8072880 lib/main.dart | true | 200 | 1,685 | import 'package:flutter/material.dart';
import 'package:sqflite_common/sqlite_api.dart';
import 'config/routing/router.dart';
import 'data/database/migration/migration_util.dart';
import 'data/database/seeders/parking_space_seeder.dart';
import 'di.dart';
import 'features/core/theme/theme.dart';
void main() async {
... | 1 |
saluswell/dietitan_app | ef05796 | lib/src/notificationSection/handlers/notification_handler.dart | Dart | www.github.com/saluswell/dietitan_app/tree/main/lib/src/notificationSection/handlers/notification_handler.dart | https://raw.githubusercontent.com/saluswell/dietitan_app/ef05796/lib/src/notificationSection/handlers/notification_handler.dart | saluswell/dietitan_app ef05796 lib/src/notificationSection/handlers/notification_handler.dart | true | 200 | 17,762 | import 'dart:async';
import 'dart:math';
import 'package:awesome_notifications/awesome_notifications.dart';
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
import 'package:saluswell_dietitan_app_updated/common/helperFunctions/navigatorHelper.dart';
import 'package:saluswell_dietitan_ap... | 5 |
koboolean/refrigerator_project_flutter | 8c8d98c | lib/main.dart | Dart | www.github.com/koboolean/refrigerator_project_flutter/tree/main/lib/main.dart | https://raw.githubusercontent.com/koboolean/refrigerator_project_flutter/8c8d98c/lib/main.dart | koboolean/refrigerator_project_flutter 8c8d98c lib/main.dart | true | 200 | 1,956 | import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:refrigerator_project_flutter/constants/color.dart';
import 'package:refrigerator_project_flutter/screens/homePage.dart';
import 'package:refrigerator_project_flutter/screen... | 3 |
sarthakpunjabi/Todo-app | 710c980 | notes_frontend/lib/main.dart | Dart | www.github.com/sarthakpunjabi/Todo-app/tree/main/notes_frontend/lib/main.dart | https://raw.githubusercontent.com/sarthakpunjabi/Todo-app/710c980/notes_frontend/lib/main.dart | sarthakpunjabi/Todo-app 710c980 notes_frontend/lib/main.dart | true | 200 | 2,803 | import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
import 'package:notes_frontend/create.dart';
import 'package:notes_frontend/update.dart';
import 'note.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key})... | 2 |
MO3GEZA619/ISLAMI_APP_FLUTTER | 3825ca1 | lib/Hadeth/itme_hadeth_details.dart | Dart | www.github.com/MO3GEZA619/ISLAMI_APP_FLUTTER/tree/main/lib/Hadeth/itme_hadeth_details.dart | https://raw.githubusercontent.com/MO3GEZA619/ISLAMI_APP_FLUTTER/3825ca1/lib/Hadeth/itme_hadeth_details.dart | MO3GEZA619/ISLAMI_APP_FLUTTER 3825ca1 lib/Hadeth/itme_hadeth_details.dart | true | 200 | 390 | import 'package:flutter/material.dart';
class ItmeHadethDetails extends StatelessWidget {
String content;
ItmeHadethDetails({
required this.content,
});
@override
Widget build(BuildContext context) {
return Text(
content,
style: Theme.of(context).textTheme.titleSmall,
textAlign: T... | 7 |
Ch-Anas-Abdullah/weather | 5fbdcbd | lib/models/daily_weather.dart | Dart | www.github.com/Ch-Anas-Abdullah/weather/tree/main/lib/models/daily_weather.dart | https://raw.githubusercontent.com/Ch-Anas-Abdullah/weather/5fbdcbd/lib/models/daily_weather.dart | Ch-Anas-Abdullah/weather 5fbdcbd lib/models/daily_weather.dart | true | 200 | 5,807 | class DailyWeatherModel {
Headline? headline;
List<DailyForecast>? dailyForecasts;
DailyWeatherModel({this.headline, this.dailyForecasts});
factory DailyWeatherModel.fromJson(Map<String, dynamic> json) => DailyWeatherModel(
headline: json['Headline'] == null
? null
: Headline.f... | 6 |
HazelPetate/dolistoapp-v1.0.4 | a81794a | lib/presentation/category_screen/bloc/category_state.dart | Dart | www.github.com/HazelPetate/dolistoapp-v1.0.4/tree/main/lib/presentation/category_screen/bloc/category_state.dart | https://raw.githubusercontent.com/HazelPetate/dolistoapp-v1.0.4/a81794a/lib/presentation/category_screen/bloc/category_state.dart | HazelPetate/dolistoapp-v1.0.4 a81794a lib/presentation/category_screen/bloc/category_state.dart | true | 200 | 492 | // ignore_for_file: must_be_immutable
part of 'category_bloc.dart';
/// Represents the state of Category in the application.
class CategoryState extends Equatable {
CategoryState({this.categoryModelObj});
CategoryModel? categoryModelObj;
@override
List<Object?> get props => [
categoryModelObj,
... | 4 |
JoseVinicius-P/Toc-Toc-Flutter | 070e870 | lib/app/shared/services/notification_guard_service.dart | Dart | www.github.com/JoseVinicius-P/Toc-Toc-Flutter/tree/main/lib/app/shared/services/notification_guard_service.dart | https://raw.githubusercontent.com/JoseVinicius-P/Toc-Toc-Flutter/070e870/lib/app/shared/services/notification_guard_service.dart | JoseVinicius-P/Toc-Toc-Flutter 070e870 lib/app/shared/services/notification_guard_service.dart | true | 200 | 444 | import 'dart:async';
import 'package:flutter_modular/flutter_modular.dart';
import 'package:toctoc/app/shared/services/notification_service.dart';
class NotificationGuardService extends RouteGuard{
NotificationGuardService() : super(redirectTo: '/call/');
@override
FutureOr<bool> canActivate(String path, Para... | 0 |
NicholasNgaruiya/diagno_ai_app | dd09bd9 | lib/data/diagnosis/bloc/diagnosis_bloc.dart | Dart | www.github.com/NicholasNgaruiya/diagno_ai_app/tree/main/lib/data/diagnosis/bloc/diagnosis_bloc.dart | https://raw.githubusercontent.com/NicholasNgaruiya/diagno_ai_app/dd09bd9/lib/data/diagnosis/bloc/diagnosis_bloc.dart | NicholasNgaruiya/diagno_ai_app dd09bd9 lib/data/diagnosis/bloc/diagnosis_bloc.dart | true | 200 | 805 | import 'dart:async';
import 'package:bloc/bloc.dart';
import 'package:equatable/equatable.dart';
import '../repositories/diagnosis_repository.dart';
part 'diagnosis_event.dart';
part 'diagnosis_state.dart';
class DiagnosisBloc extends Bloc<DiagnosisEvent, DiagnosisState> {
DiagnosisBloc() : super(DiagnosisInitial... | 1 |
raflimaou/tombokangen_app | 4452ab5 | lib/pages/view_user.dart | Dart | www.github.com/raflimaou/tombokangen_app/tree/main/lib/pages/view_user.dart | https://raw.githubusercontent.com/raflimaou/tombokangen_app/4452ab5/lib/pages/view_user.dart | raflimaou/tombokangen_app 4452ab5 lib/pages/view_user.dart | true | 200 | 1,694 | // ignore_for_file: non_constant_identifier_names, avoid_types_as_parameter_names
import 'dart:convert';
import 'package:ecommerce_app/network/api/url_api.dart';
import 'package:ecommerce_app/network/model/user_model.dart';
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
class ViewUs... | 3 |
mats86/swim_generator_old | b497b6f | lib/swim_generator/pages/kind_personal_info/bloc/kind_personal_info_bloc.dart | Dart | www.github.com/mats86/swim_generator_old/tree/main/lib/swim_generator/pages/kind_personal_info/bloc/kind_personal_info_bloc.dart | https://raw.githubusercontent.com/mats86/swim_generator_old/b497b6f/lib/swim_generator/pages/kind_personal_info/bloc/kind_personal_info_bloc.dart | mats86/swim_generator_old b497b6f lib/swim_generator/pages/kind_personal_info/bloc/kind_personal_info_bloc.dart | true | 200 | 2,681 | import 'package:equatable/equatable.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:formz/formz.dart';
import 'package:user_repository/user_repository.dart';
import '../models/first_name.dart';
import '../models/last_name.dart';
part 'kind_personal_info_event.dart';
part 'kind_personal_info_s... | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.