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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
GisoreB/flutter_horizontal_list | f573a17 | lib/main.dart | Dart | www.github.com/GisoreB/flutter_horizontal_list/tree/main/lib/main.dart | https://raw.githubusercontent.com/GisoreB/flutter_horizontal_list/f573a17/lib/main.dart | GisoreB/flutter_horizontal_list f573a17 lib/main.dart | true | 200 | 2,037 | import 'package:flutter/material.dart';
import 'package:expansion_tile_card/expansion_tile_card.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
title: 'ExpansionTileCa... | 0 |
BomsTechnology/hackaton-momo-ui | ef6f33b | lib/pages/scanner_page.dart | Dart | www.github.com/BomsTechnology/hackaton-momo-ui/tree/main/lib/pages/scanner_page.dart | https://raw.githubusercontent.com/BomsTechnology/hackaton-momo-ui/ef6f33b/lib/pages/scanner_page.dart | BomsTechnology/hackaton-momo-ui ef6f33b lib/pages/scanner_page.dart | true | 200 | 6,811 | import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:hackaton_momo/main.dart';
import 'package:hackaton_momo/pages/enter_pin_page.dart';
import 'package:hackaton_momo/pages/no_internet_page.dart';
import 'package:hackaton_momo/services/auth.dart';
import 'package:hack... | 7 |
yseongk720/mirrorApp | e29c89f | coummunity/create_page.dart | Dart | www.github.com/yseongk720/mirrorApp/tree/main/coummunity/create_page.dart | https://raw.githubusercontent.com/yseongk720/mirrorApp/e29c89f/coummunity/create_page.dart | yseongk720/mirrorApp e29c89f coummunity/create_page.dart | true | 200 | 3,271 | import 'dart:convert';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:prc6/widget/mainpage.dart';
import 'package:prc6/coummunity/community.dart';
import 'package:prc6/http_setup.dart';
class CreatePage extends StatefulWidget {
@override
_CreatePageState createStat... | 1 |
biodun-dev/Service-Provider-Mobile-IOS-Android-UrbanXperts | b191fe3 | uzmart_seller-demand/lib/infrastructure/models/data/chart_data.dart | Dart | www.github.com/biodun-dev/Service-Provider-Mobile-IOS-Android-UrbanXperts/tree/main/uzmart_seller-demand/lib/infrastructure/models/data/chart_data.dart | https://raw.githubusercontent.com/biodun-dev/Service-Provider-Mobile-IOS-Android-UrbanXperts/b191fe3/uzmart_seller-demand/lib/infrastructure/models/data/chart_data.dart | biodun-dev/Service-Provider-Mobile-IOS-Android-UrbanXperts b191fe3 uzmart_seller-demand/lib/infrastructure/models/data/chart_data.dart | true | 200 | 723 | class ChartData {
double? totalPrice;
int? count;
DateTime? time;
ChartData({
this.totalPrice,
this.count,
this.time,
});
ChartData copyWith({
double? totalPrice,
int? count,
DateTime? time,
}) =>
ChartData(
totalPrice: totalPrice ?? this.totalPrice,
count: ... | 2 |
JosephRidge/Cakehaven | dc92231 | lib/pages/myhomepage.dart | Dart | www.github.com/JosephRidge/Cakehaven/tree/main/lib/pages/myhomepage.dart | https://raw.githubusercontent.com/JosephRidge/Cakehaven/dc92231/lib/pages/myhomepage.dart | JosephRidge/Cakehaven dc92231 lib/pages/myhomepage.dart | true | 200 | 2,463 | import 'package:flutter/material.dart';
import '../widgets/text.dart';
import '../utils/constants.dart' as globalConstants;
import '../widgets/edittext.dart';
import '../pages/cakepage.dart';
class MyHomePage extends StatefulWidget {
const MyHomePage({super.key, required this.title});
final String title;
@overr... | 3 |
yosijulia31/LapMobile3_YosiJuliaUtami_D | e1e83ff | lib/settings_page.dart | Dart | www.github.com/yosijulia31/LapMobile3_YosiJuliaUtami_D/tree/main/lib/settings_page.dart | https://raw.githubusercontent.com/yosijulia31/LapMobile3_YosiJuliaUtami_D/e1e83ff/lib/settings_page.dart | yosijulia31/LapMobile3_YosiJuliaUtami_D e1e83ff lib/settings_page.dart | true | 200 | 562 | import 'package:flutter/material.dart';
class SettingsPage extends StatelessWidget {
final Function onThemeChange;
final bool isDarkMode;
SettingsPage({required this.onThemeChange, required this.isDarkMode});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: Te... | 4 |
PEPPEOHz/TesteSmartPDv | fc35bf1 | lib/backend/schema/produtos_p_d_v_record.dart | Dart | www.github.com/PEPPEOHz/TesteSmartPDv/tree/main/lib/backend/schema/produtos_p_d_v_record.dart | https://raw.githubusercontent.com/PEPPEOHz/TesteSmartPDv/fc35bf1/lib/backend/schema/produtos_p_d_v_record.dart | PEPPEOHz/TesteSmartPDv fc35bf1 lib/backend/schema/produtos_p_d_v_record.dart | true | 200 | 3,855 | import 'dart:async';
import 'package:collection/collection.dart';
import '/backend/schema/util/firestore_util.dart';
import 'index.dart';
import '/flutter_flow/flutter_flow_util.dart';
class ProdutosPDVRecord extends FirestoreRecord {
ProdutosPDVRecord._(
super.reference,
super.data,
) {
_initialize... | 0 |
The-Cool-Kids-2024/BudgetingApp | 42d4249 | lib/Pages/login.dart | Dart | www.github.com/The-Cool-Kids-2024/BudgetingApp/tree/main/lib/Pages/login.dart | https://raw.githubusercontent.com/The-Cool-Kids-2024/BudgetingApp/42d4249/lib/Pages/login.dart | The-Cool-Kids-2024/BudgetingApp 42d4249 lib/Pages/login.dart | true | 200 | 3,714 | // ignore_for_file: use_build_context_synchronously
import 'package:flutter/material.dart';
import 'package:test_flutter/PopUp.dart';
import '../CCTheme.dart';
import 'package:postgres/postgres.dart';
import 'package:crypto/crypto.dart';
import 'dart:convert';
import '../User.dart';
import '../Database.dart';
import '... | 7 |
cvhv242/flashChat | 7667661 | lib/main.dart | Dart | www.github.com/cvhv242/flashChat/tree/main/lib/main.dart | https://raw.githubusercontent.com/cvhv242/flashChat/7667661/lib/main.dart | cvhv242/flashChat 7667661 lib/main.dart | true | 200 | 1,311 | import 'package:firebase_core/firebase_core.dart';
import 'package:flash_chat/utilities/push_notofications.dart';
import 'package:flash_chat/screens/chat_screen.dart';
import 'package:flash_chat/screens/login_screen.dart';
import 'package:flash_chat/screens/registration_screen.dart';
import 'package:flash_chat/screens/... | 5 |
erenincesu10/dog_app | 50a8773 | lib/app/presentation/home/home_view.dart | Dart | www.github.com/erenincesu10/dog_app/tree/main/lib/app/presentation/home/home_view.dart | https://raw.githubusercontent.com/erenincesu10/dog_app/50a8773/lib/app/presentation/home/home_view.dart | erenincesu10/dog_app 50a8773 lib/app/presentation/home/home_view.dart | true | 200 | 2,556 | import 'package:dog_app/app/core/extensions/build_context_extensions.dart';
import 'package:dog_app/app/presentation/home/bloc/home_bloc.dart';
import 'package:dog_app/app/presentation/home/widgets/grid_container.dart';
import 'package:dog_app/app/presentation/home/widgets/no_results_widget.dart';
import 'package:flutt... | 6 |
harko17/oru | f1ff425 | lib/services/auth_service.dart | Dart | www.github.com/harko17/oru/tree/main/lib/services/auth_service.dart | https://raw.githubusercontent.com/harko17/oru/f1ff425/lib/services/auth_service.dart | harko17/oru f1ff425 lib/services/auth_service.dart | true | 200 | 2,864 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/material.dart';
import 'package:firebase_auth/firebase_auth.dart';
class AuthService with ChangeNotifier {
final FirebaseAuth _auth = FirebaseAuth.instance;
final FirebaseFirestore _firestore = FirebaseFirestore.instance;
bool _isLoad... | 1 |
fadilyas24/aplikasi_bsu | 5ac0c4e | lib/ui/widget/home_activity.dart | Dart | www.github.com/fadilyas24/aplikasi_bsu/tree/main/lib/ui/widget/home_activity.dart | https://raw.githubusercontent.com/fadilyas24/aplikasi_bsu/5ac0c4e/lib/ui/widget/home_activity.dart | fadilyas24/aplikasi_bsu 5ac0c4e lib/ui/widget/home_activity.dart | true | 200 | 1,594 | import 'package:flutter/material.dart';
import '../../shared/theme.dart';
class ActvityItem extends StatelessWidget {
final String iconUrl;
final String title;
final String time;
final String value;
final String? color;
const ActvityItem({
Key? key,
required this.iconUrl,
required this.title,... | 3 |
dzholdoshbekov/booster-mobile | 784ea78 | lib/core/constants/style/style.dart | Dart | www.github.com/dzholdoshbekov/booster-mobile/tree/main/lib/core/constants/style/style.dart | https://raw.githubusercontent.com/dzholdoshbekov/booster-mobile/784ea78/lib/core/constants/style/style.dart | dzholdoshbekov/booster-mobile 784ea78 lib/core/constants/style/style.dart | true | 200 | 816 | import 'package:flutter/material.dart';
class CustomColors {
static Color primaryColor = const Color(0xff47A6DC);
static Color secondaryColor = const Color(0xffF0F0F0);
static Color secondaryTextColor = const Color(0xff808080);
static Color blackorigin = const Color(0xff202020);
static Color secondaryColorDa... | 0 |
ohJeez/Athenna-Path | b1e2682 | lib/screens/registration/registration5.dart | Dart | www.github.com/ohJeez/Athenna-Path/tree/main/lib/screens/registration/registration5.dart | https://raw.githubusercontent.com/ohJeez/Athenna-Path/b1e2682/lib/screens/registration/registration5.dart | ohJeez/Athenna-Path b1e2682 lib/screens/registration/registration5.dart | true | 200 | 7,143 | import 'package:flutter/material.dart';
import '../../services/company_service.dart';
import '../login/login2.dart';
class PasswordRegistrationPage extends StatefulWidget {
final Map<String, String> companyData;
const PasswordRegistrationPage({
super.key,
required this.companyData,
});
@override
St... | 4 |
jonbobo/music_reviewapp | e9d6248 | music_junkie/lib/screens/forgot_password_screen.dart | Dart | www.github.com/jonbobo/music_reviewapp/tree/main/music_junkie/lib/screens/forgot_password_screen.dart | https://raw.githubusercontent.com/jonbobo/music_reviewapp/e9d6248/music_junkie/lib/screens/forgot_password_screen.dart | jonbobo/music_reviewapp e9d6248 music_junkie/lib/screens/forgot_password_screen.dart | true | 200 | 1,858 | import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
class ForgotPasswordScreen extends StatefulWidget {
@override
_ForgotPasswordScreenState createState() => _ForgotPasswordScreenState();
}
class _ForgotPasswordScreenState extends State<ForgotPasswordScreen> {
fin... | 7 |
omarabdelftah83/food_delivery_app_ui | 0fef08d | lib/presentasion/widget/verify/PinCodeAndKeyBord.dart | Dart | www.github.com/omarabdelftah83/food_delivery_app_ui/tree/main/lib/presentasion/widget/verify/PinCodeAndKeyBord.dart | https://raw.githubusercontent.com/omarabdelftah83/food_delivery_app_ui/0fef08d/lib/presentasion/widget/verify/PinCodeAndKeyBord.dart | omarabdelftah83/food_delivery_app_ui 0fef08d lib/presentasion/widget/verify/PinCodeAndKeyBord.dart | true | 200 | 5,053 | import 'package:flutter/material.dart';
import 'package:pin_code_fields/pin_code_fields.dart';
class PinCodeAndKeyBord extends StatefulWidget {
@override
_PinCodeScreenState createState() => _PinCodeScreenState();
}
class _PinCodeScreenState extends State<PinCodeAndKeyBord> {
late TextEditingController pinContr... | 5 |
manas-yu/flipzon | 22e59f3 | lib/widgets/order_item_tile.dart | Dart | www.github.com/manas-yu/flipzon/tree/main/lib/widgets/order_item_tile.dart | https://raw.githubusercontent.com/manas-yu/flipzon/22e59f3/lib/widgets/order_item_tile.dart | manas-yu/flipzon 22e59f3 lib/widgets/order_item_tile.dart | true | 200 | 2,838 | import 'package:flutter/material.dart';
import 'dart:math';
import 'package:flutter_complete_guide/providers/orders.dart';
import 'package:intl/intl.dart';
class OrderItemTile extends StatefulWidget {
final OrderItem order;
OrderItemTile(this.order);
@override
State<OrderItemTile> createState() => _OrderItemT... | 6 |
DhiWise/DhiBasket | 4a93733 | lib/core/utils/initial_bindings.dart | Dart | www.github.com/DhiWise/DhiBasket/tree/main/lib/core/utils/initial_bindings.dart | https://raw.githubusercontent.com/DhiWise/DhiBasket/4a93733/lib/core/utils/initial_bindings.dart | DhiWise/DhiBasket 4a93733 lib/core/utils/initial_bindings.dart | true | 200 | 523 | import 'package:grocery_app/core/app_export.dart';
import 'package:grocery_app/data/apiClient/api_client.dart';
import 'package:firebase_core/firebase_core.dart';
import '../../firebase_options.dart';
class InitialBindings extends Bindings {
@override
void dependencies() async {
Get.put(PrefUtils());
Get.p... | 1 |
Mohamedramzii/Ultra-Store | 86eabaf | lib/features/admin/presentation/refactors/dashboard_body.dart | Dart | www.github.com/Mohamedramzii/Ultra-Store/tree/main/lib/features/admin/presentation/refactors/dashboard_body.dart | https://raw.githubusercontent.com/Mohamedramzii/Ultra-Store/86eabaf/lib/features/admin/presentation/refactors/dashboard_body.dart | Mohamedramzii/Ultra-Store 86eabaf lib/features/admin/presentation/refactors/dashboard_body.dart | true | 200 | 2,449 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:full_ecommerce_app/core/extensions/context_extensions.dart';
import 'package:full_ecommerce_app/core/style/colors/dark_colors.dart';
import 'package:full_... | 2 |
nour-srour-mallah/application-using-flutter_mental-health-app | 99130cf | lib/model/sign_up/sign_up_controller.dart | Dart | www.github.com/nour-srour-mallah/application-using-flutter_mental-health-app/tree/main/lib/model/sign_up/sign_up_controller.dart | https://raw.githubusercontent.com/nour-srour-mallah/application-using-flutter_mental-health-app/99130cf/lib/model/sign_up/sign_up_controller.dart | nour-srour-mallah/application-using-flutter_mental-health-app 99130cf lib/model/sign_up/sign_up_controller.dart | true | 200 | 4,528 | import 'dart:convert';
import 'package:intl/intl.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:http/http.dart' as http;
import '../../resources/color-manager.dart';
class SignUpController extends GetxController {
final String apiUrl = 'https://selene-m-h.up.railway.... | 3 |
elshoram974/bookly | 07bc45b | lib/features/home/presentation/screens/details_screen.dart | Dart | www.github.com/elshoram974/bookly/tree/main/lib/features/home/presentation/screens/details_screen.dart | https://raw.githubusercontent.com/elshoram974/bookly/07bc45b/lib/features/home/presentation/screens/details_screen.dart | elshoram974/bookly 07bc45b lib/features/home/presentation/screens/details_screen.dart | true | 200 | 1,340 | import 'package:bookly/core/utils/constants/app_constants.dart';
import 'package:bookly/features/home/domain/entities/home_entity.dart';
import 'package:flutter/material.dart';
import '../widgets/details/can_like/can_like.dart';
import '../widgets/details/custom_details_app_bar.dart';
import '../widgets/details/button... | 0 |
nppp1990/diary_temp | c973c98 | lib/diary/widgets/list/diary_list3.dart | Dart | www.github.com/nppp1990/diary_temp/tree/main/lib/diary/widgets/list/diary_list3.dart | https://raw.githubusercontent.com/nppp1990/diary_temp/c973c98/lib/diary/widgets/list/diary_list3.dart | nppp1990/diary_temp c973c98 lib/diary/widgets/list/diary_list3.dart | true | 200 | 17,743 | import 'package:dribbble/diary/common/test_colors.dart';
import 'package:dribbble/diary/common/test_configuration.dart';
import 'package:dribbble/diary/data/bean/record.dart';
import 'package:dribbble/diary/data/sqlite_helper.dart';
import 'package:dribbble/diary/utils/dialog_utils.dart';
import 'package:dribbble/diary... | 7 |
miracle7937/book_app | 3aba19d | lib/home_screen/widget/shimmer.dart | Dart | www.github.com/miracle7937/book_app/tree/main/lib/home_screen/widget/shimmer.dart | https://raw.githubusercontent.com/miracle7937/book_app/3aba19d/lib/home_screen/widget/shimmer.dart | miracle7937/book_app 3aba19d lib/home_screen/widget/shimmer.dart | true | 200 | 694 | import 'package:flutter/material.dart';
import 'package:shimmer/shimmer.dart';
import '../../utils/color.dart';
class ShimmerView extends StatelessWidget {
final double height;
const ShimmerView({Key? key, required this.height}) : super(key: key);
@override
Widget build(BuildContext context) {
return Siz... | 4 |
ewaldhorn/whatamess | edd0e95 | languages/dart/flutter/canvas/visual_sort/lib/bubble_sort/bubble_sort_widget.dart | Dart | www.github.com/ewaldhorn/whatamess/tree/main/languages/dart/flutter/canvas/visual_sort/lib/bubble_sort/bubble_sort_widget.dart | https://raw.githubusercontent.com/ewaldhorn/whatamess/edd0e95/languages/dart/flutter/canvas/visual_sort/lib/bubble_sort/bubble_sort_widget.dart | ewaldhorn/whatamess edd0e95 languages/dart/flutter/canvas/visual_sort/lib/bubble_sort/bubble_sort_widget.dart | true | 200 | 3,963 | import 'dart:async';
import 'dart:math';
import 'package:flutter/material.dart';
import '../number_chart/number_chart.dart';
class BubbleSorter extends StatefulWidget {
const BubbleSorter({super.key});
@override
State<BubbleSorter> createState() => _BubbleSorterState();
}
class _BubbleSorterState extends Sta... | 5 |
thisisdoanh/HIT_PROJECT | efc41e6 | music_app/lib/screens/profile/profile.dart | Dart | www.github.com/thisisdoanh/HIT_PROJECT/tree/main/music_app/lib/screens/profile/profile.dart | https://raw.githubusercontent.com/thisisdoanh/HIT_PROJECT/efc41e6/music_app/lib/screens/profile/profile.dart | thisisdoanh/HIT_PROJECT efc41e6 music_app/lib/screens/profile/profile.dart | true | 200 | 5,171 | import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
import 'package:music_app/base_widget/button.dart';
import 'package:music_app/base_widget/image.dart';
import 'package:music_app/const/component.dart';
import 'package:music_app/const/dimen.dart';
import 'package:music_app/data_api/data_api.dart';... | 1 |
D-Emman/Quicks | 4d5025b | lib/Assistants/requestAssistant.dart | Dart | www.github.com/D-Emman/Quicks/tree/main/lib/Assistants/requestAssistant.dart | https://raw.githubusercontent.com/D-Emman/Quicks/4d5025b/lib/Assistants/requestAssistant.dart | D-Emman/Quicks 4d5025b lib/Assistants/requestAssistant.dart | true | 200 | 444 | import 'dart:convert';
import 'package:http/http.dart' as http;
class RequestAssistant{
static Future<dynamic> getRequest(String url)async{
http.Response response = await http.get(Uri.parse(url));
try{
if(response.statusCode ==200){
String jsonData = response.body;
var decodeData = jsonDecode(jso... | 2 |
MedicCount/medic_count_fe | 6df7954 | lib/components/base_doughnut_chart.dart | Dart | www.github.com/MedicCount/medic_count_fe/tree/main/lib/components/base_doughnut_chart.dart | https://raw.githubusercontent.com/MedicCount/medic_count_fe/6df7954/lib/components/base_doughnut_chart.dart | MedicCount/medic_count_fe 6df7954 lib/components/base_doughnut_chart.dart | true | 200 | 1,052 | import 'package:flutter/material.dart';
import 'package:medic_count_fe/classes/chart_data.dart';
import 'package:syncfusion_flutter_charts/charts.dart';
class BaseDoughnutChart extends StatelessWidget {
final List<ChartData> data;
const BaseDoughnutChart({Key? key, required this.data}) : super(key: key);
@over... | 3 |
mohammedALrabeai/product | c372b4b | lib/app/modules/products/widgets/cat_widget.dart | Dart | www.github.com/mohammedALrabeai/product/tree/main/lib/app/modules/products/widgets/cat_widget.dart | https://raw.githubusercontent.com/mohammedALrabeai/product/c372b4b/lib/app/modules/products/widgets/cat_widget.dart | mohammedALrabeai/product c372b4b lib/app/modules/products/widgets/cat_widget.dart | true | 200 | 1,468 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import '../../../data/category_model.dart';
import '../controllers/products_controller.dart';
class CategoryWidget extends GetView<ProductsController> {
const CategoryWidget({super.key, required this.category});
final Category category;
@ov... | 4 |
fwdAndroid/wholesalegrocery | a6465c9 | lib/widget/app_bar_textfield.dart | Dart | www.github.com/fwdAndroid/wholesalegrocery/tree/main/lib/widget/app_bar_textfield.dart | https://raw.githubusercontent.com/fwdAndroid/wholesalegrocery/a6465c9/lib/widget/app_bar_textfield.dart | fwdAndroid/wholesalegrocery a6465c9 lib/widget/app_bar_textfield.dart | true | 200 | 1,227 | import 'package:flutter/material.dart';
class AppBarTextField extends StatelessWidget {
final String hintText;
final IconData prefixIcon;
final TextEditingController controller;
final Function(String) onChanged;
const AppBarTextField({
Key? key,
required this.hintText,
required this.prefixIcon,
... | 7 |
FaresMohamed123/testbloc | f88cec7 | lib/features/feature/presentation/cubit/feature_cubit.dart | Dart | www.github.com/FaresMohamed123/testbloc/tree/main/lib/features/feature/presentation/cubit/feature_cubit.dart | https://raw.githubusercontent.com/FaresMohamed123/testbloc/f88cec7/lib/features/feature/presentation/cubit/feature_cubit.dart | FaresMohamed123/testbloc f88cec7 lib/features/feature/presentation/cubit/feature_cubit.dart | true | 200 | 421 | import 'package:equatable/equatable.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
part 'feature_state.dart';
class FeatureCubit extends Cubit<FeatureState> {
FeatureCubit() : super(FeatureInitial());
// static FeatureCubit get (context){
// return BlocProvider.of<FeatureCubit>(context);
// }
i... | 1 |
DanishGujjar91/sb_app | 8841114 | lib/helper_widget/custom_button.dart | Dart | www.github.com/DanishGujjar91/sb_app/tree/main/lib/helper_widget/custom_button.dart | https://raw.githubusercontent.com/DanishGujjar91/sb_app/8841114/lib/helper_widget/custom_button.dart | DanishGujjar91/sb_app 8841114 lib/helper_widget/custom_button.dart | true | 200 | 1,374 | import 'package:flutter/material.dart';
import 'package:sbapp/constants/color_constant.dart';
class CustomButton extends StatelessWidget {
final void Function()? onTap;
final String? text;
final IconData? icon;
const CustomButton({Key? key, this.onTap, this.text, this.icon})
: super(key: key);
@overri... | 2 |
NOOBIERAM/front_flutter | 31fff5e | lib/screen/template/register.dart | Dart | www.github.com/NOOBIERAM/front_flutter/tree/main/lib/screen/template/register.dart | https://raw.githubusercontent.com/NOOBIERAM/front_flutter/31fff5e/lib/screen/template/register.dart | NOOBIERAM/front_flutter 31fff5e lib/screen/template/register.dart | true | 200 | 4,921 | // ignore_for_file: use_build_context_synchronously
import 'package:flutter/material.dart';
import 'dart:convert';
import 'package:flutt_mobile/screen/home.dart';
import 'package:flutt_mobile/service/auth_service.dart';
import 'package:http/http.dart' as http;
import 'package:shared_preferences/shared_preferences.dart... | 6 |
Dareenfadel/splitz | e2bc6fc | lib/ui/screens/client_screens/manage_order_item/widgets/splitted_item_info_card/splitted_item_info_card__demo.dart | Dart | www.github.com/Dareenfadel/splitz/tree/main/lib/ui/screens/client_screens/manage_order_item/widgets/splitted_item_info_card/splitted_item_info_card__demo.dart | https://raw.githubusercontent.com/Dareenfadel/splitz/e2bc6fc/lib/ui/screens/client_screens/manage_order_item/widgets/splitted_item_info_card/splitted_item_info_card__demo.dart | Dareenfadel/splitz e2bc6fc lib/ui/screens/client_screens/manage_order_item/widgets/splitted_item_info_card/splitted_item_info_card__demo.dart | true | 200 | 681 | import 'package:flutter/material.dart';
import 'splitted_item_info_card.dart';
// ignore: camel_case_types
class SplittedItemInfoCard_Demo extends StatelessWidget {
const SplittedItemInfoCard_Demo({
super.key,
});
@override
Widget build(BuildContext context) {
return const MaterialApp(
home: Sc... | 0 |
Eslam23/nectar-app | 9aac84f | lib/core/api_actions/offer/provider_offer.dart | Dart | www.github.com/Eslam23/nectar-app/tree/main/lib/core/api_actions/offer/provider_offer.dart | https://raw.githubusercontent.com/Eslam23/nectar-app/9aac84f/lib/core/api_actions/offer/provider_offer.dart | Eslam23/nectar-app 9aac84f lib/core/api_actions/offer/provider_offer.dart | true | 200 | 379 | import 'package:flutter/cupertino.dart';
import 'package:untitled/core/api_actions/offer/get_method.dart';
import 'model.dart';
class ProviderOffer extends ChangeNotifier{
List<Offers> _offer=[];
List<Offers> get offer => _offer;
Future<void> getAllOffers()async{
notifyListeners();
final response= await ... | 3 |
rehansemri/rugswebsitedemo | 4a8a7ec | lib/website/website.dart | Dart | www.github.com/rehansemri/rugswebsitedemo/tree/main/lib/website/website.dart | https://raw.githubusercontent.com/rehansemri/rugswebsitedemo/4a8a7ec/lib/website/website.dart | rehansemri/rugswebsitedemo 4a8a7ec lib/website/website.dart | true | 200 | 1,024 | import 'dart:io';
import 'package:flutter/material.dart';
import 'package:website/website/categories/categories.dart';
import 'package:website/website/header.dart';
import 'package:website/website/hero/hero.dart';
import 'package:website/website/recent/recent.dart';
import 'awarded/awarded.dart';
import 'footer.dart'... | 7 |
ErickDhoz/Cinemapedia | 5cfa832 | lib/presentation/screens/movies/home_screen.dart | Dart | www.github.com/ErickDhoz/Cinemapedia/tree/main/lib/presentation/screens/movies/home_screen.dart | https://raw.githubusercontent.com/ErickDhoz/Cinemapedia/5cfa832/lib/presentation/screens/movies/home_screen.dart | ErickDhoz/Cinemapedia 5cfa832 lib/presentation/screens/movies/home_screen.dart | true | 200 | 3,592 | import 'package:cinemapedia/presentation/providers/movies/initial_loading_provider.dart';
import 'package:cinemapedia/presentation/providers/movies/movies_providers.dart';
import 'package:cinemapedia/presentation/providers/movies/movies_slideshow_provider.dart';
import 'package:cinemapedia/presentation/screens/movies/m... | 4 |
nandanghermawan21/module-sufi-smart | d7e910a | lib/model/position_model.dart | Dart | www.github.com/nandanghermawan21/module-sufi-smart/tree/main/lib/model/position_model.dart | https://raw.githubusercontent.com/nandanghermawan21/module-sufi-smart/d7e910a/lib/model/position_model.dart | nandanghermawan21/module-sufi-smart d7e910a lib/model/position_model.dart | true | 200 | 2,331 | import 'dart:convert';
import 'dart:io';
import 'package:dio/dio.dart';
import 'package:http/http.dart' as http;
import 'package:sufismart/util/system.dart';
class PositionModel {
int? id; //": 0,
String? ref; //": "string",
DateTime? createDate; //": "2022-04-05T16:01:52.680Z",
double? lat; //": 0,
double?... | 5 |
smallooo/mate_app | d7fa290 | lib/bloc/payment_bloc.dart | Dart | www.github.com/smallooo/mate_app/tree/main/lib/bloc/payment_bloc.dart | https://raw.githubusercontent.com/smallooo/mate_app/d7fa290/lib/bloc/payment_bloc.dart | smallooo/mate_app d7fa290 lib/bloc/payment_bloc.dart | true | 200 | 3,214 | import 'package:flutter/cupertino.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:in_app_purchase/in_app_purchase.dart';
import '../helper/platform.dart';
import '../repo/api/payment.dart';
import '../repo/api_server.dart';
part 'payment_event.dart';
part 'payment_state.dart';
class PaymentBl... | 2 |
bretama99/food-order-and-delivery | d2cc505 | lib/database/attribute_dao.dart | Dart | www.github.com/bretama99/food-order-and-delivery/tree/main/lib/database/attribute_dao.dart | https://raw.githubusercontent.com/bretama99/food-order-and-delivery/d2cc505/lib/database/attribute_dao.dart | bretama99/food-order-and-delivery d2cc505 lib/database/attribute_dao.dart | true | 200 | 9,504 | import 'package:opti_food_app/data_models/attribute_category_model.dart';
import 'package:path_provider/path_provider.dart';
import 'package:sembast/sembast.dart';
import 'package:sembast/sembast_io.dart';
import 'package:path/path.dart';
import '../data_models/attribute_model.dart';
import 'app_database.dart';
import... | 1 |
IAmTheNe/BMI-Calculator | 822f143 | lib/screens/home/home_screen.dart | Dart | www.github.com/IAmTheNe/BMI-Calculator/tree/main/lib/screens/home/home_screen.dart | https://raw.githubusercontent.com/IAmTheNe/BMI-Calculator/822f143/lib/screens/home/home_screen.dart | IAmTheNe/BMI-Calculator 822f143 lib/screens/home/home_screen.dart | true | 200 | 3,053 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:toggle_switch/toggle_switch.dart';
import 'package:bmi_calculator/blocs/cubit/bmi_cubit.dart';
class HomeScreen extends StatefulWidget {
const HomeScreen({super.key... | 0 |
h04nd1nh/Mobile-App-Smart-Home | e814850 | lib/config/router.dart | Dart | www.github.com/h04nd1nh/Mobile-App-Smart-Home/tree/main/lib/config/router.dart | https://raw.githubusercontent.com/h04nd1nh/Mobile-App-Smart-Home/e814850/lib/config/router.dart | h04nd1nh/Mobile-App-Smart-Home e814850 lib/config/router.dart | true | 200 | 614 | import 'package:go_router/go_router.dart';
import '../pages/start_page/start_page.dart';
import '../pages/bottom_tab_bar.dart';
class RouteName {
static const String start = '/';
static const String home = '/home';
// static const publicRoutes = [
// login,
// register,
// ];
}
final router = GoRout... | 6 |
ilhamizu/TB-praktikum-kelompok-13 | 233bc2a | frreetube-main/lib/config/info/app_info.dart | Dart | www.github.com/ilhamizu/TB-praktikum-kelompok-13/tree/main/frreetube-main/lib/config/info/app_info.dart | https://raw.githubusercontent.com/ilhamizu/TB-praktikum-kelompok-13/233bc2a/frreetube-main/lib/config/info/app_info.dart | ilhamizu/TB-praktikum-kelompok-13 233bc2a frreetube-main/lib/config/info/app_info.dart | true | 200 | 529 | import 'package:pstube/foundation/services.dart';
class AppInfo {
static final myApp = SFInfo(
name: 'FreeTube',
nickname: 'FreeTube',
url: '',
description: 'Watch and download videos without ads',
image: 'freetube-logo.png',
);
static List<SFInfo> developerInfos = <SFInfo>[
SFInfo(
... | 3 |
furkansoylemez/chat_app_flutter | 70dad29 | lib/model/message.dart | Dart | www.github.com/furkansoylemez/chat_app_flutter/tree/main/lib/model/message.dart | https://raw.githubusercontent.com/furkansoylemez/chat_app_flutter/70dad29/lib/model/message.dart | furkansoylemez/chat_app_flutter 70dad29 lib/model/message.dart | true | 200 | 801 | import 'package:cloud_firestore/cloud_firestore.dart';
class Message {
Message({
required this.senderId,
required this.receiverId,
required this.content,
required this.timestamp,
});
factory Message.fromDocument(DocumentSnapshot doc) {
return Message(
senderId: doc['senderId'] as Strin... | 5 |
sonamdelvadia/getx_apicall_demo | ed5ae7e | lib/model/product_response.dart | Dart | www.github.com/sonamdelvadia/getx_apicall_demo/tree/main/lib/model/product_response.dart | https://raw.githubusercontent.com/sonamdelvadia/getx_apicall_demo/ed5ae7e/lib/model/product_response.dart | sonamdelvadia/getx_apicall_demo ed5ae7e lib/model/product_response.dart | true | 200 | 3,891 | // To parse this JSON data, do
//
// final productResponse = productResponseFromJson(jsonString);
import 'dart:convert';
List<ProductResponse> productResponseFromJson(String str) => List<ProductResponse>.from(json.decode(str).map((x) => ProductResponse.fromJson(x)));
String productResponseToJson(List<ProductResp... | 4 |
mustafanagori/Pick_Date_Time | 10f2687 | lib/home.dart | Dart | www.github.com/mustafanagori/Pick_Date_Time/tree/main/lib/home.dart | https://raw.githubusercontent.com/mustafanagori/Pick_Date_Time/10f2687/lib/home.dart | mustafanagori/Pick_Date_Time 10f2687 lib/home.dart | true | 200 | 3,031 | import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
class MyDate extends StatefulWidget {
const MyDate({Key? key}) : super(key: key);
@override
_MyDateState createState() => _MyDateState();
}
class _MyDateState extends State<MyDate> {
DateTime selectedDateTime = DateTime.now();
Future... | 7 |
olumuyiwaa/auction_calculator | 64acb78 | lib/conversion_dropdown.dart | Dart | www.github.com/olumuyiwaa/auction_calculator/tree/main/lib/conversion_dropdown.dart | https://raw.githubusercontent.com/olumuyiwaa/auction_calculator/64acb78/lib/conversion_dropdown.dart | olumuyiwaa/auction_calculator 64acb78 lib/conversion_dropdown.dart | true | 200 | 1,456 | import 'package:flutter/material.dart';
class ConversionDropdown extends StatefulWidget {
final Function(String) updateCalculations;
final List<DropdownMenuItem<String>> dropdownlist;
final String dropdownvalue;
const ConversionDropdown({
super.key,
required this.updateCalculations,
required this.... | 2 |
vincegelo10/AquaTrack | a0d618e | lib/providers/user_provider.dart | Dart | www.github.com/vincegelo10/AquaTrack/tree/main/lib/providers/user_provider.dart | https://raw.githubusercontent.com/vincegelo10/AquaTrack/a0d618e/lib/providers/user_provider.dart | vincegelo10/AquaTrack a0d618e lib/providers/user_provider.dart | true | 200 | 4,375 | import 'package:flutter/material.dart';
import 'package:week7_networking_discussion/api/firebase_user_api.dart';
import 'package:week7_networking_discussion/models/user_model.dart';
import 'package:week7_networking_discussion/screens/file_storage.dart';
class UserProvider with ChangeNotifier, WidgetsBindingObserver {
... | 1 |
pokenomondy/MATERIAS_APP | e84fcfc | lib/Pages/contentpage.dart | Dart | www.github.com/pokenomondy/MATERIAS_APP/tree/main/lib/Pages/contentpage.dart | https://raw.githubusercontent.com/pokenomondy/MATERIAS_APP/e84fcfc/lib/Pages/contentpage.dart | pokenomondy/MATERIAS_APP e84fcfc lib/Pages/contentpage.dart | true | 200 | 2,751 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:fluent_ui/fluent_ui.dart';
import 'package:intl/intl.dart';
import 'package:materiapp/Pages/AgregarTemas.dart';
import '../OBJETOS/Materias.dart';
class ContentPage extends StatefulWidget {
final String texto;
final String idcotizacion;
fina... | 0 |
Sharka-Fatima-Abro/dart-level2 | aa4c135 | even.dart | Dart | www.github.com/Sharka-Fatima-Abro/dart-level2/tree/main/even.dart | https://raw.githubusercontent.com/Sharka-Fatima-Abro/dart-level2/aa4c135/even.dart | Sharka-Fatima-Abro/dart-level2 aa4c135 even.dart | true | 200 | 389 | void main() {
// Example input list
List<int> numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
// Print even numbers
printEvenNumbers(numbers);
}
void printEvenNumbers(List<int> numbers) {
for (int number in numbers) {
//yahan py hum divide krengy number ko 2 se agr 0 aya to even hoga else wo odd ho... | 6 |
mbilarusdev/simple_chat | 9cf6bee | lib/core/widget/navigation_scaffold.dart | Dart | www.github.com/mbilarusdev/simple_chat/tree/main/lib/core/widget/navigation_scaffold.dart | https://raw.githubusercontent.com/mbilarusdev/simple_chat/9cf6bee/lib/core/widget/navigation_scaffold.dart | mbilarusdev/simple_chat 9cf6bee lib/core/widget/navigation_scaffold.dart | true | 200 | 3,700 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:go_router/go_router.dart';
import 'package:simple_chat/core/helpers.dart';
import 'package:simple_chat/core/widget/invite_dialog.dart';
import 'package:simple_chat/core/ws/websocket_connector.dart';
import 'package:... | 3 |
zoya-lala/New-Task-Manager | ef9254f | lib/models/user_preferences_model.dart | Dart | www.github.com/zoya-lala/New-Task-Manager/tree/main/lib/models/user_preferences_model.dart | https://raw.githubusercontent.com/zoya-lala/New-Task-Manager/ef9254f/lib/models/user_preferences_model.dart | zoya-lala/New-Task-Manager ef9254f lib/models/user_preferences_model.dart | true | 200 | 307 | import 'package:hive/hive.dart';
part 'user_preferences_model.g.dart';
@HiveType(typeId: 1)
class UserPreferencesModel extends HiveObject {
@HiveField(0)
bool isDarkMode;
@HiveField(1)
String sortOrder;
UserPreferencesModel({
required this.isDarkMode,
required this.sortOrder,
});
}
| 4 |
AyushMaji/CourseHub | 6626532 | lib/page/dashboard/home/subjects/drawing/drawing_page.dart | Dart | www.github.com/AyushMaji/CourseHub/tree/main/lib/page/dashboard/home/subjects/drawing/drawing_page.dart | https://raw.githubusercontent.com/AyushMaji/CourseHub/6626532/lib/page/dashboard/home/subjects/drawing/drawing_page.dart | AyushMaji/CourseHub 6626532 lib/page/dashboard/home/subjects/drawing/drawing_page.dart | true | 200 | 6,253 | import 'package:e_learning/controller/subject/subject_controller.dart';
import 'package:e_learning/page/dashboard/home/courselist/courselist_page.dart';
import 'package:e_learning/widget/sujectcard/subject_card.dart';
import 'package:flutter/material.dart';
import 'package:page_transition/page_transition.dart';
import ... | 5 |
NnAsankaMadushan/QuickHireApp | c82a92e | lib/Screens/Signup_screen.dart | Dart | www.github.com/NnAsankaMadushan/QuickHireApp/tree/main/lib/Screens/Signup_screen.dart | https://raw.githubusercontent.com/NnAsankaMadushan/QuickHireApp/c82a92e/lib/Screens/Signup_screen.dart | NnAsankaMadushan/QuickHireApp c82a92e lib/Screens/Signup_screen.dart | true | 200 | 10,742 | import 'package:chatting_app/screens/login_screen.dart';
import 'package:chatting_app/screens/register_screen.dart';
import 'package:flutter/material.dart';
import 'package:flutter_animate/flutter_animate.dart';
import '../widgets/social_button.dart';
class SignupScreen extends StatefulWidget {
const SignupScreen({s... | 7 |
hayashi19/counter | 65fee6d | lib/controller/ads.dart | Dart | www.github.com/hayashi19/counter/tree/main/lib/controller/ads.dart | https://raw.githubusercontent.com/hayashi19/counter/65fee6d/lib/controller/ads.dart | hayashi19/counter 65fee6d lib/controller/ads.dart | true | 200 | 437 | // ignore_for_file: must_be_immutable
import 'package:flutter/material.dart';
import 'package:google_mobile_ads/google_mobile_ads.dart';
class ADS extends StatelessWidget {
AdWithView ad;
ADS({Key? key, required this.ad}) : super(key: key);
@override
Widget build(BuildContext context) {
return Container(... | 2 |
Mohamed-Roshdy-25/moro_shop | ba81a57 | lib/app/app.dart | Dart | www.github.com/Mohamed-Roshdy-25/moro_shop/tree/main/lib/app/app.dart | https://raw.githubusercontent.com/Mohamed-Roshdy-25/moro_shop/ba81a57/lib/app/app.dart | Mohamed-Roshdy-25/moro_shop ba81a57 lib/app/app.dart | true | 200 | 958 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:moro_shop/presentation/resources/routes_manager.dart';
import 'package:moro_shop/presentation/resources/theme_manager.dart';
class MyApp extends StatefulWidget {
const MyApp._internal();
static con... | 1 |
sarahmaga/lddm | 90403e4 | lddm-master/lib/pages/view/view_calendar.dart | Dart | www.github.com/sarahmaga/lddm/tree/main/lddm-master/lib/pages/view/view_calendar.dart | https://raw.githubusercontent.com/sarahmaga/lddm/90403e4/lddm-master/lib/pages/view/view_calendar.dart | sarahmaga/lddm 90403e4 lddm-master/lib/pages/view/view_calendar.dart | true | 200 | 662 | import 'package:datetime_picker_formfield/datetime_picker_formfield.dart';
import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
class ViewCalendar extends StatefulWidget {
const ViewCalendar({Key? key}) : super(key: key);
@override
State<ViewCalendar> createState() => _ViewCalendarState();
}... | 6 |
jagadkeyur/medpocket | 29ad062 | lib/src/pages/cart/index.dart | Dart | www.github.com/jagadkeyur/medpocket/tree/main/lib/src/pages/cart/index.dart | https://raw.githubusercontent.com/jagadkeyur/medpocket/29ad062/lib/src/pages/cart/index.dart | jagadkeyur/medpocket 29ad062 lib/src/pages/cart/index.dart | true | 200 | 7,794 | import 'package:flutter/material.dart';
import 'package:gradient_borders/box_borders/gradient_box_border.dart';
import 'package:lottie/lottie.dart';
import 'package:medpocket/src/api/order.dart';
import 'package:medpocket/src/api/product.dart';
import 'package:medpocket/src/components/layout/AppBar.dart';
import ... | 0 |
Sanotsu/swmate | fe8a04d | lib/common/utils/db_tools/db_helper.dart | Dart | www.github.com/Sanotsu/swmate/tree/main/lib/common/utils/db_tools/db_helper.dart | https://raw.githubusercontent.com/Sanotsu/swmate/fe8a04d/lib/common/utils/db_tools/db_helper.dart | Sanotsu/swmate fe8a04d lib/common/utils/db_tools/db_helper.dart | true | 200 | 33,878 | // ignore_for_file: avoid_print, constant_identifier_names
import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'package:path/path.dart' as p;
import 'package:sqflite/sqflite.dart';
import 'package:path_provider/path_provider.dart';
import '../../../models/base_model/animal_lover/the_dog_cat_api_bree... | 3 |
mustafanabiev/kurs13 | 17d9d08 | news_app/step_02/lib/views/home_view.dart | Dart | www.github.com/mustafanabiev/kurs13/tree/main/news_app/step_02/lib/views/home_view.dart | https://raw.githubusercontent.com/mustafanabiev/kurs13/17d9d08/news_app/step_02/lib/views/home_view.dart | mustafanabiev/kurs13 17d9d08 news_app/step_02/lib/views/home_view.dart | true | 200 | 865 | import 'package:flutter/material.dart';
import 'package:step_02/models/top_news.dart';
import 'package:step_02/services/fetch_service.dart';
class HomeView extends StatefulWidget {
const HomeView({Key? key}) : super(key: key);
@override
State<HomeView> createState() => _HomeViewState();
}
class _HomeViewState ... | 4 |
GeniusSecret1117/Boxed-Mobile-Boxed-Laravel-Flutter | c98f8a5 | Boxed-Mobile-Boxed-New-Repo3.24.0/lib/widgets/custom_favorite_button.dart | Dart | www.github.com/GeniusSecret1117/Boxed-Mobile-Boxed-Laravel-Flutter/tree/main/Boxed-Mobile-Boxed-New-Repo3.24.0/lib/widgets/custom_favorite_button.dart | https://raw.githubusercontent.com/GeniusSecret1117/Boxed-Mobile-Boxed-Laravel-Flutter/c98f8a5/Boxed-Mobile-Boxed-New-Repo3.24.0/lib/widgets/custom_favorite_button.dart | GeniusSecret1117/Boxed-Mobile-Boxed-Laravel-Flutter c98f8a5 Boxed-Mobile-Boxed-New-Repo3.24.0/lib/widgets/custom_favorite_button.dart | true | 200 | 5,414 | import 'package:animate_do/animate_do.dart';
import 'package:flutter/material.dart';
import 'package:boxed_project/theme/colors.dart';
import 'package:boxed_project/widgets/custom_button.dart';
import 'package:boxed_project/widgets/custom_icon_button.dart';
import 'package:boxed_project/widgets/filled_box.dart';
class... | 5 |
DalaaAsaad/my_project1 | d28b132 | lib/core/data/network/network_config.dart | Dart | www.github.com/DalaaAsaad/my_project1/tree/main/lib/core/data/network/network_config.dart | https://raw.githubusercontent.com/DalaaAsaad/my_project1/d28b132/lib/core/data/network/network_config.dart | DalaaAsaad/my_project1 d28b132 lib/core/data/network/network_config.dart | true | 200 | 636 | import 'package:e_commerce/core/data/repository/shared_prefrence_repository.dart';
import 'package:e_commerce/core/enums/request_type.dart';
import 'package:e_commerce/ui/shared/shared_widget/utiles.dart';
class NetworkConfig {
static Map<String, String> getHeaders(
{bool needauth = false,
required Reque... | 7 |
avazon-eth/avazon-avatar-creator | e929f84 | lib/providers/dio.dart | Dart | www.github.com/avazon-eth/avazon-avatar-creator/tree/main/lib/providers/dio.dart | https://raw.githubusercontent.com/avazon-eth/avazon-avatar-creator/e929f84/lib/providers/dio.dart | avazon-eth/avazon-avatar-creator e929f84 lib/providers/dio.dart | true | 200 | 1,425 | import 'package:avarium_avatar_creator/common/utils.dart';
import 'package:avarium_avatar_creator/providers/secret_value_provider.dart';
import 'package:avarium_avatar_creator/providers/secure_storage_provider.dart';
import 'package:dio/dio.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package... | 2 |
Oppkey/thetax_live_preview | 6e3b2cc | lib/view/file/file_buttons.dart | Dart | www.github.com/Oppkey/thetax_live_preview/tree/main/lib/view/file/file_buttons.dart | https://raw.githubusercontent.com/Oppkey/thetax_live_preview/6e3b2cc/lib/view/file/file_buttons.dart | Oppkey/thetax_live_preview 6e3b2cc lib/view/file/file_buttons.dart | true | 200 | 1,832 | import 'package:flutter/material.dart';
import 'package:thetax_mjpeg/command/thumbs_command.dart';
import 'package:thetax_mjpeg/model/file_notifier.dart';
import 'package:provider/provider.dart';
class FileButtons extends StatelessWidget {
const FileButtons({Key? key}) : super(key: key);
@override
Widget build(... | 1 |
supawichable/ReFoodable | 765b50b | lib/models/item/item.dart | Dart | www.github.com/supawichable/ReFoodable/tree/main/lib/models/item/item.dart | https://raw.githubusercontent.com/supawichable/ReFoodable/765b50b/lib/models/item/item.dart | supawichable/ReFoodable 765b50b lib/models/item/item.dart | true | 200 | 741 | part of '_item.dart';
@freezed
class Item with _$Item {
const factory Item(
{String? name,
@PriceConverter() Price? price,
String? addedBy,
@TimestampConverter() DateTime? createdAt,
@TimestampConverter() DateTime? updatedAt,
String? photoURL}) = _Item;
factory Item.fromJson(Ma... | 6 |
ericclauber/flutter_shop | 2e83701 | lib/components/product_grid.dart | Dart | www.github.com/ericclauber/flutter_shop/tree/main/lib/components/product_grid.dart | https://raw.githubusercontent.com/ericclauber/flutter_shop/2e83701/lib/components/product_grid.dart | ericclauber/flutter_shop 2e83701 lib/components/product_grid.dart | true | 200 | 1,151 | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:shop/components/product_grid_item.dart';
import '../models/product.dart';
import '../models/product_list.dart';
class ProductGrid extends StatelessWidget {
final bool showFavoriteOnly;
ProductGrid(this.showFavoriteOn... | 0 |
Siadorrr/roll_dice_3D | ba1b504 | lib/main.dart | Dart | www.github.com/Siadorrr/roll_dice_3D/tree/main/lib/main.dart | https://raw.githubusercontent.com/Siadorrr/roll_dice_3D/ba1b504/lib/main.dart | Siadorrr/roll_dice_3D ba1b504 lib/main.dart | true | 200 | 748 | import 'package:flutter/material.dart';
class RollDice_Screen extends StatelessWidget {
RollDice_Screen({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
body: Container(
decoration: BoxDecoration(
gradient: LinearGradient(
colors: [Colors.... | 3 |
Muhammad-Fahadd/eCommerce-app | c16bd90 | lib/utilities/routes/routes.dart | Dart | www.github.com/Muhammad-Fahadd/eCommerce-app/tree/main/lib/utilities/routes/routes.dart | https://raw.githubusercontent.com/Muhammad-Fahadd/eCommerce-app/c16bd90/lib/utilities/routes/routes.dart | Muhammad-Fahadd/eCommerce-app c16bd90 lib/utilities/routes/routes.dart | true | 200 | 4,733 | import 'package:flutter/material.dart';
import 'package:shoe_app/common/widgets/success_screen/success_screen.dart';
import 'package:shoe_app/features/authentication/screen/login/login.dart';
import 'package:shoe_app/features/authentication/screen/onboarding_screen/onboarding_screen.dart';
import 'package:shoe_app/feat... | 4 |
parsashu/fitness-app-flutter | 2b37324 | lib/components/buttons/my_back_button.dart | Dart | www.github.com/parsashu/fitness-app-flutter/tree/main/lib/components/buttons/my_back_button.dart | https://raw.githubusercontent.com/parsashu/fitness-app-flutter/2b37324/lib/components/buttons/my_back_button.dart | parsashu/fitness-app-flutter 2b37324 lib/components/buttons/my_back_button.dart | true | 200 | 511 | import 'package:flutter/material.dart';
class MyBackButton extends StatelessWidget {
const MyBackButton({super.key, required this.onPressed});
final void Function()? onPressed;
@override
Widget build(BuildContext context) {
return IconButton(
onPressed: onPressed,
splashColor: Colors.transpar... | 7 |
notria-12/mercado_justo | eea173d | lib/shared/controllers/signature_store.dart | Dart | www.github.com/notria-12/mercado_justo/tree/main/lib/shared/controllers/signature_store.dart | https://raw.githubusercontent.com/notria-12/mercado_justo/eea173d/lib/shared/controllers/signature_store.dart | notria-12/mercado_justo eea173d lib/shared/controllers/signature_store.dart | true | 200 | 1,364 | import 'package:flutter/material.dart';
import 'package:geolocator/geolocator.dart';
import 'package:mercado_justo/shared/models/user_model.dart';
import 'package:mercado_justo/shared/repositories/signature_repository.dart';
import 'package:mercado_justo/shared/utils/utils.dart';
import 'package:mobx/mobx.dart';
impor... | 5 |
furqatnasridinov/svens_bakery | e2063ef | lib/presentation/screens/reorder/view/reorder_page.dart | Dart | www.github.com/furqatnasridinov/svens_bakery/tree/main/lib/presentation/screens/reorder/view/reorder_page.dart | https://raw.githubusercontent.com/furqatnasridinov/svens_bakery/e2063ef/lib/presentation/screens/reorder/view/reorder_page.dart | furqatnasridinov/svens_bakery e2063ef lib/presentation/screens/reorder/view/reorder_page.dart | true | 200 | 654 | import 'package:auto_route/auto_route.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import '../widget/widget.dart';
@RoutePage()
class ReOrderScreen extends StatelessWidget {
const ReOrderScreen({super.key});
@override
Widget build(BuildContext cont... | 2 |
moevm/nosql2h24-factory | 083f359 | flutter_front/lib/features/charts/domain/usecases/get_charts_data_use_case.dart | Dart | www.github.com/moevm/nosql2h24-factory/tree/main/flutter_front/lib/features/charts/domain/usecases/get_charts_data_use_case.dart | https://raw.githubusercontent.com/moevm/nosql2h24-factory/083f359/flutter_front/lib/features/charts/domain/usecases/get_charts_data_use_case.dart | moevm/nosql2h24-factory 083f359 flutter_front/lib/features/charts/domain/usecases/get_charts_data_use_case.dart | true | 200 | 1,675 | import 'package:clean_architecture/features/charts/domain/entities/chart_config.dart';
import 'package:clean_architecture/shared/data/models/minichart_data_model.dart';
import 'package:dartz/dartz.dart';
import '../../../../core/error/failure.dart';
import '../../../../core/types/influx_formater.dart';
import '.... | 1 |
KernyMC/Reinado-4.0 | 4b08ebf | lib/screens/carousel_screen.dart | Dart | www.github.com/KernyMC/Reinado-4.0/tree/main/lib/screens/carousel_screen.dart | https://raw.githubusercontent.com/KernyMC/Reinado-4.0/4b08ebf/lib/screens/carousel_screen.dart | KernyMC/Reinado-4.0 4b08ebf lib/screens/carousel_screen.dart | true | 200 | 7,212 | import 'package:flutter/material.dart';
import '../services/api_service.dart';
class CarouselScreen extends StatefulWidget {
const CarouselScreen({super.key});
@override
State<CarouselScreen> createState() => _CarouselScreenState();
}
class _CarouselScreenState extends State<CarouselScreen> {
List<Map<String... | 6 |
sahanHansaja026/To-Do-App | 4f61b05 | lib/pages/calender_page.dart | Dart | www.github.com/sahanHansaja026/To-Do-App/tree/main/lib/pages/calender_page.dart | https://raw.githubusercontent.com/sahanHansaja026/To-Do-App/4f61b05/lib/pages/calender_page.dart | sahanHansaja026/To-Do-App 4f61b05 lib/pages/calender_page.dart | true | 200 | 4,288 | import 'package:flutter/material.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:table_calendar/table_calendar.dart';
import 'package:intl/intl.dart';
import 'package:taskmanagerr/services/auth/auth_service.dart';
class CalendarPage extends StatefulWidget {
const CalendarPage({Key? key}... | 3 |
Muhammad-Bilal01/flutter_chat_app | 7ee9dcd | lib/pages/login_page.dart | Dart | www.github.com/Muhammad-Bilal01/flutter_chat_app/tree/main/lib/pages/login_page.dart | https://raw.githubusercontent.com/Muhammad-Bilal01/flutter_chat_app/7ee9dcd/lib/pages/login_page.dart | Muhammad-Bilal01/flutter_chat_app 7ee9dcd lib/pages/login_page.dart | true | 200 | 5,187 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
import 'package:flutter_chat_app/helper/ui_helper.dart';
import 'package:flutter_chat_app/models/user_model.dart';
import 'package:flutter_chat_app/pages/home_page.dart';
imp... | 4 |
harshanabasheer/friutes | 724ffe9 | lib/fruits.dart | Dart | www.github.com/harshanabasheer/friutes/tree/main/lib/fruits.dart | https://raw.githubusercontent.com/harshanabasheer/friutes/724ffe9/lib/fruits.dart | harshanabasheer/friutes 724ffe9 lib/fruits.dart | true | 200 | 3,485 | import 'package:flutter/material.dart';
import 'package:friutes/favorite.dart';
import 'package:friutes/model/friutes_model.dart';
import 'package:provider/provider.dart';
// import 'package:providerwords/favorite.dart';
import 'package:friutes/provider/provider_page.dart';
// import 'package:listview/image.dart';
// i... | 2 |
candrakurnia/storyflutter | a09c984 | lib/provider/all_stories_provider.dart | Dart | www.github.com/candrakurnia/storyflutter/tree/main/lib/provider/all_stories_provider.dart | https://raw.githubusercontent.com/candrakurnia/storyflutter/a09c984/lib/provider/all_stories_provider.dart | candrakurnia/storyflutter a09c984 lib/provider/all_stories_provider.dart | true | 200 | 1,222 | import 'package:flutter/material.dart';
import 'package:storyflutter/api/api_service.dart';
import 'package:storyflutter/constant/result_state.dart';
import 'package:storyflutter/model/all_stories.dart';
class AllStoriesProvider extends ChangeNotifier {
final ApiService apiService;
AllStoriesProvider({required th... | 5 |
nextbillion-ai/asset-tracking-flutter | 724ff1e | example/lib/screen/dialog.dart | Dart | www.github.com/nextbillion-ai/asset-tracking-flutter/tree/main/example/lib/screen/dialog.dart | https://raw.githubusercontent.com/nextbillion-ai/asset-tracking-flutter/724ff1e/example/lib/screen/dialog.dart | nextbillion-ai/asset-tracking-flutter 724ff1e example/lib/screen/dialog.dart | true | 200 | 2,727 | import 'package:flutter/material.dart';
import 'package:uuid/uuid.dart';
typedef InputDialogCallback = void Function(
String title, String description, String tripId);
void showInputDialog(BuildContext context, InputDialogCallback callback) {
final formKey = GlobalKey<FormState>();
final tripIdController =
... | 7 |
FUJI-Yamao/flutter_pos | 0f413ff | lib/app/regs/checker/rcky_pbchg.dart | Dart | www.github.com/FUJI-Yamao/flutter_pos/tree/main/lib/app/regs/checker/rcky_pbchg.dart | https://raw.githubusercontent.com/FUJI-Yamao/flutter_pos/0f413ff/lib/app/regs/checker/rcky_pbchg.dart | FUJI-Yamao/flutter_pos 0f413ff lib/app/regs/checker/rcky_pbchg.dart | true | 200 | 619 | /*
* (C)2024 TERAOKA SEIKO Co., Ltd./株式会社寺岡精工
* CONFIDENTIAL/社外秘
* 無断開示・無断複製禁止
*/
import '../../common/cmn_sysfunc.dart';
import '../../inc/apl/rxregmem_define.dart';
import '../../inc/apl/rxtbl_buff.dart';
/// 関連tprxソース: rcky_pbchg.c
class RckyPbchg {
/// 関連tprxソース: rcky_pbchg.c - rcPbchgFeeRecCheck
static b... | 0 |
AndreyDAraya/weather_app | 2755892 | lib/src/weather/domain/repositories/repository.dart | Dart | www.github.com/AndreyDAraya/weather_app/tree/main/lib/src/weather/domain/repositories/repository.dart | https://raw.githubusercontent.com/AndreyDAraya/weather_app/2755892/lib/src/weather/domain/repositories/repository.dart | AndreyDAraya/weather_app 2755892 lib/src/weather/domain/repositories/repository.dart | true | 200 | 1,344 | import 'package:fpdart/fpdart.dart';
import 'package:weather_app/src/utils/utils.dart';
import 'package:weather_app/src/weather/domain/domain.dart';
abstract class WeatherRepository {
const WeatherRepository();
/// Loads weather data by latitude and longitude.
///
/// Returns a [Future] that completes with an... | 1 |
VinhNgT/lienhoa-gate-controller | 4a5e9f1 | app/lib/features/settings/presentation/settings_screen.dart | Dart | www.github.com/VinhNgT/lienhoa-gate-controller/tree/main/app/lib/features/settings/presentation/settings_screen.dart | https://raw.githubusercontent.com/VinhNgT/lienhoa-gate-controller/4a5e9f1/app/lib/features/settings/presentation/settings_screen.dart | VinhNgT/lienhoa-gate-controller 4a5e9f1 app/lib/features/settings/presentation/settings_screen.dart | true | 200 | 8,111 | import 'package:auto_route/auto_route.dart';
import 'package:flutter/material.dart';
import 'package:flutter_form_builder/flutter_form_builder.dart';
import 'package:flutter_hooks/flutter_hooks.dart';
import 'package:gap/gap.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:intl/intl.dart';
im... | 6 |
RulerOfEternalNight/FlutterApps-WidgetsTestingGround | b0c34f6 | ChatAppUI-master/lib/modules/chat_page.dart | Dart | www.github.com/RulerOfEternalNight/FlutterApps-WidgetsTestingGround/tree/main/ChatAppUI-master/lib/modules/chat_page.dart | https://raw.githubusercontent.com/RulerOfEternalNight/FlutterApps-WidgetsTestingGround/b0c34f6/ChatAppUI-master/lib/modules/chat_page.dart | RulerOfEternalNight/FlutterApps-WidgetsTestingGround b0c34f6 ChatAppUI-master/lib/modules/chat_page.dart | true | 200 | 4,882 | import 'package:chat_app/components/chat.dart';
import 'package:chat_app/models/chat_users.dart';
//import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
class ChatPage extends StatefulWidget {
@override
_ChatPageState createState() => _ChatPageState();
}
class _ChatPageState extends St... | 3 |
kdy1242/sniperfactory_flutter | bf7e876 | first_app/lib/homework/week2/day4/ex01.dart | Dart | www.github.com/kdy1242/sniperfactory_flutter/tree/main/first_app/lib/homework/week2/day4/ex01.dart | https://raw.githubusercontent.com/kdy1242/sniperfactory_flutter/bf7e876/first_app/lib/homework/week2/day4/ex01.dart | kdy1242/sniperfactory_flutter bf7e876 first_app/lib/homework/week2/day4/ex01.dart | true | 200 | 1,105 | import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: SafeArea(
child: ListView(
children: ... | 4 |
engkemo1/liveapp | 3d334d2 | lib/providers/user_provider.dart | Dart | www.github.com/engkemo1/liveapp/tree/main/lib/providers/user_provider.dart | https://raw.githubusercontent.com/engkemo1/liveapp/3d334d2/lib/providers/user_provider.dart | engkemo1/liveapp 3d334d2 lib/providers/user_provider.dart | true | 200 | 7,143 | import 'dart:math';
import 'package:dio/dio.dart';
import 'package:flutter/cupertino.dart';
import 'package:get_storage/get_storage.dart';
import 'package:google_sign_in/google_sign_in.dart';
import 'package:provider/provider.dart';
import 'package:stars_live/models/user_model.dart';
import '../global/constants.dart'... | 2 |
kutumbarayadu/hil | 80548fd | lib/screens/widget/categories_widget.dart | Dart | www.github.com/kutumbarayadu/hil/tree/main/lib/screens/widget/categories_widget.dart | https://raw.githubusercontent.com/kutumbarayadu/hil/80548fd/lib/screens/widget/categories_widget.dart | kutumbarayadu/hil 80548fd lib/screens/widget/categories_widget.dart | true | 200 | 1,525 | import 'package:flutter/material.dart';
class CategoriesWidget extends StatelessWidget {
const CategoriesWidget(
{required this.catText,
required this.imgPath,
required this.passedColor,
super.key});
final String catText, imgPath;
final Color passedColor;
@override
Widget build(Bui... | 7 |
akkaraman/DartCourses | 1fb8a01 | List/list-10.dart | Dart | www.github.com/akkaraman/DartCourses/tree/main/List/list-10.dart | https://raw.githubusercontent.com/akkaraman/DartCourses/1fb8a01/List/list-10.dart | akkaraman/DartCourses 1fb8a01 List/list-10.dart | true | 200 | 504 | /**Dart list partitions */
void main(List<String> args) {
var vars = <int>[1, 2, 0, 4, 3, 6, 5];
var res = vars.skip(2); // ilk 2 elemanı atlayıp döndürür
print(res); // [0, 4, 3, 6, 5]
var res2 = vars.skipWhile((e) => e < 3); // 3 ten küçük olanları siler
print(res2); // (4, 3, 6, 5)
var res3 = vars.tak... | 5 |
AfiqHaidar/flutter-meals | c8ac071 | lib/providers/filters_provider.dart | Dart | www.github.com/AfiqHaidar/flutter-meals/tree/main/lib/providers/filters_provider.dart | https://raw.githubusercontent.com/AfiqHaidar/flutter-meals/c8ac071/lib/providers/filters_provider.dart | AfiqHaidar/flutter-meals c8ac071 lib/providers/filters_provider.dart | true | 200 | 934 | import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:meals/providers/meals_provider.dart';
enum FilterEn {
glutenFree,
}
class FiltersNotifier extends StateNotifier<Map<FilterEn, bool>> {
FiltersNotifier()
: super({
FilterEn.glutenFree: false,
});
void setFilter(Filt... | 0 |
iqbalimaduddin11/skinalerts | 653036c | lib/admin/authService.dart | Dart | www.github.com/iqbalimaduddin11/skinalerts/tree/main/lib/admin/authService.dart | https://raw.githubusercontent.com/iqbalimaduddin11/skinalerts/653036c/lib/admin/authService.dart | iqbalimaduddin11/skinalerts 653036c lib/admin/authService.dart | true | 200 | 554 | class User {
final String role;
User(this.role);
}
class AuthService {
User? login(String email, String password) {
// Your login logic here
// Return User instance if successful, null otherwise
// Example:
if (email == 'admin@gmail.com' && password == 'admin123') {
return User('admin');
... | 1 |
thegurluk/Todo | 634b9b9 | lib/todo_app.dart | Dart | www.github.com/thegurluk/Todo/tree/main/lib/todo_app.dart | https://raw.githubusercontent.com/thegurluk/Todo/634b9b9/lib/todo_app.dart | thegurluk/Todo 634b9b9 lib/todo_app.dart | true | 200 | 1,631 | // ignore_for_file: must_be_immutable
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:to_do_list/providers/all_providers.dart';
import 'package:to_do_list/widgets/title_widget.dart';
import 'package:to_do_list/widgets/todo_list_item_widget.dart';
import ... | 6 |
yash1744/LMS | 0d3e941 | lib/page6b.dart | Dart | www.github.com/yash1744/LMS/tree/main/lib/page6b.dart | https://raw.githubusercontent.com/yash1744/LMS/0d3e941/lib/page6b.dart | yash1744/LMS 0d3e941 lib/page6b.dart | true | 200 | 8,471 | import 'package:flutter/material.dart';
import 'package:mysql1/mysql1.dart';
import 'helper.dart';
class Page6b extends StatefulWidget {
final MySqlConnection? databaseConnection;
const Page6b({super.key, required this.databaseConnection});
@override
State<Page6b> createState() => _Page6bState();
}
class _P... | 4 |
DevendraCollage/Collage-Flutter-Solution | bd87261 | lab_5_solution/CommonElemFromList.dart | Dart | www.github.com/DevendraCollage/Collage-Flutter-Solution/tree/main/lab_5_solution/CommonElemFromList.dart | https://raw.githubusercontent.com/DevendraCollage/Collage-Flutter-Solution/bd87261/lab_5_solution/CommonElemFromList.dart | DevendraCollage/Collage-Flutter-Solution bd87261 lab_5_solution/CommonElemFromList.dart | true | 200 | 1,103 | // WAP to read 2 list and return list that contains only the elements that are common between them.
import 'dart:io';
void main() {
// Read the size of the list from the user
stdout.write("Enter the size of the List : ");
int size = int.parse(stdin.readLineSync()!);
// Initialize 2 list
List l1 = List.fill... | 7 |
BananBalbaki2002/first_git | 37af4da | lib/my_app/notifications_dec/notifications_scre.dart | Dart | www.github.com/BananBalbaki2002/first_git/tree/main/lib/my_app/notifications_dec/notifications_scre.dart | https://raw.githubusercontent.com/BananBalbaki2002/first_git/37af4da/lib/my_app/notifications_dec/notifications_scre.dart | BananBalbaki2002/first_git 37af4da lib/my_app/notifications_dec/notifications_scre.dart | true | 200 | 10,334 |
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:get_storage/get_storage.dart';
import 'package:provider/provider.dart';
import 'package:tasko/components/menu_item.dart';
import 'package:tasko/controllers/task_controller.dart';
import 'package:tasko/my_app/constants.dar... | 5 |
tada-team/tdproto_dart | b5faa42 | lib/src/models/i_c_e_server/i_c_e_server.dart | Dart | www.github.com/tada-team/tdproto_dart/tree/main/lib/src/models/i_c_e_server/i_c_e_server.dart | https://raw.githubusercontent.com/tada-team/tdproto_dart/b5faa42/lib/src/models/i_c_e_server/i_c_e_server.dart | tada-team/tdproto_dart b5faa42 lib/src/models/i_c_e_server/i_c_e_server.dart | true | 200 | 742 | import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:tdproto_dart/tdproto_dart.dart';
part 'i_c_e_server.freezed.dart';
part 'i_c_e_server.g.dart';
/// Interactive Connectivity Establishment Server for WEB Rtc connection. Readonly.
@freezed
class ICEServer with _$ICEServer {
const factory IC... | 2 |
Nithruja/travel_app | 32b1063 | lib/activities/home/splash_screen.dart | Dart | www.github.com/Nithruja/travel_app/tree/main/lib/activities/home/splash_screen.dart | https://raw.githubusercontent.com/Nithruja/travel_app/32b1063/lib/activities/home/splash_screen.dart | Nithruja/travel_app 32b1063 lib/activities/home/splash_screen.dart | true | 200 | 1,597 |
import 'dart:async';
import 'dart:ui';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:travel_app/activities/home/home_screen.dart';
class SplashScreen extends StatefulWidget{
@override
_SplashScreenState createState() => _SplashScreenState();
}
class _SplashS... | 0 |
vishnumukundan/whatsapp-clone | 26a64a9 | lib/screens/home/widgets/floating_action_button.dart | Dart | www.github.com/vishnumukundan/whatsapp-clone/tree/main/lib/screens/home/widgets/floating_action_button.dart | https://raw.githubusercontent.com/vishnumukundan/whatsapp-clone/26a64a9/lib/screens/home/widgets/floating_action_button.dart | vishnumukundan/whatsapp-clone 26a64a9 lib/screens/home/widgets/floating_action_button.dart | true | 200 | 1,458 | import 'package:flutter/material.dart';
import 'package:whatsapp_clone/config/values.dart';
import 'package:whatsapp_clone/test_file.dart';
import 'package:whatsapp_clone/utilities/services/navigator.dart';
import '../../../config/colors.dart';
Widget floatingActionButton(tabIndex) {
if (tabIndex == 1) {
//
... | 1 |
InfinityDX/checklistapp | 516133e | test/unit_test.dart | Dart | www.github.com/InfinityDX/checklistapp/tree/main/test/unit_test.dart | https://raw.githubusercontent.com/InfinityDX/checklistapp/516133e/test/unit_test.dart | InfinityDX/checklistapp 516133e test/unit_test.dart | true | 200 | 6,551 | import 'package:checklistapp/bloc/todo_cubit/todo_cubit.dart';
import 'package:checklistapp/models/entities/todo.entity.dart';
import 'package:checklistapp/models/filter.dart';
import 'package:checklistapp/repository/fakes/fake_todo_repository.dart';
import 'package:test/test.dart';
void main() {
group('Todo Cubit',... | 6 |
juanmartin8a/Happ | 525e616 | happ_client/lib/src/utils/buttons/customGestureDetector.dart | Dart | www.github.com/juanmartin8a/Happ/tree/main/happ_client/lib/src/utils/buttons/customGestureDetector.dart | https://raw.githubusercontent.com/juanmartin8a/Happ/525e616/happ_client/lib/src/utils/buttons/customGestureDetector.dart | juanmartin8a/Happ 525e616 happ_client/lib/src/utils/buttons/customGestureDetector.dart | true | 200 | 3,174 | import 'dart:async';
import 'package:flutter/material.dart';
import 'package:uuid/uuid.dart';
class BackgroundChangeOnTapGestureDetector extends StatefulWidget {
final Widget child;
final Function onTap;
const BackgroundChangeOnTapGestureDetector({
required this.child,
required this.onTap,
required K... | 3 |
TrashWouldBe/TraB-Front | ce9844c | trab_front/lib/feature/plogging/presentation/viewmodel/plogging_start_screen_view_model.dart | Dart | www.github.com/TrashWouldBe/TraB-Front/tree/main/trab_front/lib/feature/plogging/presentation/viewmodel/plogging_start_screen_view_model.dart | https://raw.githubusercontent.com/TrashWouldBe/TraB-Front/ce9844c/trab_front/lib/feature/plogging/presentation/viewmodel/plogging_start_screen_view_model.dart | TrashWouldBe/TraB-Front ce9844c trab_front/lib/feature/plogging/presentation/viewmodel/plogging_start_screen_view_model.dart | true | 200 | 829 | import 'package:riverpod_annotation/riverpod_annotation.dart';
import 'package:trab_front/config/routes/app_router.dart';
import 'package:trab_front/config/routes/routes.dart';
part 'plogging_start_screen_view_model.g.dart';
class PloggingStartScreenState {
int selectedPage;
PloggingStartScreenState({required this... | 4 |
AhmedGamal7207/flutter_crash_course2025 | d05dce8 | flutter_app2025/lib/views/pages/onboarding_page.dart | Dart | www.github.com/AhmedGamal7207/flutter_crash_course2025/tree/main/flutter_app2025/lib/views/pages/onboarding_page.dart | https://raw.githubusercontent.com/AhmedGamal7207/flutter_crash_course2025/d05dce8/flutter_app2025/lib/views/pages/onboarding_page.dart | AhmedGamal7207/flutter_crash_course2025 d05dce8 flutter_app2025/lib/views/pages/onboarding_page.dart | true | 200 | 2,025 | import 'package:flutter/material.dart';
import 'package:flutter_app2025/data/constants.dart';
import 'package:flutter_app2025/views/pages/login_page.dart';
import 'package:lottie/lottie.dart';
class OnBoardinPage extends StatelessWidget {
const OnBoardinPage({super.key});
@override
Widget build(BuildContext con... | 7 |
AwsmAsim/disoccupied_app_new | 7ddd213 | lib/view/widgets/submit_button.dart | Dart | www.github.com/AwsmAsim/disoccupied_app_new/tree/main/lib/view/widgets/submit_button.dart | https://raw.githubusercontent.com/AwsmAsim/disoccupied_app_new/7ddd213/lib/view/widgets/submit_button.dart | AwsmAsim/disoccupied_app_new 7ddd213 lib/view/widgets/submit_button.dart | true | 200 | 981 | import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import '../../utils/ColorConstants.dart';
import '../../utils/SizeConstants.dart';
import '../../utils/TextConstants.dart';
class SubmitButton extends StatelessWidget {
SubmitButton({required this.title, this.onTap});
final... | 2 |
Imanilom/baraja-coffe | 3e92262 | mobile/barajapos/lib/services/menu_item_service.dart | Dart | www.github.com/Imanilom/baraja-coffe/tree/main/mobile/barajapos/lib/services/menu_item_service.dart | https://raw.githubusercontent.com/Imanilom/baraja-coffe/3e92262/mobile/barajapos/lib/services/menu_item_service.dart | Imanilom/baraja-coffe 3e92262 mobile/barajapos/lib/services/menu_item_service.dart | true | 200 | 608 | import 'package:barajapos/services/api_response_handler.dart';
import 'package:dio/dio.dart';
import 'package:barajapos/configs/app_config.dart';
class MenuItemService {
final Dio _dio = Dio(
BaseOptions(baseUrl: AppConfig.baseUrl),
);
Future<Map<String, dynamic>> fetchMenuItems() async {
try {
fi... | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.