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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
pavandhote95/flive | 70b988e | lib/controllers/cart_controller.dart | Dart | www.github.com/pavandhote95/flive/tree/main/lib/controllers/cart_controller.dart | https://raw.githubusercontent.com/pavandhote95/flive/70b988e/lib/controllers/cart_controller.dart | pavandhote95/flive 70b988e lib/controllers/cart_controller.dart | true | 200 | 14,402 |
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:lucknowichickenkari_app/Route_managements/routes.dart';
import 'package:lucknowichickenkari_app/Utils/colors.dart';
import 'package:lucknowichickenkari_app/controllers/appbased_controller/app... | 5 |
danielvallance/flutter_bluetooth_communication | e6f745b | lib/bluetooth_connection_control.dart | Dart | www.github.com/danielvallance/flutter_bluetooth_communication/tree/main/lib/bluetooth_connection_control.dart | https://raw.githubusercontent.com/danielvallance/flutter_bluetooth_communication/e6f745b/lib/bluetooth_connection_control.dart | danielvallance/flutter_bluetooth_communication e6f745b lib/bluetooth_connection_control.dart | true | 200 | 7,453 | import 'dart:async';
import 'dart:convert';
import 'dart:developer';
import 'package:flutter/material.dart';
import 'package:flutter_blue_plus/flutter_blue_plus.dart';
import 'package:flutter_bluetooth_communication/utilities.dart';
class BluetoothConnectionControl extends StatefulWidget {
final void Function(List<... | 4 |
Shulika619/food_delivery | 9f6c62b | lib/src/features/cart/data/models/order_item.dart | Dart | www.github.com/Shulika619/food_delivery/tree/main/lib/src/features/cart/data/models/order_item.dart | https://raw.githubusercontent.com/Shulika619/food_delivery/9f6c62b/lib/src/features/cart/data/models/order_item.dart | Shulika619/food_delivery 9f6c62b lib/src/features/cart/data/models/order_item.dart | true | 200 | 513 | import 'package:food_delivery/src/features/cart/data/models/cart_item.dart';
import 'package:freezed_annotation/freezed_annotation.dart';
part 'order_item.freezed.dart';
part 'order_item.g.dart';
@freezed
class OrderItem with _$OrderItem {
@JsonSerializable(explicitToJson: true)
const factory OrderItem({
requ... | 3 |
zTomz/Today | 95f6679 | lib/widgets/custom_button.dart | Dart | www.github.com/zTomz/Today/tree/main/lib/widgets/custom_button.dart | https://raw.githubusercontent.com/zTomz/Today/95f6679/lib/widgets/custom_button.dart | zTomz/Today 95f6679 lib/widgets/custom_button.dart | true | 200 | 1,564 | import 'package:flutter/material.dart';
import 'package:today/core/config/constants.dart';
class CustomButton extends StatelessWidget {
final _CustomButtonVariant _variant;
final Widget label;
final Icon? icon;
final void Function() onPressed;
const CustomButton({
super.key,
required this.label,
... | 6 |
bhaveshrs/msub_student_public_repo | 93b0262 | lib/main.dart | Dart | www.github.com/bhaveshrs/msub_student_public_repo/tree/main/lib/main.dart | https://raw.githubusercontent.com/bhaveshrs/msub_student_public_repo/93b0262/lib/main.dart | bhaveshrs/msub_student_public_repo 93b0262 lib/main.dart | true | 200 | 3,994 | import 'package:firebase_core/firebase_core.dart';
import 'package:firebase_messaging/firebase_messaging.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:get/get_navigation/src/root/get_material_app.dart';
import 'package:msub/app.dart';
import 'package:msub/common/... | 5 |
imthebest1997/cinemapedia_app | 1e91b9c | lib/presentation/screens/movies/home_screen.dart | Dart | www.github.com/imthebest1997/cinemapedia_app/tree/main/lib/presentation/screens/movies/home_screen.dart | https://raw.githubusercontent.com/imthebest1997/cinemapedia_app/1e91b9c/lib/presentation/screens/movies/home_screen.dart | imthebest1997/cinemapedia_app 1e91b9c lib/presentation/screens/movies/home_screen.dart | true | 200 | 3,122 | import 'package:cinemapedia_app/presentation/providers/providers.dart';
import 'package:cinemapedia_app/presentation/widgets/widgets.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
class HomeScreen extends StatelessWidget {
static const name = "home-screen";
... | 7 |
bhoomi-ebiztrait/travel_inspiration_new | c570fcd | lib/screens/NotificationScreen.dart | Dart | www.github.com/bhoomi-ebiztrait/travel_inspiration_new/tree/main/lib/screens/NotificationScreen.dart | https://raw.githubusercontent.com/bhoomi-ebiztrait/travel_inspiration_new/c570fcd/lib/screens/NotificationScreen.dart | bhoomi-ebiztrait/travel_inspiration_new c570fcd lib/screens/NotificationScreen.dart | true | 200 | 16,663 | import 'package:flutter/material.dart';
import 'package:geolocator/geolocator.dart';
import 'package:get/get.dart';
import 'package:travel_inspiration/APICallServices/ApiManager.dart';
import 'package:travel_inspiration/MyWidget/MyCustomListWithStar.dart';
import 'package:travel_inspiration/MyWidget/MyCustomRowViewWIth... | 2 |
skanipakala/dbk_jobs_guide | 3747724 | lib/searchBox.dart | Dart | www.github.com/skanipakala/dbk_jobs_guide/tree/main/lib/searchBox.dart | https://raw.githubusercontent.com/skanipakala/dbk_jobs_guide/3747724/lib/searchBox.dart | skanipakala/dbk_jobs_guide 3747724 lib/searchBox.dart | true | 200 | 2,650 | // import 'package:easy_web_view/easy_web_view.dart';
import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';
class SearchBox extends StatefulWidget {
ValueNotifier importControlDecider;
SearchBox({super.key, required this.importControlDecider});
@override
State<S... | 1 |
Ikuyaz/Barter-It-STIW2044 | a115240 | lib/screens/main/homeScreen.dart | Dart | www.github.com/Ikuyaz/Barter-It-STIW2044/tree/main/lib/screens/main/homeScreen.dart | https://raw.githubusercontent.com/Ikuyaz/Barter-It-STIW2044/a115240/lib/screens/main/homeScreen.dart | Ikuyaz/Barter-It-STIW2044 a115240 lib/screens/main/homeScreen.dart | true | 200 | 1,423 | import 'package:barterit/screens/User/addScreen.dart';
import 'package:barterit/screens/User/profileScreen.dart';
import 'package:barterit/screens/trade/tradeScreen.dart';
import 'package:flutter/material.dart';
import '../../../models/user.dart';
class homeScreen extends StatefulWidget {
final User user;
const h... | 3 |
adhiponnuzz/demo | b52a63a | lib/whileloop.dart | Dart | www.github.com/adhiponnuzz/demo/tree/main/lib/whileloop.dart | https://raw.githubusercontent.com/adhiponnuzz/demo/b52a63a/lib/whileloop.dart | adhiponnuzz/demo b52a63a lib/whileloop.dart | true | 200 | 233 | void main(){
int i = 1; //initialization
while(i<=10){ //condition
print(i); //statements
i++; //incre/decre counter
}////h.w evensum using while
int j=10;
do{
print(j);
j--;
}
while(j>=1);
} | 6 |
IstiantoIlham/hello_happy_food | d3237e3 | lib/screen/categorypage.dart | Dart | www.github.com/IstiantoIlham/hello_happy_food/tree/main/lib/screen/categorypage.dart | https://raw.githubusercontent.com/IstiantoIlham/hello_happy_food/d3237e3/lib/screen/categorypage.dart | IstiantoIlham/hello_happy_food d3237e3 lib/screen/categorypage.dart | true | 200 | 1,056 | import 'package:flutter/material.dart';
import 'package:hello_happy_food/model/food.dart';
import 'package:hello_happy_food/model/foodcategory.dart';
import 'package:hello_happy_food/service/service.dart';
import 'package:hello_happy_food/utility/utils.dart';
import 'package:hello_happy_food/widget/menucategory_widget.... | 0 |
darianado/Besties-App | 547105b | lib/screens/home/chat/components/chat_button.dart | Dart | www.github.com/darianado/Besties-App/tree/main/lib/screens/home/chat/components/chat_button.dart | https://raw.githubusercontent.com/darianado/Besties-App/547105b/lib/screens/home/chat/components/chat_button.dart | darianado/Besties-App 547105b lib/screens/home/chat/components/chat_button.dart | true | 200 | 894 | import 'package:flutter/material.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
import 'package:project_seg/constants/colours.dart';
import 'package:project_seg/screens/components/buttons/pill_button_filled.dart';
/// A [PillButtonFilled] that displays a chat [Icon].
class OpenChatButton exten... | 4 |
Romarico23/tiktok_clone | 9f3bdf5 | lib/controllers/upload_video_controller.dart | Dart | www.github.com/Romarico23/tiktok_clone/tree/main/lib/controllers/upload_video_controller.dart | https://raw.githubusercontent.com/Romarico23/tiktok_clone/9f3bdf5/lib/controllers/upload_video_controller.dart | Romarico23/tiktok_clone 9f3bdf5 lib/controllers/upload_video_controller.dart | true | 200 | 3,255 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_storage/firebase_storage.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:tiktok_clone_app/constant.dart';
import 'package:tiktok_clone_app/models/video.dart';
import 'package:tiktok_clone_app/pa... | 7 |
carbonanik/grocery_app | c759dff | lib/ui/widget/add_remove_button.dart | Dart | www.github.com/carbonanik/grocery_app/tree/main/lib/ui/widget/add_remove_button.dart | https://raw.githubusercontent.com/carbonanik/grocery_app/c759dff/lib/ui/widget/add_remove_button.dart | carbonanik/grocery_app c759dff lib/ui/widget/add_remove_button.dart | true | 200 | 1,656 | import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:instant_grrocery_delivery/main.dart';
import 'package:instant_grrocery_delivery/ui/theme/colors.dart';
import 'package:instant_grrocery_delivery/util/dimension.dart';
class AddRemoveButton extends StatelessWidget {... | 2 |
winzter/UniHR | 961e626 | lib/src/features/manager/overview/data/models/working_time_model.dart | Dart | www.github.com/winzter/UniHR/tree/main/lib/src/features/manager/overview/data/models/working_time_model.dart | https://raw.githubusercontent.com/winzter/UniHR/961e626/lib/src/features/manager/overview/data/models/working_time_model.dart | winzter/UniHR 961e626 lib/src/features/manager/overview/data/models/working_time_model.dart | true | 200 | 6,659 | import 'dart:convert';
import 'package:unihr/src/features/manager/employees_list/presentation/widgets/reuse_2_lines.dart';
import 'package:unihr/src/features/manager/overview/domain/entities/entities.dart';
WorkingTimeModel workingTimeModelFromJson(String str) =>
WorkingTimeModel.fromJson(json.decode(str));
// St... | 1 |
ADITYAbasude/Kirana | ae9b169 | lib/main.dart | Dart | www.github.com/ADITYAbasude/Kirana/tree/main/lib/main.dart | https://raw.githubusercontent.com/ADITYAbasude/Kirana/ae9b169/lib/main.dart | ADITYAbasude/Kirana ae9b169 lib/main.dart | true | 200 | 2,294 | import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:Kirana/screens/splash/splash_screen.dart';
import 'package:flutter_dotenv/flutter_dotenv.dart';
import 'constants/SystemColors.dart';
import 'package:flutter_stripe/flutter_stripe.dart';
void main() async {
Wi... | 3 |
Sidharth-R-07/MoviezApp | 045089f | lib/main.dart | Dart | www.github.com/Sidharth-R-07/MoviezApp/tree/main/lib/main.dart | https://raw.githubusercontent.com/Sidharth-R-07/MoviezApp/045089f/lib/main.dart | Sidharth-R-07/MoviezApp 045089f lib/main.dart | true | 200 | 1,105 | import 'package:animated_splash_screen/animated_splash_screen.dart';
import 'package:lottie/lottie.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:moviez/decorations/mytheme.dart';
import '../pages/home_page.dart';
void main() {
runApp(const Pr... | 6 |
He-ema/oly_elazm_app | 118f053 | lib/core/theme/app_colors.dart | Dart | www.github.com/He-ema/oly_elazm_app/tree/main/lib/core/theme/app_colors.dart | https://raw.githubusercontent.com/He-ema/oly_elazm_app/118f053/lib/core/theme/app_colors.dart | He-ema/oly_elazm_app 118f053 lib/core/theme/app_colors.dart | true | 200 | 2,094 | import 'package:flutter/material.dart';
class AppColors {
// Solid Colors
static Color get mainAppColor => const Color(0xFF522700);
static Color get secondaryAppColor => const Color(0xffA85000);
static Color get grey => const Color(0xFF777777);
static Color get textFieldColor => const Color(0xFFf5f5f5);
st... | 0 |
fasiaa/coding-assistant | 398d4de | coding_assistant_flutter/lib/ui/widgets/default_textfield.dart | Dart | www.github.com/fasiaa/coding-assistant/tree/main/coding_assistant_flutter/lib/ui/widgets/default_textfield.dart | https://raw.githubusercontent.com/fasiaa/coding-assistant/398d4de/coding_assistant_flutter/lib/ui/widgets/default_textfield.dart | fasiaa/coding-assistant 398d4de coding_assistant_flutter/lib/ui/widgets/default_textfield.dart | true | 200 | 1,200 | import 'package:flutter/material.dart';
class DefaultTextField extends StatelessWidget {
final String hintText;
final IconData icon;
final TextEditingController controller;
final bool obsecure;
const DefaultTextField({
super.key,
required this.hintText,
required this.icon,
required this.contr... | 5 |
martynovb/connect_app | 3c4908a | lib/domain/field_validation/password_validator.dart | Dart | www.github.com/martynovb/connect_app/tree/main/lib/domain/field_validation/password_validator.dart | https://raw.githubusercontent.com/martynovb/connect_app/3c4908a/lib/domain/field_validation/password_validator.dart | martynovb/connect_app 3c4908a lib/domain/field_validation/password_validator.dart | true | 200 | 1,412 | import 'package:connect_app/domain/error_handler/exception.dart';
import 'package:connect_app/domain/field_validation/field_type.dart';
import 'package:connect_app/domain/field_validation/validation_error_code.dart';
import 'package:connect_app/domain/field_validation/validator.dart';
class PasswordFieldValidator exte... | 4 |
apelsinovi-sok/Paper | 5b69ea4 | lib/main.dart | Dart | www.github.com/apelsinovi-sok/Paper/tree/main/lib/main.dart | https://raw.githubusercontent.com/apelsinovi-sok/Paper/5b69ea4/lib/main.dart | apelsinovi-sok/Paper 5b69ea4 lib/main.dart | true | 200 | 480 | import 'package:flutter/material.dart';
import 'package:papers/screens/note_list.dart';
void main() {
runApp(const MyApp());
WidgetsFlutterBinding.ensureInitialized();
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
... | 7 |
CesaltinoFelix/taskly_uor | be4df15 | lib/screens/task_history_screen.dart | Dart | www.github.com/CesaltinoFelix/taskly_uor/tree/main/lib/screens/task_history_screen.dart | https://raw.githubusercontent.com/CesaltinoFelix/taskly_uor/be4df15/lib/screens/task_history_screen.dart | CesaltinoFelix/taskly_uor be4df15 lib/screens/task_history_screen.dart | true | 200 | 9,661 | import 'package:flutter/material.dart';
import 'package:taskly_uor/common/color_extension.dart';
import 'package:intl/intl.dart';
import 'package:taskly_uor/repositories/task_repository.dart';
import 'package:taskly_uor/screens/Task_statistics_screen.dart';
import 'package:taskly_uor/screens/home_screen.dart';
import '... | 2 |
srabonbapari120/task-app | 59f38a4 | lib/ui/view/splash_view.dart | Dart | www.github.com/srabonbapari120/task-app/tree/main/lib/ui/view/splash_view.dart | https://raw.githubusercontent.com/srabonbapari120/task-app/59f38a4/lib/ui/view/splash_view.dart | srabonbapari120/task-app 59f38a4 lib/ui/view/splash_view.dart | true | 200 | 1,638 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import '../../controller/splash_controller.dart';
class SplashView extends StatefulWidget {
const SplashView({Key? key}) : super(key: key);
@override
State<SplashView> createState() => _SplashViewState();
}
class _SplashViewState extends St... | 6 |
1ilshi/urjumper | 2dc97a5 | lib/pages/hot_deal.dart | Dart | www.github.com/1ilshi/urjumper/tree/main/lib/pages/hot_deal.dart | https://raw.githubusercontent.com/1ilshi/urjumper/2dc97a5/lib/pages/hot_deal.dart | 1ilshi/urjumper 2dc97a5 lib/pages/hot_deal.dart | true | 200 | 4,293 | import 'package:flutter/material.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:google_fonts/google_fonts.dart';
class UserHotDeal extends StatefulWidget {
const UserHotDeal({super.key});
@override
_UserHotDealState createState() => _UserHotDealState();
}
class _UserHotDealState... | 0 |
NadimDev/food_app | 04c60f8 | lib/ui/home/nav_bar.dart | Dart | www.github.com/NadimDev/food_app/tree/main/lib/ui/home/nav_bar.dart | https://raw.githubusercontent.com/NadimDev/food_app/04c60f8/lib/ui/home/nav_bar.dart | NadimDev/food_app 04c60f8 lib/ui/home/nav_bar.dart | true | 200 | 1,315 | import 'package:flutter/material.dart';
import 'package:curved_navigation_bar/curved_navigation_bar.dart';
import 'package:food_app/ui/home/profile.dart';
import 'package:food_app/ui/home/wallet.dart';
import 'home_screen.dart';
import 'order.dart';
//
class NavBar extends StatefulWidget {
const NavBar({super.key}... | 4 |
whuangq/CI-0161-B93929 | d1035b8 | firebase/firebase_app/lib/presentation/widgets/custom_post.dart | Dart | www.github.com/whuangq/CI-0161-B93929/tree/main/firebase/firebase_app/lib/presentation/widgets/custom_post.dart | https://raw.githubusercontent.com/whuangq/CI-0161-B93929/d1035b8/firebase/firebase_app/lib/presentation/widgets/custom_post.dart | whuangq/CI-0161-B93929 d1035b8 firebase/firebase_app/lib/presentation/widgets/custom_post.dart | true | 200 | 3,107 | import 'package:firebase_app/presentation/blocs.dart';
import 'package:firebase_app/presentation/blocs/auth_cubit/auth_cubit.dart';
import 'package:firebase_app/presentation/widgets.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
class CustomPost extends StatefulWidget {... | 5 |
himanshu-khare/flutter-sqlite | 53ba7b8 | lib/domain/entities/teams_data_model/team.dart | Dart | www.github.com/himanshu-khare/flutter-sqlite/tree/main/lib/domain/entities/teams_data_model/team.dart | https://raw.githubusercontent.com/himanshu-khare/flutter-sqlite/53ba7b8/lib/domain/entities/teams_data_model/team.dart | himanshu-khare/flutter-sqlite 53ba7b8 lib/domain/entities/teams_data_model/team.dart | true | 200 | 841 | import 'package:flutter/material.dart';
import 'player.dart';
class Team {
final int? team;
final String? teamName;
final String? color;
final List<Player>? players;
int playerIndex;
Team({this.team, this.teamName, this.color, this.players,this.playerIndex=0});
Map<String, dynamic> toMap() {
return... | 7 |
manzes-web/Notes_App | 5a957bd | lib/Pages/widgets/delete_dialog.dart | Dart | www.github.com/manzes-web/Notes_App/tree/main/lib/Pages/widgets/delete_dialog.dart | https://raw.githubusercontent.com/manzes-web/Notes_App/5a957bd/lib/Pages/widgets/delete_dialog.dart | manzes-web/Notes_App 5a957bd lib/Pages/widgets/delete_dialog.dart | true | 200 | 1,442 | import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:go_router/go_router.dart';
import 'package:notes_app/Pages/note_page.dart';
import 'package:notes_app/models/note_database.dart';
import 'package:notes_app/routes/routes.dart';
class DeleteDialog extends Co... | 1 |
iaht0201/baucua | b0045fb | lib/shake.dart | Dart | www.github.com/iaht0201/baucua/tree/main/lib/shake.dart | https://raw.githubusercontent.com/iaht0201/baucua/b0045fb/lib/shake.dart | iaht0201/baucua b0045fb lib/shake.dart | true | 200 | 5,698 | // import 'package:audioplayers/audioplayers.dart';
import 'dart:ffi';
import 'package:flutter/material.dart';
import 'package:flutter_tts/flutter_tts.dart';
import 'package:just_audio/just_audio.dart';
// import 'package:flutter_tts/flutter_tts.dart';
import 'package:shake/shake.dart';
import 'dart:math';
class Dem... | 3 |
santiagogonzalezblowe/blowe_bloc | a2fbcbc | example/lib/features/login/ui/page/login_page.dart | Dart | www.github.com/santiagogonzalezblowe/blowe_bloc/tree/main/example/lib/features/login/ui/page/login_page.dart | https://raw.githubusercontent.com/santiagogonzalezblowe/blowe_bloc/a2fbcbc/example/lib/features/login/ui/page/login_page.dart | santiagogonzalezblowe/blowe_bloc a2fbcbc example/lib/features/login/ui/page/login_page.dart | true | 200 | 769 | import 'package:example/features/login/logic/login_blocs_provider.dart';
import 'package:example/features/login/logic/login_listener.dart';
import 'package:example/features/login/ui/widgets/login_form.dart';
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
class LoginPage extends Stat... | 2 |
Ponpurin/Mobile-programming | 9f0df10 | w8/w8_2/lib/screens/search_screen.dart | Dart | www.github.com/Ponpurin/Mobile-programming/tree/main/w8/w8_2/lib/screens/search_screen.dart | https://raw.githubusercontent.com/Ponpurin/Mobile-programming/9f0df10/w8/w8_2/lib/screens/search_screen.dart | Ponpurin/Mobile-programming 9f0df10 w8/w8_2/lib/screens/search_screen.dart | true | 200 | 972 | import 'package:flutter/material.dart';
class SearchScreen extends StatefulWidget {
const SearchScreen({Key? key}) : super(key: key);
@override
State<SearchScreen> createState() => _SearchScreenState();
}
class _SearchScreenState extends State<SearchScreen> {
String? cityName;
@override
Widget build(Buil... | 6 |
pauloRodri29/scoref_manager | 232f83d | lib/utils/error_handler.dart | Dart | www.github.com/pauloRodri29/scoref_manager/tree/main/lib/utils/error_handler.dart | https://raw.githubusercontent.com/pauloRodri29/scoref_manager/232f83d/lib/utils/error_handler.dart | pauloRodri29/scoref_manager 232f83d lib/utils/error_handler.dart | true | 200 | 828 | enum AppErrorType {
network,
server,
authentication,
timeout,
unknown,
}
class ErrorHandler {
/// Retorna uma mensagem amigável ao usuário com base no tipo de erro.
static String getErrorMessage(AppErrorType errorType) {
switch (errorType) {
case AppErrorType.network:
return 'Não foi po... | 4 |
rfmeloneto/financasapp | bd91930 | lib/main.dart | Dart | www.github.com/rfmeloneto/financasapp/tree/main/lib/main.dart | https://raw.githubusercontent.com/rfmeloneto/financasapp/bd91930/lib/main.dart | rfmeloneto/financasapp bd91930 lib/main.dart | true | 200 | 981 |
import 'package:casal_rico/shared/providers/providers_list.dart';
import 'package:casal_rico/shared/routes/routes.dart';
import 'package:flutter/material.dart';
import 'package:flutter_dotenv/flutter_dotenv.dart';
import 'package:provider/provider.dart';
import 'package:supabase_flutter/supabase_flutter.dart';
void ... | 7 |
lvlohammat/large-boutique | 22c6005 | lib/screens/detail/detail_screen.dart | Dart | www.github.com/lvlohammat/large-boutique/tree/main/lib/screens/detail/detail_screen.dart | https://raw.githubusercontent.com/lvlohammat/large-boutique/22c6005/lib/screens/detail/detail_screen.dart | lvlohammat/large-boutique 22c6005 lib/screens/detail/detail_screen.dart | true | 200 | 508 | import 'package:flutter/material.dart';
import '../../providers/products.dart';
import 'components/detail_body.dart';
class DetailScreen extends StatelessWidget {
const DetailScreen({super.key});
static const routeName = '/detail';
@override
Widget build(BuildContext context) {
final product = ModalRoute... | 2 |
Dinoivan/proyecto_prueba | 2da9cc8 | proyecto_tesis/lib/models/screems/emergency_contacts_model.dart | Dart | www.github.com/Dinoivan/proyecto_prueba/tree/main/proyecto_tesis/lib/models/screems/emergency_contacts_model.dart | https://raw.githubusercontent.com/Dinoivan/proyecto_prueba/2da9cc8/proyecto_tesis/lib/models/screems/emergency_contacts_model.dart | Dinoivan/proyecto_prueba 2da9cc8 proyecto_tesis/lib/models/screems/emergency_contacts_model.dart | true | 200 | 818 |
class EmergencyContacts{
final DateTime createdDate; // Nuevo campo
final String fullname;
final String phonenumber;
final String relationship;
EmergencyContacts({
required this.fullname,
required this.phonenumber,
required this.relationship,
}): createdDate = DateTime.now(); // Inicializa reg... | 0 |
AlaaMahrous/News_App_V2 | a6bd0d6 | lib/pages/web_page.dart | Dart | www.github.com/AlaaMahrous/News_App_V2/tree/main/lib/pages/web_page.dart | https://raw.githubusercontent.com/AlaaMahrous/News_App_V2/a6bd0d6/lib/pages/web_page.dart | AlaaMahrous/News_App_V2 a6bd0d6 lib/pages/web_page.dart | true | 200 | 2,435 | import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';
class WebPage extends StatefulWidget {
const WebPage({super.key, required this.url});
final String url;
@override
State<WebPage> createState() => _WebPageState();
}
class _WebPageState extends State<WebPage> {
la... | 3 |
hamdiaya/grocery-app | 6771bc2 | lib/core/widgets/general_button.dart | Dart | www.github.com/hamdiaya/grocery-app/tree/main/lib/core/widgets/general_button.dart | https://raw.githubusercontent.com/hamdiaya/grocery-app/6771bc2/lib/core/widgets/general_button.dart | hamdiaya/grocery-app 6771bc2 lib/core/widgets/general_button.dart | true | 200 | 1,145 | import 'package:flutter/material.dart';
import '../utils/constants.dart';
import '../utils/design_size.dart';
import '../utils/styles.dart';
class GeneralButton extends StatelessWidget {
const GeneralButton({super.key, required this.onTap, required this.option});
final Function() onTap;
final String option;
@o... | 6 |
m-gaurav890/banao_assignment | 1be4e3d | lib/models/lessons_model.dart | Dart | www.github.com/m-gaurav890/banao_assignment/tree/main/lib/models/lessons_model.dart | https://raw.githubusercontent.com/m-gaurav890/banao_assignment/1be4e3d/lib/models/lessons_model.dart | m-gaurav890/banao_assignment 1be4e3d lib/models/lessons_model.dart | true | 200 | 555 | class LessonsQueryModel {
String lessonName;
String lessonCategory;
String lessonDuration;
bool? isLocked;
LessonsQueryModel(
{this.lessonName = "lessonName",
this.lessonCategory = "lessonCategory",
this.lessonDuration = "lessonDuration",
this.isLocked});
factory LessonsQueryModel.... | 4 |
Willlxml/proximity | f48117f | lib/pages/splash_screen.dart | Dart | www.github.com/Willlxml/proximity/tree/main/lib/pages/splash_screen.dart | https://raw.githubusercontent.com/Willlxml/proximity/f48117f/lib/pages/splash_screen.dart | Willlxml/proximity f48117f lib/pages/splash_screen.dart | true | 200 | 1,768 | import 'dart:async';
import 'package:flutter/material.dart';
import 'package:proximity/pages/login.dart';
import 'package:proximity/pages/welcome_page.dart';
import 'package:shared_preferences/shared_preferences.dart';
import '../colors/color.dart';
import 'package:get/get.dart';
class SplashScreen extends StatefulWi... | 1 |
mangjaki/simple_animation | fc5ee33 | simple_animation/lib/main.dart | Dart | www.github.com/mangjaki/simple_animation/tree/main/simple_animation/lib/main.dart | https://raw.githubusercontent.com/mangjaki/simple_animation/fc5ee33/simple_animation/lib/main.dart | mangjaki/simple_animation fc5ee33 simple_animation/lib/main.dart | true | 200 | 1,271 | import 'package:flutter/material.dart';
import 'package:simple_animation/widgets/animated_container.dart';
import 'package:simple_animation/widgets/animated_cross_fade.dart';
import 'package:simple_animation/widgets/animated_opacity.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {... | 7 |
ServeDynamicUI/serve_dynamic_ui | 9443881 | lib/src/dynamic_widgets/dy_text_field/dy_text_field.dart | Dart | www.github.com/ServeDynamicUI/serve_dynamic_ui/tree/main/lib/src/dynamic_widgets/dy_text_field/dy_text_field.dart | https://raw.githubusercontent.com/ServeDynamicUI/serve_dynamic_ui/9443881/lib/src/dynamic_widgets/dy_text_field/dy_text_field.dart | ServeDynamicUI/serve_dynamic_ui 9443881 lib/src/dynamic_widgets/dy_text_field/dy_text_field.dart | true | 200 | 4,607 | import 'dart:async';
import 'package:flutter/material.dart';
import 'package:json_annotation/json_annotation.dart';
import 'package:serve_dynamic_ui/serve_dynamic_ui.dart';
part 'dy_text_field.g.dart';
///[DynamicTextField] : A dynamic widget that helps to take input from users.
@JsonSerializable(
explicitToJson: ... | 5 |
huynn0105/legend_web | 274663b | lib/features/legendary/pages/collaborator_need_to_care/items/collaborator_depart_item.dart | Dart | www.github.com/huynn0105/legend_web/tree/main/lib/features/legendary/pages/collaborator_need_to_care/items/collaborator_depart_item.dart | https://raw.githubusercontent.com/huynn0105/legend_web/274663b/lib/features/legendary/pages/collaborator_need_to_care/items/collaborator_depart_item.dart | huynn0105/legend_web 274663b lib/features/legendary/pages/collaborator_need_to_care/items/collaborator_depart_item.dart | true | 200 | 4,150 | import 'package:flutter/material.dart';
import 'package:legend_mfast/common/colors.dart';
import 'package:legend_mfast/common/global_function.dart';
import 'package:legend_mfast/common/styles.dart';
import 'package:legend_mfast/common/utils/count_down_util.dart';
import 'package:legend_mfast/common/utils/datetime_util.... | 2 |
Alela677/TFG_move | a43f220 | APP/flutter_move/move/lib/eventos/views/mis_eventos.dart | Dart | www.github.com/Alela677/TFG_move/tree/main/APP/flutter_move/move/lib/eventos/views/mis_eventos.dart | https://raw.githubusercontent.com/Alela677/TFG_move/a43f220/APP/flutter_move/move/lib/eventos/views/mis_eventos.dart | Alela677/TFG_move a43f220 APP/flutter_move/move/lib/eventos/views/mis_eventos.dart | true | 200 | 1,975 | import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:move/crud/crud_evento.dart';
import 'package:move/eventos/widgets/evento_card_mios.dart';
import 'package:move/eventos/widgets/navigator_button.dart';
import 'package:move/models/evento_completo.dart';
import '../.... | 0 |
omda07/Halqet-El-Zekr | 9fa62dd | lib/features/duaa/presentation/duaa_cubit/duaa_cubit.dart | Dart | www.github.com/omda07/Halqet-El-Zekr/tree/main/lib/features/duaa/presentation/duaa_cubit/duaa_cubit.dart | https://raw.githubusercontent.com/omda07/Halqet-El-Zekr/9fa62dd/lib/features/duaa/presentation/duaa_cubit/duaa_cubit.dart | omda07/Halqet-El-Zekr 9fa62dd lib/features/duaa/presentation/duaa_cubit/duaa_cubit.dart | true | 200 | 1,008 | import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_share/flutter_share.dart';
import 'package:hesn_elmuslim/core/utils/strings_manager.dart';
import '../../data/models/duaaModel.dart';
import 'duaa_state.dart';
import 'package:share_plus/share_plus.dart';
class DuaaCubit extends Cubit<DuaaStates... | 3 |
naeem0007/riddles_app | d734958 | lib/models/questions.dart | Dart | www.github.com/naeem0007/riddles_app/tree/main/lib/models/questions.dart | https://raw.githubusercontent.com/naeem0007/riddles_app/d734958/lib/models/questions.dart | naeem0007/riddles_app d734958 lib/models/questions.dart | true | 200 | 1,121 | class Question {
final int id, answer;
final String question;
final List<String> options;
Question(
{required this.id,
required this.question,
required this.answer,
required this.options});
}
const List riddlesList = [
{
"id": 1,
"question":
"I have keys but open no l... | 6 |
ahazimeh/flutter | 8f61e05 | ch-13/native_device_features/lib/main.dart | Dart | www.github.com/ahazimeh/flutter/tree/main/ch-13/native_device_features/lib/main.dart | https://raw.githubusercontent.com/ahazimeh/flutter/8f61e05/ch-13/native_device_features/lib/main.dart | ahazimeh/flutter 8f61e05 ch-13/native_device_features/lib/main.dart | true | 200 | 891 | import 'package:flutter/material.dart';
import 'package:native_device_features/providers/great_places.dart';
import 'package:native_device_features/screens/add_place_screen.dart';
import 'package:native_device_features/screens/places_list_screen.dart';
import 'package:provider/provider.dart';
void main() => runApp(MyA... | 1 |
Gairik-Shandilya/Smart_Parking_System | d92d552 | lib/auth/login_page.dart | Dart | www.github.com/Gairik-Shandilya/Smart_Parking_System/tree/main/lib/auth/login_page.dart | https://raw.githubusercontent.com/Gairik-Shandilya/Smart_Parking_System/d92d552/lib/auth/login_page.dart | Gairik-Shandilya/Smart_Parking_System d92d552 lib/auth/login_page.dart | true | 200 | 5,652 | import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
import 'package:smart_parking_system/components/my_button.dart';
import 'package:smart_parking_system/components/my_textfield.dart';
import 'package:smart_parking_system/components/square_tile.dart';
class LoginPage extends Stat... | 4 |
ProfiroiuMihai/weather_app_riverpod | 857c07f | lib/src/repository/hive_repository.dart | Dart | www.github.com/ProfiroiuMihai/weather_app_riverpod/tree/main/lib/src/repository/hive_repository.dart | https://raw.githubusercontent.com/ProfiroiuMihai/weather_app_riverpod/857c07f/lib/src/repository/hive_repository.dart | ProfiroiuMihai/weather_app_riverpod 857c07f lib/src/repository/hive_repository.dart | true | 200 | 1,126 | import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:hive_flutter/hive_flutter.dart';
import 'package:weather_app_test/src/model/request/add_location.dart';
import 'package:weather_app_test/src/utils/hive_util.dart';
final hiveRepositoryProvider = Provider((ref) => HiveRepository());
class HiveRep... | 7 |
radwaadel17/Bookly_App | 5cbf09f | bookly_app/lib/features/home/presentaion/views/widgets/CustomBookImage.dart | Dart | www.github.com/radwaadel17/Bookly_App/tree/main/bookly_app/lib/features/home/presentaion/views/widgets/CustomBookImage.dart | https://raw.githubusercontent.com/radwaadel17/Bookly_App/5cbf09f/bookly_app/lib/features/home/presentaion/views/widgets/CustomBookImage.dart | radwaadel17/Bookly_App 5cbf09f bookly_app/lib/features/home/presentaion/views/widgets/CustomBookImage.dart | true | 200 | 683 | // ignore: file_names
import 'package:flutter/material.dart';
import 'package:cached_network_image/cached_network_image.dart';
class CustomBookImage extends StatelessWidget {
const CustomBookImage({
super.key,
this.url
});
final String? url;
@override
Widget build(BuildContext context) {
return ... | 5 |
sanam-tamang/threadnest | de8c20d | lib/common/widgets/back_button.dart | Dart | www.github.com/sanam-tamang/threadnest/tree/main/lib/common/widgets/back_button.dart | https://raw.githubusercontent.com/sanam-tamang/threadnest/de8c20d/lib/common/widgets/back_button.dart | sanam-tamang/threadnest de8c20d lib/common/widgets/back_button.dart | true | 200 | 679 | // ignore_for_file: public_member_api_docs, sort_constructors_first
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
class CustomBackButton extends StatelessWidget {
const CustomBackButton({
super.key,
this.iconColor,
this.onPressed,
});
final Color? iconColor;
fin... | 0 |
crdchip/register_car | 21af01c | lib/app/driver_page/view/driver_detail_page.dart | Dart | www.github.com/crdchip/register_car/tree/main/lib/app/driver_page/view/driver_detail_page.dart | https://raw.githubusercontent.com/crdchip/register_car/21af01c/lib/app/driver_page/view/driver_detail_page.dart | crdchip/register_car 21af01c lib/app/driver_page/view/driver_detail_page.dart | true | 200 | 7,832 | import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:register_driver_car/app/driver_page/driver_page.dart';
import 'package:register_driver_car/config/data/colors.dart';
import 'package:register_driver_car/config/model/driver/form_post_account.... | 3 |
rprajapati4889/foundation_assignment | ceb30a9 | foundation_assignment/lib/practice.dart | Dart | www.github.com/rprajapati4889/foundation_assignment/tree/main/foundation_assignment/lib/practice.dart | https://raw.githubusercontent.com/rprajapati4889/foundation_assignment/ceb30a9/foundation_assignment/lib/practice.dart | rprajapati4889/foundation_assignment ceb30a9 foundation_assignment/lib/practice.dart | true | 200 | 503 | abstract class Student {
void showStudentInformation();
}
class Teacher extends Student {
@override
void showStudentInformation() {
print("I'm a teacher");
}
}
class Principal extends Student {
@override
void showStudentInformation() {
print("I'm the principal.");
}
}
void main() {
Teacher te... | 6 |
KimNgan0109/Ecommerce-application | 0273873 | ecommerce_app/lib/presenters/orderdetail_presenters.dart | Dart | www.github.com/KimNgan0109/Ecommerce-application/tree/main/ecommerce_app/lib/presenters/orderdetail_presenters.dart | https://raw.githubusercontent.com/KimNgan0109/Ecommerce-application/0273873/ecommerce_app/lib/presenters/orderdetail_presenters.dart | KimNgan0109/Ecommerce-application 0273873 ecommerce_app/lib/presenters/orderdetail_presenters.dart | true | 200 | 2,147 | import 'package:ecommerce_app/data_source/repository/data.dart';
import 'package:ecommerce_app/models/OrderDetail.dart';
class OrderDetailPresenter {
Future<List<OrderDetail>> getlstOrderDetail() async {
List<OrderDetail> rsLst =
List.filled(0, OrderDetail(0, 0, 0), growable: true);
try {
List... | 4 |
Borhan-BAIUST/e-Food | acbc347 | lib/main.dart | Dart | www.github.com/Borhan-BAIUST/e-Food/tree/main/lib/main.dart | https://raw.githubusercontent.com/Borhan-BAIUST/e-Food/acbc347/lib/main.dart | Borhan-BAIUST/e-Food acbc347 lib/main.dart | true | 200 | 858 | import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:flutter_professional_project/common_screens/splash_screen.dart';
import 'package:flutter_professional_project/global/global.dart';
import 'package:shared_preferences/shared_preferences.dart';
Future<void> main()a... | 1 |
safvan-husain/Expense-Tracker | ad7314f | lib/features/expense_tracking/data/models/expense_model.dart | Dart | www.github.com/safvan-husain/Expense-Tracker/tree/main/lib/features/expense_tracking/data/models/expense_model.dart | https://raw.githubusercontent.com/safvan-husain/Expense-Tracker/ad7314f/lib/features/expense_tracking/data/models/expense_model.dart | safvan-husain/Expense-Tracker ad7314f lib/features/expense_tracking/data/models/expense_model.dart | true | 200 | 1,647 | import 'dart:convert';
import 'package:expense_tracker/features/expense_tracking/domain/entity/expense.dart';
import 'package:expense_tracker/features/expense_tracking/domain/entity/expense_category.dart';
class ExpenseModel extends Expense {
const ExpenseModel({
required super.id,
required super.money,
... | 7 |
mehdilagdimi/xray_flutter_app | d53e103 | lib/screens/Details/details_screen.dart | Dart | www.github.com/mehdilagdimi/xray_flutter_app/tree/main/lib/screens/Details/details_screen.dart | https://raw.githubusercontent.com/mehdilagdimi/xray_flutter_app/d53e103/lib/screens/Details/details_screen.dart | mehdilagdimi/xray_flutter_app d53e103 lib/screens/Details/details_screen.dart | true | 200 | 555 |
import "package:flutter/material.dart";
import 'package:flutter_svg/flutter_svg.dart';
import '../../constants.dart';
import 'components/body.dart';
class ProductDetailsPage extends StatelessWidget {
@override
Widget build(BuildContext context){
return Scaffold(
appBar: buildAppBar(),
body: Body... | 5 |
vasavjain1267/CataractDetect | a6ddf11 | lib/ForgetPassswordPhone/forgetpassphone.dart | Dart | www.github.com/vasavjain1267/CataractDetect/tree/main/lib/ForgetPassswordPhone/forgetpassphone.dart | https://raw.githubusercontent.com/vasavjain1267/CataractDetect/a6ddf11/lib/ForgetPassswordPhone/forgetpassphone.dart | vasavjain1267/CataractDetect a6ddf11 lib/ForgetPassswordPhone/forgetpassphone.dart | true | 200 | 14,408 | import 'dart:async';
import 'package:cataract_detector1/Home/Home.dart';
import 'package:cataract_detector1/media_query.dart';
import 'package:country_picker/country_picker.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/material.d... | 2 |
TNgoee/Booking | 76d30b5 | lib/model/database.dart | Dart | www.github.com/TNgoee/Booking/tree/main/lib/model/database.dart | https://raw.githubusercontent.com/TNgoee/Booking/76d30b5/lib/model/database.dart | TNgoee/Booking 76d30b5 lib/model/database.dart | true | 200 | 1,456 | import 'package:cloud_firestore/cloud_firestore.dart';
class DatabaseMethods {
get context => null;
Future addEmployeeDetail(
//employeeInfoMap là 1 đối tượng Map chưá các thông tin
//async chỉ ra rằng phương thức này là một phương thức bất đồng bộ.
Map<String, dynamic> employeeInfoMap,
St... | 0 |
ZyadAshraf7/Al-Garida | 1945e5d | lib/app/presentation/screens/artcile_details_screen/widgets/custom_web_view.dart | Dart | www.github.com/ZyadAshraf7/Al-Garida/tree/main/lib/app/presentation/screens/artcile_details_screen/widgets/custom_web_view.dart | https://raw.githubusercontent.com/ZyadAshraf7/Al-Garida/1945e5d/lib/app/presentation/screens/artcile_details_screen/widgets/custom_web_view.dart | ZyadAshraf7/Al-Garida 1945e5d lib/app/presentation/screens/artcile_details_screen/widgets/custom_web_view.dart | true | 200 | 489 | import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';
class CustomWebView extends StatelessWidget {
const CustomWebView({Key? key, required this.url}) : super(key: key);
final String url;
@override
Widget build(BuildContext context) {
WebViewController controller =... | 6 |
shindonghwi/flutter_ody_app | 3b957ba | lib/presentation/components/progress/PainterLInearVerticalProgress.dart | Dart | www.github.com/shindonghwi/flutter_ody_app/tree/main/lib/presentation/components/progress/PainterLInearVerticalProgress.dart | https://raw.githubusercontent.com/shindonghwi/flutter_ody_app/3b957ba/lib/presentation/components/progress/PainterLInearVerticalProgress.dart | shindonghwi/flutter_ody_app 3b957ba lib/presentation/components/progress/PainterLInearVerticalProgress.dart | true | 200 | 1,493 | import 'package:flutter/material.dart';
import 'dart:math' as math;
class PainterLinearVerticalProgress extends CustomPainter {
final double progress;
final Color defaultColor;
final Color activeColor;
final double radius;
PainterLinearVerticalProgress({
required this.progress,
required this.default... | 4 |
santhoshs2005/Expenses_tracker | e25bf51 | lib/main.dart | Dart | www.github.com/santhoshs2005/Expenses_tracker/tree/main/lib/main.dart | https://raw.githubusercontent.com/santhoshs2005/Expenses_tracker/e25bf51/lib/main.dart | santhoshs2005/Expenses_tracker e25bf51 lib/main.dart | true | 200 | 2,138 | import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:expense_tracker/expenses.dart';
var kcolorScheme =ColorScheme.fromSeed(
seedColor:const Color.fromARGB(255, 96, 59, 181),
);
var kDarkColorScheme = ColorScheme.fromSeed(
brightness: Brightness.dark,
... | 7 |
mohamadelagamal/islamic_app_flutter | c2ac1d9 | lib/features/hadith/ui/screen/hadith_details_screen/hadith_details_screen.dart | Dart | www.github.com/mohamadelagamal/islamic_app_flutter/tree/main/lib/features/hadith/ui/screen/hadith_details_screen/hadith_details_screen.dart | https://raw.githubusercontent.com/mohamadelagamal/islamic_app_flutter/c2ac1d9/lib/features/hadith/ui/screen/hadith_details_screen/hadith_details_screen.dart | mohamadelagamal/islamic_app_flutter c2ac1d9 lib/features/hadith/ui/screen/hadith_details_screen/hadith_details_screen.dart | true | 200 | 1,335 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import '../../../../../core/helpers/spacing.dart';
import '../../../../quran/ui/widget/quran_background.dart';
import '../../../logic/cubit/hadith_details/hadith_details_cubit.dart';
import ... | 1 |
K2ofsoul/TravelTrip | 057d390 | lib/reusable_widgets/exchange_coin.dart | Dart | www.github.com/K2ofsoul/TravelTrip/tree/main/lib/reusable_widgets/exchange_coin.dart | https://raw.githubusercontent.com/K2ofsoul/TravelTrip/057d390/lib/reusable_widgets/exchange_coin.dart | K2ofsoul/TravelTrip 057d390 lib/reusable_widgets/exchange_coin.dart | true | 200 | 1,531 | import 'dart:convert';
import 'package:dio/dio.dart';
class ExchangeRateService {
final Dio _dio = Dio();
Future<Map<String, double>> getExchangeRate(String baseCurrency,
String targetCurrency) async {
try {
final response = await _dio.get(
'https://v6.exchangerate-api.com/v6/257e9064606... | 5 |
Fares443/trendManey | 189840c | lib/screen/splashscreen.dart | Dart | www.github.com/Fares443/trendManey/tree/main/lib/screen/splashscreen.dart | https://raw.githubusercontent.com/Fares443/trendManey/189840c/lib/screen/splashscreen.dart | Fares443/trendManey 189840c lib/screen/splashscreen.dart | true | 200 | 2,776 | // ignore_for_file: library_private_types_in_public_api, must_call_super, depend_on_referenced_packages
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:trend_money1/controller/auth/splashscreen_controller.dart';
SplashScreenController controller = Get.put(Sp... | 3 |
pedrobrochero/tempora | 2c8b79f | lib/features/timer/presentation/cubit/timer_cubit.dart | Dart | www.github.com/pedrobrochero/tempora/tree/main/lib/features/timer/presentation/cubit/timer_cubit.dart | https://raw.githubusercontent.com/pedrobrochero/tempora/2c8b79f/lib/features/timer/presentation/cubit/timer_cubit.dart | pedrobrochero/tempora 2c8b79f lib/features/timer/presentation/cubit/timer_cubit.dart | true | 200 | 3,053 | import 'dart:async';
import 'package:audioplayers/audioplayers.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:volume_controller/volume_controller.dart';
import '../../domain/entities/custom_timer.dart';
import '../../domain/usecases... | 0 |
PhiGsu/cw2 | fdfbd83 | lib/main.dart | Dart | www.github.com/PhiGsu/cw2/tree/main/lib/main.dart | https://raw.githubusercontent.com/PhiGsu/cw2/fdfbd83/lib/main.dart | PhiGsu/cw2 fdfbd83 lib/main.dart | true | 200 | 1,297 | import 'package:flutter/material.dart';
import 'home_screen.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Recipe Book App',
theme: ThemeData(
colo... | 6 |
ProxyG/Fluuter_1 | e5329d7 | lib/quiz.dart | Dart | www.github.com/ProxyG/Fluuter_1/tree/main/lib/quiz.dart | https://raw.githubusercontent.com/ProxyG/Fluuter_1/e5329d7/lib/quiz.dart | ProxyG/Fluuter_1 e5329d7 lib/quiz.dart | true | 200 | 851 | import 'package:flutter/cupertino.dart';
import 'package:flutter/src/widgets/container.dart';
import 'package:flutter/src/widgets/framework.dart';
import 'package:quizz/answer.dart';
import 'package:quizz/question.dart';
class Quiz extends StatelessWidget {
final List<Map<String, Object>> _questions;
final int _in... | 4 |
XiaMuYao/firday | 3a83cd9 | lib/GetStateObjectRoute.dart | Dart | www.github.com/XiaMuYao/firday/tree/main/lib/GetStateObjectRoute.dart | https://raw.githubusercontent.com/XiaMuYao/firday/3a83cd9/lib/GetStateObjectRoute.dart | XiaMuYao/firday 3a83cd9 lib/GetStateObjectRoute.dart | true | 200 | 1,958 | import 'package:firday/StateLifecycleTest.dart';
import 'package:flutter/material.dart';
class GetStateObjectRoute extends StatefulWidget {
const GetStateObjectRoute({Key? key}) : super(key: key);
@override
State<GetStateObjectRoute> createState() => _GetStateObjectRouteState();
}
class _GetStateObjectRouteSta... | 7 |
AhmedNavaz/weather_app | a1667b6 | lib/utils/helper.dart | Dart | www.github.com/AhmedNavaz/weather_app/tree/main/lib/utils/helper.dart | https://raw.githubusercontent.com/AhmedNavaz/weather_app/a1667b6/lib/utils/helper.dart | AhmedNavaz/weather_app a1667b6 lib/utils/helper.dart | true | 200 | 6,283 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:sizer/sizer.dart';
import 'package:weather_app/core/constants/constants.dart';
import 'package:weather_app/modules/weather/presentation/providers/home_provider.dart';
import 'package... | 2 |
uw-ssec/post-disaster-comms | 9322757 | src/support_sphere/lib/presentation/components/resource_type_filter.dart | Dart | www.github.com/uw-ssec/post-disaster-comms/tree/main/src/support_sphere/lib/presentation/components/resource_type_filter.dart | https://raw.githubusercontent.com/uw-ssec/post-disaster-comms/9322757/src/support_sphere/lib/presentation/components/resource_type_filter.dart | uw-ssec/post-disaster-comms 9322757 src/support_sphere/lib/presentation/components/resource_type_filter.dart | true | 200 | 1,540 | import 'package:flutter/material.dart';
import 'package:support_sphere/constants/string_catalog.dart';
import 'package:support_sphere/data/models/resource_types.dart';
class ResourceTypeFilter extends StatefulWidget {
const ResourceTypeFilter(
{super.key, required this.resourceTypes, this.onSelected, this.incl... | 1 |
allanalarcon/personal-expenses-app | 63d9cfc | lib/widgets/chart.dart | Dart | www.github.com/allanalarcon/personal-expenses-app/tree/main/lib/widgets/chart.dart | https://raw.githubusercontent.com/allanalarcon/personal-expenses-app/63d9cfc/lib/widgets/chart.dart | allanalarcon/personal-expenses-app 63d9cfc lib/widgets/chart.dart | true | 200 | 1,712 | import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
import '../models/transaction.dart';
import 'chart_bar.dart';
class Chart extends StatelessWidget {
final List<Transaction> recentTransactions;
const Chart(this.recentTransactions, {Key key}) : super(key: key);
List<Map<String, Object>> ... | 5 |
viniciusoliverrs/calendar-app | b82513c | lib/src/application/providers/event_provider.dart | Dart | www.github.com/viniciusoliverrs/calendar-app/tree/main/lib/src/application/providers/event_provider.dart | https://raw.githubusercontent.com/viniciusoliverrs/calendar-app/b82513c/lib/src/application/providers/event_provider.dart | viniciusoliverrs/calendar-app b82513c lib/src/application/providers/event_provider.dart | true | 200 | 723 | import 'package:flutter/material.dart';
import 'package:schedule_events_app/src/domain/entities/event_entity.dart';
import '../../domain/repositories/ievent_repository.dart';
class EventProvider with ChangeNotifier {
final titleController = TextEditingController();
final descriptionController = TextEditingControl... | 3 |
DanielMolina33/clotthy-mobile | 023bf54 | mobile/lib/models/CountryModel.dart | Dart | www.github.com/DanielMolina33/clotthy-mobile/tree/main/mobile/lib/models/CountryModel.dart | https://raw.githubusercontent.com/DanielMolina33/clotthy-mobile/023bf54/mobile/lib/models/CountryModel.dart | DanielMolina33/clotthy-mobile 023bf54 mobile/lib/models/CountryModel.dart | true | 200 | 1,063 | class CountryModel {
List<CountryData>? data;
CountryModel({this.data});
CountryModel.fromJson(Map<String, dynamic> json) {
if (json['data'] != null) {
data = <CountryData>[];
json['data'].forEach((v) {
data!.add(CountryData.fromJson(v));
});
}
}
Map<String, dynamic> toJso... | 0 |
LayLaHaH/adminApp | b4d3822 | lib/widgets/my_text_filed.dart | Dart | www.github.com/LayLaHaH/adminApp/tree/main/lib/widgets/my_text_filed.dart | https://raw.githubusercontent.com/LayLaHaH/adminApp/b4d3822/lib/widgets/my_text_filed.dart | LayLaHaH/adminApp b4d3822 lib/widgets/my_text_filed.dart | true | 200 | 694 | // ignore_for_file: file_names, prefer_typing_uninitialized_variables
import 'package:flutter/material.dart';
class MyTextField extends StatelessWidget {
const MyTextField({
super.key,
required this.nameController,
required this.erreMessage,
required this.label
}) ;
final TextEditingController ... | 4 |
HassanFlutterDev/QuranApp | 7c65bcc | lib/models/juz_detailsU.dart | Dart | www.github.com/HassanFlutterDev/QuranApp/tree/main/lib/models/juz_detailsU.dart | https://raw.githubusercontent.com/HassanFlutterDev/QuranApp/7c65bcc/lib/models/juz_detailsU.dart | HassanFlutterDev/QuranApp 7c65bcc lib/models/juz_detailsU.dart | true | 200 | 6,019 | // To parse this JSON data, do
//
// final juzDetailU = juzDetailUFromJson(jsonString);
import 'dart:convert';
JuzDetailU juzDetailUFromJson(String str) =>
JuzDetailU.fromJson(json.decode(str));
String juzDetailUToJson(JuzDetailU data) => json.encode(data.toJson());
class JuzDetailU {
JuzDetai... | 6 |
f1xgun/crypto_currency | caf1bb4 | lib/models/status/status.dart | Dart | www.github.com/f1xgun/crypto_currency/tree/main/lib/models/status/status.dart | https://raw.githubusercontent.com/f1xgun/crypto_currency/caf1bb4/lib/models/status/status.dart | f1xgun/crypto_currency caf1bb4 lib/models/status/status.dart | true | 200 | 518 | import 'package:json_annotation/json_annotation.dart';
part 'status.g.dart';
@JsonSerializable()
class Status {
DateTime timestamp;
int errorCode;
dynamic errorMessage;
int elapsed;
int creditCount;
Status({
required this.timestamp,
required this.errorCode,
required this.errorMessage,
req... | 7 |
Rabby3075/dart-practice | 88575c7 | student_grade.dart | Dart | www.github.com/Rabby3075/dart-practice/tree/main/student_grade.dart | https://raw.githubusercontent.com/Rabby3075/dart-practice/88575c7/student_grade.dart | Rabby3075/dart-practice 88575c7 student_grade.dart | true | 200 | 774 | void main() {
List<int> studentGrades = [85, 92, 78, 65, 88, 72]; //student grade in various subject
int total = 0; //initialize a value to count total value of all grades
for (int grade in studentGrades) {
total += grade; //total grade counting
}
double average = total / studentGrades.length; //average g... | 2 |
sunny6875/5240app | cb4c535 | lib/presentation/user_screens/forget_password/verify/view/verify_otp_screen.dart | Dart | www.github.com/sunny6875/5240app/tree/main/lib/presentation/user_screens/forget_password/verify/view/verify_otp_screen.dart | https://raw.githubusercontent.com/sunny6875/5240app/cb4c535/lib/presentation/user_screens/forget_password/verify/view/verify_otp_screen.dart | sunny6875/5240app cb4c535 lib/presentation/user_screens/forget_password/verify/view/verify_otp_screen.dart | true | 200 | 7,555 | // ignore_for_file: unnecessary_string_interpolations
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:nuts_activity_indicator/nuts_activity_indicator.dart';
import 'package:project_5240_frontend/config/themes/app_color.dart';
import 'packag... | 1 |
Shees-Ali1/Octane-Pro | f570d89 | lib/Screens/Auth/splash_screen.dart | Dart | www.github.com/Shees-Ali1/Octane-Pro/tree/main/lib/Screens/Auth/splash_screen.dart | https://raw.githubusercontent.com/Shees-Ali1/Octane-Pro/f570d89/lib/Screens/Auth/splash_screen.dart | Shees-Ali1/Octane-Pro f570d89 lib/Screens/Auth/splash_screen.dart | true | 200 | 6,123 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:octane_pro/Screens/Auth/login_page.dart';
import 'package:octane_pro/untils/assetImages.dart';
import 'package:octane_pro/untils/utils.dart';
import 'package:shared_prefere... | 5 |
GlooMxc/RMP4LAB | b3f8032 | lib/main.dart | Dart | www.github.com/GlooMxc/RMP4LAB/tree/main/lib/main.dart | https://raw.githubusercontent.com/GlooMxc/RMP4LAB/b3f8032/lib/main.dart | GlooMxc/RMP4LAB b3f8032 lib/main.dart | true | 200 | 5,135 | import 'package:flutter/material.dart';
void main() {
runApp(const CalendarApp());
}
class CalendarApp extends StatelessWidget {
const CalendarApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Calendar',
theme: ThemeData(
primarySwatch: Color... | 3 |
d0x1t/GestoreSpese | 2188b71 | lib/screens/details_screen.dart | Dart | www.github.com/d0x1t/GestoreSpese/tree/main/lib/screens/details_screen.dart | https://raw.githubusercontent.com/d0x1t/GestoreSpese/2188b71/lib/screens/details_screen.dart | d0x1t/GestoreSpese 2188b71 lib/screens/details_screen.dart | true | 200 | 4,531 | import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';
import '../../services/database_helper.dart';
import '../services/notification_service.dart';
NotificationService notificationService = NotificationService();
class DetailsScreen extends StatefulWidget {
const Deta... | 0 |
FireHunterProject/firehunter-client | a68fb07 | lib/report_page.dart | Dart | www.github.com/FireHunterProject/firehunter-client/tree/main/lib/report_page.dart | https://raw.githubusercontent.com/FireHunterProject/firehunter-client/a68fb07/lib/report_page.dart | FireHunterProject/firehunter-client a68fb07 lib/report_page.dart | true | 200 | 12,807 | import 'package:fire_hunter/always_disabled_focus_node.dart';
import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
import 'package:image_picker/image_picker.dart';
import 'package:lat_compass/lat_compass.dart';
import 'package:sensors_plus/sensors_plus.dart';
import 'pa... | 4 |
Sgonzalezf97/Proyecto-FinalSIS-Restaurantes | 1c25462 | lib/app/modules/add_menu/controllers/add_menu_controller.dart | Dart | www.github.com/Sgonzalezf97/Proyecto-FinalSIS-Restaurantes/tree/main/lib/app/modules/add_menu/controllers/add_menu_controller.dart | https://raw.githubusercontent.com/Sgonzalezf97/Proyecto-FinalSIS-Restaurantes/1c25462/lib/app/modules/add_menu/controllers/add_menu_controller.dart | Sgonzalezf97/Proyecto-FinalSIS-Restaurantes 1c25462 lib/app/modules/add_menu/controllers/add_menu_controller.dart | true | 200 | 6,126 | import 'package:proyecto_final_seminario_restaurante/app/modules/home/controllers/home_controller.dart';
import 'package:proyecto_final_seminario_restaurante/app/services/model_services/meal_service.dart';
import 'package:proyecto_final_seminario_restaurante/app/widgets/snackbars.dart';
import '../../../models/menu_mod... | 7 |
marcossevilla/compass_app | 63ec246 | packages/api_client/test/src/api_client_test.dart | Dart | www.github.com/marcossevilla/compass_app/tree/main/packages/api_client/test/src/api_client_test.dart | https://raw.githubusercontent.com/marcossevilla/compass_app/63ec246/packages/api_client/test/src/api_client_test.dart | marcossevilla/compass_app 63ec246 packages/api_client/test/src/api_client_test.dart | true | 200 | 290 | // ignore_for_file: prefer_const_constructors
import 'package:api_client/api_client.dart';
import 'package:test/test.dart';
void main() {
group('ApiClient', () {
test('can be instantiated', () {
expect(ApiClient(authHeaderProvider: Stream.empty()), isNotNull);
});
});
}
| 6 |
Andres0905/Actividad_optativa_2 | 2640a7a | lib/src/feactures/screens/musica_pop.dart | Dart | www.github.com/Andres0905/Actividad_optativa_2/tree/main/lib/src/feactures/screens/musica_pop.dart | https://raw.githubusercontent.com/Andres0905/Actividad_optativa_2/2640a7a/lib/src/feactures/screens/musica_pop.dart | Andres0905/Actividad_optativa_2 2640a7a lib/src/feactures/screens/musica_pop.dart | true | 200 | 2,808 | import 'package:class_activity/src/feactures/widgets/drawer.dart';
import 'package:class_activity/src/feactures/widgets/likes.dart';
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
class MusicaPop extends StatelessWidget {
const MusicaPop({super.key});
@override
Widget build(B... | 2 |
faizsr/Lifespark-Machine-Task | 547e74e | lib/src/data/repositories/user_repostory_impl.dart | Dart | www.github.com/faizsr/Lifespark-Machine-Task/tree/main/lib/src/data/repositories/user_repostory_impl.dart | https://raw.githubusercontent.com/faizsr/Lifespark-Machine-Task/547e74e/lib/src/data/repositories/user_repostory_impl.dart | faizsr/Lifespark-Machine-Task 547e74e lib/src/data/repositories/user_repostory_impl.dart | true | 200 | 1,415 | import 'package:flutter/material.dart';
import 'package:lifespark_machine_task/src/data/data_sources/local/local_data_source.dart';
import 'package:lifespark_machine_task/src/data/data_sources/remote/remote_data_source.dart';
import 'package:lifespark_machine_task/src/domain/repositories/user_repository.dart';
class U... | 5 |
Galllya/dip | 3835f0c | study/lib/pages/exchange/exchange_view/exchange_page.dart | Dart | www.github.com/Galllya/dip/tree/main/study/lib/pages/exchange/exchange_view/exchange_page.dart | https://raw.githubusercontent.com/Galllya/dip/3835f0c/study/lib/pages/exchange/exchange_view/exchange_page.dart | Galllya/dip 3835f0c study/lib/pages/exchange/exchange_view/exchange_page.dart | true | 200 | 3,024 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:study/pages/exchange/bloc/exchange_bloc.dart';
import 'package:study/pages/exchange/exchange_view/exchange_view.dart';
import 'package:study/pages/exchange/exchange_vie... | 1 |
AlexS1402/Meal-Planning-App | 470bcdc | frontend/lib/views/mealplan_details.dart | Dart | www.github.com/AlexS1402/Meal-Planning-App/tree/main/frontend/lib/views/mealplan_details.dart | https://raw.githubusercontent.com/AlexS1402/Meal-Planning-App/470bcdc/frontend/lib/views/mealplan_details.dart | AlexS1402/Meal-Planning-App 470bcdc frontend/lib/views/mealplan_details.dart | true | 200 | 6,080 | import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
import 'package:mealplanningapp/services/api/api_service.dart';
import 'package:mealplanningapp/models/mealplan_model.dart';
import 'package:shared_preferences/shared_preferences.dart';
class MealPlanDetails extends StatefulWidget {
final MealP... | 4 |
Nataliiabul/tesla-car | a93222f | lib/components/door_lock.dart | Dart | www.github.com/Nataliiabul/tesla-car/tree/main/lib/components/door_lock.dart | https://raw.githubusercontent.com/Nataliiabul/tesla-car/a93222f/lib/components/door_lock.dart | Nataliiabul/tesla-car a93222f lib/components/door_lock.dart | true | 200 | 920 | import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
import '../constanins.dart';
class DoorLock extends StatelessWidget {
DoorLock({required this.press, required this.isLock});
final VoidCallback press;
final bool isLock;
@override
Widget build(BuildContext context) {
... | 0 |
AmosPeterAlex/website_study | 7bf028b | lib/screen/student/api_data_grid/controller/api_data_grid_controller.dart | Dart | www.github.com/AmosPeterAlex/website_study/tree/main/lib/screen/student/api_data_grid/controller/api_data_grid_controller.dart | https://raw.githubusercontent.com/AmosPeterAlex/website_study/7bf028b/lib/screen/student/api_data_grid/controller/api_data_grid_controller.dart | AmosPeterAlex/website_study 7bf028b lib/screen/student/api_data_grid/controller/api_data_grid_controller.dart | true | 200 | 6,400 | import 'dart:developer';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:nexteons_internship_task/model/api_data_grid_model.dart';
import 'package:nexteons_internship_task/repositary/api_data_grid/data_grid_service.dart';
import 'package:nexteons_internship_task/utils/constants/ap... | 3 |
sazzad-2596/Ostad_CodeMama | 4f3995c | CodingTest/code_mama_all/CodeMama/problem17_positiveNegative.dart | Dart | www.github.com/sazzad-2596/Ostad_CodeMama/tree/main/CodingTest/code_mama_all/CodeMama/problem17_positiveNegative.dart | https://raw.githubusercontent.com/sazzad-2596/Ostad_CodeMama/4f3995c/CodingTest/code_mama_all/CodeMama/problem17_positiveNegative.dart | sazzad-2596/Ostad_CodeMama 4f3995c CodingTest/code_mama_all/CodeMama/problem17_positiveNegative.dart | true | 200 | 250 | import 'dart:io';
void main(){
int n = int.parse(stdin.readLineSync()!);
if(n<0) {
print('$n is a negative number.');
}
else if(n>0) {
print('$n is a positive number.');
}
else {
print('The number is zero.');
}
} | 7 |
arpitdeveloper/News_App_In_Flutter | 070e81a | lib/bottom_tab/page1.dart | Dart | www.github.com/arpitdeveloper/News_App_In_Flutter/tree/main/lib/bottom_tab/page1.dart | https://raw.githubusercontent.com/arpitdeveloper/News_App_In_Flutter/070e81a/lib/bottom_tab/page1.dart | arpitdeveloper/News_App_In_Flutter 070e81a lib/bottom_tab/page1.dart | true | 200 | 1,999 | // ignore_for_file: unnecessary_new, avoid_print, library_private_types_in_public_api
import 'package:flutter/material.dart';
import 'package:rk_news/Top_src/business.dart';
import 'package:rk_news/Top_src/politics.dart';
import 'package:rk_news/Top_src/sports.dart';
void main() => runApp(Page1());
/// This Widget i... | 2 |
PeriyanAra/whm_places | 1cab86e | lib/presentation/home/widgets/empty_content_info.dart | Dart | www.github.com/PeriyanAra/whm_places/tree/main/lib/presentation/home/widgets/empty_content_info.dart | https://raw.githubusercontent.com/PeriyanAra/whm_places/1cab86e/lib/presentation/home/widgets/empty_content_info.dart | PeriyanAra/whm_places 1cab86e lib/presentation/home/widgets/empty_content_info.dart | true | 200 | 724 | import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:whm_places/presentation/common/extensions/context_extension.dart';
import 'package:whm_places/presentation/common/widgets.dart';
class EmptyContentInfo extends StatelessWidget {
const EmptyContentInfo({... | 5 |
egideons/benji_user | 6b96ed5 | lib/src/repo/controller/order_status_change.dart | Dart | www.github.com/egideons/benji_user/tree/main/lib/src/repo/controller/order_status_change.dart | https://raw.githubusercontent.com/egideons/benji_user/6b96ed5/lib/src/repo/controller/order_status_change.dart | egideons/benji_user 6b96ed5 lib/src/repo/controller/order_status_change.dart | true | 200 | 3,889 | // ignore_for_file: empty_catches
import 'dart:async';
import 'dart:convert';
import 'dart:developer';
import 'dart:io';
import 'package:benji/src/repo/controller/error_controller.dart';
import 'package:benji/src/repo/controller/order_controller.dart';
import 'package:benji/src/repo/controller/user_controller.dart';
... | 1 |
Amogh050/FlutterAmazon | 43df4a3 | lib/features/home/screens/category_deals_screen.dart | Dart | www.github.com/Amogh050/FlutterAmazon/tree/main/lib/features/home/screens/category_deals_screen.dart | https://raw.githubusercontent.com/Amogh050/FlutterAmazon/43df4a3/lib/features/home/screens/category_deals_screen.dart | Amogh050/FlutterAmazon 43df4a3 lib/features/home/screens/category_deals_screen.dart | true | 200 | 4,173 | import 'package:flutter/material.dart';
import 'package:flutter_amazon/common/widgets/loader.dart';
import 'package:flutter_amazon/constants/global_variables.dart';
import 'package:flutter_amazon/features/home/services/home_services.dart';
import 'package:flutter_amazon/features/product_details/screens/product_details_... | 4 |
Asadullah730/CovidDataTracker | a8202d4 | lib/main.dart | Dart | www.github.com/Asadullah730/CovidDataTracker/tree/main/lib/main.dart | https://raw.githubusercontent.com/Asadullah730/CovidDataTracker/a8202d4/lib/main.dart | Asadullah730/CovidDataTracker a8202d4 lib/main.dart | true | 200 | 665 | import 'package:cronavirus/Presentation/splash_screen.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of your application.
@override
Widget build(B... | 6 |
AhmedNasser24/tasky_app | 1a2b063 | lib/feature/home/presentation/views/widgets/task_item_image.dart | Dart | www.github.com/AhmedNasser24/tasky_app/tree/main/lib/feature/home/presentation/views/widgets/task_item_image.dart | https://raw.githubusercontent.com/AhmedNasser24/tasky_app/1a2b063/lib/feature/home/presentation/views/widgets/task_item_image.dart | AhmedNasser24/tasky_app 1a2b063 lib/feature/home/presentation/views/widgets/task_item_image.dart | true | 200 | 491 | import 'package:flutter/material.dart';
import 'custom_cached_network_image.dart';
class TaskItemImage extends StatelessWidget {
const TaskItemImage(
this.imageUrl, {
super.key,
});
final String imageUrl;
@override
Widget build(BuildContext context) {
return Container(
height: 60,
wid... | 0 |
ppmurmu/sistAR | 7b27419 | sistar_web/lib/assign_to_dropdown.dart | Dart | www.github.com/ppmurmu/sistAR/tree/main/sistar_web/lib/assign_to_dropdown.dart | https://raw.githubusercontent.com/ppmurmu/sistAR/7b27419/sistar_web/lib/assign_to_dropdown.dart | ppmurmu/sistAR 7b27419 sistar_web/lib/assign_to_dropdown.dart | true | 200 | 1,773 | import 'package:flutter/material.dart';
class AssignToDropDown extends StatefulWidget {
final Function(String) value;
String? currSelect;
AssignToDropDown({Key? key, required this.value, this.currSelect})
: super(key: key);
@override
_AssignToDropDownState createState() => _AssignToDropDownState();
}... | 3 |
HirenCodeMaster11/DART | f5547cf | Logical Round 1/1 to N no sum.dart | Dart | www.github.com/HirenCodeMaster11/DART/tree/main/Logical Round 1/1 to N no sum.dart | https://raw.githubusercontent.com/HirenCodeMaster11/DART/f5547cf/Logical%20Round%201/1%20to%20N%20no%20sum.dart | HirenCodeMaster11/DART f5547cf Logical Round 1/1 to N no sum.dart | true | 200 | 252 | import 'dart:io';
void main() {
int a = 1;
int i, sum = 0;
stdout.write("Enter the last num : ");
int n = int.parse(stdin.readLineSync()!);
for (i = a; i <= n; i++) {
sum = sum + i;
}
print("1 to N Sum is $sum");
}
| 7 |
Kgermando/fok_admin | b2a3702 | lib/src/pages/logistiques/entretiens/add_entretien.dart | Dart | www.github.com/Kgermando/fok_admin/tree/main/lib/src/pages/logistiques/entretiens/add_entretien.dart | https://raw.githubusercontent.com/Kgermando/fok_admin/b2a3702/lib/src/pages/logistiques/entretiens/add_entretien.dart | Kgermando/fok_admin b2a3702 lib/src/pages/logistiques/entretiens/add_entretien.dart | true | 200 | 27,099 | import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:fokad_admin/src/api/auth/auth_api.dart';
import 'package:fokad_admin/src/api/logistiques/anguin_api.dart';
import 'package:fokad_admin/src/api/logistiques/entretien_api.dart';
import 'package:fokad_admi... | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.