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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
Sajawal-Sajjad/Flutter-Admin-Dashboard-by-Sajawal | a9e40c9 | flareline_uikit/lib/components/forms/outborder_text_form_field.dart | Dart | www.github.com/Sajawal-Sajjad/Flutter-Admin-Dashboard-by-Sajawal/tree/main/flareline_uikit/lib/components/forms/outborder_text_form_field.dart | https://raw.githubusercontent.com/Sajawal-Sajjad/Flutter-Admin-Dashboard-by-Sajawal/a9e40c9/flareline_uikit/lib/components/forms/outborder_text_form_field.dart | Sajawal-Sajjad/Flutter-Admin-Dashboard-by-Sajawal a9e40c9 flareline_uikit/lib/components/forms/outborder_text_form_field.dart | true | 200 | 3,583 | library flareline_uikit;
import 'package:flareline_uikit/core/theme/flareline_colors.dart';
import 'package:flutter/material.dart';
class OutBorderTextFormField extends StatelessWidget {
final String? labelText;
final String? hintText;
final String? initialValue;
final int? maxLines;
final TextEditingControl... | 5 |
luffy229/FlutterTalk | 15874a4 | lib/presentation/widgets/loading_dots.dart | Dart | www.github.com/luffy229/FlutterTalk/tree/main/lib/presentation/widgets/loading_dots.dart | https://raw.githubusercontent.com/luffy229/FlutterTalk/15874a4/lib/presentation/widgets/loading_dots.dart | luffy229/FlutterTalk 15874a4 lib/presentation/widgets/loading_dots.dart | true | 200 | 1,621 | import 'package:flutter/material.dart';
class LoadingDots extends StatefulWidget {
const LoadingDots({super.key});
@override
State<LoadingDots> createState() => _LoadingDotsState();
}
class _LoadingDotsState extends State<LoadingDots>
with SingleTickerProviderStateMixin {
late AnimationController _contro... | 3 |
abdlhli/SiKost-Mobile | 3f48e42 | lib/api/postPengaduan.dart | Dart | www.github.com/abdlhli/SiKost-Mobile/tree/main/lib/api/postPengaduan.dart | https://raw.githubusercontent.com/abdlhli/SiKost-Mobile/3f48e42/lib/api/postPengaduan.dart | abdlhli/SiKost-Mobile 3f48e42 lib/api/postPengaduan.dart | true | 200 | 735 | import 'dart:convert';
KirimPemesanan kirimPengaduanFromJson(String str) =>
KirimPemesanan.fromJson(json.decode(str));
String kirimPemesananToJson(KirimPemesanan data) => json.encode(data.toJson());
class KirimPemesanan {
KirimPemesanan({
required this.responseCode,
required this.status,
required t... | 7 |
Gul-Is-Here/Flutter-Deep-Revision | 353ded2 | lib/screens/categories.dart | Dart | www.github.com/Gul-Is-Here/Flutter-Deep-Revision/tree/main/lib/screens/categories.dart | https://raw.githubusercontent.com/Gul-Is-Here/Flutter-Deep-Revision/353ded2/lib/screens/categories.dart | Gul-Is-Here/Flutter-Deep-Revision 353ded2 lib/screens/categories.dart | true | 200 | 2,282 | import 'package:flutter/material.dart';
import 'package:meals_app/screens/meals.dart';
import '../model/category.dart';
import '../model/dummy_data.dart';
import '../model/meal.dart';
import '../widgets/category_grid_item.dart';
class CategoriesScreen extends StatefulWidget {
const CategoriesScreen({
super.key,... | 4 |
KarolPonikowski/training | aa1a108 | lib/features/pages/add_training_n_exercises/add_exercises_to_plan_page/cubit/add_exercises_to_plan_page_cubit.dart | Dart | www.github.com/KarolPonikowski/training/tree/main/lib/features/pages/add_training_n_exercises/add_exercises_to_plan_page/cubit/add_exercises_to_plan_page_cubit.dart | https://raw.githubusercontent.com/KarolPonikowski/training/aa1a108/lib/features/pages/add_training_n_exercises/add_exercises_to_plan_page/cubit/add_exercises_to_plan_page_cubit.dart | KarolPonikowski/training aa1a108 lib/features/pages/add_training_n_exercises/add_exercises_to_plan_page/cubit/add_exercises_to_plan_page_cubit.dart | true | 200 | 1,419 | import 'dart:async';
import 'package:bloc/bloc.dart';
import '../../../../../models/exercise_model.dart';
import '../../../../../models/training_exercise_model.dart';
import '../../../../../repository/exercise_repository.dart';
import '../../../../../repository/training_exercises_repository.dart';
part 'add_exercise... | 2 |
duncanhawthorne/snake_loop | 5f68d16 | lib/audio/audio_controller.dart | Dart | www.github.com/duncanhawthorne/snake_loop/tree/main/lib/audio/audio_controller.dart | https://raw.githubusercontent.com/duncanhawthorne/snake_loop/5f68d16/lib/audio/audio_controller.dart | duncanhawthorne/snake_loop 5f68d16 lib/audio/audio_controller.dart | true | 200 | 20,406 | import 'dart:async';
import 'dart:math';
import 'package:audioplayers/audioplayers.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_soloud/flutter_soloud.dart';
import 'package:logging/logging.dart';
import '../app_lifecycle/app_lifecycle.dart';
import '.... | 6 |
chihuy105/demo_gallery | d7c6212 | packages/app_ui/lib/src/typography/app_textfield.dart | Dart | www.github.com/chihuy105/demo_gallery/tree/main/packages/app_ui/lib/src/typography/app_textfield.dart | https://raw.githubusercontent.com/chihuy105/demo_gallery/d7c6212/packages/app_ui/lib/src/typography/app_textfield.dart | chihuy105/demo_gallery d7c6212 packages/app_ui/lib/src/typography/app_textfield.dart | true | 200 | 3,749 | import 'package:app_ui/src/layout/dimens.dart';
import 'package:app_ui/src/typography/app_text_theme.dart';
import 'package:flutter/material.dart';
class InputStyleProps {
const InputStyleProps({
this.inputDecoration,
this.enable,
this.showBorder = true,
this.suffixIconWidth,
this.iconSize,
t... | 1 |
laudryfadian/gizi_app | 1a516a6 | lib/models/distribusi.dart | Dart | www.github.com/laudryfadian/gizi_app/tree/main/lib/models/distribusi.dart | https://raw.githubusercontent.com/laudryfadian/gizi_app/1a516a6/lib/models/distribusi.dart | laudryfadian/gizi_app 1a516a6 lib/models/distribusi.dart | true | 200 | 458 | class Distribusi {
Distribusi({
required this.city,
required this.district,
});
late final String city;
late final List<String> district;
Distribusi.fromJson(Map<String, dynamic> json) {
city = json['city'];
district = List.castFrom<dynamic, String>(json['district']);
}
Map<String, dynam... | 5 |
eseidel/space_traders | bd6bc01 | packages/cli/bin/systems_nearby.dart | Dart | www.github.com/eseidel/space_traders/tree/main/packages/cli/bin/systems_nearby.dart | https://raw.githubusercontent.com/eseidel/space_traders/bd6bc01/packages/cli/bin/systems_nearby.dart | eseidel/space_traders bd6bc01 packages/cli/bin/systems_nearby.dart | true | 200 | 934 | import 'package:cli/caches.dart';
import 'package:cli/cli.dart';
Future<void> command(FileSystem fs, Database db, ArgResults argResults) async {
final startSystemSymbol =
await startSystemFromArg(db, argResults.rest.firstOrNull);
final marketListings = await MarketListingSnapshot.load(db);
final systemCon... | 0 |
notedeagle/fuelTracker_client | 571118e | lib/screens/refuel_screen/refuel_map_form.dart | Dart | www.github.com/notedeagle/fuelTracker_client/tree/main/lib/screens/refuel_screen/refuel_map_form.dart | https://raw.githubusercontent.com/notedeagle/fuelTracker_client/571118e/lib/screens/refuel_screen/refuel_map_form.dart | notedeagle/fuelTracker_client 571118e lib/screens/refuel_screen/refuel_map_form.dart | true | 200 | 1,180 | import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
class RefuelMapScreen extends StatefulWidget {
final double latitude;
final double longitude;
const RefuelMapScreen(
{Key? key, required this.latitude, required this.longitude})
: super(key: key);
... | 3 |
pratimabudhathoki/socialmediaApp | 55edef2 | SocialMedia-App-main/lib/widgets/post_tiles.dart | Dart | www.github.com/pratimabudhathoki/socialmediaApp/tree/main/SocialMedia-App-main/lib/widgets/post_tiles.dart | https://raw.githubusercontent.com/pratimabudhathoki/socialmediaApp/55edef2/SocialMedia-App-main/lib/widgets/post_tiles.dart | pratimabudhathoki/socialmediaApp 55edef2 SocialMedia-App-main/lib/widgets/post_tiles.dart | true | 200 | 922 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:social_media_app/models/post.dart';
import 'package:social_media_app/screens/view_image.dart';
import 'package:social_media_app/widgets/cached_image.dart';
class PostTile extends StatefulWidget {
final PostModel? post;
... | 7 |
lambacky/healthcare | 41a1249 | lib/view-models/heart_rate_view_model.dart | Dart | www.github.com/lambacky/healthcare/tree/main/lib/view-models/heart_rate_view_model.dart | https://raw.githubusercontent.com/lambacky/healthcare/41a1249/lib/view-models/heart_rate_view_model.dart | lambacky/healthcare 41a1249 lib/view-models/heart_rate_view_model.dart | true | 200 | 3,514 | import 'dart:async';
import 'package:camera/camera.dart';
import 'package:flutter/material.dart';
import 'package:healthcare/models/sensor_data.dart';
class HeartRateViewModel extends ChangeNotifier {
late CameraController _cameraController;
CameraController get cameraController => _cameraController;
late bool ... | 4 |
OPEN-MNC/Flutter_UI_Component_design | 12a9293 | Contacts_page.dart | Dart | www.github.com/OPEN-MNC/Flutter_UI_Component_design/tree/main/Contacts_page.dart | https://raw.githubusercontent.com/OPEN-MNC/Flutter_UI_Component_design/12a9293/Contacts_page.dart | OPEN-MNC/Flutter_UI_Component_design 12a9293 Contacts_page.dart | true | 200 | 403 | import 'package:flutter/material.dart';
import '../theme.dart';
class ContactsPage extends StatelessWidget {
const ContactsPage({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: cardDark,
body: Container(
child:Center(child: Tex... | 2 |
xjtuseMASTER/FitFormAI_FE | 9f1b43d | lib/userScreen/verify_page.dart | Dart | www.github.com/xjtuseMASTER/FitFormAI_FE/tree/main/lib/userScreen/verify_page.dart | https://raw.githubusercontent.com/xjtuseMASTER/FitFormAI_FE/9f1b43d/lib/userScreen/verify_page.dart | xjtuseMASTER/FitFormAI_FE 9f1b43d lib/userScreen/verify_page.dart | true | 200 | 11,242 | import 'dart:convert';
import 'package:flutter/material.dart';
// ignore: depend_on_referenced_packages
import 'package:flutter_timer_countdown/flutter_timer_countdown.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:gym_detector_ios/main.dart';
import 'package:gym_detector_ios/module... | 6 |
TheAllR117/Gas | fcd4b53 | lib/src/bloc/login_bloc.dart | Dart | www.github.com/TheAllR117/Gas/tree/main/lib/src/bloc/login_bloc.dart | https://raw.githubusercontent.com/TheAllR117/Gas/fcd4b53/lib/src/bloc/login_bloc.dart | TheAllR117/Gas fcd4b53 lib/src/bloc/login_bloc.dart | true | 200 | 1,097 | import 'dart:async';
import 'package:gasfast/src/bloc/validator.dart';
// ignore: import_of_legacy_library_into_null_safe
import 'package:rxdart/rxdart.dart';
class LoginBloc with Validators {
final _emailController = BehaviorSubject<String>();
final _passwordController = BehaviorSubject<String>();
// recupera... | 1 |
mubeenavs/Reminder | 296b2fb | lib/main.dart | Dart | www.github.com/mubeenavs/Reminder/tree/main/lib/main.dart | https://raw.githubusercontent.com/mubeenavs/Reminder/296b2fb/lib/main.dart | mubeenavs/Reminder 296b2fb lib/main.dart | true | 200 | 673 | import 'package:flutter/material.dart';
import 'package:reminder/view/home.dart';
import 'package:reminder/view/widget/reminder.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
// This widget is the root of your application.... | 0 |
adeenazara2002/Dart-Work | eb47f00 | Assignment_05/task_07.dart | Dart | www.github.com/adeenazara2002/Dart-Work/tree/main/Assignment_05/task_07.dart | https://raw.githubusercontent.com/adeenazara2002/Dart-Work/eb47f00/Assignment_05/task_07.dart | adeenazara2002/Dart-Work eb47f00 Assignment_05/task_07.dart | true | 200 | 364 | void main() {
var data = [
{'City': 'Karachi', 'Population': '14.31M'},
{'City': 'Lahore', 'Population': '11.31M'},
{'City': 'Islamabad', 'Population': '1.015M'},
{'City': 'Quetta', 'Population': '1.001M'},
{'City': 'Muree', 'Population': '25,816'}
];
print('${data[1]["City"]}, ${data[3]["Pop... | 7 |
bishoyabdmariam/NotesAndTodoApp | 7be85ce | lib/main.dart | Dart | www.github.com/bishoyabdmariam/NotesAndTodoApp/tree/main/lib/main.dart | https://raw.githubusercontent.com/bishoyabdmariam/NotesAndTodoApp/7be85ce/lib/main.dart | bishoyabdmariam/NotesAndTodoApp 7be85ce lib/main.dart | true | 200 | 1,910 | import 'package:flutter/material.dart';
import 'package:flutter_native_splash/flutter_native_splash.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'home.dart';
class ThemeHelper {
static Future<void> setTheme(bool isDark) async {
SharedPreferences prefs = await SharedPreferences.getI... | 3 |
black-coda/kuizu | 5682133 | lib/theme/component/toggle.dart | Dart | www.github.com/black-coda/kuizu/tree/main/lib/theme/component/toggle.dart | https://raw.githubusercontent.com/black-coda/kuizu/5682133/lib/theme/component/toggle.dart | black-coda/kuizu 5682133 lib/theme/component/toggle.dart | true | 200 | 1,985 | import 'package:flutter/material.dart';
import '../theme.dart';
class Toggle extends StatefulWidget {
const Toggle({super.key});
@override
State<Toggle> createState() => _ToggleState();
}
class _ToggleState extends State<Toggle> {
String selected = 'Facts & Info';
@override
Widget build(BuildContext co... | 2 |
tlserver/flutter_map_location_marker | 31829fb | example/lib/page/minimum_example.dart | Dart | www.github.com/tlserver/flutter_map_location_marker/tree/main/example/lib/page/minimum_example.dart | https://raw.githubusercontent.com/tlserver/flutter_map_location_marker/31829fb/example/lib/page/minimum_example.dart | tlserver/flutter_map_location_marker 31829fb example/lib/page/minimum_example.dart | true | 200 | 914 | import 'package:flutter/material.dart';
import 'package:flutter_map/flutter_map.dart';
import 'package:flutter_map_location_marker/flutter_map_location_marker.dart';
import 'package:latlong2/latlong.dart';
class MinimumExample extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaf... | 6 |
x7hem/app_restaurant_flutter | 4b1ecc1 | lib/screen/welcomeScreen.dart | Dart | www.github.com/x7hem/app_restaurant_flutter/tree/main/lib/screen/welcomeScreen.dart | https://raw.githubusercontent.com/x7hem/app_restaurant_flutter/4b1ecc1/lib/screen/welcomeScreen.dart | x7hem/app_restaurant_flutter 4b1ecc1 lib/screen/welcomeScreen.dart | true | 200 | 5,638 | import 'package:app_restaurant_flutter/screen/HomeScreen.dart';
import 'package:app_restaurant_flutter/value/ValueColor.dart';
import 'package:flutter/material.dart';
import 'package:introduction_screen/introduction_screen.dart';
class WelcomeScreen extends StatefulWidget {
const WelcomeScreen({Key? key}) : super(k... | 4 |
owenwattimena/inventory_management | 505dec3 | lib/views/components/product_history.dart | Dart | www.github.com/owenwattimena/inventory_management/tree/main/lib/views/components/product_history.dart | https://raw.githubusercontent.com/owenwattimena/inventory_management/505dec3/lib/views/components/product_history.dart | owenwattimena/inventory_management 505dec3 lib/views/components/product_history.dart | true | 200 | 2,372 | part of 'components.dart';
class ProductHistory extends StatelessWidget {
final Transaction transaction;
final bool showProduct;
const ProductHistory({Key? key, required this.transaction, this.showProduct = false}) : super(key: key);
@override
Widget build(BuildContext context) {
return Container(
... | 5 |
mammon07/uas_adminapp | cf0cdf6 | lib/services/order_service.dart | Dart | www.github.com/mammon07/uas_adminapp/tree/main/lib/services/order_service.dart | https://raw.githubusercontent.com/mammon07/uas_adminapp/cf0cdf6/lib/services/order_service.dart | mammon07/uas_adminapp cf0cdf6 lib/services/order_service.dart | true | 200 | 1,046 | import 'dart:convert';
import 'package:http/http.dart' as http;
import '../models/order.dart';
class OrderService {
static const String baseUrl = 'http://IP_Anda/backend/api/order_api.php';
// Get Orders (read)
Future<List<Order>> getOrders() async {
final response = await http.get(Uri.parse('$baseUrl?endpo... | 1 |
tanwanlanyue1/chat | 9b9e2aa | lib/common/network/websocket/config/tb_websocket_action.dart | Dart | www.github.com/tanwanlanyue1/chat/tree/main/lib/common/network/websocket/config/tb_websocket_action.dart | https://raw.githubusercontent.com/tanwanlanyue1/chat/9b9e2aa/lib/common/network/websocket/config/tb_websocket_action.dart | tanwanlanyue1/chat 9b9e2aa lib/common/network/websocket/config/tb_websocket_action.dart | true | 200 | 5,102 |
///WebSocket 消息类型
enum TBWebSocketAction {
///初始化,服务端回包有足球篮球在线人数
initialize(1),
///聊天室信息
chatMessage(2),
///心跳
heartbeat(4),
///足球-进入房间
footballJoinRoom(5),
///足球-离开房间
footballLeaveRoom(6),
///上报用户登录(App)
authorized(7),
///上报用户退出登录(App)
unauthorized(8),
///足球-数据更新
footballData(9... | 0 |
alisalimik/sh_self | cb56a17 | lib/tdlib_dart/src/api/functions/create_supergroup_chat.dart | Dart | www.github.com/alisalimik/sh_self/tree/main/lib/tdlib_dart/src/api/functions/create_supergroup_chat.dart | https://raw.githubusercontent.com/alisalimik/sh_self/cb56a17/lib/tdlib_dart/src/api/functions/create_supergroup_chat.dart | alisalimik/sh_self cb56a17 lib/tdlib_dart/src/api/functions/create_supergroup_chat.dart | true | 200 | 1,117 | import 'package:meta/meta.dart';
import 'package:sh_self/tdlib_dart/src/api/extensions/data_class_extensions.dart';
import 'package:sh_self/tdlib_dart/src/api/tdapi.dart';
/// Returns an existing chat corresponding to a known supergroup or channel
/// Returns [Chat]
@immutable
class CreateSupergroupChat extends TdFunc... | 7 |
Montalmo/fz_store | 5cd7462 | lib/features/shop/screens/store/presentation/widgets/category_tab.dart | Dart | www.github.com/Montalmo/fz_store/tree/main/lib/features/shop/screens/store/presentation/widgets/category_tab.dart | https://raw.githubusercontent.com/Montalmo/fz_store/5cd7462/lib/features/shop/screens/store/presentation/widgets/category_tab.dart | Montalmo/fz_store 5cd7462 lib/features/shop/screens/store/presentation/widgets/category_tab.dart | true | 200 | 2,062 | import 'dart:developer';
import 'package:flutter/material.dart';
import 'package:fz_store/utils/constants/sizes.dart';
import 'package:fz_store/common/widgets/grid_layout.dart';
import 'package:fz_store/utils/constants/image_strings.dart';
import 'package:fz_store/common/widgets/section_heading.dart';
import 'package:... | 3 |
ryandiaziz/flutter-zoo-feed | 79abf71 | zoo_feed/lib/features/ticket/ticket_page.dart | Dart | www.github.com/ryandiaziz/flutter-zoo-feed/tree/main/zoo_feed/lib/features/ticket/ticket_page.dart | https://raw.githubusercontent.com/ryandiaziz/flutter-zoo-feed/79abf71/zoo_feed/lib/features/ticket/ticket_page.dart | ryandiaziz/flutter-zoo-feed 79abf71 zoo_feed/lib/features/ticket/ticket_page.dart | true | 200 | 4,212 | import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:http/http.dart' as http;
import 'package:shared_preferences/shared_preferences.dart';
import '../../common/utils/coloors.dart';
import '../../common/widgets/costom_loading_screen.dart';
import '../..... | 2 |
ZeyadKhaled12/Online-Game-Clean-Arch-with-BloC-Firebase | eb2bc67 | lib/features/profile/presentation/cubit/sfg_cubit.dart | Dart | www.github.com/ZeyadKhaled12/Online-Game-Clean-Arch-with-BloC-Firebase/tree/main/lib/features/profile/presentation/cubit/sfg_cubit.dart | https://raw.githubusercontent.com/ZeyadKhaled12/Online-Game-Clean-Arch-with-BloC-Firebase/eb2bc67/lib/features/profile/presentation/cubit/sfg_cubit.dart | ZeyadKhaled12/Online-Game-Clean-Arch-with-BloC-Firebase eb2bc67 lib/features/profile/presentation/cubit/sfg_cubit.dart | true | 200 | 1,049 |
import 'package:bloc/bloc.dart';
import 'package:flutter/material.dart';
import '../../data/sfg_web_services.dart';
part 'sfg_state.dart';
class SfgCubit extends Cubit<SfgState> {
final SFGWebServices sfgWebServices;
late bool isInSearch;
SfgCubit(this.sfgWebServices) : super(SfgInitial());
Future search... | 6 |
ptrickz/toba | ca53e52 | lib/screens/products/details/deleteConfirmation.dart | Dart | www.github.com/ptrickz/toba/tree/main/lib/screens/products/details/deleteConfirmation.dart | https://raw.githubusercontent.com/ptrickz/toba/ca53e52/lib/screens/products/details/deleteConfirmation.dart | ptrickz/toba ca53e52 lib/screens/products/details/deleteConfirmation.dart | true | 200 | 1,531 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/material.dart';
import '../../../widgets/button.dart';
class DeleteConfirmationPage extends StatefulWidget {
final String? productName;
const DeleteConfirmationPage({super.key, required this.productName});
@override
State<DeleteCo... | 5 |
MiliMohamed/flutter_post | af93da2 | lib/main.dart | Dart | www.github.com/MiliMohamed/flutter_post/tree/main/lib/main.dart | https://raw.githubusercontent.com/MiliMohamed/flutter_post/af93da2/lib/main.dart | MiliMohamed/flutter_post af93da2 lib/main.dart | true | 200 | 821 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'bloc/posts_bloc.dart';
import 'data/posts_repository.dart';
import 'data/posts_data_source.dart';
import 'screens/posts_list_screen.dart';
void main() {
final repository = PostsRepository(FakePostsDataSource());
runAp... | 1 |
ankushcode611/timeline_TIle | dc73220 | lib/components/event_card.dart | Dart | www.github.com/ankushcode611/timeline_TIle/tree/main/lib/components/event_card.dart | https://raw.githubusercontent.com/ankushcode611/timeline_TIle/dc73220/lib/components/event_card.dart | ankushcode611/timeline_TIle dc73220 lib/components/event_card.dart | true | 200 | 562 | import 'package:flutter/material.dart';
class EventCard extends StatelessWidget {
final bool isPast;
final child;
const EventCard({
super.key,
required this.isPast,
required this.child,
});
@override
Widget build(BuildContext context) {
return Container(
margin: const EdgeInsets.all(... | 4 |
sublime247/NotelyApp | 6230374 | lib/widgets/premium_plan.dart | Dart | www.github.com/sublime247/NotelyApp/tree/main/lib/widgets/premium_plan.dart | https://raw.githubusercontent.com/sublime247/NotelyApp/6230374/lib/widgets/premium_plan.dart | sublime247/NotelyApp 6230374 lib/widgets/premium_plan.dart | true | 200 | 3,522 | import 'package:flutter/material.dart';
class PremiumPlan extends StatefulWidget {
const PremiumPlan({Key? key}) : super(key: key);
@override
State<PremiumPlan> createState() => _PremiumPlanState();
}
class _PremiumPlanState extends State<PremiumPlan> {
int indexTap = 0;
int indexTwo = 1;
bool annual = tr... | 0 |
muhammadkonainkhan/Flutter_Assignment-5 | 2a5b739 | Q4.dart | Dart | www.github.com/muhammadkonainkhan/Flutter_Assignment-5/tree/main/Q4.dart | https://raw.githubusercontent.com/muhammadkonainkhan/Flutter_Assignment-5/2a5b739/Q4.dart | muhammadkonainkhan/Flutter_Assignment-5 2a5b739 Q4.dart | true | 200 | 271 | // Problem: Create a program that prints the first 10 Fibonacci numbers using a loop.
void main() {
int n1 = 0, n2 = 1;
print('Fibonacci series:');
for (int i = 0; i < 10; i++) {
print(n1);
int next = n1 + n2;
n1 = n2;
n2 = next;
}
}
| 7 |
Rajputniraj6983/validation_api_calling_getx | 1631a7b | lib/controller/api_controller.dart | Dart | www.github.com/Rajputniraj6983/validation_api_calling_getx/tree/main/lib/controller/api_controller.dart | https://raw.githubusercontent.com/Rajputniraj6983/validation_api_calling_getx/1631a7b/lib/controller/api_controller.dart | Rajputniraj6983/validation_api_calling_getx 1631a7b lib/controller/api_controller.dart | true | 200 | 716 | import 'dart:convert';
import 'package:get/get.dart';
import 'package:validation_api_calling_getx/controller/api_sevices.dart';
import 'package:validation_api_calling_getx/modal/Api_model.dart';
class ApiController extends GetxController {
var comments = Comments().obs;
var isLoading = true.obs;
Future<void> fe... | 3 |
icaruseight/codeHimalayaDart | 278a89f | 04Collections/02loopList.dart | Dart | www.github.com/icaruseight/codeHimalayaDart/tree/main/04Collections/02loopList.dart | https://raw.githubusercontent.com/icaruseight/codeHimalayaDart/278a89f/04Collections/02loopList.dart | icaruseight/codeHimalayaDart 278a89f 04Collections/02loopList.dart | true | 200 | 256 | void loopList() {
List<String> names = ["Sagar", "Aakash", "Ganga", "Himal", "Samundra"];
List<int> age = [22, 20, 26, 15, 22, 23];
for (int i = 0; i <= 4; i++) {
print("${names[i]} is ${age[i]} years old");
}
}
void main() {
loopList();
}
| 2 |
anuabraham501/Repository1 | 89098a9 | lib/views/home/top_banner.dart | Dart | www.github.com/anuabraham501/Repository1/tree/main/lib/views/home/top_banner.dart | https://raw.githubusercontent.com/anuabraham501/Repository1/89098a9/lib/views/home/top_banner.dart | anuabraham501/Repository1 89098a9 lib/views/home/top_banner.dart | true | 200 | 1,179 | import 'package:flutter/material.dart';
import 'package:women/colors.dart';
class TopBanner extends StatelessWidget {
const TopBanner({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return const Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
... | 6 |
Muskan20012/HerWorld | bde74d1 | lib/screens/home/main_screen.dart | Dart | www.github.com/Muskan20012/HerWorld/tree/main/lib/screens/home/main_screen.dart | https://raw.githubusercontent.com/Muskan20012/HerWorld/bde74d1/lib/screens/home/main_screen.dart | Muskan20012/HerWorld bde74d1 lib/screens/home/main_screen.dart | true | 200 | 792 | import 'package:flutter/material.dart';
import 'package:gfg_hackathon/const/colors.dart';
import 'package:gfg_hackathon/screens/home/home_screen.dart';
// import 'package:workick/screens/recipies/diet_screen.dart';
class MainScreen extends StatefulWidget {
const MainScreen({super.key});
@override
State<MainScre... | 1 |
jinyuyoulong/helloFlutter | 7fdcd42 | hello_flutter/lib/classes/day03/02_按钮Widget.dart | Dart | www.github.com/jinyuyoulong/helloFlutter/tree/main/hello_flutter/lib/classes/day03/02_按钮Widget.dart | https://raw.githubusercontent.com/jinyuyoulong/helloFlutter/7fdcd42/hello_flutter/lib/classes/day03/02_%E6%8C%89%E9%92%AEWidget.dart | jinyuyoulong/helloFlutter 7fdcd42 hello_flutter/lib/classes/day03/02_按钮Widget.dart | true | 200 | 2,026 | import 'package:flutter/material.dart';
class ButtonsPage extends StatefulWidget {
const ButtonsPage({super.key});
@override
_ButtonsPageState createState() => _ButtonsPageState();
}
class _ButtonsPageState extends State<ButtonsPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
... | 5 |
abhinand02/Netflix-UI-Clone | 97118a4 | lib/screens/search/search_result.dart | Dart | www.github.com/abhinand02/Netflix-UI-Clone/tree/main/lib/screens/search/search_result.dart | https://raw.githubusercontent.com/abhinand02/Netflix-UI-Clone/97118a4/lib/screens/search/search_result.dart | abhinand02/Netflix-UI-Clone 97118a4 lib/screens/search/search_result.dart | true | 200 | 1,675 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:netflix/application/search/search_bloc.dart';
class SearchResult extends StatelessWidget {
const SearchResult({super.key});
@override
Widget build(BuildContext context) {
return Column(
crossAxisAl... | 0 |
faisal-ghamdi/football | f77b17f | lib/teams_screen/add_contract_screen.dart | Dart | www.github.com/faisal-ghamdi/football/tree/main/lib/teams_screen/add_contract_screen.dart | https://raw.githubusercontent.com/faisal-ghamdi/football/f77b17f/lib/teams_screen/add_contract_screen.dart | faisal-ghamdi/football f77b17f lib/teams_screen/add_contract_screen.dart | true | 200 | 1,943 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:football/widget/app_button.dart';
import 'package:football/widget/app_text_field.dart';
import 'package:football/widget/custom_details.dart';
class AddCont... | 3 |
baichuanjiu/MetaUni-MetaUniApp | 7b00f8c | lib/mini_apps/flea_market/home_page/reusable_components/mission/card/mission_card.dart | Dart | www.github.com/baichuanjiu/MetaUni-MetaUniApp/tree/main/lib/mini_apps/flea_market/home_page/reusable_components/mission/card/mission_card.dart | https://raw.githubusercontent.com/baichuanjiu/MetaUni-MetaUniApp/7b00f8c/lib/mini_apps/flea_market/home_page/reusable_components/mission/card/mission_card.dart | baichuanjiu/MetaUni-MetaUniApp 7b00f8c lib/mini_apps/flea_market/home_page/reusable_components/mission/card/mission_card.dart | true | 200 | 9,759 | import 'package:cached_network_image/cached_network_image.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import '../details/mission_details_page.dart';
import '../models/mission_data.dart';
class MissionCard extends StatefulWidget {
final BriefMissionData data;
const Miss... | 7 |
Lovealone1/DelieveryDlloMovil-Restaurant | 9bd740d | lib/models/addFoodModel/addFoodModel.dart | Dart | www.github.com/Lovealone1/DelieveryDlloMovil-Restaurant/tree/main/lib/models/addFoodModel/addFoodModel.dart | https://raw.githubusercontent.com/Lovealone1/DelieveryDlloMovil-Restaurant/9bd740d/lib/models/addFoodModel/addFoodModel.dart | Lovealone1/DelieveryDlloMovil-Restaurant 9bd740d lib/models/addFoodModel/addFoodModel.dart | true | 200 | 2,040 | import 'dart:convert';
import 'package:cloud_firestore/cloud_firestore.dart';
class AddFoodModel {
String name;
String restaurantUID;
String foodID;
DateTime uploadTime;
String description;
String foodImageURL;
bool isVegetarian;
String actualPrice;
String discountedPrice;
AddFoodModel(
{req... | 2 |
TesfayeAdugna/Bertucan | 23bd6eb | lib/ui/pages/auth/lock_screen_page.dart | Dart | www.github.com/TesfayeAdugna/Bertucan/tree/main/lib/ui/pages/auth/lock_screen_page.dart | https://raw.githubusercontent.com/TesfayeAdugna/Bertucan/23bd6eb/lib/ui/pages/auth/lock_screen_page.dart | TesfayeAdugna/Bertucan 23bd6eb lib/ui/pages/auth/lock_screen_page.dart | true | 200 | 1,580 | import 'dart:developer';
import 'package:bertucanfrontend/shared/routes/app_routes.dart';
import 'package:bertucanfrontend/shared/themes/app_theme.dart';
import 'package:bertucanfrontend/ui/controllers/auth_controller.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screen_lock/flutter_screen_loc... | 6 |
abdullah-rafiq/Flutter | 5828985 | lib/screens/home_screen.dart | Dart | www.github.com/abdullah-rafiq/Flutter/tree/main/lib/screens/home_screen.dart | https://raw.githubusercontent.com/abdullah-rafiq/Flutter/5828985/lib/screens/home_screen.dart | abdullah-rafiq/Flutter 5828985 lib/screens/home_screen.dart | true | 200 | 7,008 | import 'package:flutter/material.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
import 'package:cached_network_image/cached_network_image.dart';
import 'package:x/drawer/drawer.dart';
class HomeScreen extends StatefulWidget {
const HomeScreen({super.key});
@override
State<HomeScreen> cr... | 4 |
Anas7232/Signin-Signup-Pages | 4f4fb69 | lib/second.dart | Dart | www.github.com/Anas7232/Signin-Signup-Pages/tree/main/lib/second.dart | https://raw.githubusercontent.com/Anas7232/Signin-Signup-Pages/4f4fb69/lib/second.dart | Anas7232/Signin-Signup-Pages 4f4fb69 lib/second.dart | true | 200 | 2,621 | import 'package:flutter/material.dart';
import 'package:signinform/main.dart';
import 'package:signinform/third.dart';
void main() {
runApp(
const MaterialApp(
debugShowCheckedModeBanner: false,
home: SecondPage(),
));
}
class SecondPage extends StatefulWidget {
const SecondPage({super... | 5 |
Ayushi1229/Flutter | 47e5e88 | Lab7/labA1.dart | Dart | www.github.com/Ayushi1229/Flutter/tree/main/Lab7/labA1.dart | https://raw.githubusercontent.com/Ayushi1229/Flutter/47e5e88/Lab7/labA1.dart | Ayushi1229/Flutter 47e5e88 Lab7/labA1.dart | true | 200 | 348 | import 'package:flutter/material.dart';
class Layout extends StatelessWidget {
const Layout({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
body: Text("hello world",
style: TextStyle(color: Colors.red,
fontSi... | 1 |
bouananirania/dr_frontend | 25013f5 | lib/providers/rendezvous.dart | Dart | www.github.com/bouananirania/dr_frontend/tree/main/lib/providers/rendezvous.dart | https://raw.githubusercontent.com/bouananirania/dr_frontend/25013f5/lib/providers/rendezvous.dart | bouananirania/dr_frontend 25013f5 lib/providers/rendezvous.dart | true | 200 | 2,002 | import 'package:flutter/material.dart';
import '../models/rendezvous.dart';
import '../services/rendezvousServices.dart'; // Assurez-vous que le chemin est correct
class RendezvousProvider with ChangeNotifier {
final RendezvousService _rendezvousService = RendezvousService();
List<Rendezvous> _rendezvousList = [... | 0 |
MazenSalahb/graduation_project_flutter | bc3c584 | lib/screens/get_started_screen.dart | Dart | www.github.com/MazenSalahb/graduation_project_flutter/tree/main/lib/screens/get_started_screen.dart | https://raw.githubusercontent.com/MazenSalahb/graduation_project_flutter/bc3c584/lib/screens/get_started_screen.dart | MazenSalahb/graduation_project_flutter bc3c584 lib/screens/get_started_screen.dart | true | 200 | 3,306 | import 'package:flutter/material.dart';
class GetStartedScreen extends StatelessWidget {
const GetStartedScreen({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
extendBodyBehindAppBar: true,
appBar: AppBar(
backgroundColor: Colors.transparent,
elevati... | 3 |
nikhil-chourase/employee_flutter | 281a95c | lib/screens/welcome_screen.dart | Dart | www.github.com/nikhil-chourase/employee_flutter/tree/main/lib/screens/welcome_screen.dart | https://raw.githubusercontent.com/nikhil-chourase/employee_flutter/281a95c/lib/screens/welcome_screen.dart | nikhil-chourase/employee_flutter 281a95c lib/screens/welcome_screen.dart | true | 200 | 2,958 | import 'package:animated_text_kit/animated_text_kit.dart';
import 'package:flutter/material.dart';
import 'package:employee_flutter/screens/login_screen.dart';
import 'package:employee_flutter/screens/registration_screen.dart';
class WelcomeScreen extends StatefulWidget {
static String id = 'welcomeScreen';
@ove... | 7 |
gustavomoda/app_movie_challenge | 877773a | lib/src/shared/presenter/molecules/text_field/_text_field_styles.dart | Dart | www.github.com/gustavomoda/app_movie_challenge/tree/main/lib/src/shared/presenter/molecules/text_field/_text_field_styles.dart | https://raw.githubusercontent.com/gustavomoda/app_movie_challenge/877773a/lib/src/shared/presenter/molecules/text_field/_text_field_styles.dart | gustavomoda/app_movie_challenge 877773a lib/src/shared/presenter/molecules/text_field/_text_field_styles.dart | true | 200 | 2,003 | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import '../../../../config/themes/app_theme.dart';
import '../../base/styles/styles.dart';
final ({StylesBuilder<TextFieldStyles> standard}) textFieldSpecs = (
standard: (context) {
final theme = context.read<AppTheme>();
final... | 6 |
eriklarko/poke | fe951fb | lib/models/watering_plants/widgets/editable_plant_image.dart | Dart | www.github.com/eriklarko/poke/tree/main/lib/models/watering_plants/widgets/editable_plant_image.dart | https://raw.githubusercontent.com/eriklarko/poke/fe951fb/lib/models/watering_plants/widgets/editable_plant_image.dart | eriklarko/poke fe951fb lib/models/watering_plants/widgets/editable_plant_image.dart | true | 200 | 3,454 | import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'package:get_it/get_it.dart';
import 'package:poke/models/watering_plants/plant.dart';
import 'package:poke/persistence/action/persistence.dart';
import 'package:poke/persistence/blob/blob_persistence.dart';
import 'plant_image.dar... | 4 |
Kruti-Ritul/Flutter_Reminder | 94058e5 | lib/utils/reminder.dart | Dart | www.github.com/Kruti-Ritul/Flutter_Reminder/tree/main/lib/utils/reminder.dart | https://raw.githubusercontent.com/Kruti-Ritul/Flutter_Reminder/94058e5/lib/utils/reminder.dart | Kruti-Ritul/Flutter_Reminder 94058e5 lib/utils/reminder.dart | true | 200 | 3,435 | import 'package:flutter/material.dart';
import 'package:flutter_slidable/flutter_slidable.dart';
import 'package:myreminder/pages/home_page.dart';
import 'package:myreminder/utils/notifications.dart';
class Reminder extends StatelessWidget {
const Reminder({
super.key,
required this.taskName,
required th... | 5 |
dilshanbeligala/nft_app | 685ecb0 | lib/tabs/top_tab.dart | Dart | www.github.com/dilshanbeligala/nft_app/tree/main/lib/tabs/top_tab.dart | https://raw.githubusercontent.com/dilshanbeligala/nft_app/685ecb0/lib/tabs/top_tab.dart | dilshanbeligala/nft_app 685ecb0 lib/tabs/top_tab.dart | true | 200 | 265 | import 'package:flutter/material.dart';
import 'package:nft_app/components/nft_card.dart';
class TopTab extends StatelessWidget {
const TopTab({super.key});
@override
Widget build(BuildContext context) {
return NftCard(imagePath: 'images/2.png');
}
}
| 0 |
AhmedGSonbol/Autism_App | a9728f3 | lib/Models/search_Model.dart | Dart | www.github.com/AhmedGSonbol/Autism_App/tree/main/lib/Models/search_Model.dart | https://raw.githubusercontent.com/AhmedGSonbol/Autism_App/a9728f3/lib/Models/search_Model.dart | AhmedGSonbol/Autism_App a9728f3 lib/Models/search_Model.dart | true | 200 | 596 | class Search_Model
{
List<SearchData> data = [];
Search_Model.fromJson(Map<String,dynamic> json)
{
if(json['data'].length != 0)
{
json['data'].forEach((e)
{
data.add(SearchData.fromJson(e));
});
}
}
}
class SearchData
{
int? id;
String? name;
... | 1 |
iamgio/fluttered | 122c916 | lib/diet/viewmodel/diet_viewmodel.dart | Dart | www.github.com/iamgio/fluttered/tree/main/lib/diet/viewmodel/diet_viewmodel.dart | https://raw.githubusercontent.com/iamgio/fluttered/122c916/lib/diet/viewmodel/diet_viewmodel.dart | iamgio/fluttered 122c916 lib/diet/viewmodel/diet_viewmodel.dart | true | 200 | 897 | import 'package:flutter/cupertino.dart';
import 'package:fluttered/diet/model/diet_model.dart';
import 'package:fluttered/diet/viewmodel/meal_viewmodel.dart';
class DailyDietViewModel {
int _day = -1;
List<MealViewModel> _meals = [];
final VoidCallback? callback;
DailyDietViewModel(DailyDietModel dailyDiet, {... | 3 |
candraos/teacher_finder_lebanon | 6916ce4 | lib/MainViews/Pages/search_view.dart | Dart | www.github.com/candraos/teacher_finder_lebanon/tree/main/lib/MainViews/Pages/search_view.dart | https://raw.githubusercontent.com/candraos/teacher_finder_lebanon/6916ce4/lib/MainViews/Pages/search_view.dart | candraos/teacher_finder_lebanon 6916ce4 lib/MainViews/Pages/search_view.dart | true | 200 | 3,618 | import 'package:flutter/material.dart';
import 'package:teacher_finder_lebanon/ViewModels/search_vm.dart';
import 'package:teacher_finder_lebanon/Widgets/search_list_widget.dart';
import 'package:provider/provider.dart';
import '../../Models/User.dart';
import '../../ViewModels/topic_vm.dart';
class Search extends Sta... | 7 |
S10may1999/villabookinghub_admin_cum_vendor | 649a872 | lib/pages/main-page.dart | Dart | www.github.com/S10may1999/villabookinghub_admin_cum_vendor/tree/main/lib/pages/main-page.dart | https://raw.githubusercontent.com/S10may1999/villabookinghub_admin_cum_vendor/649a872/lib/pages/main-page.dart | S10may1999/villabookinghub_admin_cum_vendor 649a872 lib/pages/main-page.dart | true | 200 | 596 | import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:villachalo_admin/components/graph-card.dart';
import 'package:villachalo_admin/components/status-card.dart';
class MainPage extends StatefulWidget {
const MainPage({super.key});
@override
State<MainPage> createState()... | 6 |
ryujinnnee/assist | 9d1f4db | lib/page/do.dart | Dart | www.github.com/ryujinnnee/assist/tree/main/lib/page/do.dart | https://raw.githubusercontent.com/ryujinnnee/assist/9d1f4db/lib/page/do.dart | ryujinnnee/assist 9d1f4db lib/page/do.dart | true | 200 | 8,068 | import 'package:chat/home.dart';
import 'package:chat/page/addjadwal.dart';
import 'package:chat/page/inJadwal.dart';
import 'package:chat/page/setting.dart';
import 'package:chat/page/ui/ui/widgets/nav_bottom.dart';
import 'package:chat/theme/colorplt.dart';
import 'package:flutter/material.dart';
import 'package:glas... | 4 |
faresdu/faresGDSC1 | 4c3a29c | lib/ui/notifications/notifications_view.dart | Dart | www.github.com/faresdu/faresGDSC1/tree/main/lib/ui/notifications/notifications_view.dart | https://raw.githubusercontent.com/faresdu/faresGDSC1/4c3a29c/lib/ui/notifications/notifications_view.dart | faresdu/faresGDSC1 4c3a29c lib/ui/notifications/notifications_view.dart | true | 200 | 3,973 | import 'package:flutter/material.dart';
import 'package:gdsc_app/ui/notifications/components/deletable_notification_card.dart';
import 'package:gdsc_app/ui/notifications/notifications_viewmodel.dart';
import 'package:gdsc_app/ui/widgets/busy_overlay.dart';
import 'package:gdsc_app/ui/widgets/custom_bottom_modal_sheet.d... | 1 |
devdreamweaver007/flutter_test_app | a4ddfc3 | lib/Commons/custom_button.dart | Dart | www.github.com/devdreamweaver007/flutter_test_app/tree/main/lib/Commons/custom_button.dart | https://raw.githubusercontent.com/devdreamweaver007/flutter_test_app/a4ddfc3/lib/Commons/custom_button.dart | devdreamweaver007/flutter_test_app a4ddfc3 lib/Commons/custom_button.dart | true | 200 | 794 | import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_test_app/Commons/app_colors.dart';
import 'package:flutter_test_app/Commons/google_fonts.dart';
customButton(
{required double size,
required String text,
required Color color,
required VoidCallback o... | 5 |
abdellahchrif200201/spabooking | c850698 | lib/splashScreen/firebase_service.dart | Dart | www.github.com/abdellahchrif200201/spabooking/tree/main/lib/splashScreen/firebase_service.dart | https://raw.githubusercontent.com/abdellahchrif200201/spabooking/c850698/lib/splashScreen/firebase_service.dart | abdellahchrif200201/spabooking c850698 lib/splashScreen/firebase_service.dart | true | 200 | 6,437 | import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:firebase_messaging/firebase_messaging.dart';
import 'package:flutter_local_notifications/flutter_local_notifications.dart';
import 'package:logger/logger.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:spa... | 0 |
Nedimko123/NutriPick | 8050fec | lib/features/history/domain/functions/delete_from_db.dart | Dart | www.github.com/Nedimko123/NutriPick/tree/main/lib/features/history/domain/functions/delete_from_db.dart | https://raw.githubusercontent.com/Nedimko123/NutriPick/8050fec/lib/features/history/domain/functions/delete_from_db.dart | Nedimko123/NutriPick 8050fec lib/features/history/domain/functions/delete_from_db.dart | true | 200 | 1,014 | import 'dart:convert';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:foods/features/common/toast/success.dart';
import 'package:foods/features/history/domain/providers.dart';
import 'package:foods/features/homepage/data/const/shared_preferences_keys.dart';
import 'package:foods/features/repo... | 3 |
Telodar/kkt_kendine_yardim | 3c537d2 | lib/module_5.dart | Dart | www.github.com/Telodar/kkt_kendine_yardim/tree/main/lib/module_5.dart | https://raw.githubusercontent.com/Telodar/kkt_kendine_yardim/3c537d2/lib/module_5.dart | Telodar/kkt_kendine_yardim 3c537d2 lib/module_5.dart | true | 200 | 8,953 | import 'package:flutter/material.dart';
import 'package:kkt_kendine_yardim/home_page.dart';
import 'package:kkt_kendine_yardim/main.dart';
import 'package:kkt_kendine_yardim/module_2.dart';
import 'package:photo_view/photo_view.dart';
import 'package:responsive_framework/responsive_framework.dart';
import 'module_1.da... | 2 |
dams023/Mobile | fb879c3 | projeto/lib/main.dart | Dart | www.github.com/dams023/Mobile/tree/main/projeto/lib/main.dart | https://raw.githubusercontent.com/dams023/Mobile/fb879c3/projeto/lib/main.dart | dams023/Mobile fb879c3 projeto/lib/main.dart | true | 200 | 3,965 | import 'package:flutter/material.dart';
// Onde a execução do programa começa - principal.
void main() {
runApp(const Aplicativo()); // Roda aplicativo.
}
// Classe aplicativo (Contém características, variáveis e funções).
// Extends - extende - Herda características do Widget Stateless.
// Stateless - Toda interf... | 7 |
amecoms/PalWallet | 98e09e0 | lib/module/reset_password/bloc/reset_password_bloc.dart | Dart | www.github.com/amecoms/PalWallet/tree/main/lib/module/reset_password/bloc/reset_password_bloc.dart | https://raw.githubusercontent.com/amecoms/PalWallet/98e09e0/lib/module/reset_password/bloc/reset_password_bloc.dart | amecoms/PalWallet 98e09e0 lib/module/reset_password/bloc/reset_password_bloc.dart | true | 200 | 3,088 | import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import '../../../../Widgets/message_dialog.dart';
import '../../../../Widgets/show_message.dart';
import '../../../../app_helper/enums.dart';
import '../../../../main.dart';
import '../../../../repositories/au... | 6 |
evertoch/enforcados_leitura | cf6307a | lib/src/features/home/home_page.dart | Dart | www.github.com/evertoch/enforcados_leitura/tree/main/lib/src/features/home/home_page.dart | https://raw.githubusercontent.com/evertoch/enforcados_leitura/cf6307a/lib/src/features/home/home_page.dart | evertoch/enforcados_leitura cf6307a lib/src/features/home/home_page.dart | true | 200 | 894 | import 'package:flutter/material.dart';
//routes
//ads Mobile
import '../../shared/utils/app_routes.dart';
//components
import 'components/button.dart';
import 'components/imagem.dart';
class HomePage extends StatefulWidget {
@override
_HomePageState createState() => _HomePageState();
}
class _HomePageState ex... | 4 |
babakhalid/we | 1da156b | lib/models/douar.dart | Dart | www.github.com/babakhalid/we/tree/main/lib/models/douar.dart | https://raw.githubusercontent.com/babakhalid/we/1da156b/lib/models/douar.dart | babakhalid/we 1da156b lib/models/douar.dart | true | 200 | 3,485 | // To parse this JSON data, do
//
// final douar = douarFromJson(jsonString);
import 'dart:convert';
Douar douarFromJson(String str) => Douar.fromJson(json.decode(str));
String douarToJson(Douar data) => json.encode(data.toJson());
class Douar {
int? currentPage;
List<Datum>? data;
String? firstPageUrl;
... | 5 |
dart-test-2022/for_loop_test | 2c10c57 | for_loop07_test.dart | Dart | www.github.com/dart-test-2022/for_loop_test/tree/main/for_loop07_test.dart | https://raw.githubusercontent.com/dart-test-2022/for_loop_test/2c10c57/for_loop07_test.dart | dart-test-2022/for_loop_test 2c10c57 for_loop07_test.dart | true | 200 | 365 | import 'package:test/test.dart';
import '../bin/for_loop07.dart';
void main() {
group('for_loop01', (() {
test('the sum of the numbers', () {
expect(func([5, 6, 7, 8], 0, 3), 6);
}, timeout: Timeout.factor(2));
test('the sum of the numbers', () {
expect(func([1, 8, 2, 5, 3, 7, 4], 3, 7), 4);
... | 0 |
doch2/humap-flutter | d6a4885 | lib/services/firestore_database.dart | Dart | www.github.com/doch2/humap-flutter/tree/main/lib/services/firestore_database.dart | https://raw.githubusercontent.com/doch2/humap-flutter/d6a4885/lib/services/firestore_database.dart | doch2/humap-flutter d6a4885 lib/services/firestore_database.dart | true | 200 | 2,964 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:get/get.dart';
import '../models/user.dart';
import 'auth_service.dart';
class FirestoreDatabase {
final FirebaseFirestore _firestore = FirebaseFirestore.instance;
Future<bool> createNewUser(UserModel user) async {
try {
await _fire... | 3 |
fhir-fli/fhir_r4 | 241fb92 | packages/fhir_r4/lib/src/primitive_types/enums/variable_type.dart | Dart | www.github.com/fhir-fli/fhir_r4/tree/main/packages/fhir_r4/lib/src/primitive_types/enums/variable_type.dart | https://raw.githubusercontent.com/fhir-fli/fhir_r4/241fb92/packages/fhir_r4/lib/src/primitive_types/enums/variable_type.dart | fhir-fli/fhir_r4 241fb92 packages/fhir_r4/lib/src/primitive_types/enums/variable_type.dart | true | 200 | 4,957 | // ignore_for_file: unused_element_parameter, non_constant_identifier_names
part of '../primitive_types.dart';
/// The possible types of variables for exposures or outcomes (E.g.
/// Dichotomous, Continuous, Descriptive).
class VariableType extends FhirCodeEnum {
// Private underscore constructor for internal use.
... | 2 |
shimaa-saied/notes_app | 3ad831b | lib/Widget/NotesViewBody.dart | Dart | www.github.com/shimaa-saied/notes_app/tree/main/lib/Widget/NotesViewBody.dart | https://raw.githubusercontent.com/shimaa-saied/notes_app/3ad831b/lib/Widget/NotesViewBody.dart | shimaa-saied/notes_app 3ad831b lib/Widget/NotesViewBody.dart | true | 200 | 1,187 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:notes_app/Cubit/DisplayNode/display_node_cubit.dart';
import '../Views/searchView.dart';
import 'CustomAppBar.dart';
import 'NotesListView.dart';
class Notesviewbody extends StatefulWidget {
const Notesviewbody({... | 6 |
naveeenkm/diceApp.com | 4a8d918 | lib/gradient_container.dart | Dart | www.github.com/naveeenkm/diceApp.com/tree/main/lib/gradient_container.dart | https://raw.githubusercontent.com/naveeenkm/diceApp.com/4a8d918/lib/gradient_container.dart | naveeenkm/diceApp.com 4a8d918 lib/gradient_container.dart | true | 200 | 1,228 | import 'package:first_app/dice_roller.dart';
import 'package:flutter/material.dart';
var startAlignment = Alignment.topLeft;
var endAlignment = Alignment.bottomRight;
class GradientCotainer extends StatelessWidget {
const GradientCotainer(
this.home,
this.color1,
this.color2, {
super.key,
});
fi... | 7 |
Santhosh0617/tn_edii | 313a29a | lib/common/widgets/external_app.dart | Dart | www.github.com/Santhosh0617/tn_edii/tree/main/lib/common/widgets/external_app.dart | https://raw.githubusercontent.com/Santhosh0617/tn_edii/313a29a/lib/common/widgets/external_app.dart | Santhosh0617/tn_edii 313a29a lib/common/widgets/external_app.dart | true | 200 | 703 | // ignore_for_file: deprecated_member_use
// ignore: depend_on_referenced_packages
import 'package:url_launcher/url_launcher.dart';
class ExternalApp {
static String mapUrl(String latitude, String longitude) =>
'https://www.google.com/maps/search/?api=1&query=$latitude,$longitude';
///Opens External app if... | 1 |
toluadejimi/gomobile | 1e16650 | lib/UI/WebPage/view.dart | Dart | www.github.com/toluadejimi/gomobile/tree/main/lib/UI/WebPage/view.dart | https://raw.githubusercontent.com/toluadejimi/gomobile/1e16650/lib/UI/WebPage/view.dart | toluadejimi/gomobile 1e16650 lib/UI/WebPage/view.dart | true | 200 | 1,400 | import 'package:flutter/material.dart';
import 'package:gomobilez/UI/WebPage/viewModel.dart';
import 'package:gomobilez/app/app.router.dart';
import 'package:gomobilez/helpers/app_colors.dart';
import 'package:gomobilez/widgets/roundedIconButton.dart';
import 'package:stacked/stacked.dart';
import 'package:webview_flut... | 4 |
EIP-GetOut/GETOUT-Platform | f7e7d32 | app/lib/screens/home/services/books.dart | Dart | www.github.com/EIP-GetOut/GETOUT-Platform/tree/main/app/lib/screens/home/services/books.dart | https://raw.githubusercontent.com/EIP-GetOut/GETOUT-Platform/f7e7d32/app/lib/screens/home/services/books.dart | EIP-GetOut/GETOUT-Platform f7e7d32 app/lib/screens/home/services/books.dart | true | 200 | 6,692 | /*
** Copyright GETOUT SAS - All Rights Reserved
** Unauthorized copying of this file, via any medium is strictly prohibited
** Proprietary and confidential
** Wrote by Perry Chouteau <perry.chouteau@epitech.eu>
*/
part of 'service.dart';
class BooksService extends ServiceTemplate {
final String _id = (globals.sess... | 2 |
AdibaNoor/AltrOpps | e7be1b7 | altropps/lib/util/Card_custom.dart | Dart | www.github.com/AdibaNoor/AltrOpps/tree/main/altropps/lib/util/Card_custom.dart | https://raw.githubusercontent.com/AdibaNoor/AltrOpps/e7be1b7/altropps/lib/util/Card_custom.dart | AdibaNoor/AltrOpps e7be1b7 altropps/lib/util/Card_custom.dart | true | 200 | 644 | import 'package:flutter/material.dart';
class Card_custom extends StatefulWidget {
const Card_custom({Key? key}) : super(key: key);
@override
State<Card_custom> createState() => _Card_customState();
}
class _Card_customState extends State<Card_custom> {
@override
Widget build(BuildContext context) {
ret... | 5 |
LamaMen/time-tracker-client | 15227e0 | lib/domain/repository/progress/progress_repository.dart | Dart | www.github.com/LamaMen/time-tracker-client/tree/main/lib/domain/repository/progress/progress_repository.dart | https://raw.githubusercontent.com/LamaMen/time-tracker-client/15227e0/lib/domain/repository/progress/progress_repository.dart | LamaMen/time-tracker-client 15227e0 lib/domain/repository/progress/progress_repository.dart | true | 200 | 3,627 | import 'dart:io';
import 'package:dio/dio.dart';
import 'package:either_dart/either.dart';
import 'package:flutter/material.dart';
import 'package:injectable/injectable.dart';
import 'package:time_tracker_client/core/failure/failure.dart';
import 'package:time_tracker_client/core/utils/date_utils.dart';
import 'packag... | 0 |
avishka2k/find_food_application | 2d1d3a7 | lib/main.dart | Dart | www.github.com/avishka2k/find_food_application/tree/main/lib/main.dart | https://raw.githubusercontent.com/avishka2k/find_food_application/2d1d3a7/lib/main.dart | avishka2k/find_food_application 2d1d3a7 lib/main.dart | true | 200 | 701 | import 'package:flutter/material.dart';
import 'screens/home.dart';
import 'package:device_preview/device_preview.dart';
void main() {
runApp(
DevicePreview(
builder: (context) => MyApp(), // Wrap your app
),
);
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@o... | 6 |
satyamvaidhyamegha/ProphysioApp | 9281dfc | physio/lib/physio/screens/onboarding/professional_profile.dart | Dart | www.github.com/satyamvaidhyamegha/ProphysioApp/tree/main/physio/lib/physio/screens/onboarding/professional_profile.dart | https://raw.githubusercontent.com/satyamvaidhyamegha/ProphysioApp/9281dfc/physio/lib/physio/screens/onboarding/professional_profile.dart | satyamvaidhyamegha/ProphysioApp 9281dfc physio/lib/physio/screens/onboarding/professional_profile.dart | true | 200 | 16,948 | import 'dart:convert';
import 'dart:io';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:http/http.dart' as http;
import 'package:http_parser/http_parser.dart';
import 'package:image_picker/image_picker.dart';
import 'package:physio/constants/string.dart';
import 'package:physio/... | 1 |
Fitcentive/flutter_app | 9f3a7d8 | lib/src/infrastructure/image_picker/web_image_picker.dart | Dart | www.github.com/Fitcentive/flutter_app/tree/main/lib/src/infrastructure/image_picker/web_image_picker.dart | https://raw.githubusercontent.com/Fitcentive/flutter_app/9f3a7d8/lib/src/infrastructure/image_picker/web_image_picker.dart | Fitcentive/flutter_app 9f3a7d8 lib/src/infrastructure/image_picker/web_image_picker.dart | true | 200 | 2,212 | import 'dart:typed_data';
import 'dart:html' as html;
import 'package:flutter/material.dart';
import 'package:flutter_app/src/infrastructure/image_picker/custom_image_picker.dart';
import 'package:image_cropper/image_cropper.dart';
import 'package:image_picker_web/image_picker_web.dart';
import 'package:tuple/tuple.da... | 4 |
Davoste/weather | 4c2bc64 | lib/Home_page.dart | Dart | www.github.com/Davoste/weather/tree/main/lib/Home_page.dart | https://raw.githubusercontent.com/Davoste/weather/4c2bc64/lib/Home_page.dart | Davoste/weather 4c2bc64 lib/Home_page.dart | true | 200 | 8,225 | import 'package:flutter/material.dart';
import 'package:weather/search.dart';
import 'package:weather/services.dart'; // Ensure this contains naiWeather() definition
//import 'package:carousel_slider/carousel_slider.dart' as slider;
class HomePage extends StatefulWidget {
const HomePage({super.key});
@override
... | 5 |
MohamedRefaat90/maids_Task | 00bea7c | lib/features/home/presentation/Widgets/task_details/doc_tile.dart | Dart | www.github.com/MohamedRefaat90/maids_Task/tree/main/lib/features/home/presentation/Widgets/task_details/doc_tile.dart | https://raw.githubusercontent.com/MohamedRefaat90/maids_Task/00bea7c/lib/features/home/presentation/Widgets/task_details/doc_tile.dart | MohamedRefaat90/maids_Task 00bea7c lib/features/home/presentation/Widgets/task_details/doc_tile.dart | true | 200 | 1,062 | import 'dart:io';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:notes/features/home/presentation/cubit/add_task/add_task_cubit.dart';
import 'package:open_filex/open_filex.dart';
import 'package:path/path.dart' as path;
import '../../../data/models/task_model... | 2 |
AbdulRahmanMudasser/edutrack | dc19992 | frontend/lib/controllers/student_controller.dart | Dart | www.github.com/AbdulRahmanMudasser/edutrack/tree/main/frontend/lib/controllers/student_controller.dart | https://raw.githubusercontent.com/AbdulRahmanMudasser/edutrack/dc19992/frontend/lib/controllers/student_controller.dart | AbdulRahmanMudasser/edutrack dc19992 frontend/lib/controllers/student_controller.dart | true | 200 | 1,332 | import 'package:frontend/services/student_service.dart';
import 'package:get/get.dart';
import '../models/student_model.dart';
class StudentController extends GetxController {
var students = <StudentModel>[].obs;
var isLoading = false.obs;
@override
void onInit() {
fetchStudent();
super.onInit();
}... | 3 |
pwargulak/mycarehub-frontend-daktari | 22cea19 | lib/application/redux/states/user_profile_state.dart | Dart | www.github.com/pwargulak/mycarehub-frontend-daktari/tree/main/lib/application/redux/states/user_profile_state.dart | https://raw.githubusercontent.com/pwargulak/mycarehub-frontend-daktari/22cea19/lib/application/redux/states/user_profile_state.dart | pwargulak/mycarehub-frontend-daktari 22cea19 lib/application/redux/states/user_profile_state.dart | true | 200 | 1,235 | import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:prohealth360_daktari/application/redux/states/user_profile/facilities_state.dart';
import 'package:prohealth360_daktari/application/redux/states/user_profile/organisation_state.dart';
import 'package:prohealth360_daktari/application/redux/stat... | 6 |
Tawfiq038/Flutter-App-Dev | 2733dd1 | todo_app/lib/util/dialog_box.dart | Dart | www.github.com/Tawfiq038/Flutter-App-Dev/tree/main/todo_app/lib/util/dialog_box.dart | https://raw.githubusercontent.com/Tawfiq038/Flutter-App-Dev/2733dd1/todo_app/lib/util/dialog_box.dart | Tawfiq038/Flutter-App-Dev 2733dd1 todo_app/lib/util/dialog_box.dart | true | 200 | 1,539 | // ignore_for_file: prefer_const_constructors, sized_box_for_whitespace, prefer_const_literals_to_create_immutables, prefer_typing_uninitialized_variables
import 'package:flutter/material.dart';
import 'package:todo_app/util/my_button.dart';
class DialogBox extends StatelessWidget {
final controller;
final... | 7 |
Diego2038/trauma_register_frontend | a9ed1ec | lib/presentation/views/bulk_upload_view.dart | Dart | www.github.com/Diego2038/trauma_register_frontend/tree/main/lib/presentation/views/bulk_upload_view.dart | https://raw.githubusercontent.com/Diego2038/trauma_register_frontend/a9ed1ec/lib/presentation/views/bulk_upload_view.dart | Diego2038/trauma_register_frontend a9ed1ec lib/presentation/views/bulk_upload_view.dart | true | 200 | 5,546 | import 'dart:typed_data';
import 'package:dotted_border/dotted_border.dart';
import 'package:file_picker/file_picker.dart';
import 'package:flutter/material.dart';
import 'package:trauma_register_frontend/core/enums/custom_size.dart';
import 'package:trauma_register_frontend/core/themes/app_colors.dart';
import 'packa... | 0 |
Arunvijay28/Floor-Plan-Generation | 7ec2ebc | MobileApp/floorplan_project/lib/graphpage.dart | Dart | www.github.com/Arunvijay28/Floor-Plan-Generation/tree/main/MobileApp/floorplan_project/lib/graphpage.dart | https://raw.githubusercontent.com/Arunvijay28/Floor-Plan-Generation/7ec2ebc/MobileApp/floorplan_project/lib/graphpage.dart | Arunvijay28/Floor-Plan-Generation 7ec2ebc MobileApp/floorplan_project/lib/graphpage.dart | true | 200 | 9,019 | import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:graphview/GraphView.dart';
import 'package:http/http.dart' as http;
class GraphPage extends StatefulWidget {
@override
_GraphPageState createState() => _GraphPageState();
}
class _GraphPageState extends State<GraphPage> {
final Graph... | 1 |
sangeethm369/flutternewclass | 02a9469 | lib/screens/view_product_screen.dart | Dart | www.github.com/sangeethm369/flutternewclass/tree/main/lib/screens/view_product_screen.dart | https://raw.githubusercontent.com/sangeethm369/flutternewclass/02a9469/lib/screens/view_product_screen.dart | sangeethm369/flutternewclass 02a9469 lib/screens/view_product_screen.dart | true | 200 | 5,180 | import 'package:flutter/material.dart';
import 'package:flutternewclass/models/networkmethod.dart';
class ViewProduct extends StatefulWidget {
const ViewProduct({super.key});
@override
State<ViewProduct> createState() => _ViewProductState();
}
class _ViewProductState extends State<ViewProduct> {
@override
... | 4 |
muhammadali224/qaser_admin | 635dda3 | lib/data/model/image_offer_model/image_offer_model.dart | Dart | www.github.com/muhammadali224/qaser_admin/tree/main/lib/data/model/image_offer_model/image_offer_model.dart | https://raw.githubusercontent.com/muhammadali224/qaser_admin/635dda3/lib/data/model/image_offer_model/image_offer_model.dart | muhammadali224/qaser_admin 635dda3 lib/data/model/image_offer_model/image_offer_model.dart | true | 200 | 912 | // To parse this JSON data, do
//
// final imageOfferModel = imageOfferModelFromJson(jsonString);
// ignore_for_file: invalid_annotation_target
import 'dart:convert';
import 'package:freezed_annotation/freezed_annotation.dart';
part 'image_offer_model.freezed.dart';
part 'image_offer_model.g.dart';
ImageOfferM... | 2 |
majharul-islam181/LRL-Shopping | 848e0ea | lib/feature/home-settings/presentation/pages/settings_page.dart | Dart | www.github.com/majharul-islam181/LRL-Shopping/tree/main/lib/feature/home-settings/presentation/pages/settings_page.dart | https://raw.githubusercontent.com/majharul-islam181/LRL-Shopping/848e0ea/lib/feature/home-settings/presentation/pages/settings_page.dart | majharul-islam181/LRL-Shopping 848e0ea lib/feature/home-settings/presentation/pages/settings_page.dart | true | 200 | 5,099 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:easy_localization/easy_localization.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:lrl_shopping/core/language/app_language.dart';
import 'package:lrl_shopping/feature/auth/domain/entites/use... | 3 |
Talk8/FlutterCookbook | 993dcc3 | lib/ex055_AppIntroduce.dart | Dart | www.github.com/Talk8/FlutterCookbook/tree/main/lib/ex055_AppIntroduce.dart | https://raw.githubusercontent.com/Talk8/FlutterCookbook/993dcc3/lib/ex055_AppIntroduce.dart | Talk8/FlutterCookbook 993dcc3 lib/ex055_AppIntroduce.dart | true | 200 | 3,528 |
///与143的内容相匹配
import 'package:flutter/material.dart';
import 'package:introduction_screen/introduction_screen.dart';
class ExAppIntroduce extends StatefulWidget {
const ExAppIntroduce({super.key});
@override
State<ExAppIntroduce> createState() => _ExAppIntroduceState();
}
class _ExAppIntroduceState extends St... | 5 |
ahmeddarafat/coderoots | aea58b9 | lib/features/doctors_restful/data/models/response.dart | Dart | www.github.com/ahmeddarafat/coderoots/tree/main/lib/features/doctors_restful/data/models/response.dart | https://raw.githubusercontent.com/ahmeddarafat/coderoots/aea58b9/lib/features/doctors_restful/data/models/response.dart | ahmeddarafat/coderoots aea58b9 lib/features/doctors_restful/data/models/response.dart | true | 200 | 1,181 | import 'package:json_annotation/json_annotation.dart';
part 'response.g.dart';
@JsonSerializable()
class DoctorsResponse {
final List<Doctor> data;
DoctorsResponse({required this.data});
factory DoctorsResponse.fromJson(Map<String, dynamic> json) =>
_$DoctorsResponseFromJson(json);
}
@JsonSerializable(... | 6 |
sudharsanrajendran/ecommericeapp | 1b2172d | lib/main_screens/Shop_screen/header/brand_grid_view/brands_grid_view.dart | Dart | www.github.com/sudharsanrajendran/ecommericeapp/tree/main/lib/main_screens/Shop_screen/header/brand_grid_view/brands_grid_view.dart | https://raw.githubusercontent.com/sudharsanrajendran/ecommericeapp/1b2172d/lib/main_screens/Shop_screen/header/brand_grid_view/brands_grid_view.dart | sudharsanrajendran/ecommericeapp 1b2172d lib/main_screens/Shop_screen/header/brand_grid_view/brands_grid_view.dart | true | 200 | 3,259 | import 'package:ecommericeapp/utils/constants/Tsize.dart';
import 'package:ecommericeapp/utils/helpers/helper_functions.dart';
import 'package:flutter/material.dart';
import '../../../../utils/devies/http_client.dart';
class Brands extends StatefulWidget {
const Brands({super.key});
@override
State<Brands> crea... | 7 |
maaxkhann/PSL-2023 | 5563465 | lib/screens/venue_screen.dart | Dart | www.github.com/maaxkhann/PSL-2023/tree/main/lib/screens/venue_screen.dart | https://raw.githubusercontent.com/maaxkhann/PSL-2023/5563465/lib/screens/venue_screen.dart | maaxkhann/PSL-2023 5563465 lib/screens/venue_screen.dart | true | 200 | 1,326 | import 'package:flutter/material.dart';
import 'package:psl_2023/models/venue_model.dart';
import 'package:psl_2023/screens/utility/data_api.dart';
import 'package:psl_2023/screens/widgets/background_widget.dart';
import 'package:psl_2023/screens/widgets/custom_appBar.dart';
import 'package:psl_2023/screens/widgets/ven... | 0 |
rlebranchu/BrainSaver_Flutter | befa1e7 | lib/views/screens/signup/signup_screen.dart | Dart | www.github.com/rlebranchu/BrainSaver_Flutter/tree/main/lib/views/screens/signup/signup_screen.dart | https://raw.githubusercontent.com/rlebranchu/BrainSaver_Flutter/befa1e7/lib/views/screens/signup/signup_screen.dart | rlebranchu/BrainSaver_Flutter befa1e7 lib/views/screens/signup/signup_screen.dart | true | 200 | 1,448 | import 'package:brain_saver_flutter/repositories/auth_repository.dart';
import 'package:brain_saver_flutter/views/screens/signup/cubit/signup_cubit.dart';
import 'package:brain_saver_flutter/views/screens/signup/signup_form.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
... | 1 |
GermanLozano/teslo_app | 7139188 | lib/features/auth/presentation/providers/login_form_provider.dart | Dart | www.github.com/GermanLozano/teslo_app/tree/main/lib/features/auth/presentation/providers/login_form_provider.dart | https://raw.githubusercontent.com/GermanLozano/teslo_app/7139188/lib/features/auth/presentation/providers/login_form_provider.dart | GermanLozano/teslo_app 7139188 lib/features/auth/presentation/providers/login_form_provider.dart | true | 200 | 3,378 |
// clase para la implementacion del formulario para el login con provider
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:formz/formz.dart';
import 'package:teslo_shop/features/auth/presentation/providers/auth_provider.dart';
import 'package:teslo_shop/features/shared/shared.dart';
// state... | 2 |
ma7moud3osman/mason_bricks | b97e21e | nadeer_template/__brick__/project_name/lib/features/auth_feature/domain/usecases/email_and_password_login_use_case.dart | Dart | www.github.com/ma7moud3osman/mason_bricks/tree/main/nadeer_template/__brick__/project_name/lib/features/auth_feature/domain/usecases/email_and_password_login_use_case.dart | https://raw.githubusercontent.com/ma7moud3osman/mason_bricks/b97e21e/nadeer_template/__brick__/project_name/lib/features/auth_feature/domain/usecases/email_and_password_login_use_case.dart | ma7moud3osman/mason_bricks b97e21e nadeer_template/__brick__/project_name/lib/features/auth_feature/domain/usecases/email_and_password_login_use_case.dart | true | 200 | 602 | import 'package:dartz/dartz.dart';
import '../../../../core/network/email_login_request.dart';
import '../../../../core/usecases/usecase.dart';
import '../repositories/auth_repository.dart';
import '../../../../core/error/failures.dart';
import '../../../user_feature/domain/entities/user.dart';
class EmailLoginUseCas... | 3 |
TayyubKhan/File_manger | 2aa5f63 | lib/Screens/tenp.dart | Dart | www.github.com/TayyubKhan/File_manger/tree/main/lib/Screens/tenp.dart | https://raw.githubusercontent.com/TayyubKhan/File_manger/2aa5f63/lib/Screens/tenp.dart | TayyubKhan/File_manger 2aa5f63 lib/Screens/tenp.dart | true | 200 | 871 | import 'package:flutter/material.dart';
import 'package:permission_handler/permission_handler.dart';
import 'dart:async';
class Temporary_Screen extends StatefulWidget {
Temporary_Screen({Key? key}) : super(key: key);
@override
State<Temporary_Screen> createState() => _Temporary_ScreenState();
}
class _Temporar... | 5 |
Nastyashes/coffee_app | ea4d661 | lib/src/presentation/screens/delivery_page/courier.dart | Dart | www.github.com/Nastyashes/coffee_app/tree/main/lib/src/presentation/screens/delivery_page/courier.dart | https://raw.githubusercontent.com/Nastyashes/coffee_app/ea4d661/lib/src/presentation/screens/delivery_page/courier.dart | Nastyashes/coffee_app ea4d661 lib/src/presentation/screens/delivery_page/courier.dart | true | 200 | 1,844 | import 'package:coffee_app/src/presentation/themes/colors.dart';
import 'package:coffee_app/src/presentation/themes/fonts.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
class CourierPhoneIcon extends StatelessWidget {
const CourierPhoneIcon({super.key});
@override
Widget ... | 6 |
Hisham-Tariq/ReflectionStoreMobile | 4c0205d | lib/app/ui/layouts/main/widgets/main_layout_view.dart | Dart | www.github.com/Hisham-Tariq/ReflectionStoreMobile/tree/main/lib/app/ui/layouts/main/widgets/main_layout_view.dart | https://raw.githubusercontent.com/Hisham-Tariq/ReflectionStoreMobile/4c0205d/lib/app/ui/layouts/main/widgets/main_layout_view.dart | Hisham-Tariq/ReflectionStoreMobile 4c0205d lib/app/ui/layouts/main/widgets/main_layout_view.dart | true | 200 | 292 | import 'package:flutter/material.dart';
class MainLayoutView extends StatelessWidget {
final Widget child;
const MainLayoutView({Key? key, required this.child}) : super(key: key);
@override
Widget build(BuildContext context) {
return Container(child: child);
}
}
| 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.