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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
qkrwnstlr/kumoh_school_bus | aaee2ea | lib/view_model/member_info_view_model.dart | Dart | www.github.com/qkrwnstlr/kumoh_school_bus/tree/main/lib/view_model/member_info_view_model.dart | https://raw.githubusercontent.com/qkrwnstlr/kumoh_school_bus/aaee2ea/lib/view_model/member_info_view_model.dart | qkrwnstlr/kumoh_school_bus aaee2ea lib/view_model/member_info_view_model.dart | true | 200 | 2,059 | import 'package:flutter/material.dart';
import 'package:kumoh_school_bus/model/dto/dtos.dart';
import 'package:kumoh_school_bus/model/dto/reservation_chart_dto.dart';
import 'package:kumoh_school_bus/view/common/basic_alter_dialog.dart';
import '../model/service/services.dart';
class MemberInfoViewModel extends Chang... | 5 |
cylonix/tailchat | 0e20a69 | lib/widgets/main_button.dart | Dart | www.github.com/cylonix/tailchat/tree/main/lib/widgets/main_button.dart | https://raw.githubusercontent.com/cylonix/tailchat/0e20a69/lib/widgets/main_button.dart | cylonix/tailchat 0e20a69 lib/widgets/main_button.dart | true | 200 | 1,070 | // Copyright (c) EZBLOCK Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
import 'package:flutter/material.dart';
import 'base_input/button.dart';
class MainButton extends BaseInputButton {
MainButton(BuildContext context, IconData icon, String label,
{super.key, Color? iconColor, required void Function... | 1 |
Daniel-Choi3810/study.AI | dcabdad | lib/controllers/is_shuffle_controller_notifier.dart | Dart | www.github.com/Daniel-Choi3810/study.AI/tree/main/lib/controllers/is_shuffle_controller_notifier.dart | https://raw.githubusercontent.com/Daniel-Choi3810/study.AI/dcabdad/lib/controllers/is_shuffle_controller_notifier.dart | Daniel-Choi3810/study.AI dcabdad lib/controllers/is_shuffle_controller_notifier.dart | true | 200 | 847 | import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:hive_flutter/hive_flutter.dart';
final shuffleBox = Hive.box('flashcardIsShuffledDataBase');
class IsShuffleControllerNotifier extends StateNotifier<bool> {
final Ref ref;
IsShuffleControllerNotifier(this.ref) : super(false) {
loadData()... | 6 |
Tang2540/restaurant-reservation | cc97d65 | team_app/lib/pages/passwordpage.dart | Dart | www.github.com/Tang2540/restaurant-reservation/tree/main/team_app/lib/pages/passwordpage.dart | https://raw.githubusercontent.com/Tang2540/restaurant-reservation/cc97d65/team_app/lib/pages/passwordpage.dart | Tang2540/restaurant-reservation cc97d65 team_app/lib/pages/passwordpage.dart | true | 200 | 1,777 | import 'package:flutter/material.dart';
class PasswordPage extends StatefulWidget {
@override
State<PasswordPage> createState() => _PasswordPageState();
}
class _PasswordPageState extends State<PasswordPage> {
final _formkey = GlobalKey<FormState>();
String Password = '';
String ConfirmPassword = '';
@ov... | 4 |
MingXuan23/wsmb_mobile_try1 | 0f1364d | lib/day1/widgets/vehicle_card.dart | Dart | www.github.com/MingXuan23/wsmb_mobile_try1/tree/main/lib/day1/widgets/vehicle_card.dart | https://raw.githubusercontent.com/MingXuan23/wsmb_mobile_try1/0f1364d/lib/day1/widgets/vehicle_card.dart | MingXuan23/wsmb_mobile_try1 0f1364d lib/day1/widgets/vehicle_card.dart | true | 200 | 2,705 | import 'package:flutter/material.dart';
import 'package:wsmb_day1_try1/day1/models/vechicle.dart';
import 'package:wsmb_day1_try1/day1/pages/edit_vehicle_page.dart';
import 'package:wsmb_day1_try1/day1/services/firestore_service.dart';
class VehicleCard extends StatefulWidget {
const VehicleCard({super.key, required... | 3 |
rutvik110/ar_project | 5d3a93a | lib/sign_in.dart | Dart | www.github.com/rutvik110/ar_project/tree/main/lib/sign_in.dart | https://raw.githubusercontent.com/rutvik110/ar_project/5d3a93a/lib/sign_in.dart | rutvik110/ar_project 5d3a93a lib/sign_in.dart | true | 200 | 1,602 | import 'package:collegearproject/dashboard.dart';
import 'package:collegearproject/providers.dart';
import 'package:firebase_ui_auth/firebase_ui_auth.dart';
import 'package:firebase_ui_oauth_google/firebase_ui_oauth_google.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.... | 0 |
shirokun20/pkp_test_masuk | 10ec61c | lib/features/crud/presentation/post_data/post_data_controller.dart | Dart | www.github.com/shirokun20/pkp_test_masuk/tree/main/lib/features/crud/presentation/post_data/post_data_controller.dart | https://raw.githubusercontent.com/shirokun20/pkp_test_masuk/10ec61c/lib/features/crud/presentation/post_data/post_data_controller.dart | shirokun20/pkp_test_masuk 10ec61c lib/features/crud/presentation/post_data/post_data_controller.dart | true | 200 | 1,538 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:logger/logger.dart';
import '../../../../components/util/state.dart';
import '../../model/post_data_model.dart';
import '../../repository/post_repository.dart';
import '../../state/post_data_state.dart';
class PostDataController ex... | 1 |
kevin20010808/term_SoftwareStudio_NTHU | 327b67f | term_project/lib/widgets/recent_photo.dart | Dart | www.github.com/kevin20010808/term_SoftwareStudio_NTHU/tree/main/term_project/lib/widgets/recent_photo.dart | https://raw.githubusercontent.com/kevin20010808/term_SoftwareStudio_NTHU/327b67f/term_project/lib/widgets/recent_photo.dart | kevin20010808/term_SoftwareStudio_NTHU 327b67f term_project/lib/widgets/recent_photo.dart | true | 200 | 985 | import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
class RecentPhoto extends StatelessWidget {
const RecentPhoto({
super.key,
});
@override
Widget build(BuildContext context) {
return ListView.builder(
scrollDirection: Axis.horizontal,
itemCount: 4, // Numb... | 5 |
Clementgann/flutter_meal_recipe_app | 39c8c54 | lib/Screens/edit_meal_screen.dart | Dart | www.github.com/Clementgann/flutter_meal_recipe_app/tree/main/lib/Screens/edit_meal_screen.dart | https://raw.githubusercontent.com/Clementgann/flutter_meal_recipe_app/39c8c54/lib/Screens/edit_meal_screen.dart | Clementgann/flutter_meal_recipe_app 39c8c54 lib/Screens/edit_meal_screen.dart | true | 200 | 5,823 | import 'dart:io';
import 'package:flutter/material.dart';
import 'package:image_picker/image_picker.dart';
import 'package:meal_recipe_app/Models/meal_model.dart';
import 'package:permission_handler/permission_handler.dart'; // Permission handler
import 'package:meal_recipe_app/providers/meal_provider.dart';
import 'p... | 7 |
shirishagavini/hospitalms | 4f2ada0 | lib/widgets/WidgetPasswordTextFormField.dart | Dart | www.github.com/shirishagavini/hospitalms/tree/main/lib/widgets/WidgetPasswordTextFormField.dart | https://raw.githubusercontent.com/shirishagavini/hospitalms/4f2ada0/lib/widgets/WidgetPasswordTextFormField.dart | shirishagavini/hospitalms 4f2ada0 lib/widgets/WidgetPasswordTextFormField.dart | true | 200 | 955 | import "package:flutter/material.dart";
class PasswordTextField extends StatelessWidget {
final bool obserText;
final Function validator;
final String name;
final Function onTap;
const PasswordTextField(
{required this.name,
required this.obserText,
required this.validator,
required ... | 6 |
JnJuste/MobileProgrammingSprint | 9a23347 | lib/screens/admin/play_quiz.dart | Dart | www.github.com/JnJuste/MobileProgrammingSprint/tree/main/lib/screens/admin/play_quiz.dart | https://raw.githubusercontent.com/JnJuste/MobileProgrammingSprint/9a23347/lib/screens/admin/play_quiz.dart | JnJuste/MobileProgrammingSprint 9a23347 lib/screens/admin/play_quiz.dart | true | 200 | 12,008 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/material.dart';
import 'package:internet_connection_checker/internet_connection_checker.dart';
import 'package:navigation_bar/models/question_model.dart';
import 'package:navigation_bar/screens/admin/results.dart';
import 'package:navigation... | 2 |
irfanrev/geo-presence | f869157 | lib/app/modules/teacher/views/class_schedule_card.dart | Dart | www.github.com/irfanrev/geo-presence/tree/main/lib/app/modules/teacher/views/class_schedule_card.dart | https://raw.githubusercontent.com/irfanrev/geo-presence/f869157/lib/app/modules/teacher/views/class_schedule_card.dart | irfanrev/geo-presence f869157 lib/app/modules/teacher/views/class_schedule_card.dart | true | 200 | 4,939 | import 'package:flutter/material.dart';
import 'package:flutter/src/foundation/key.dart';
import 'package:flutter/src/widgets/framework.dart';
import 'package:intl/intl.dart';
import 'package:presence_app/app/model/class.dart';
import 'package:presence_app/app/modules/teacher/controllers/teacher_controller.dart';
impor... | 4 |
millerjeison/ceiba | 82c36c9 | lib/helpers/http.dart | Dart | www.github.com/millerjeison/ceiba/tree/main/lib/helpers/http.dart | https://raw.githubusercontent.com/millerjeison/ceiba/82c36c9/lib/helpers/http.dart | millerjeison/ceiba 82c36c9 lib/helpers/http.dart | true | 200 | 1,955 | import 'package:ceiba/helpers/http_result.dart';
import 'package:ceiba/helpers/parse_response_body.dart';
import 'http_method.dart';
import 'send_request.dart';
typedef Parser<T> = T Function(dynamic data);
class Http {
final String baseUrl;
Http({this.baseUrl = "https://jsonplaceholder.typicode.com"});
Futu... | 3 |
garima-pachori/Personal_Expenses | e43b18c | lib/widgets/chart_bar.dart | Dart | www.github.com/garima-pachori/Personal_Expenses/tree/main/lib/widgets/chart_bar.dart | https://raw.githubusercontent.com/garima-pachori/Personal_Expenses/e43b18c/lib/widgets/chart_bar.dart | garima-pachori/Personal_Expenses e43b18c lib/widgets/chart_bar.dart | true | 200 | 1,459 | import 'package:flutter/material.dart';
class ChartBar extends StatelessWidget {
final String label;
final double spendingAmount;
final double spendingPctOfTotal;
ChartBar(this.label,this.spendingAmount,this.spendingPctOfTotal);
@override
Widget build(BuildContext context) {
return Column(
... | 0 |
tj1334311578/dating_template | 7caeb67 | lib/pages/mine/setting/privacy/index.dart | Dart | www.github.com/tj1334311578/dating_template/tree/main/lib/pages/mine/setting/privacy/index.dart | https://raw.githubusercontent.com/tj1334311578/dating_template/7caeb67/lib/pages/mine/setting/privacy/index.dart | tj1334311578/dating_template 7caeb67 lib/pages/mine/setting/privacy/index.dart | true | 200 | 1,369 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import '../../../../personalize/ui/cell.dart';
class SettingsPrivacy extends StatefulWidget {
const SettingsPrivacy({Key? key}) : super(key: key);
@override
State<SettingsPrivacy> createState() => _S... | 1 |
Nyllme/Script | d1414f9 | lib/widgets/horizontal_menu_item.dart | Dart | www.github.com/Nyllme/Script/tree/main/lib/widgets/horizontal_menu_item.dart | https://raw.githubusercontent.com/Nyllme/Script/d1414f9/lib/widgets/horizontal_menu_item.dart | Nyllme/Script d1414f9 lib/widgets/horizontal_menu_item.dart | true | 200 | 1,884 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:web_app/constants/controllers.dart';
import '../constants/style.dart';
import 'custom_text.dart';
class HorizontalMenuItem extends StatelessWidget {
final String itemName;
final VoidCallback onTap;
const HorizontalMenuItem({K... | 5 |
Freddie2415/recorder | da99f10 | lib/presentation/cubits/records/records_cubit.dart | Dart | www.github.com/Freddie2415/recorder/tree/main/lib/presentation/cubits/records/records_cubit.dart | https://raw.githubusercontent.com/Freddie2415/recorder/da99f10/lib/presentation/cubits/records/records_cubit.dart | Freddie2415/recorder da99f10 lib/presentation/cubits/records/records_cubit.dart | true | 200 | 1,238 | import 'package:bloc/bloc.dart';
import '../../../data/entity/record_entity.dart';
import '../../../data/service/records_service.dart';
part 'records_state.dart';
class RecordsCubit extends Cubit<RecordsState> {
final RecordsService service;
RecordsCubit({
required this.service,
}) : super(RecordsInitial(... | 7 |
BrinedFish0222/flutter_kline | fa79806 | lib/painter/line_chart_painter.dart | Dart | www.github.com/BrinedFish0222/flutter_kline/tree/main/lib/painter/line_chart_painter.dart | https://raw.githubusercontent.com/BrinedFish0222/flutter_kline/fa79806/lib/painter/line_chart_painter.dart | BrinedFish0222/flutter_kline fa79806 lib/painter/line_chart_painter.dart | true | 200 | 2,680 | import 'package:flutter/material.dart';
import 'package:flutter_kline/common/pair.dart';
import '../chart/line_chart.dart';
import '../common/utils/kline_num_util.dart';
import '../common/utils/kline_util.dart';
import 'gradient_chart_painter.dart';
/// 折线图
class LineChartPainter extends CustomPainter {
final LineC... | 6 |
abdelstarMo66/Bookly_MVVM | 13249b8 | lib/core/widgets/custom_error.dart | Dart | www.github.com/abdelstarMo66/Bookly_MVVM/tree/main/lib/core/widgets/custom_error.dart | https://raw.githubusercontent.com/abdelstarMo66/Bookly_MVVM/13249b8/lib/core/widgets/custom_error.dart | abdelstarMo66/Bookly_MVVM 13249b8 lib/core/widgets/custom_error.dart | true | 200 | 386 | import 'package:flutter/material.dart';
import '../utils/styles.dart';
class CustomErrorMessage extends StatelessWidget {
const CustomErrorMessage({Key? key, required this.errorMessage})
: super(key: key);
final String errorMessage;
@override
Widget build(BuildContext context) {
return Text(
e... | 2 |
soutruoshim/Attendance_Dispatcher_Location_mobile | a0a55d0 | lib/widget/leavescreen/toggleleavetime.dart | Dart | www.github.com/soutruoshim/Attendance_Dispatcher_Location_mobile/tree/main/lib/widget/leavescreen/toggleleavetime.dart | https://raw.githubusercontent.com/soutruoshim/Attendance_Dispatcher_Location_mobile/a0a55d0/lib/widget/leavescreen/toggleleavetime.dart | soutruoshim/Attendance_Dispatcher_Location_mobile a0a55d0 lib/widget/leavescreen/toggleleavetime.dart | true | 200 | 1,931 | import 'package:hr_dispatcher/provider/leaveprovider.dart';
import 'package:hr_dispatcher/widget/radialDecorationBox.dart';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:toggle_switch/toggle_switch.dart';
class ToggleLeaveTime extends StatelessWidget {
@overr... | 4 |
NazmiCyln/Maze_Vpn | db370ab | lib/custom/custom_filled_button.dart | Dart | www.github.com/NazmiCyln/Maze_Vpn/tree/main/lib/custom/custom_filled_button.dart | https://raw.githubusercontent.com/NazmiCyln/Maze_Vpn/db370ab/lib/custom/custom_filled_button.dart | NazmiCyln/Maze_Vpn db370ab lib/custom/custom_filled_button.dart | true | 200 | 4,335 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import '../constants/colors.dart';
enum _Type { cardColor, gray }
abstract final class CustomFilledButton extends StatelessWidget {
final void Function()? onPressed;
final Widget child;
final bool isGreen;
fi... | 3 |
mg3994/template_app_ui | b4b7e88 | mason_bricks/mason-ui-kit-bricks/bricks/clean_architecture_skeleton/__brick__/lib/utils/date_formatter_util.dart | Dart | www.github.com/mg3994/template_app_ui/tree/main/mason_bricks/mason-ui-kit-bricks/bricks/clean_architecture_skeleton/__brick__/lib/utils/date_formatter_util.dart | https://raw.githubusercontent.com/mg3994/template_app_ui/b4b7e88/mason_bricks/mason-ui-kit-bricks/bricks/clean_architecture_skeleton/__brick__/lib/utils/date_formatter_util.dart | mg3994/template_app_ui b4b7e88 mason_bricks/mason-ui-kit-bricks/bricks/clean_architecture_skeleton/__brick__/lib/utils/date_formatter_util.dart | true | 200 | 564 | import 'package:intl/intl.dart';
class DateFormatterUtil {
const DateFormatterUtil._();
static const DateFormatterUtil _instance = DateFormatterUtil._();
factory DateFormatterUtil() {
return _instance;
}
static String formatDate(
String format,
DateTime? date, [
bool showTimezone = false,
... | 0 |
ama13do/DotoroAssistent | afa22fa | lib/pages/budget_details/budget_details_model.dart | Dart | www.github.com/ama13do/DotoroAssistent/tree/main/lib/pages/budget_details/budget_details_model.dart | https://raw.githubusercontent.com/ama13do/DotoroAssistent/afa22fa/lib/pages/budget_details/budget_details_model.dart | ama13do/DotoroAssistent afa22fa lib/pages/budget_details/budget_details_model.dart | true | 200 | 312 | import '/flutter_flow/flutter_flow_util.dart';
import 'budget_details_widget.dart' show BudgetDetailsWidget;
import 'package:flutter/material.dart';
class BudgetDetailsModel extends FlutterFlowModel<BudgetDetailsWidget> {
@override
void initState(BuildContext context) {}
@override
void dispose() {}
}
| 1 |
ibrahimdeeb0/pal_reports | ee7980a | lib/features/auth/ui/widgets/login_form.dart | Dart | www.github.com/ibrahimdeeb0/pal_reports/tree/main/lib/features/auth/ui/widgets/login_form.dart | https://raw.githubusercontent.com/ibrahimdeeb0/pal_reports/ee7980a/lib/features/auth/ui/widgets/login_form.dart | ibrahimdeeb0/pal_reports ee7980a lib/features/auth/ui/widgets/login_form.dart | true | 200 | 1,334 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:pal_report/core/helpers/spacing_extension.dart';
import 'package:pal_report/core/theme/app_text_styles.dart';
import 'package:pal_report/core/widgets/gradient_button.dart';
import '../../logic/cubit/login_cubit.da... | 5 |
hoangnx2204/number_trivia | 8072606 | test/core/network/network_info_test.dart | Dart | www.github.com/hoangnx2204/number_trivia/tree/main/test/core/network/network_info_test.dart | https://raw.githubusercontent.com/hoangnx2204/number_trivia/8072606/test/core/network/network_info_test.dart | hoangnx2204/number_trivia 8072606 test/core/network/network_info_test.dart | true | 200 | 1,062 | import 'package:flutter_test/flutter_test.dart';
import 'package:internet_connection_checker/internet_connection_checker.dart';
import 'package:mockito/annotations.dart';
import 'package:mockito/mockito.dart';
import 'package:number_trivia/core/network/network_info.dart';
import 'network_info_test.mocks.dart';
@Gener... | 7 |
6valley/Vendor | 4d84159 | lib/features/coupon/controllers/coupon_controller.dart | Dart | www.github.com/6valley/Vendor/tree/main/lib/features/coupon/controllers/coupon_controller.dart | https://raw.githubusercontent.com/6valley/Vendor/4d84159/lib/features/coupon/controllers/coupon_controller.dart | 6valley/Vendor 4d84159 lib/features/coupon/controllers/coupon_controller.dart | true | 200 | 6,965 | import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
import 'package:sixvalley_vendor_app/data/model/response/base/api_response.dart';
import 'package:sixvalley_vendor_app/features/coupon/domain/models/coupon_model.dart';
import 'package:sixvalley_vendor_app/features/pos/domain/models/customer_model... | 2 |
depriandiy/gym_presence | 433c3bc | lib/app/modules/home/controllers/home_controller.dart | Dart | www.github.com/depriandiy/gym_presence/tree/main/lib/app/modules/home/controllers/home_controller.dart | https://raw.githubusercontent.com/depriandiy/gym_presence/433c3bc/lib/app/modules/home/controllers/home_controller.dart | depriandiy/gym_presence 433c3bc lib/app/modules/home/controllers/home_controller.dart | true | 200 | 470 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:get/get.dart';
class HomeController extends GetxController {
FirebaseAuth auth = FirebaseAuth.instance;
FirebaseFirestore firestore = FirebaseFirestore.instance;
Stream<DocumentSnapshot<Map<... | 6 |
Thinking-Earth/sinkingus | f5beffe | lib/feature/home/widgets/game_block_btn.dart | Dart | www.github.com/Thinking-Earth/sinkingus/tree/main/lib/feature/home/widgets/game_block_btn.dart | https://raw.githubusercontent.com/Thinking-Earth/sinkingus/f5beffe/lib/feature/home/widgets/game_block_btn.dart | Thinking-Earth/sinkingus f5beffe lib/feature/home/widgets/game_block_btn.dart | true | 200 | 769 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:sinking_us/helpers/constants/app_images.dart';
import 'package:sinking_us/helpers/constants/app_typography.dart';
InkWell gameBlockBtn({required String text, required VoidCallback onTap}) {
return Ink... | 4 |
AymenSensai/Facebook-Clone | ee84ada | lib/widgets/app_bar_button.dart | Dart | www.github.com/AymenSensai/Facebook-Clone/tree/main/lib/widgets/app_bar_button.dart | https://raw.githubusercontent.com/AymenSensai/Facebook-Clone/ee84ada/lib/widgets/app_bar_button.dart | AymenSensai/Facebook-Clone ee84ada lib/widgets/app_bar_button.dart | true | 200 | 714 | import 'package:flutter/material.dart';
class AppBarButton extends StatelessWidget {
final IconData icon;
final double iconSize;
final Function() onPressed;
const AppBarButton({
super.key,
required this.icon,
required this.iconSize,
required this.onPressed,
});
@override
Widget build(Bu... | 1 |
RohanSengupta326/BugTracker | d785542 | lib/controllers/authUserController/authUserController.dart | Dart | www.github.com/RohanSengupta326/BugTracker/tree/main/lib/controllers/authUserController/authUserController.dart | https://raw.githubusercontent.com/RohanSengupta326/BugTracker/d785542/lib/controllers/authUserController/authUserController.dart | RohanSengupta326/BugTracker d785542 lib/controllers/authUserController/authUserController.dart | true | 200 | 8,506 | import 'dart:io';
import 'dart:math';
import 'dart:developer' as developer;
import 'package:bug_tracker/models/currUserData/currUserData.dart';
import 'package:bug_tracker/models/usersDetails/usersDetails.dart';
import 'package:bug_tracker/views/dialogs/dialogs.dart';
import 'package:cloud_firestore/cloud_firestore.d... | 3 |
MuhammadAliKust/AliHaiderProject | 9db0a2a | lib/login.dart | Dart | www.github.com/MuhammadAliKust/AliHaiderProject/tree/main/lib/login.dart | https://raw.githubusercontent.com/MuhammadAliKust/AliHaiderProject/9db0a2a/lib/login.dart | MuhammadAliKust/AliHaiderProject 9db0a2a lib/login.dart | true | 200 | 2,641 | import 'package:flutter/material.dart';
import 'package:string_validator/string_validator.dart';
class LoginView extends StatelessWidget {
LoginView({super.key});
TextEditingController emailController = TextEditingController();
TextEditingController pwdController = TextEditingController();
@override
Widget... | 0 |
muhammadkamel/oth_mobile_app | 0b0a793 | lib/src/core/service_locator/register_repositories.dart | Dart | www.github.com/muhammadkamel/oth_mobile_app/tree/main/lib/src/core/service_locator/register_repositories.dart | https://raw.githubusercontent.com/muhammadkamel/oth_mobile_app/0b0a793/lib/src/core/service_locator/register_repositories.dart | muhammadkamel/oth_mobile_app 0b0a793 lib/src/core/service_locator/register_repositories.dart | true | 200 | 503 | import 'package:oth_app/di_container.dart';
import 'package:oth_app/src/domain/repositories/repositories.dart';
import 'package:oth_app/src/infrastructure/infrastructure.dart';
void registerRepositories() {
getIt.registerSingleton<CartRepository>(
CartRepositoryImpl(cartDataSource: getIt()),
);
getIt.registe... | 5 |
eman-hamad/Tourist-Guide-Bloc | be98b80 | lib/features/Home/bloc/auth_text_field_bloc/auth_text_field_states.dart | Dart | www.github.com/eman-hamad/Tourist-Guide-Bloc/tree/main/lib/features/Home/bloc/auth_text_field_bloc/auth_text_field_states.dart | https://raw.githubusercontent.com/eman-hamad/Tourist-Guide-Bloc/be98b80/lib/features/Home/bloc/auth_text_field_bloc/auth_text_field_states.dart | eman-hamad/Tourist-Guide-Bloc be98b80 lib/features/Home/bloc/auth_text_field_bloc/auth_text_field_states.dart | true | 200 | 2,023 | // lib/bloc/auth_text_field_bloc/auth_text_field_states.dart
import 'package:equatable/equatable.dart';
abstract class AuthTextFState extends Equatable {
final bool isValid;
final bool obscureText;
final String? errorMessage;
final bool showError;
final Map<String, bool>? passwordRequirements;
const Auth... | 2 |
AbdullahMohamedAlSayedAbed/booklywithcleanarchitecture | aae3236 | lib/Features/home/domain/entities/book_entity.dart | Dart | www.github.com/AbdullahMohamedAlSayedAbed/booklywithcleanarchitecture/tree/main/lib/Features/home/domain/entities/book_entity.dart | https://raw.githubusercontent.com/AbdullahMohamedAlSayedAbed/booklywithcleanarchitecture/aae3236/lib/Features/home/domain/entities/book_entity.dart | AbdullahMohamedAlSayedAbed/booklywithcleanarchitecture aae3236 lib/Features/home/domain/entities/book_entity.dart | true | 200 | 539 | import 'package:hive/hive.dart';
part 'book_entity.g.dart';
@HiveType(typeId: 0)
class BookEntity {
@HiveField(0)
final String bookId;
@HiveField(1)
final String? image;
@HiveField(2)
final String title;
@HiveField(3)
final String author;
@HiveField(4)
final num? price;
@HiveField(5)
final num?... | 7 |
Azhar-Dogar/smartx_flutter_app-main | 435e12d | lib/common/margin_widget.dart | Dart | www.github.com/Azhar-Dogar/smartx_flutter_app-main/tree/main/lib/common/margin_widget.dart | https://raw.githubusercontent.com/Azhar-Dogar/smartx_flutter_app-main/435e12d/lib/common/margin_widget.dart | Azhar-Dogar/smartx_flutter_app-main 435e12d lib/common/margin_widget.dart | true | 200 | 861 | import 'package:flutter/material.dart';
class MarginWidget extends StatelessWidget {
const MarginWidget({
this.isSliver = false,
this.isHorizontal = false,
this.factor = 1.0,
Key? key,
}) : super(key: key);
final bool isSliver;
final bool isHorizontal;
final double factor;
@override
Widg... | 6 |
MahmoudAlaa22/TDD-Notes | 7f83702 | lib/features/add_user/domain/usecases/add_user_usecase.dart | Dart | www.github.com/MahmoudAlaa22/TDD-Notes/tree/main/lib/features/add_user/domain/usecases/add_user_usecase.dart | https://raw.githubusercontent.com/MahmoudAlaa22/TDD-Notes/7f83702/lib/features/add_user/domain/usecases/add_user_usecase.dart | MahmoudAlaa22/TDD-Notes 7f83702 lib/features/add_user/domain/usecases/add_user_usecase.dart | true | 200 | 441 | import 'package:dartz/dartz.dart';
import '../repositories/add_user_repo.dart';
import '../../../../core/error/failures.dart';
import '../../data/model/add_user_model.dart';
class AddUserUsecase {
final AddUserRepo addUserRepo;
AddUserUsecase({required this.addUserRepo});
Future<Either<Failure, Unit>> addUser... | 4 |
rohitchaurasiya151/flutter_r_and_d | f30fdad | base_config.dart | Dart | www.github.com/rohitchaurasiya151/flutter_r_and_d/tree/main/base_config.dart | https://raw.githubusercontent.com/rohitchaurasiya151/flutter_r_and_d/f30fdad/base_config.dart | rohitchaurasiya151/flutter_r_and_d f30fdad base_config.dart | true | 200 | 2,120 | void main(List<String> args) {
Environment env = Environment();
Environment env2 = Environment();
print(env == env2);
BaseConfig baseConfig = env._getConfig(Environment.qa);
print(baseConfig.apiHost);
}
abstract class BaseConfig {
String get apiHost;
String get apiHttpsHost;
String get wireDashAppId... | 3 |
kaminariwhat/PBL20KMIPN | f88f2c7 | lib/screens/homepage.dart | Dart | www.github.com/kaminariwhat/PBL20KMIPN/tree/main/lib/screens/homepage.dart | https://raw.githubusercontent.com/kaminariwhat/PBL20KMIPN/f88f2c7/lib/screens/homepage.dart | kaminariwhat/PBL20KMIPN f88f2c7 lib/screens/homepage.dart | true | 200 | 3,920 | import 'package:flutter/material.dart';
import 'package:balap_in/widgets/homewidget.dart';
class HomeScreen extends StatelessWidget {
const HomeScreen({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text.rich(
TextSpan(
... | 5 |
fouadsalama/NetFlix_App | e8157ff | lib/constants/constants.dart | Dart | www.github.com/fouadsalama/NetFlix_App/tree/main/lib/constants/constants.dart | https://raw.githubusercontent.com/fouadsalama/NetFlix_App/e8157ff/lib/constants/constants.dart | fouadsalama/NetFlix_App e8157ff lib/constants/constants.dart | true | 200 | 425 | import 'package:flutter/material.dart';
const kMainColor = Color(0xffE50914);
const kSecondColor = Colors.white;
const kBackgroundColor = Color(0xff000000);
const kBaseUrl = 'https://api.themoviedb.org/3/movie';
const baseUrl = 'https://api.themoviedb.org/3';
const apiKey = 'b18d712e84b672f268f26229271fd13e';
const k... | 7 |
YUEIT/flutter_common | 5a56daa | lib/common/components/vm/live_data.dart | Dart | www.github.com/YUEIT/flutter_common/tree/main/lib/common/components/vm/live_data.dart | https://raw.githubusercontent.com/YUEIT/flutter_common/5a56daa/lib/common/components/vm/live_data.dart | YUEIT/flutter_common 5a56daa lib/common/components/vm/live_data.dart | true | 200 | 3,122 | import 'package:flutter/cupertino.dart';
import 'package:rxdart/rxdart.dart';
class LiveData<T> {
LiveData({T? initialData}) {
this._data = initialData;
}
final _dataFetcher = BehaviorSubject<T>();
Stream<T> get dataStream => _dataFetcher.stream;
T? _data;
dynamic _pendingData;
T? get value => _dat... | 2 |
YasserYr1/bloc_flutter | d4a9d64 | lib/ui/pages/home.page.dart | Dart | www.github.com/YasserYr1/bloc_flutter/tree/main/lib/ui/pages/home.page.dart | https://raw.githubusercontent.com/YasserYr1/bloc_flutter/d4a9d64/lib/ui/pages/home.page.dart | YasserYr1/bloc_flutter d4a9d64 lib/ui/pages/home.page.dart | true | 200 | 439 | import 'package:bloc_app/ui/widgets/main.drawer.widget.dart';
import 'package:flutter/material.dart';
class HomePage extends StatelessWidget {
const HomePage({key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
//drawer: const MainDrawer(),
appBar: AppBa... | 1 |
alyhd80/weather_app_1 | a088b7d | lib/features/feature_bookmark/presentation/screens/bookmark_screen.dart | Dart | www.github.com/alyhd80/weather_app_1/tree/main/lib/features/feature_bookmark/presentation/screens/bookmark_screen.dart | https://raw.githubusercontent.com/alyhd80/weather_app_1/a088b7d/lib/features/feature_bookmark/presentation/screens/bookmark_screen.dart | alyhd80/weather_app_1 a088b7d lib/features/feature_bookmark/presentation/screens/bookmark_screen.dart | true | 200 | 6,581 | import 'dart:ui';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:weather/features/feature_bookmark/domain/entities/city_entity.dart';
import 'package:weather/features/feature_bookmark/presentation/bloc/bookmark_bloc.dart';
import 'package:weather/features/featu... | 4 |
Project-Dronaid/Dronaid-App | 5ad2328 | lib/medicines.dart | Dart | www.github.com/Project-Dronaid/Dronaid-App/tree/main/lib/medicines.dart | https://raw.githubusercontent.com/Project-Dronaid/Dronaid-App/5ad2328/lib/medicines.dart | Project-Dronaid/Dronaid-App 5ad2328 lib/medicines.dart | true | 200 | 13,191 | import 'Screens/Shopping/provider/product.dart';
List<Product> medicines = [
Product(
id: "0",
title: "Paracetamol Tablets",
price: 50,
category: "Medicine",
description: "Effective for reducing pain and fever. Suitable for various conditions.",
weight: 0.5, // Weight in kilograms
),
Pro... | 6 |
vinay416/Image-Filters | 85bb3fa | lib/modules/color_filter/image_color_filters_view.dart | Dart | www.github.com/vinay416/Image-Filters/tree/main/lib/modules/color_filter/image_color_filters_view.dart | https://raw.githubusercontent.com/vinay416/Image-Filters/85bb3fa/lib/modules/color_filter/image_color_filters_view.dart | vinay416/Image-Filters 85bb3fa lib/modules/color_filter/image_color_filters_view.dart | true | 200 | 3,586 | import 'dart:io';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:image_filters/modules/color_filter/cubit/color_filter_cubit.dart';
import 'package:image_filters/modules/color_filter/cubit/color_filter_cubit_state.dart';
import 'package:image_filters/modules/pi... | 3 |
Sabahat-299/RT-Circket | acfc38f | lib/Views/Team_Managemnt_Module/M_Summay.dart | Dart | www.github.com/Sabahat-299/RT-Circket/tree/main/lib/Views/Team_Managemnt_Module/M_Summay.dart | https://raw.githubusercontent.com/Sabahat-299/RT-Circket/acfc38f/lib/Views/Team_Managemnt_Module/M_Summay.dart | Sabahat-299/RT-Circket acfc38f lib/Views/Team_Managemnt_Module/M_Summay.dart | true | 200 | 7,292 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import '../../Model/Mostrunsmodel.dart';
import '../../Utils/Appimage.dart';
import '../../Utils/appcontainercolor.dart';
import '../../Widgets/AppTextStyle.dart';
class Summary extends StatefulWidget {
const Summary({Key? key, require... | 5 |
kevin-Jobi/Mind-Forge | 6b7e39f | lib/screens/Assignments/addAssignments&Exam.dart | Dart | www.github.com/kevin-Jobi/Mind-Forge/tree/main/lib/screens/Assignments/addAssignments&Exam.dart | https://raw.githubusercontent.com/kevin-Jobi/Mind-Forge/6b7e39f/lib/screens/Assignments/addAssignments%26Exam.dart | kevin-Jobi/Mind-Forge 6b7e39f lib/screens/Assignments/addAssignments&Exam.dart | true | 200 | 6,052 | import 'dart:typed_data';
import 'package:flutter/material.dart';
import 'package:mind_forge/screens/assignments/assignment_exam_text_f.dart';
import 'package:mind_forge/screens/assignments/assignment_initialization.dart';
import 'package:mind_forge/screens/dashboard/home.dart';
import 'package:mind_forge/services/repo... | 0 |
Immadominion/Certify---Capstone | aa20462 | CERTIFY-THE-APP/lib/presentation/views/home/home.dart | Dart | www.github.com/Immadominion/Certify---Capstone/tree/main/CERTIFY-THE-APP/lib/presentation/views/home/home.dart | https://raw.githubusercontent.com/Immadominion/Certify---Capstone/aa20462/CERTIFY-THE-APP/lib/presentation/views/home/home.dart | Immadominion/Certify---Capstone aa20462 CERTIFY-THE-APP/lib/presentation/views/home/home.dart | true | 200 | 10,549 | import 'package:certify/data/controllers/all_certify_projects_controller.dart';
import 'package:certify/presentation/general_components/shared_loading.dart';
import 'package:certify/presentation/views/company/demo_page.dart';
import 'package:certify/presentation/views/home/components/home_page_card.dart';
import 'packa... | 7 |
breid2/hackathon_project | b9cebd5 | client/lib/pages/chat_page.dart | Dart | www.github.com/breid2/hackathon_project/tree/main/client/lib/pages/chat_page.dart | https://raw.githubusercontent.com/breid2/hackathon_project/b9cebd5/client/lib/pages/chat_page.dart | breid2/hackathon_project b9cebd5 client/lib/pages/chat_page.dart | true | 200 | 4,363 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
import 'package:hackathon_project/components/chat_bubble.dart';
import 'package:hackathon_project/components/text_field.dart';
import 'packag... | 2 |
Mr-ut/studentsBazaar | 797d6a9 | lib/pages/edit_product_page.dart | Dart | www.github.com/Mr-ut/studentsBazaar/tree/main/lib/pages/edit_product_page.dart | https://raw.githubusercontent.com/Mr-ut/studentsBazaar/797d6a9/lib/pages/edit_product_page.dart | Mr-ut/studentsBazaar 797d6a9 lib/pages/edit_product_page.dart | true | 200 | 6,722 | import 'dart:io';
import 'package:flutter/material.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_storage/firebase_storage.dart'; // Add this import for Firebase Storage
import 'package:image_picker/image_picker.dart';
class EditProductPage extends StatefulWidget {
final Stri... | 4 |
Epyuel/Mobile-Application | 215597f | raise_up/test/bloc/technician_account_information_bloc_test.dart | Dart | www.github.com/Epyuel/Mobile-Application/tree/main/raise_up/test/bloc/technician_account_information_bloc_test.dart | https://raw.githubusercontent.com/Epyuel/Mobile-Application/215597f/raise_up/test/bloc/technician_account_information_bloc_test.dart | Epyuel/Mobile-Application 215597f raise_up/test/bloc/technician_account_information_bloc_test.dart | true | 200 | 3,791 | import 'dart:convert';
import 'package:flutter_test/flutter_test.dart';
import 'package:http/http.dart' as http;
import 'package:mockito/annotations.dart';
import 'package:mockito/mockito.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:bloc_test/bloc_test.dart';
import 'package:raise_up/technic... | 1 |
Jesse-Dan/RP_MOBILE | 409c3ac | lib/src/view/app/posts/components/mute/model/mute_payload.dart | Dart | www.github.com/Jesse-Dan/RP_MOBILE/tree/main/lib/src/view/app/posts/components/mute/model/mute_payload.dart | https://raw.githubusercontent.com/Jesse-Dan/RP_MOBILE/409c3ac/lib/src/view/app/posts/components/mute/model/mute_payload.dart | Jesse-Dan/RP_MOBILE 409c3ac lib/src/view/app/posts/components/mute/model/mute_payload.dart | true | 200 | 1,550 | // To parse this JSON data, do
//
// final mutePayload = mutePayloadFromJson(jsonString);
import 'dart:convert';
MutePayload mutePayloadFromJson(String str) => MutePayload.fromJson(json.decode(str));
String mutePayloadToJson(MutePayload data) => json.encode(data.toJson());
class MutePayload {
int userId;
in... | 6 |
Hardeepsingh980/splitit | f685639 | lib/ui/splash.dart | Dart | www.github.com/Hardeepsingh980/splitit/tree/main/lib/ui/splash.dart | https://raw.githubusercontent.com/Hardeepsingh980/splitit/f685639/lib/ui/splash.dart | Hardeepsingh980/splitit f685639 lib/ui/splash.dart | true | 200 | 1,347 | // ignore_for_file: file_names
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:splitit/const.dart';
import 'package:splitit/provider/AuthProvider.dart';
class SplashScreen extends StatefulWidget {
const SplashScreen({Key? key}) : super(key: key);
@override
State... | 5 |
janani5566/flutter | 78c6d0f | lib/main.dart | Dart | www.github.com/janani5566/flutter/tree/main/lib/main.dart | https://raw.githubusercontent.com/janani5566/flutter/78c6d0f/lib/main.dart | janani5566/flutter 78c6d0f lib/main.dart | true | 200 | 342 | import 'package:flutter/material.dart';
import 'package:hello_world/login.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return const MaterialApp (
title: 'Login Page',
home: LoginW... | 0 |
hll-gun-calculator/hll-gun-calculato-app | 8d546d0 | lib/constants/api.dart | Dart | www.github.com/hll-gun-calculator/hll-gun-calculato-app/tree/main/lib/constants/api.dart | https://raw.githubusercontent.com/hll-gun-calculator/hll-gun-calculato-app/8d546d0/lib/constants/api.dart | hll-gun-calculator/hll-gun-calculato-app 8d546d0 lib/constants/api.dart | true | 200 | 980 | /// 全局接口配置
// ignore_for_file: constant_identifier_names
import '../data/Url.dart';
enum Env { PROD, DEV }
class Config {
static Env env = Env.DEV;
static final List _envStringNames = ["production", "development"];
static String _envCurrentStringName = "";
static Map<String, BaseUrl> apis = {};
/// 当前环境名称... | 7 |
ezadin2/minimal-Shop | b322f6f | lib/pages/cart_page.dart | Dart | www.github.com/ezadin2/minimal-Shop/tree/main/lib/pages/cart_page.dart | https://raw.githubusercontent.com/ezadin2/minimal-Shop/b322f6f/lib/pages/cart_page.dart | ezadin2/minimal-Shop b322f6f lib/pages/cart_page.dart | true | 200 | 2,963 | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:tod/component/my_button.dart';
import 'package:tod/models/product.dart';
import 'package:tod/models/shop.dart';
class CartPage extends StatelessWidget {
const CartPage({super.key});
// Remove item from the cart
void... | 2 |
Quan987/Anonymous_Chat_App | 3007c2f | lib/models/add_user_model.dart | Dart | www.github.com/Quan987/Anonymous_Chat_App/tree/main/lib/models/add_user_model.dart | https://raw.githubusercontent.com/Quan987/Anonymous_Chat_App/3007c2f/lib/models/add_user_model.dart | Quan987/Anonymous_Chat_App 3007c2f lib/models/add_user_model.dart | true | 200 | 636 | class AddUser {
final String firstName;
final String lastName;
final String userName;
final String email;
final String password;
final String uid;
final String dateTime;
const AddUser({
required this.firstName,
required this.lastName,
required this.userName,
required this.email,
req... | 1 |
nguyenlemanhhung/demo-flutter-app | a5f8715 | test/pages/home_page_test.dart | Dart | www.github.com/nguyenlemanhhung/demo-flutter-app/tree/main/test/pages/home_page_test.dart | https://raw.githubusercontent.com/nguyenlemanhhung/demo-flutter-app/a5f8715/test/pages/home_page_test.dart | nguyenlemanhhung/demo-flutter-app a5f8715 test/pages/home_page_test.dart | true | 200 | 757 | import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:rightprice/main.dart';
import 'package:rightprice/pages/home_page.dart';
void main() {
group('Home page test', () {
testWidgets(
'Show first product name',
(WidgetTester tester) async {
aw... | 6 |
azzayatss/ui_portfolio | 1179b13 | lib/features/medicines/search/view/widgets/medicines_search_result_body_title.dart | Dart | www.github.com/azzayatss/ui_portfolio/tree/main/lib/features/medicines/search/view/widgets/medicines_search_result_body_title.dart | https://raw.githubusercontent.com/azzayatss/ui_portfolio/1179b13/lib/features/medicines/search/view/widgets/medicines_search_result_body_title.dart | azzayatss/ui_portfolio 1179b13 lib/features/medicines/search/view/widgets/medicines_search_result_body_title.dart | true | 200 | 669 | import 'package:flutter/material.dart';
class MedicinesSearchResultBodyTitle extends StatelessWidget {
const MedicinesSearchResultBodyTitle({
super.key,
});
@override
Widget build(BuildContext context) {
return const Row(
children: [
Text(
'We found: ',
style: TextSty... | 5 |
bahaa-abd/naqla | 3ecd19a | user/packages/common_state/lib/src/builders/paginationBuilder/paged_builder.dart | Dart | www.github.com/bahaa-abd/naqla/tree/main/user/packages/common_state/lib/src/builders/paginationBuilder/paged_builder.dart | https://raw.githubusercontent.com/bahaa-abd/naqla/3ecd19a/user/packages/common_state/lib/src/builders/paginationBuilder/paged_builder.dart | bahaa-abd/naqla 3ecd19a user/packages/common_state/lib/src/builders/paginationBuilder/paged_builder.dart | true | 200 | 11,790 | import 'package:common_state/common_state.dart';
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:infinite_scroll_pagination/infinite_scroll_pagination.dart';
enum PagedWidgetType { pagedListView, pagedGridView, pagedSliverL... | 4 |
arv-aks/inditab_emd_assessment | 81615ff | lib/src/presentation/individual_component_builder/column_builder.dart | Dart | www.github.com/arv-aks/inditab_emd_assessment/tree/main/lib/src/presentation/individual_component_builder/column_builder.dart | https://raw.githubusercontent.com/arv-aks/inditab_emd_assessment/81615ff/lib/src/presentation/individual_component_builder/column_builder.dart | arv-aks/inditab_emd_assessment 81615ff lib/src/presentation/individual_component_builder/column_builder.dart | true | 200 | 1,130 | import 'package:flutter/material.dart';
import 'package:inditab_emd_assessment/src/core/component.dart';
import 'package:inditab_emd_assessment/src/core/model/core.dart';
import 'package:inditab_emd_assessment/src/presentation/component_builder.dart';
import 'package:inditab_emd_assessment/src/core/model/individual_com... | 7 |
mdarifhosain214/Beautisiaa_App | fb311e9 | lib/pages/dash_board.dart | Dart | www.github.com/mdarifhosain214/Beautisiaa_App/tree/main/lib/pages/dash_board.dart | https://raw.githubusercontent.com/mdarifhosain214/Beautisiaa_App/fb311e9/lib/pages/dash_board.dart | mdarifhosain214/Beautisiaa_App fb311e9 lib/pages/dash_board.dart | true | 200 | 3,723 | import 'package:beautysiaa_app/app_colors.dart';
import 'package:flutter/material.dart';
class DashBoard extends StatefulWidget {
const DashBoard({Key? key}) : super(key: key);
@override
State<DashBoard> createState() => _DashBoardState();
}
class _DashBoardState extends State<DashBoard> {
@override
Widget... | 2 |
wongzq/skeduler | 1df59a5 | skeduler/lib/services/database_service.dart | Dart | www.github.com/wongzq/skeduler/tree/main/skeduler/lib/services/database_service.dart | https://raw.githubusercontent.com/wongzq/skeduler/1df59a5/skeduler/lib/services/database_service.dart | wongzq/skeduler 1df59a5 skeduler/lib/services/database_service.dart | true | 200 | 38,652 | import 'dart:async';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:fluttertoast/fluttertoast.dart';
import 'package:skeduler/models/auxiliary/color_shade.dart';
import 'package:skeduler/models/auxiliary/timetable... | 3 |
Reiginayari/exercise-2-mobile-app-intro | b18c198 | lib/views/task_page.dart | Dart | www.github.com/Reiginayari/exercise-2-mobile-app-intro/tree/main/lib/views/task_page.dart | https://raw.githubusercontent.com/Reiginayari/exercise-2-mobile-app-intro/b18c198/lib/views/task_page.dart | Reiginayari/exercise-2-mobile-app-intro b18c198 lib/views/task_page.dart | true | 200 | 638 | import 'package:flutter/material.dart';
import 'package:flutter_application_1/views/bottom_sheets/task_list_view.dart';
import 'add_task_view.dart';
class TaskPage extends StatelessWidget{
const TaskPage({super.key});
@override
Widget build(BuildContext context){
return Scaffold(
body: Saf... | 1 |
manahilcode/driving_lisence | 884a3e7 | lib/lorry/getting_start_Screen/viewmodel/preparing_for_test_controller.dart | Dart | www.github.com/manahilcode/driving_lisence/tree/main/lib/lorry/getting_start_Screen/viewmodel/preparing_for_test_controller.dart | https://raw.githubusercontent.com/manahilcode/driving_lisence/884a3e7/lib/lorry/getting_start_Screen/viewmodel/preparing_for_test_controller.dart | manahilcode/driving_lisence 884a3e7 lib/lorry/getting_start_Screen/viewmodel/preparing_for_test_controller.dart | true | 200 | 950 | //OnTheRoadRepository
import 'package:flutter/material.dart';
import '../model/other_study_aid.dart';
import '../model/preparing_for_test.dart';
import '../repo/other_study_repo.dart';
import '../repo/preparing_for_test_repo.dart';
class PreparingForTestControllerProvider with ChangeNotifier {
final PreparingForTest... | 0 |
Lymengchun/gift_delivery_app | 42e76d4 | lib/admin page&staff/list_item.dart | Dart | www.github.com/Lymengchun/gift_delivery_app/tree/main/lib/admin page&staff/list_item.dart | https://raw.githubusercontent.com/Lymengchun/gift_delivery_app/42e76d4/lib/admin%20page%26staff/list_item.dart | Lymengchun/gift_delivery_app 42e76d4 lib/admin page&staff/list_item.dart | true | 200 | 2,710 | import 'package:flutter/material.dart';
import 'package:gift_delivery_app/admin%20page&staff/add_item.dart';
import 'package:gift_delivery_app/admin%20page&staff/add_product_controller.dart';
import 'package:gift_delivery_app/language/admin_english.dart';
import 'package:google_fonts/google_fonts.dart';
class ListItem... | 6 |
HuzefaAbbasi/furniture-app | 1071b15 | lib/widgets/searchbar.dart | Dart | www.github.com/HuzefaAbbasi/furniture-app/tree/main/lib/widgets/searchbar.dart | https://raw.githubusercontent.com/HuzefaAbbasi/furniture-app/1071b15/lib/widgets/searchbar.dart | HuzefaAbbasi/furniture-app 1071b15 lib/widgets/searchbar.dart | true | 200 | 1,584 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:getwidget/components/search_bar/gf_search_bar.dart';
class CustomSearchBar extends StatelessWidget {
final String hintText;
final bool hasScanIcon;
const CustomSearchBar({
super.key,
required this.hintText,
... | 5 |
vashoz/app | 94de205 | lib/features/discount/presentation/bloc/fetch_discount_bloc.dart | Dart | www.github.com/vashoz/app/tree/main/lib/features/discount/presentation/bloc/fetch_discount_bloc.dart | https://raw.githubusercontent.com/vashoz/app/94de205/lib/features/discount/presentation/bloc/fetch_discount_bloc.dart | vashoz/app 94de205 lib/features/discount/presentation/bloc/fetch_discount_bloc.dart | true | 200 | 673 | import '../../../../core/shared/shared.dart';
import '../../discount.dart';
part 'fetch_discount_event.dart';
part 'fetch_discount_state.dart';
class FetchDiscountBloc extends Bloc<FetchDiscountEvent, FetchDiscountState> {
final ReadDiscountUseCase readDiscountUseCase;
FetchDiscountBloc({required this.readDiscoun... | 4 |
nandanipatel27/Nandani_Flutter | 5fefbde | Module_4_UI Designing and Development/lib/Prg63.dart | Dart | www.github.com/nandanipatel27/Nandani_Flutter/tree/main/Module_4_UI Designing and Development/lib/Prg63.dart | https://raw.githubusercontent.com/nandanipatel27/Nandani_Flutter/5fefbde/Module_4_UI%20Designing%20and%20Development/lib/Prg63.dart | nandanipatel27/Nandani_Flutter 5fefbde Module_4_UI Designing and Development/lib/Prg63.dart | true | 200 | 1,852 | // Write a code to display alert dialog with positive, negative and neutral button and display toast respectively user's choice
// ignore_for_file: file_names, prefer_const_literals_to_create_immutables
import 'package:flutter/material.dart';
class Prg63 extends StatelessWidget {
void _showAlertDialog(BuildContext... | 2 |
patelhemali08/apiexample | 9d9c8c3 | lib/Provider/EmployeeProvider.dart | Dart | www.github.com/patelhemali08/apiexample/tree/main/lib/Provider/EmployeeProvider.dart | https://raw.githubusercontent.com/patelhemali08/apiexample/9d9c8c3/lib/Provider/EmployeeProvider.dart | patelhemali08/apiexample 9d9c8c3 lib/Provider/EmployeeProvider.dart | true | 200 | 3,177 | import 'dart:convert';
import 'package:apiexample1/Employee/ViewApiExample1.dart';
import 'package:apiexample1/Employee/ViewModalApiExample.dart';
import 'package:apiexample1/helper/ApiHandler.dart';
import 'package:apiexample1/modal/employee.dart';
import 'package:flutter/material.dart';
import 'package:fluttertoast/f... | 7 |
Voltamol/ShadMIMMICK | a5e73c6 | mimmick/lib/components/cards/product_card_with_cta.dart | Dart | www.github.com/Voltamol/ShadMIMMICK/tree/main/mimmick/lib/components/cards/product_card_with_cta.dart | https://raw.githubusercontent.com/Voltamol/ShadMIMMICK/a5e73c6/mimmick/lib/components/cards/product_card_with_cta.dart | Voltamol/ShadMIMMICK a5e73c6 mimmick/lib/components/cards/product_card_with_cta.dart | true | 200 | 1,943 | import 'package:flutter/material.dart' as mui;
import 'package:mimmick/components/cards/product_card_utils.dart';
import 'package:shadcn_flutter/shadcn_flutter.dart';
class ProductCardWithCta extends StatelessWidget {
const ProductCardWithCta({
super.key,
required this.title,
required this.content,
r... | 1 |
DamanSoftRadixx/Inspection-Doctor-Homeowner | 98b82ea | lib/core/utils/enum.dart | Dart | www.github.com/DamanSoftRadixx/Inspection-Doctor-Homeowner/tree/main/lib/core/utils/enum.dart | https://raw.githubusercontent.com/DamanSoftRadixx/Inspection-Doctor-Homeowner/98b82ea/lib/core/utils/enum.dart | DamanSoftRadixx/Inspection-Doctor-Homeowner 98b82ea lib/core/utils/enum.dart | true | 200 | 1,984 | enum BottomNavigationEnum { Home, Inspections, Notification, MyProfile }
enum ShowImagePositionAt { right, left, none }
enum LanguageEnum {
english("English", "en", "6243ed27139b3b6b45b5b6dc"),
spanish("Spanish", "su", "620a58bb0fad1c07fff7ff18");
final String value;
final String langunageShortCode;
final ... | 3 |
AliceMochi/TubesPemob | 7076fa3 | lib/backend/schema/deliver_record.dart | Dart | www.github.com/AliceMochi/TubesPemob/tree/main/lib/backend/schema/deliver_record.dart | https://raw.githubusercontent.com/AliceMochi/TubesPemob/7076fa3/lib/backend/schema/deliver_record.dart | AliceMochi/TubesPemob 7076fa3 lib/backend/schema/deliver_record.dart | true | 200 | 2,048 | import 'dart:async';
import 'index.dart';
import 'serializers.dart';
import 'package:built_value/built_value.dart';
part 'deliver_record.g.dart';
abstract class DeliverRecord
implements Built<DeliverRecord, DeliverRecordBuilder> {
static Serializer<DeliverRecord> get serializer => _$deliverRecordSerializer;
... | 0 |
XYDong/xmshop | f875311 | lib/app/modules/pass/registerStepOne/views/register_step_one_view.dart | Dart | www.github.com/XYDong/xmshop/tree/main/lib/app/modules/pass/registerStepOne/views/register_step_one_view.dart | https://raw.githubusercontent.com/XYDong/xmshop/f875311/lib/app/modules/pass/registerStepOne/views/register_step_one_view.dart | XYDong/xmshop f875311 lib/app/modules/pass/registerStepOne/views/register_step_one_view.dart | true | 200 | 2,410 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import '../../../../services/screenAdapter.dart';
import '../../../../widgets/logo_view.dart';
import '../../../../widgets/passButton.dart';
import '../../../../widgets/passTextField.dart';
import '../controllers/register_step_one_controller.dart';... | 6 |
JulianARojasBernal/3.7.Integracionbd | e9247c5 | lib/services/firabase_service.dart | Dart | www.github.com/JulianARojasBernal/3.7.Integracionbd/tree/main/lib/services/firabase_service.dart | https://raw.githubusercontent.com/JulianARojasBernal/3.7.Integracionbd/e9247c5/lib/services/firabase_service.dart | JulianARojasBernal/3.7.Integracionbd e9247c5 lib/services/firabase_service.dart | true | 200 | 498 | import "package:cloud_firestore/cloud_firestore.dart";
FirebaseFirestore db = FirebaseFirestore.instance;
Future<List<Map<String, dynamic>>> getPeople() async {
List<Map<String, dynamic>> people = [];
CollectionReference<Map<String, dynamic>> collectionReferencePeople = db.collection('people');
QuerySnapshot<... | 4 |
thakurnagendra/ZOYO_E-COMM_APP | 7f4cdd7 | lib/screens/home/home_screen.dart | Dart | www.github.com/thakurnagendra/ZOYO_E-COMM_APP/tree/main/lib/screens/home/home_screen.dart | https://raw.githubusercontent.com/thakurnagendra/ZOYO_E-COMM_APP/7f4cdd7/lib/screens/home/home_screen.dart | thakurnagendra/ZOYO_E-COMM_APP 7f4cdd7 lib/screens/home/home_screen.dart | true | 200 | 5,585 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:ecommerce/controllers/cart_controller.dart';
import 'package:ecommerce/controllers/product_controller.dart';
import 'package:ecommerce/model/product.dart';
import 'package:ecommerce/screens/cart/cart_screen.dart';
import '../../contr... | 7 |
right7ctrl/flutter_mvvm_template | 643aeed | lib/app/extension/string_extensions.dart | Dart | www.github.com/right7ctrl/flutter_mvvm_template/tree/main/lib/app/extension/string_extensions.dart | https://raw.githubusercontent.com/right7ctrl/flutter_mvvm_template/643aeed/lib/app/extension/string_extensions.dart | right7ctrl/flutter_mvvm_template 643aeed lib/app/extension/string_extensions.dart | true | 200 | 1,329 | extension StringExtensions on String? {
String get getValueOrDefault {
return this ?? "";
}
bool isEmail() {
String emailPattern = r"^[a-zA-Z0-9.a-zA-Z0-9.!#$%&'*+-/=?^_`{|}~]+@[a-zA-Z0-9]+\.[a-zA-Z]+";
return RegExp(emailPattern).hasMatch(getValueOrDefault);
}
bool isPhone() {
String phoneP... | 2 |
atageldi194229/ylham_motors_app | 59f3cf6 | lib/auth/ui/widgets/otp_code_input.dart | Dart | www.github.com/atageldi194229/ylham_motors_app/tree/main/lib/auth/ui/widgets/otp_code_input.dart | https://raw.githubusercontent.com/atageldi194229/ylham_motors_app/59f3cf6/lib/auth/ui/widgets/otp_code_input.dart | atageldi194229/ylham_motors_app 59f3cf6 lib/auth/ui/widgets/otp_code_input.dart | true | 200 | 717 | import 'package:flutter/material.dart';
import 'package:phosphor_flutter/phosphor_flutter.dart';
class OtpCodeInput extends StatelessWidget {
const OtpCodeInput({
this.controller,
this.onChanged,
this.readOnly = false,
super.key,
});
final TextEditingController? controller;
final void Function... | 3 |
RulyOctareza/restaurant_app_dicoding | 1027b16 | lib/provider/reviews/add_review_provider.dart | Dart | www.github.com/RulyOctareza/restaurant_app_dicoding/tree/main/lib/provider/reviews/add_review_provider.dart | https://raw.githubusercontent.com/RulyOctareza/restaurant_app_dicoding/1027b16/lib/provider/reviews/add_review_provider.dart | RulyOctareza/restaurant_app_dicoding 1027b16 lib/provider/reviews/add_review_provider.dart | true | 200 | 1,569 | import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
import '../../data/model/restaurant/restaurant_review.dart';
class AddReviewProvider extends ChangeNotifier {
List<CustomerReview> _reviews = [];
List<CustomerReview> get reviews => _reviews;
Future<void> a... | 1 |
ReemYasser66/Azkar | ab9d4b8 | lib/rokia.dart | Dart | www.github.com/ReemYasser66/Azkar/tree/main/lib/rokia.dart | https://raw.githubusercontent.com/ReemYasser66/Azkar/ab9d4b8/lib/rokia.dart | ReemYasser66/Azkar ab9d4b8 lib/rokia.dart | true | 200 | 3,599 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'home.dart';
class Rokia extends StatefulWidget {
const Rokia({super.key});
@override
State<Rokia> createState() => _RokiaState();
}
class _RokiaState extends State<Rokia> {
List rokia =[
'(( أعوذ بكلمات الله التامات... | 0 |
PatrickSLuz/weather_forecast_app | 9e9d3dd | lib/app/features/forecast/ui/forecast_page.dart | Dart | www.github.com/PatrickSLuz/weather_forecast_app/tree/main/lib/app/features/forecast/ui/forecast_page.dart | https://raw.githubusercontent.com/PatrickSLuz/weather_forecast_app/9e9d3dd/lib/app/features/forecast/ui/forecast_page.dart | PatrickSLuz/weather_forecast_app 9e9d3dd lib/app/features/forecast/ui/forecast_page.dart | true | 200 | 3,539 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:weather_forecast_app/app/features/ad/banner_ad_widget.dart';
import 'package:weather_forecast_app/app/features/menu_drawer/ui/menu_drawer.dart';
import 'package:weather_forecast_app/app/features/forecast/domain/cubi... | 6 |
lutfiseptian/dvi | d24f278 | lib/model/transaction.dart | Dart | www.github.com/lutfiseptian/dvi/tree/main/lib/model/transaction.dart | https://raw.githubusercontent.com/lutfiseptian/dvi/d24f278/lib/model/transaction.dart | lutfiseptian/dvi d24f278 lib/model/transaction.dart | true | 200 | 1,237 | // To parse this JSON data, do
//
// final transactionModel = transactionModelFromJson(jsonString);
import 'dart:convert';
List<TransactionModel> transactionModelFromJson(String str) =>
List<TransactionModel>.from(
json.decode(str).map((x) => TransactionModel.fromJson(x)));
String transactionModelToJ... | 4 |
jovantanyk/etmsapp | d81806f | lib/features/registration/viewmodel/DatePickerNotifier.dart | Dart | www.github.com/jovantanyk/etmsapp/tree/main/lib/features/registration/viewmodel/DatePickerNotifier.dart | https://raw.githubusercontent.com/jovantanyk/etmsapp/d81806f/lib/features/registration/viewmodel/DatePickerNotifier.dart | jovantanyk/etmsapp d81806f lib/features/registration/viewmodel/DatePickerNotifier.dart | true | 200 | 763 | import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
import 'package:provider/provider.dart';
import 'package:stacked/stacked.dart';
class DatePickerNotifier extends BaseViewModel {
/// DatePicker Notifier manages state for DateTextField widget
String selectedDate = "";
Future<void> selectD... | 5 |
shakibhoseen/chat_app_flutter | 1865286 | lib/respository/message_repository.dart | Dart | www.github.com/shakibhoseen/chat_app_flutter/tree/main/lib/respository/message_repository.dart | https://raw.githubusercontent.com/shakibhoseen/chat_app_flutter/1865286/lib/respository/message_repository.dart | shakibhoseen/chat_app_flutter 1865286 lib/respository/message_repository.dart | true | 200 | 1,049 | import 'package:chat_app_flutter/data/network/base_api_services.dart';
import 'package:chat_app_flutter/data/network/network_api_services.dart';
import 'package:chat_app_flutter/model/chat_model.dart';
import 'package:firebase_database/firebase_database.dart';
class MessageRepository {
final BaseApiServices _apiServ... | 2 |
rhanilham/22_2241720161_Mobile-Programming | 5c17ef8 | Pertemuan_04/Praktikum5.dart | Dart | www.github.com/rhanilham/22_2241720161_Mobile-Programming/tree/main/Pertemuan_04/Praktikum5.dart | https://raw.githubusercontent.com/rhanilham/22_2241720161_Mobile-Programming/5c17ef8/Pertemuan_04/Praktikum5.dart | rhanilham/22_2241720161_Mobile-Programming 5c17ef8 Pertemuan_04/Praktikum5.dart | true | 200 | 578 | (int, int) tukar((int, int) record) {
var (a, b) = record;
return (b, a);
}
void main() {
var record = (1, 2);
print('Record sebelum ditukar: $record');
var hasilTukar = tukar(record);
print('Record setelah ditukar: $hasilTukar');
(String, int) mahasiswa = ('Rhanilham Fadlillatul Ramadhan', 224172016... | 7 |
mosayeb-masoumi/Weather_Flutter | 060fe08 | lib/weather_feature/presentation/bloc/weather_cubit.dart | Dart | www.github.com/mosayeb-masoumi/Weather_Flutter/tree/main/lib/weather_feature/presentation/bloc/weather_cubit.dart | https://raw.githubusercontent.com/mosayeb-masoumi/Weather_Flutter/060fe08/lib/weather_feature/presentation/bloc/weather_cubit.dart | mosayeb-masoumi/Weather_Flutter 060fe08 lib/weather_feature/presentation/bloc/weather_cubit.dart | true | 200 | 705 | import 'package:bloc/bloc.dart';
import 'package:weather/weather.dart';
import 'package:weather_flutter_project/weather_feature/domain/weather_usecase.dart';
import 'package:weather_flutter_project/weather_feature/presentation/bloc/weather_state.dart';
class WeatherCubit extends Cubit<WeatherState> {
final WeatherUs... | 3 |
akswnd98/drawing_robot_app | d71d3f2 | lib/connection_page.dart | Dart | www.github.com/akswnd98/drawing_robot_app/tree/main/lib/connection_page.dart | https://raw.githubusercontent.com/akswnd98/drawing_robot_app/d71d3f2/lib/connection_page.dart | akswnd98/drawing_robot_app d71d3f2 lib/connection_page.dart | true | 200 | 1,858 | import 'package:drawing_robot_app/connected_device.dart';
import 'package:flutter/material.dart';
import 'package:flutter_blue_plus/flutter_blue_plus.dart';
import 'package:fluttertoast/fluttertoast.dart';
class ConnectionPage extends StatefulWidget {
const ConnectionPage({Key? key}) : super(key: key);
@override
... | 1 |
SaraDrees/ali_fouad_mobile_test_task | 4a137d0 | lib/features/home/main_home/home_binding.dart | Dart | www.github.com/SaraDrees/ali_fouad_mobile_test_task/tree/main/lib/features/home/main_home/home_binding.dart | https://raw.githubusercontent.com/SaraDrees/ali_fouad_mobile_test_task/4a137d0/lib/features/home/main_home/home_binding.dart | SaraDrees/ali_fouad_mobile_test_task 4a137d0 lib/features/home/main_home/home_binding.dart | true | 200 | 383 | import 'package:ali_fouad_app/core/services/service_storage.dart';
import 'package:ali_fouad_app/features/home/main_home/home_controller.dart';
import 'package:get/get.dart';
class HomeBinding extends Bindings{
@override
void dependencies() {
Get.lazyPut(() => HomeController(appRepository: Get.find(), sharedPre... | 0 |
Janron0208/ChampShop | ccddcd0 | lib/widget/imageslide/guild_page_eleven.dart | Dart | www.github.com/Janron0208/ChampShop/tree/main/lib/widget/imageslide/guild_page_eleven.dart | https://raw.githubusercontent.com/Janron0208/ChampShop/ccddcd0/lib/widget/imageslide/guild_page_eleven.dart | Janron0208/ChampShop ccddcd0 lib/widget/imageslide/guild_page_eleven.dart | true | 200 | 9,823 | import 'dart:convert';
import 'package:champshop/widget/product/show_shop_type_Five.dart';
import 'package:dio/dio.dart';
import 'package:flutter/material.dart';
import '../../model/product_model.dart';
import '../../model/user_model.dart';
import '../../utility/my_constant.dart';
import '../product/show_detail_produ... | 6 |
asnakeassefa/ride_telegram_bot | 7a07238 | HudHud_only/commercepal-flutter-master/lib/app/data/db/database_module.dart | Dart | www.github.com/asnakeassefa/ride_telegram_bot/tree/main/HudHud_only/commercepal-flutter-master/lib/app/data/db/database_module.dart | https://raw.githubusercontent.com/asnakeassefa/ride_telegram_bot/7a07238/HudHud_only/commercepal-flutter-master/lib/app/data/db/database_module.dart | asnakeassefa/ride_telegram_bot 7a07238 HudHud_only/commercepal-flutter-master/lib/app/data/db/database_module.dart | true | 200 | 857 | import 'package:commercepal/app/data/db/database.dart';
import 'package:commercepal/core/cart-core/dao/cart_dao.dart';
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
import 'package:injectable/injectable.dart';
import 'migration.dart';
@module
abstract class DatabaseNodule {
@preResolve
@laz... | 2 |
jepapt2/turn1checker | b0475de | lib/viewmodel/cardEdit/card_edit.dart | Dart | www.github.com/jepapt2/turn1checker/tree/main/lib/viewmodel/cardEdit/card_edit.dart | https://raw.githubusercontent.com/jepapt2/turn1checker/b0475de/lib/viewmodel/cardEdit/card_edit.dart | jepapt2/turn1checker b0475de lib/viewmodel/cardEdit/card_edit.dart | true | 200 | 6,975 | import 'dart:math';
import 'package:flutter/material.dart';
import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:realm/realm.dart';
import 'package:riverpod/src/framework.dart';
import 'package:riverpod_annotation/riverpod_annotation.dart';
i... | 5 |
haynermarques/votoseu | 1b5ccb3 | dependencies/shadcn_u_i_kit_v48jv9/lib/library_components/progress_bar/progress_bar_widget.dart | Dart | www.github.com/haynermarques/votoseu/tree/main/dependencies/shadcn_u_i_kit_v48jv9/lib/library_components/progress_bar/progress_bar_widget.dart | https://raw.githubusercontent.com/haynermarques/votoseu/1b5ccb3/dependencies/shadcn_u_i_kit_v48jv9/lib/library_components/progress_bar/progress_bar_widget.dart | haynermarques/votoseu 1b5ccb3 dependencies/shadcn_u_i_kit_v48jv9/lib/library_components/progress_bar/progress_bar_widget.dart | true | 200 | 1,749 | import '/flutter_flow/flutter_flow_util.dart';
import 'package:ff_theme/flutter_flow/flutter_flow_theme.dart';
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:percent_indicator/percent_indicator.dart';
import 'package:provider/provider.dart';
import 'progress_bar... | 7 |
Myayam1/ZaffNews | 136d3a6 | lib/models/news_model.dart | Dart | www.github.com/Myayam1/ZaffNews/tree/main/lib/models/news_model.dart | https://raw.githubusercontent.com/Myayam1/ZaffNews/136d3a6/lib/models/news_model.dart | Myayam1/ZaffNews 136d3a6 lib/models/news_model.dart | true | 200 | 969 | class NewsModel {
String channelImagePath;
String channelName;
String headline;
String timeUploaded;
String newsImagePath;
bool isSaved;
NewsModel({
required this.channelImagePath,
required this.channelName,
required this.headline,
required this.timeUploaded,
required this.newsImagePa... | 4 |
mdddj/simple_shop_v2 | 4d1df5f | lib/screen/taobao_activity/view.dart | Dart | www.github.com/mdddj/simple_shop_v2/tree/main/lib/screen/taobao_activity/view.dart | https://raw.githubusercontent.com/mdddj/simple_shop_v2/4d1df5f/lib/screen/taobao_activity/view.dart | mdddj/simple_shop_v2 4d1df5f lib/screen/taobao_activity/view.dart | true | 200 | 1,244 | import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'logic.dart';
/// 活动页面
class TaobaoActivityPage extends StatefulWidget {
final String activityId; // 活动id
final String title; // 活动名字
const TaobaoActivityPage({Key? key, required this.activityId,required this.... | 3 |
XMlangsi/LangsiStewardApp | c3ca0fd | temp/lib/common/MyRoutes.dart | Dart | www.github.com/XMlangsi/LangsiStewardApp/tree/main/temp/lib/common/MyRoutes.dart | https://raw.githubusercontent.com/XMlangsi/LangsiStewardApp/c3ca0fd/temp/lib/common/MyRoutes.dart | XMlangsi/LangsiStewardApp c3ca0fd temp/lib/common/MyRoutes.dart | true | 200 | 1,168 | //配置路由
import 'package:flutter/material.dart';
import '../page/mainpage.dart';
import 'LoginPrefs.dart';
import '../page/login.dart';
import '../main.dart';
/*
* 这个方法是固定写法,功能就像是一个拦截器。
*/
Route<dynamic>? onGenerateRoute(RouteSettings settings) {
Map<String, Widget> routes = {
'home': MainNavigato... | 1 |
tangchao0106/flutter2021 | adedaf6 | lib/view/demo/get/index_page.dart | Dart | www.github.com/tangchao0106/flutter2021/tree/main/lib/view/demo/get/index_page.dart | https://raw.githubusercontent.com/tangchao0106/flutter2021/adedaf6/lib/view/demo/get/index_page.dart | tangchao0106/flutter2021 adedaf6 lib/view/demo/get/index_page.dart | true | 200 | 3,857 | import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:get/get.dart';
import 'package:logger/logger.dart';
import 'package:untitled/util/icon_font.dart';
import 'package:untitled/view/demo/get/wanandroid/home.dart';
import '../Demo1101about.dart';
class IndexPage extends State... | 0 |
Er1ck-Esp1n0sa/P-ISW-mHealth | 5e4431a | lib/main.dart | Dart | www.github.com/Er1ck-Esp1n0sa/P-ISW-mHealth/tree/main/lib/main.dart | https://raw.githubusercontent.com/Er1ck-Esp1n0sa/P-ISW-mHealth/5e4431a/lib/main.dart | Er1ck-Esp1n0sa/P-ISW-mHealth 5e4431a lib/main.dart | true | 200 | 2,267 | import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:nhealth/NotificationDemo.dart';
import 'package:nhealth/Screens/CalenderPage.dart';
import 'package:nhealth/Screens/PeriodTrackerPage.dart';
import 'package:nhealth... | 6 |
Yonathan-Dev/AzzortiVentasLider | 27b19a2 | lib/app/data/services/remote/mda_remote.dart | Dart | www.github.com/Yonathan-Dev/AzzortiVentasLider/tree/main/lib/app/data/services/remote/mda_remote.dart | https://raw.githubusercontent.com/Yonathan-Dev/AzzortiVentasLider/27b19a2/lib/app/data/services/remote/mda_remote.dart | Yonathan-Dev/AzzortiVentasLider 27b19a2 lib/app/data/services/remote/mda_remote.dart | true | 200 | 3,567 | import 'package:dio/dio.dart';
import 'package:ventas/app/core/constantes.dart';
import '../../models/mda_model.dart';
import 'remote.dart';
class MdaRemote extends Remote {
MdaRemote() {
dio.options.baseUrl = Constantes.co;
}
Future<List<MdaModel>> obtenerRequerimientos(
String consUsua,
String fla... | 5 |
RohitBajracharya/Wow_Fashion_Store | 6fb2f8c | lib/src/common widgets/appbar_widget.dart | Dart | www.github.com/RohitBajracharya/Wow_Fashion_Store/tree/main/lib/src/common widgets/appbar_widget.dart | https://raw.githubusercontent.com/RohitBajracharya/Wow_Fashion_Store/6fb2f8c/lib/src/common%20widgets/appbar_widget.dart | RohitBajracharya/Wow_Fashion_Store 6fb2f8c lib/src/common widgets/appbar_widget.dart | true | 200 | 1,418 | // ignore_for_file: public_member_api_docs, sort_constructors_first
import 'package:admin_side/src/data/controller/theme_controller.dart';
import 'package:admin_side/src/utils/utils.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
class AppBarWidget extends StatefulWidget implements Prefer... | 7 |
tarunm2108/my_buddy | 4112bce | lib/utills/utility.dart | Dart | www.github.com/tarunm2108/my_buddy/tree/main/lib/utills/utility.dart | https://raw.githubusercontent.com/tarunm2108/my_buddy/4112bce/lib/utills/utility.dart | tarunm2108/my_buddy 4112bce lib/utills/utility.dart | true | 200 | 558 | import 'dart:io';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
class Utility {
static void exitFromApp() {
try {
if (Platform.isAndroid) {
SystemNavigator.pop();
} else if (Platform.isIOS) {
exit(0);
}
} catch (e) {
exit(0);
}
... | 4 |
KRaval-tech/wallpaper_2-main | b4cc163 | lib/routes/app_routes.dart | Dart | www.github.com/KRaval-tech/wallpaper_2-main/tree/main/lib/routes/app_routes.dart | https://raw.githubusercontent.com/KRaval-tech/wallpaper_2-main/b4cc163/lib/routes/app_routes.dart | KRaval-tech/wallpaper_2-main b4cc163 lib/routes/app_routes.dart | true | 200 | 1,840 | // lib/routes/app_routes.dart
import 'package:flutter/material.dart';
import 'package:wallpaper_2/screens/home_one_screen/home_one_screen.dart';
import 'package:wallpaper_2/screens/categories/categories_screen.dart';
//import 'package:wallpaper_2/screens/premium_screen/premium_screen.dart';
import 'package:wallpaper_2... | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.