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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
adhiherlianto/Finddy | 980ef3a | lib/presentation/screen/widget/finddy_logo.dart | Dart | www.github.com/adhiherlianto/Finddy/tree/main/lib/presentation/screen/widget/finddy_logo.dart | https://raw.githubusercontent.com/adhiherlianto/Finddy/980ef3a/lib/presentation/screen/widget/finddy_logo.dart | adhiherlianto/Finddy 980ef3a lib/presentation/screen/widget/finddy_logo.dart | true | 200 | 913 | import 'package:finddy/gen/assets.gen.dart';
import 'package:flutter/material.dart';
class FinddyLogo extends StatelessWidget {
final double size;
String? logo;
FinddyLogo({Key? key, required this.size, this.logo}) : super(key: key);
@override
Widget build(BuildContext context) {
return Container(
... | 3 |
Living-Share/app_flutter | 3360866 | lib/main.dart | Dart | www.github.com/Living-Share/app_flutter/tree/main/lib/main.dart | https://raw.githubusercontent.com/Living-Share/app_flutter/3360866/lib/main.dart | Living-Share/app_flutter 3360866 lib/main.dart | true | 200 | 1,172 | import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:get/get.dart';
import 'package:living_share_app/ui/homePage/home_page.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(Bui... | 5 |
LucasRoseira/frequentia | 12ed882 | lib/models/foto.dart | Dart | www.github.com/LucasRoseira/frequentia/tree/main/lib/models/foto.dart | https://raw.githubusercontent.com/LucasRoseira/frequentia/12ed882/lib/models/foto.dart | LucasRoseira/frequentia 12ed882 lib/models/foto.dart | true | 200 | 423 | class Foto {
final int id;
final String name;
final String path;
Foto({
required this.id,
required this.name,
required this.path,
});
Map<String, dynamic> toMap() {
return {
'id': id,
'name': name,
'path': path,
};
}
static Foto fromMap(Map<String, dynamic> map) ... | 0 |
DCLF-LEGON/dlcf-app | 34d5126 | dlcf/lib/screens/reset_password/reset_password_success.dart | Dart | www.github.com/DCLF-LEGON/dlcf-app/tree/main/dlcf/lib/screens/reset_password/reset_password_success.dart | https://raw.githubusercontent.com/DCLF-LEGON/dlcf-app/34d5126/dlcf/lib/screens/reset_password/reset_password_success.dart | DCLF-LEGON/dlcf-app 34d5126 dlcf/lib/screens/reset_password/reset_password_success.dart | true | 200 | 917 | import 'package:dlcf/constants/colors.dart';
import 'package:dlcf/screens/reset_password/components/success_body.dart';
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
class ResetPasswordSuccess extends StatelessWidget {
const ResetPasswordSuccess({Key? key}) : super(key: key);
... | 6 |
Rabee-Omran/Shared-Preferences-Library-Tutorial-Store-Load-Data-For-Data-Persistence-Like-A-Pro | 095d63a | lib/cache_helper.dart | Dart | www.github.com/Rabee-Omran/Shared-Preferences-Library-Tutorial-Store-Load-Data-For-Data-Persistence-Like-A-Pro/tree/main/lib/cache_helper.dart | https://raw.githubusercontent.com/Rabee-Omran/Shared-Preferences-Library-Tutorial-Store-Load-Data-For-Data-Persistence-Like-A-Pro/095d63a/lib/cache_helper.dart | Rabee-Omran/Shared-Preferences-Library-Tutorial-Store-Load-Data-For-Data-Persistence-Like-A-Pro 095d63a lib/cache_helper.dart | true | 200 | 1,210 | import 'dart:convert';
import 'package:shared_pref_tutorial/user.dart';
import 'package:shared_preferences/shared_preferences.dart';
class CacheHelper {
static late final SharedPreferences _sharedPreferences;
static Future<void> init() async {
_sharedPreferences = await SharedPreferences.getInstance();
}
... | 1 |
diminecjean/breathe-better | bb3af19 | lib/components/custom_text_field.dart | Dart | www.github.com/diminecjean/breathe-better/tree/main/lib/components/custom_text_field.dart | https://raw.githubusercontent.com/diminecjean/breathe-better/bb3af19/lib/components/custom_text_field.dart | diminecjean/breathe-better bb3af19 lib/components/custom_text_field.dart | true | 200 | 1,042 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/src/widgets/framework.dart';
import 'package:flutter/src/widgets/placeholder.dart';
class CustomTextField extends StatefulWidget {
CustomTextField({
super.key,
required this.labelText,
required this.h... | 2 |
Mahmoud-M-Hamed/BBS | bb70222 | lib/domain/usecases/transfer_usecases/create_table.dart | Dart | www.github.com/Mahmoud-M-Hamed/BBS/tree/main/lib/domain/usecases/transfer_usecases/create_table.dart | https://raw.githubusercontent.com/Mahmoud-M-Hamed/BBS/bb70222/lib/domain/usecases/transfer_usecases/create_table.dart | Mahmoud-M-Hamed/BBS bb70222 lib/domain/usecases/transfer_usecases/create_table.dart | true | 200 | 565 | import 'package:bbs/data/error_handler/failure.dart';
import 'package:bbs/domain/repository/repository.dart';
import 'package:bbs/domain/usecases/customer_usecases/fetch_customer_data.dart';
import 'package:dartz/dartz.dart';
import 'package:sqflite/sqflite.dart';
class CreateAndOpenTransferTableUseCase extends ... | 4 |
UjjanNoorillahi/H2O-frontend | 3358974 | lib/screens/profile_screen/profile_screen.dart | Dart | www.github.com/UjjanNoorillahi/H2O-frontend/tree/main/lib/screens/profile_screen/profile_screen.dart | https://raw.githubusercontent.com/UjjanNoorillahi/H2O-frontend/3358974/lib/screens/profile_screen/profile_screen.dart | UjjanNoorillahi/H2O-frontend 3358974 lib/screens/profile_screen/profile_screen.dart | true | 200 | 1,396 | import 'dart:developer';
import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';
import '../../Services/user_data_service.dart';
import '../../models/user_data_model.dart';
import '../home_screen/home_screen.dart';
class ProfileScreen extends StatefulWidget {
const Prof... | 7 |
zerotoxicity/Dutch-Auction | 3805e7c | flutter_frontend/lib/screen/auction/controller.dart | Dart | www.github.com/zerotoxicity/Dutch-Auction/tree/main/flutter_frontend/lib/screen/auction/controller.dart | https://raw.githubusercontent.com/zerotoxicity/Dutch-Auction/3805e7c/flutter_frontend/lib/screen/auction/controller.dart | zerotoxicity/Dutch-Auction 3805e7c flutter_frontend/lib/screen/auction/controller.dart | true | 200 | 11,139 | import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter_frontend/abi/iauction_interface.dart';
import 'package:flutter_frontend/abi/ikch_token_interface.dart';
import 'package:flutter_frontend/helper.dart' as helper;
import 'package:flutter_web3/flutter_web3.dart';
import 'package:get/get.... | 3 |
msiprime/Flutter-Architecture-By-MSI | 0d95007 | packages/image_picker_plus/lib/src/crop_image_view.dart | Dart | www.github.com/msiprime/Flutter-Architecture-By-MSI/tree/main/packages/image_picker_plus/lib/src/crop_image_view.dart | https://raw.githubusercontent.com/msiprime/Flutter-Architecture-By-MSI/0d95007/packages/image_picker_plus/lib/src/crop_image_view.dart | msiprime/Flutter-Architecture-By-MSI 0d95007 packages/image_picker_plus/lib/src/crop_image_view.dart | true | 200 | 6,010 | import 'dart:io';
import 'package:flutter/material.dart';
import 'package:image_picker_plus/image_picker_plus.dart';
import 'package:image_picker_plus/src/custom_crop.dart';
class CropImageView extends StatefulWidget {
final GlobalKey<CustomCropState> cropKey;
final ValueNotifier<List<int>> indexOfSelectedImages;... | 5 |
HarshThankix13/Flutter | 26ce140 | Dart_Flutter_Assignments/Module_5/Register.dart | Dart | www.github.com/HarshThankix13/Flutter/tree/main/Dart_Flutter_Assignments/Module_5/Register.dart | https://raw.githubusercontent.com/HarshThankix13/Flutter/26ce140/Dart_Flutter_Assignments/Module_5/Register.dart | HarshThankix13/Flutter 26ce140 Dart_Flutter_Assignments/Module_5/Register.dart | true | 200 | 6,029 | import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
import 'package:mysqfliteassignment/DatabaseAss/Modle/sqlAs.dart';
import 'package:mysqfliteassignment/DatabaseAss/serAss.dart';
import 'package:mysqfliteassignment/Screen/listDataShow.dart';
class MyRegisterScreen extends StatefulWidget {
cons... | 6 |
AmiraSayedMahmed/toku_app | 91a8f9f | lib/widgets/home_item.dart | Dart | www.github.com/AmiraSayedMahmed/toku_app/tree/main/lib/widgets/home_item.dart | https://raw.githubusercontent.com/AmiraSayedMahmed/toku_app/91a8f9f/lib/widgets/home_item.dart | AmiraSayedMahmed/toku_app 91a8f9f lib/widgets/home_item.dart | true | 200 | 626 | import 'package:flutter/material.dart';
class HomeItem extends StatelessWidget {
HomeItem({this.name , this.color , required this.onTap});
String? name;
Color? color;
VoidCallback onTap;
@override
Widget build(BuildContext context) {
return GestureDetector(
onTap: onTap,
child: Container(... | 0 |
mhmd783/manga | 87d9349 | lib/view/notification/notification2.dart | Dart | www.github.com/mhmd783/manga/tree/main/lib/view/notification/notification2.dart | https://raw.githubusercontent.com/mhmd783/manga/87d9349/lib/view/notification/notification2.dart | mhmd783/manga 87d9349 lib/view/notification/notification2.dart | true | 200 | 5,149 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:mango/companent/colors.dart';
import 'package:mango/companent/container_chose_platform.dart';
import 'package:mango/companent/drop_dowen_button.dart';
import 'package:mango/companent/t... | 1 |
Fahaddada47/blogwithbloc | 2fed0e3 | lib/features/auth/presentatiom/widgets/auth_field.dart | Dart | www.github.com/Fahaddada47/blogwithbloc/tree/main/lib/features/auth/presentatiom/widgets/auth_field.dart | https://raw.githubusercontent.com/Fahaddada47/blogwithbloc/2fed0e3/lib/features/auth/presentatiom/widgets/auth_field.dart | Fahaddada47/blogwithbloc 2fed0e3 lib/features/auth/presentatiom/widgets/auth_field.dart | true | 200 | 652 | import 'package:flutter/material.dart';
class AuthField extends StatelessWidget {
final String hintText;
final TextEditingController controller;
final bool isObscureText ;
const AuthField({super.key, required this.hintText, required this.controller, this.isObscureText = false});
@override
Widget build(B... | 2 |
Nik8110/Itasker | 036413f | lib/presentation/screens/auth_screen/login_screen.dart | Dart | www.github.com/Nik8110/Itasker/tree/main/lib/presentation/screens/auth_screen/login_screen.dart | https://raw.githubusercontent.com/Nik8110/Itasker/036413f/lib/presentation/screens/auth_screen/login_screen.dart | Nik8110/Itasker 036413f lib/presentation/screens/auth_screen/login_screen.dart | true | 200 | 6,737 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:itasker/gen/assets.gen.dart';
import 'package:itasker/presentation/router/routes.dart';
import 'package:itasker/presentation/screens/auth_screen/widget/custom_textfield.dart';
import '../../../applicati... | 7 |
RolandRudiyanto/RemainUs | 6378d8e | lib/Database/note_operation.dart | Dart | www.github.com/RolandRudiyanto/RemainUs/tree/main/lib/Database/note_operation.dart | https://raw.githubusercontent.com/RolandRudiyanto/RemainUs/6378d8e/lib/Database/note_operation.dart | RolandRudiyanto/RemainUs 6378d8e lib/Database/note_operation.dart | true | 200 | 2,908 | import 'package:remainus/Model/notes.dart';
import 'package:sqflite/sqflite.dart';
import '../Model/user.dart';
import 'database_helper.dart';
class NoteOprational{
Future<int> insertNotes(Notes notes) async {
Database db = await DatabaseHelper.instance.database;
return await db.insert('notes', notes.toMap... | 4 |
mrgnhnt96/autoequal | 18e63a1 | _core/lib/models/settings.dart | Dart | www.github.com/mrgnhnt96/autoequal/tree/main/_core/lib/models/settings.dart | https://raw.githubusercontent.com/mrgnhnt96/autoequal/18e63a1/_core/lib/models/settings.dart | mrgnhnt96/autoequal 18e63a1 _core/lib/models/settings.dart | true | 200 | 1,440 | import 'package:json_annotation/json_annotation.dart';
import 'settings_interface.dart';
part 'settings.g.dart';
@JsonSerializable(constructor: 'defaults')
class Settings implements SettingsInterface {
const Settings({
required this.includeGetters,
required this.autoInclude,
required this.exclude,
... | 3 |
samKoSphere/sphere-flutter | 8c207e5 | lib/features/authentication/screens/login/login.dart | Dart | www.github.com/samKoSphere/sphere-flutter/tree/main/lib/features/authentication/screens/login/login.dart | https://raw.githubusercontent.com/samKoSphere/sphere-flutter/8c207e5/lib/features/authentication/screens/login/login.dart | samKoSphere/sphere-flutter 8c207e5 lib/features/authentication/screens/login/login.dart | true | 200 | 1,821 | import 'package:sphere/features/authentication/screens/login/widgets/login_form.dart';
import 'package:sphere/features/authentication/screens/login/widgets/login_header.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import '../../../../../home_menu.dart';
import '../../../../common/style... | 5 |
mcfrancho1/skibble_accessibility | bc56231 | lib/services/change_data_notifiers/app_data.dart | Dart | www.github.com/mcfrancho1/skibble_accessibility/tree/main/lib/services/change_data_notifiers/app_data.dart | https://raw.githubusercontent.com/mcfrancho1/skibble_accessibility/bc56231/lib/services/change_data_notifiers/app_data.dart | mcfrancho1/skibble_accessibility bc56231 lib/services/change_data_notifiers/app_data.dart | true | 200 | 19,257 | import 'dart:io';
import 'package:flutter/material.dart';
import 'package:get_storage/get_storage.dart';
import 'package:skibble/models/chat_models/chat_message.dart';
import 'package:skibble/features/communities/models/community.dart';
import 'package:skibble/models/friend_request.dart';
import 'package:skibble/model... | 6 |
Andrestorales7/Delivery_App | a72f864 | lib/models/restaurant.dart | Dart | www.github.com/Andrestorales7/Delivery_App/tree/main/lib/models/restaurant.dart | https://raw.githubusercontent.com/Andrestorales7/Delivery_App/a72f864/lib/models/restaurant.dart | Andrestorales7/Delivery_App a72f864 lib/models/restaurant.dart | true | 200 | 17,395 |
import 'package:collection/collection.dart';
import 'package:example_app/models/cart_item.dart';
import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
import 'food.dart';
class Restaurant extends ChangeNotifier{
//list of food menu
final List<Food> _menu = [
//burgers
Food(
name: ... | 0 |
Md-LatifurRatul/multi-store-app | 4026f7f | lib/views/buyers/nav_screens/widgets/banner_widget.dart | Dart | www.github.com/Md-LatifurRatul/multi-store-app/tree/main/lib/views/buyers/nav_screens/widgets/banner_widget.dart | https://raw.githubusercontent.com/Md-LatifurRatul/multi-store-app/4026f7f/lib/views/buyers/nav_screens/widgets/banner_widget.dart | Md-LatifurRatul/multi-store-app 4026f7f lib/views/buyers/nav_screens/widgets/banner_widget.dart | true | 200 | 2,140 | import 'package:cached_network_image/cached_network_image.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/material.dart';
import 'package:shimmer_animation/shimmer_animation.dart';
class BannerWidget extends StatefulWidget {
const BannerWidget({super.key});
@override
State<... | 7 |
vrajGodhani24/database_6pm | 8289098 | lib/controller/student_controller.dart | Dart | www.github.com/vrajGodhani24/database_6pm/tree/main/lib/controller/student_controller.dart | https://raw.githubusercontent.com/vrajGodhani24/database_6pm/8289098/lib/controller/student_controller.dart | vrajGodhani24/database_6pm 8289098 lib/controller/student_controller.dart | true | 200 | 461 | import 'package:get/get.dart';
import 'package:untitled/helper/dbhelper.dart';
import 'package:untitled/model/student.dart';
class StudentController extends GetxController {
List<Student> allStudent = [];
@override
void onInit() async {
super.onInit();
List<Student> data = await DBHelper.dbHelper.fetch... | 2 |
mhmoudGamea/night-movie | f7cdb72 | lib/core/widgets/section_details_header.dart | Dart | www.github.com/mhmoudGamea/night-movie/tree/main/lib/core/widgets/section_details_header.dart | https://raw.githubusercontent.com/mhmoudGamea/night-movie/f7cdb72/lib/core/widgets/section_details_header.dart | mhmoudGamea/night-movie f7cdb72 lib/core/widgets/section_details_header.dart | true | 200 | 601 | import 'package:flutter/material.dart';
import '../utils/styles.dart';
class SectionDetailsHeader extends StatelessWidget {
final String header;
final double size;
final Color color;
const SectionDetailsHeader(
{Key? key, required this.header, this.size = 16, required this.color})
: super(... | 3 |
AbdelazizHanzaz/Flutter_Craftsmen_Directory_App | 0d256cc | lib/data/models/craftsmen.dart | Dart | www.github.com/AbdelazizHanzaz/Flutter_Craftsmen_Directory_App/tree/main/lib/data/models/craftsmen.dart | https://raw.githubusercontent.com/AbdelazizHanzaz/Flutter_Craftsmen_Directory_App/0d256cc/lib/data/models/craftsmen.dart | AbdelazizHanzaz/Flutter_Craftsmen_Directory_App 0d256cc lib/data/models/craftsmen.dart | true | 200 | 925 | class Craftsman {
final int id;
final int userId;
final String bio;
final List<String> services;
final String city;
final String state;
final List<String> portfolio;
Craftsman({
required this.id,
required this.userId,
required this.bio,
required this.services,
required this.city,
... | 1 |
ThiagoLuz96/Desenvolvimento-Mobile-Senai | d07ee8d | Desenvolvimento-Mobile-Senai/Aula-2510/Atividade-aula2510.dart | Dart | www.github.com/ThiagoLuz96/Desenvolvimento-Mobile-Senai/tree/main/Desenvolvimento-Mobile-Senai/Aula-2510/Atividade-aula2510.dart | https://raw.githubusercontent.com/ThiagoLuz96/Desenvolvimento-Mobile-Senai/d07ee8d/Desenvolvimento-Mobile-Senai/Aula-2510/Atividade-aula2510.dart | ThiagoLuz96/Desenvolvimento-Mobile-Senai d07ee8d Desenvolvimento-Mobile-Senai/Aula-2510/Atividade-aula2510.dart | true | 200 | 474 | void main() {
String pedidoLanche = 'X-Salada';
String pedidoLiquido = 'Suco';
String xSalada = 'X-salada';
String suco = 'suco';
double valorxSalada = 15;
double valorPedido = 0.0;
double xBurguer = 10;
double xTudo = 18;
double refrigerante = 5;
double valorSuco = 3;
double agua =... | 4 |
LimDogeun/directDB | 85da828 | lib/main.dart | Dart | www.github.com/LimDogeun/directDB/tree/main/lib/main.dart | https://raw.githubusercontent.com/LimDogeun/directDB/85da828/lib/main.dart | LimDogeun/directDB 85da828 lib/main.dart | true | 200 | 5,975 | import 'dart:io';
import 'package:flutter/material.dart';
import 'package:image_picker/image_picker.dart';
import 'api_service.dart'; // API 요청을 위한 서비스 파일 가져오기
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {... | 6 |
circles-00/bwatch_front | 7713245 | lib/providers/data_provider.dart | Dart | www.github.com/circles-00/bwatch_front/tree/main/lib/providers/data_provider.dart | https://raw.githubusercontent.com/circles-00/bwatch_front/7713245/lib/providers/data_provider.dart | circles-00/bwatch_front 7713245 lib/providers/data_provider.dart | true | 200 | 1,756 | import 'package:bwatch_front/database.dart';
import 'package:flutter/cupertino.dart';
class DataProvider with ChangeNotifier {
@override
void dispose() {
super.dispose();
}
static final DataProvider _instance = DataProvider._internal();
static DataProvider get instance => _instance;
DataProvider._in... | 0 |
Bilas-Halder/Look-After | 44c285c | lib/local_storage.dart | Dart | www.github.com/Bilas-Halder/Look-After/tree/main/lib/local_storage.dart | https://raw.githubusercontent.com/Bilas-Halder/Look-After/44c285c/lib/local_storage.dart | Bilas-Halder/Look-After 44c285c lib/local_storage.dart | true | 200 | 712 | import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';
class LocalStorage {
Future setSignInStatus({bool status})async{
final prefs = await SharedPreferences.getInstance();
await prefs.setBool('signedIn', status);
}
Future setIsBackStatus({bool status})async{... | 5 |
sandrabenny/HEY-DOC-Mental-Health-App | 46cb520 | lib/psychologypages/profile_pages/psychology_chat_settings/psychology_chat_settings_model.dart | Dart | www.github.com/sandrabenny/HEY-DOC-Mental-Health-App/tree/main/lib/psychologypages/profile_pages/psychology_chat_settings/psychology_chat_settings_model.dart | https://raw.githubusercontent.com/sandrabenny/HEY-DOC-Mental-Health-App/46cb520/lib/psychologypages/profile_pages/psychology_chat_settings/psychology_chat_settings_model.dart | sandrabenny/HEY-DOC-Mental-Health-App 46cb520 lib/psychologypages/profile_pages/psychology_chat_settings/psychology_chat_settings_model.dart | true | 200 | 353 | import '/flutter_flow/flutter_flow_util.dart';
import 'psychology_chat_settings_widget.dart' show PsychologyChatSettingsWidget;
import 'package:flutter/material.dart';
class PsychologyChatSettingsModel
extends FlutterFlowModel<PsychologyChatSettingsWidget> {
@override
void initState(BuildContext context) {}
... | 7 |
Arkanigara/boavista2 | c4646d4 | lib/screens/search_screen.dart | Dart | www.github.com/Arkanigara/boavista2/tree/main/lib/screens/search_screen.dart | https://raw.githubusercontent.com/Arkanigara/boavista2/c4646d4/lib/screens/search_screen.dart | Arkanigara/boavista2 c4646d4 lib/screens/search_screen.dart | true | 200 | 3,666 | import 'package:boavista2/screens/profile_screen.dart';
import 'package:boavista2/screens/view_album.dart';
import 'package:boavista2/screens/view_album.dart';
import 'package:boavista2/screens/view_search.dart';
import 'package:boavista2/utils/colors.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import... | 1 |
joseCardona12/02-flutter-application | 41c9f2a | lib/main.dart | Dart | www.github.com/joseCardona12/02-flutter-application/tree/main/lib/main.dart | https://raw.githubusercontent.com/joseCardona12/02-flutter-application/41c9f2a/lib/main.dart | joseCardona12/02-flutter-application 41c9f2a lib/main.dart | true | 200 | 495 | import 'package:flutter/material.dart';
import 'package:flutter_application_02/presentation/screens/counter_screen.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key}); // Practice good
@override
Widget build(BuildContext context) {
return MaterialA... | 2 |
TataAdiN/Flutter-Fundamental-Learn | e8d4bc6 | lib/screens/widgets/empty_item.dart | Dart | www.github.com/TataAdiN/Flutter-Fundamental-Learn/tree/main/lib/screens/widgets/empty_item.dart | https://raw.githubusercontent.com/TataAdiN/Flutter-Fundamental-Learn/e8d4bc6/lib/screens/widgets/empty_item.dart | TataAdiN/Flutter-Fundamental-Learn e8d4bc6 lib/screens/widgets/empty_item.dart | true | 200 | 667 | import 'package:flutter/material.dart';
class EmptyItem extends StatelessWidget {
const EmptyItem({super.key, required this.itemName});
final String itemName;
@override
Widget build(BuildContext context) {
return Padding(
padding: const EdgeInsets.only(top: 52),
child: Center(
c... | 3 |
CHRISTOPANANJICKAL/portfolio | 77638b7 | lib/ui/projects_screen/widgets/technologies_used_widget.dart | Dart | www.github.com/CHRISTOPANANJICKAL/portfolio/tree/main/lib/ui/projects_screen/widgets/technologies_used_widget.dart | https://raw.githubusercontent.com/CHRISTOPANANJICKAL/portfolio/77638b7/lib/ui/projects_screen/widgets/technologies_used_widget.dart | CHRISTOPANANJICKAL/portfolio 77638b7 lib/ui/projects_screen/widgets/technologies_used_widget.dart | true | 200 | 1,194 | // Created by: Christo Pananjickal, Created at: 01-05-2024 10:58 am
import 'package:flutter/material.dart';
import 'package:portfolio/models/user_models/url_model.dart';
import 'package:portfolio/theme/colors.dart';
import 'package:portfolio/theme/text_styles.dart';
import 'package:portfolio/ui/projects_screen/widgets... | 4 |
manamimran/internship_project | 24fb860 | lib/models/comment_model.dart | Dart | www.github.com/manamimran/internship_project/tree/main/lib/models/comment_model.dart | https://raw.githubusercontent.com/manamimran/internship_project/24fb860/lib/models/comment_model.dart | manamimran/internship_project 24fb860 lib/models/comment_model.dart | true | 200 | 846 | import 'package:cloud_firestore/cloud_firestore.dart';
class CommentModel {
late String id;
late String postId;
late String comment;
late DateTime timestamp;
late String user;
CommentModel({
required this.id,
required this.postId,
required this.comment,
required this.timestamp,
require... | 6 |
mdikcinar/kraken_pokedex | d003ea6 | test/pokemon_detail/view/pokemon_detail_view_test.dart | Dart | www.github.com/mdikcinar/kraken_pokedex/tree/main/test/pokemon_detail/view/pokemon_detail_view_test.dart | https://raw.githubusercontent.com/mdikcinar/kraken_pokedex/d003ea6/test/pokemon_detail/view/pokemon_detail_view_test.dart | mdikcinar/kraken_pokedex d003ea6 test/pokemon_detail/view/pokemon_detail_view_test.dart | true | 200 | 4,778 | import 'dart:convert';
import 'dart:io';
import 'package:bloc_test/bloc_test.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:kraken_pokedex/src/features/pokemon/domain/models/customized_pokemon.dart';
impor... | 0 |
anjana-143/Protobuddy | 60f843d | lib/auth/register/sub_widgets/register_button.dart | Dart | www.github.com/anjana-143/Protobuddy/tree/main/lib/auth/register/sub_widgets/register_button.dart | https://raw.githubusercontent.com/anjana-143/Protobuddy/60f843d/lib/auth/register/sub_widgets/register_button.dart | anjana-143/Protobuddy 60f843d lib/auth/register/sub_widgets/register_button.dart | true | 200 | 2,670 | import 'dart:io';
import 'package:awesome_snackbar_content/awesome_snackbar_content.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:protobuddy/custom_widget/custom_button/custom_button.dart';
import 'package:protobuddy/database/firebase.... | 5 |
openclues/orthoSchools | b4332ba | lib/features/notifications/persentation/notifications_screen.dart | Dart | www.github.com/openclues/orthoSchools/tree/main/lib/features/notifications/persentation/notifications_screen.dart | https://raw.githubusercontent.com/openclues/orthoSchools/b4332ba/lib/features/notifications/persentation/notifications_screen.dart | openclues/orthoSchools b4332ba lib/features/notifications/persentation/notifications_screen.dart | true | 200 | 4,315 | import 'package:azsoon/Core/colors.dart';
import 'package:azsoon/Core/network/endpoints.dart';
import 'package:azsoon/Core/network/request_helper.dart';
import 'package:azsoon/features/notifications/cubit/notifications_cubit.dart';
import 'package:azsoon/features/profile/bloc/profile_bloc.dart';
import 'package:flutter... | 7 |
ert-jill/es-pos | 9b76a75 | lib/services/classification_controller.dart | Dart | www.github.com/ert-jill/es-pos/tree/main/lib/services/classification_controller.dart | https://raw.githubusercontent.com/ert-jill/es-pos/9b76a75/lib/services/classification_controller.dart | ert-jill/es-pos 9b76a75 lib/services/classification_controller.dart | true | 200 | 2,144 | import 'dart:convert';
import 'package:get/get.dart';
import 'package:pos/models/classification.dart';
import 'package:pos/models/form.dart';
import 'http_service.dart';
class ClassificationController extends GetxController {
final HttpService httpService = Get.find<HttpService>();
RxList<Classification> classif... | 1 |
digitalfabrik/entitlementcard | 2beb9c6 | frontend/test/get_application_url_test.dart | Dart | www.github.com/digitalfabrik/entitlementcard/tree/main/frontend/test/get_application_url_test.dart | https://raw.githubusercontent.com/digitalfabrik/entitlementcard/2beb9c6/frontend/test/get_application_url_test.dart | digitalfabrik/entitlementcard 2beb9c6 frontend/test/get_application_url_test.dart | true | 200 | 3,412 | import 'package:ehrenamtskarte/proto/card.pb.dart';
import 'package:ehrenamtskarte/util/get_application_url.dart';
import 'package:test/test.dart';
void main() {
group('getApplicationUrlForCardExtension', () {
test('results in url with queryParams for koblenz', () {
final applicationUrl = 'https://koblenz.... | 4 |
kreanovi-repo/markilo | 2c79cd3 | markilo/lib/router/auth_handlers.dart | Dart | www.github.com/kreanovi-repo/markilo/tree/main/markilo/lib/router/auth_handlers.dart | https://raw.githubusercontent.com/kreanovi-repo/markilo/2c79cd3/markilo/lib/router/auth_handlers.dart | kreanovi-repo/markilo 2c79cd3 markilo/lib/router/auth_handlers.dart | true | 200 | 538 | import 'package:markilo/providers/auth_provider.dart';
import 'package:markilo/ui/views/home_view.dart';
import 'package:markilo/ui/views/login_view.dart';
import 'package:fluro/fluro.dart';
import 'package:provider/provider.dart';
class AuthHandlers {
static Handler login = Handler(handlerFunc: (context, params) {
... | 3 |
TheGreenMachine/GreenScout | 43b8f9f | lib/widgets/subheader.dart | Dart | www.github.com/TheGreenMachine/GreenScout/tree/main/lib/widgets/subheader.dart | https://raw.githubusercontent.com/TheGreenMachine/GreenScout/43b8f9f/lib/widgets/subheader.dart | TheGreenMachine/GreenScout 43b8f9f lib/widgets/subheader.dart | true | 200 | 554 | import 'package:flutter/material.dart';
/// A reusable widget for easily creating subheader or smaller text on a page.
class SubheaderLabel extends StatelessWidget {
const SubheaderLabel(this.labelText, {super.key});
final String labelText;
@override
Widget build(BuildContext context) {
return Padding(
padd... | 2 |
Guptashubham789/grocery_store_App | 2e99213 | lib/users/screens/user_profile/edit_profile_screen.dart | Dart | www.github.com/Guptashubham789/grocery_store_App/tree/main/lib/users/screens/user_profile/edit_profile_screen.dart | https://raw.githubusercontent.com/Guptashubham789/grocery_store_App/2e99213/lib/users/screens/user_profile/edit_profile_screen.dart | Guptashubham789/grocery_store_App 2e99213 lib/users/screens/user_profile/edit_profile_screen.dart | true | 200 | 4,882 |
import 'dart:io';
import 'package:bheem_kirana_store/provider/app_provider.dart';
import 'package:bheem_kirana_store/users/components/round_button.dart';
import 'package:bheem_kirana_store/users/firebase_helper/firebase_storage/firebase_storage.dart';
import 'package:bheem_kirana_store/users/models/user_models.dart';... | 6 |
uni51/flu_textbook_v2_firebase_bookmark | 8f3d57f | lib/main.dart | Dart | www.github.com/uni51/flu_textbook_v2_firebase_bookmark/tree/main/lib/main.dart | https://raw.githubusercontent.com/uni51/flu_textbook_v2_firebase_bookmark/8f3d57f/lib/main.dart | uni51/flu_textbook_v2_firebase_bookmark 8f3d57f lib/main.dart | true | 200 | 3,793 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_bookmark/user.dart';
import 'package:flutter/material.dart';
import 'package:firebase_core/firebase_core.dart';
import 'add_page.dart';
import 'firebase_options.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
awai... | 0 |
AliceGera/mobidoc | e60821f | lib/features/home/screen/home_screen_widget_model.dart | Dart | www.github.com/AliceGera/mobidoc/tree/main/lib/features/home/screen/home_screen_widget_model.dart | https://raw.githubusercontent.com/AliceGera/mobidoc/e60821f/lib/features/home/screen/home_screen_widget_model.dart | AliceGera/mobidoc e60821f lib/features/home/screen/home_screen_widget_model.dart | true | 200 | 1,933 | import 'package:elementary/elementary.dart';
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:flutter_template/features/app/di/app_scope.dart';
import 'package:flutter_template/features/common/mixin/theme_mixin.dart';
import 'package:flutter_template/... | 5 |
MahmoudShawky1612/bookapp | cdc2ba3 | lib/Features/Home/Presentation/Manager/featured_books_cubit/featured_books_cubit.dart | Dart | www.github.com/MahmoudShawky1612/bookapp/tree/main/lib/Features/Home/Presentation/Manager/featured_books_cubit/featured_books_cubit.dart | https://raw.githubusercontent.com/MahmoudShawky1612/bookapp/cdc2ba3/lib/Features/Home/Presentation/Manager/featured_books_cubit/featured_books_cubit.dart | MahmoudShawky1612/bookapp cdc2ba3 lib/Features/Home/Presentation/Manager/featured_books_cubit/featured_books_cubit.dart | true | 200 | 707 | import 'package:bloc/bloc.dart';
import 'package:flutterprojects/Features/Home/Data/Repos/home_repo.dart';
import 'package:flutterprojects/Features/Home/Presentation/Manager/featured_books_cubit/featured_books_states.dart';
class FeaturedBooksCubit extends Cubit<FeaturedBooksStates>{
FeaturedBooksCubit(this.homeRepo... | 7 |
amrelmaadawy/Todo-Task-app | 59ff318 | lib/features/todo_list_screen.dart | Dart | www.github.com/amrelmaadawy/Todo-Task-app/tree/main/lib/features/todo_list_screen.dart | https://raw.githubusercontent.com/amrelmaadawy/Todo-Task-app/59ff318/lib/features/todo_list_screen.dart | amrelmaadawy/Todo-Task-app 59ff318 lib/features/todo_list_screen.dart | true | 200 | 4,379 | import 'dart:convert';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:paymob/util/snakebar.dart';
import 'package:paymob/screens/add_task_screen.dart';
import 'package:http/http.dart' as http;
class TodoListScreen extends StatefulWidget {
const TodoListScreen({supe... | 1 |
Arjun812/shop_app | e77bb8d | lib/widgets/multi_filter.dart | Dart | www.github.com/Arjun812/shop_app/tree/main/lib/widgets/multi_filter.dart | https://raw.githubusercontent.com/Arjun812/shop_app/e77bb8d/lib/widgets/multi_filter.dart | Arjun812/shop_app e77bb8d lib/widgets/multi_filter.dart | true | 200 | 687 | // enum ProductFilter { Brand, Rating }
// enum Weight { HEAVY, NORMAL, LIGHT }
//
// enum Shape { SQUARE, ROUND, TRIANGLE }
class Product {
final String? brand;
final int? rating;
Product({
this.brand,
this.rating,
});
@override
String toString() {
return '$brand $rating';
}
}
class Query... | 2 |
shihabalhada/my_beedo_market | ac2f63e | lib/pages/cart_page.dart | Dart | www.github.com/shihabalhada/my_beedo_market/tree/main/lib/pages/cart_page.dart | https://raw.githubusercontent.com/shihabalhada/my_beedo_market/ac2f63e/lib/pages/cart_page.dart | shihabalhada/my_beedo_market ac2f63e lib/pages/cart_page.dart | true | 200 | 821 |
import 'package:flutter/material.dart';
import '../controllers/cart_controller.dart';
class CartPage extends StatelessWidget {
const CartPage({super.key});
@override
Widget build(BuildContext context) {
CartStorageService cartStorageService = CartStorageService();
return Scaffold(
appBar: AppB... | 3 |
AruneshKumarPrasad/uhum | 373bc20 | lib/Screens/OnBoardingScreen/widgets/register_loader_widget.dart | Dart | www.github.com/AruneshKumarPrasad/uhum/tree/main/lib/Screens/OnBoardingScreen/widgets/register_loader_widget.dart | https://raw.githubusercontent.com/AruneshKumarPrasad/uhum/373bc20/lib/Screens/OnBoardingScreen/widgets/register_loader_widget.dart | AruneshKumarPrasad/uhum 373bc20 lib/Screens/OnBoardingScreen/widgets/register_loader_widget.dart | true | 200 | 1,192 | import '../../../Barrel/app_barrel.dart';
class RegisterLoaderWidget extends StatelessWidget {
const RegisterLoaderWidget({
super.key,
required this.mediaProp,
this.isLogin = false,
});
final Size mediaProp;
final bool isLogin;
@override
Widget build(BuildContext context) {
return Contain... | 5 |
tanhoangminh/flutter_bloc | d8746e8 | lib/main.dart | Dart | www.github.com/tanhoangminh/flutter_bloc/tree/main/lib/main.dart | https://raw.githubusercontent.com/tanhoangminh/flutter_bloc/d8746e8/lib/main.dart | tanhoangminh/flutter_bloc d8746e8 lib/main.dart | true | 200 | 4,212 | import 'package:bloc_learn/bloc/counter_cubit.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'bloc/counter_bloc.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of yo... | 6 |
Dhineshh2002/Dart-Programming | d945277 | mixedItems.dart | Dart | www.github.com/Dhineshh2002/Dart-Programming/tree/main/mixedItems.dart | https://raw.githubusercontent.com/Dhineshh2002/Dart-Programming/d945277/mixedItems.dart | Dhineshh2002/Dart-Programming d945277 mixedItems.dart | true | 200 | 650 | void main(){
List<dynamic> mixedItems = ['dhinesh', 1, 2, 'balaji', 5.5, 6.5,
3, 4, {'1':'Hotstar'}, {'2':'Netflix'}];
List<int> intItems = [];
List<double> doubleItems = [];
List<String> stringItems = [];
List<Map<String,String>> mapItems = [];
for(var x in mixedItems){
... | 7 |
shefeekae/kavachz-problem-statement | fa0a120 | lib/components/home_shimmer.dart | Dart | www.github.com/shefeekae/kavachz-problem-statement/tree/main/lib/components/home_shimmer.dart | https://raw.githubusercontent.com/shefeekae/kavachz-problem-statement/fa0a120/lib/components/home_shimmer.dart | shefeekae/kavachz-problem-statement fa0a120 lib/components/home_shimmer.dart | true | 200 | 1,043 | //This is a shimmer widget for product page.
import 'package:flutter/material.dart';
import 'package:shimmer/shimmer.dart';
class HomePageShimmer extends StatelessWidget {
const HomePageShimmer({super.key});
@override
Widget build(BuildContext context) {
final orientation = MediaQuery.of(context).orientati... | 1 |
Yash112kumawat/BOOKS | 3d92e2a | lib/main.dart | Dart | www.github.com/Yash112kumawat/BOOKS/tree/main/lib/main.dart | https://raw.githubusercontent.com/Yash112kumawat/BOOKS/3d92e2a/lib/main.dart | Yash112kumawat/BOOKS 3d92e2a lib/main.dart | true | 200 | 573 | import 'package:book_Store/common/color_extenstion.dart';
import 'package:book_Store/view/Loginscreen/login_screen.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildCo... | 4 |
meghap238/worksnap | 03582ee | lib/features/presentation/widgets/profile_list_view.dart | Dart | www.github.com/meghap238/worksnap/tree/main/lib/features/presentation/widgets/profile_list_view.dart | https://raw.githubusercontent.com/meghap238/worksnap/03582ee/lib/features/presentation/widgets/profile_list_view.dart | meghap238/worksnap 03582ee lib/features/presentation/widgets/profile_list_view.dart | true | 200 | 3,366 | import 'package:workplace/features/data/models/profile_data_model.dart';
import 'package:workplace/imports.dart';
class ProfileListRowWidget extends StatelessWidget {
final onClickListCallBack;
final bool isHideIconVisible;
ProfileListRowWidget(
{Key? key, this.onClickListCallBack, this.isHideIconVisible ... | 2 |
SergioJunnior/PokedexFlutter | 3c820e5 | lib/domain/entities/official_artwork_entity.dart | Dart | www.github.com/SergioJunnior/PokedexFlutter/tree/main/lib/domain/entities/official_artwork_entity.dart | https://raw.githubusercontent.com/SergioJunnior/PokedexFlutter/3c820e5/lib/domain/entities/official_artwork_entity.dart | SergioJunnior/PokedexFlutter 3c820e5 lib/domain/entities/official_artwork_entity.dart | true | 200 | 524 | class OfficialArtworkEntity {
final String? frontDefault;
final String? frontShiny;
OfficialArtworkEntity({
required this.frontDefault,
required this.frontShiny,
});
factory OfficialArtworkEntity.fromJson(Map<String, dynamic> json) {
return OfficialArtworkEntity(
frontDefault: json['front_... | 3 |
jewusiak/labinventory_app | 3a38154 | lib/services/file_utils.dart | Dart | www.github.com/jewusiak/labinventory_app/tree/main/lib/services/file_utils.dart | https://raw.githubusercontent.com/jewusiak/labinventory_app/3a38154/lib/services/file_utils.dart | jewusiak/labinventory_app 3a38154 lib/services/file_utils.dart | true | 200 | 1,850 | import 'dart:io';
import 'package:flutter/material.dart';
import 'package:permission_handler/permission_handler.dart';
class FileUtils {
static Future<bool> checkStoragePermissions(context) async {
if (Platform.isAndroid) return true;
var permissionStatus = await Permission.storage.request();
if (permi... | 0 |
DwikyRefo18/youapp | a3f9668 | lib/screen/profile/profile.dart | Dart | www.github.com/DwikyRefo18/youapp/tree/main/lib/screen/profile/profile.dart | https://raw.githubusercontent.com/DwikyRefo18/youapp/a3f9668/lib/screen/profile/profile.dart | DwikyRefo18/youapp a3f9668 lib/screen/profile/profile.dart | true | 200 | 3,546 | import 'package:auto_route/auto_route.dart';
import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:youapp/router/app_router.gr.dart';
import 'package:youapp/screen/profile/widgets/about_widget.dart';
import 'package:youapp/screen/profile/widgets/interest_wi... | 5 |
nguyenduyhaihauc/shopping_app | ccc4f97 | lib/widgets/container_button_model.dart | Dart | www.github.com/nguyenduyhaihauc/shopping_app/tree/main/lib/widgets/container_button_model.dart | https://raw.githubusercontent.com/nguyenduyhaihauc/shopping_app/ccc4f97/lib/widgets/container_button_model.dart | nguyenduyhaihauc/shopping_app ccc4f97 lib/widgets/container_button_model.dart | true | 200 | 806 | import 'package:flutter/material.dart';
// Custom Button
class ContainerButtonModel extends StatelessWidget {
final Color? bgColor; //Background Color
final double? containerWith; //With Button
final String itext; // Text in Button
const ContainerButtonModel({super.key, this.bgColor, this.containerWith, req... | 6 |
rogerCapone/HideTalk | 6f36ba5 | lib/pages/log/login/components/a_sign_form.dart | Dart | www.github.com/rogerCapone/HideTalk/tree/main/lib/pages/log/login/components/a_sign_form.dart | https://raw.githubusercontent.com/rogerCapone/HideTalk/6f36ba5/lib/pages/log/login/components/a_sign_form.dart | rogerCapone/HideTalk 6f36ba5 lib/pages/log/login/components/a_sign_form.dart | true | 200 | 11,998 | import 'package:flutter/material.dart';
import 'package:hide_talk/helper/keyboard.dart';
import 'package:hide_talk/pages/appMenu/appMenu.dart';
import 'package:hide_talk/pages/log/forgot_password/a_forgot_password.dart';
import 'package:hide_talk/pages/log/setProfileData/completeProfile.dart';
import 'package:hide... | 4 |
carbonanik/grocery_app | c759dff | lib/ui/views/home_tab/tab_views/support/faq_page.dart | Dart | www.github.com/carbonanik/grocery_app/tree/main/lib/ui/views/home_tab/tab_views/support/faq_page.dart | https://raw.githubusercontent.com/carbonanik/grocery_app/c759dff/lib/ui/views/home_tab/tab_views/support/faq_page.dart | carbonanik/grocery_app c759dff lib/ui/views/home_tab/tab_views/support/faq_page.dart | true | 200 | 4,423 | import 'package:auto_route/auto_route.dart';
import 'package:flutter/material.dart';
// import 'package:get/get.dart';
import 'package:instant_grrocery_delivery/ui/theme/colors.dart';
import 'package:instant_grrocery_delivery/ui/widget/my_app_bar.dart';
@RoutePage()
class FaqsPage extends StatelessWidget {
const Fa... | 3 |
aastillero/rhythmboard | 201f90c | lib/views/widgets/MFTabComponent.dart | Dart | www.github.com/aastillero/rhythmboard/tree/main/lib/views/widgets/MFTabComponent.dart | https://raw.githubusercontent.com/aastillero/rhythmboard/201f90c/lib/views/widgets/MFTabComponent.dart | aastillero/rhythmboard 201f90c lib/views/widgets/MFTabComponent.dart | true | 200 | 4,213 | import 'package:flutter/material.dart';
import 'MFTab.dart';
import 'MFTabs.dart';
class MFComponentDemoTabData {
final Widget? demoWidget;
final String? exampleCodeTag;
final String? description;
final String? tabName;
final VoidCallback? loadMoreCallback;
final VoidCallback? refreshCallback;
MFCompon... | 2 |
saifullahshah1/SpeechToContract | 9e30d1d | lib/auth_module/register.dart | Dart | www.github.com/saifullahshah1/SpeechToContract/tree/main/lib/auth_module/register.dart | https://raw.githubusercontent.com/saifullahshah1/SpeechToContract/9e30d1d/lib/auth_module/register.dart | saifullahshah1/SpeechToContract 9e30d1d lib/auth_module/register.dart | true | 200 | 14,878 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import '../contact_module/dashboard_page.dart';
import '../trash/dashboardScreen.dart';
import 'loginScreen.dart';
import 'package:f... | 1 |
sarah4-k/Trove | b41805f | lib/backend/schema/quiz_record.dart | Dart | www.github.com/sarah4-k/Trove/tree/main/lib/backend/schema/quiz_record.dart | https://raw.githubusercontent.com/sarah4-k/Trove/b41805f/lib/backend/schema/quiz_record.dart | sarah4-k/Trove b41805f lib/backend/schema/quiz_record.dart | true | 200 | 3,500 | import 'dart:async';
import 'package:collection/collection.dart';
import '/backend/schema/util/firestore_util.dart';
import '/backend/schema/util/schema_util.dart';
import 'index.dart';
import '/flutter_flow/flutter_flow_util.dart';
class QuizRecord extends FirestoreRecord {
QuizRecord._(
super.reference,
... | 0 |
nafiselq/flutter_shamo_provider | ce1a55f | lib/pages/home/profile_page.dart | Dart | www.github.com/nafiselq/flutter_shamo_provider/tree/main/lib/pages/home/profile_page.dart | https://raw.githubusercontent.com/nafiselq/flutter_shamo_provider/ce1a55f/lib/pages/home/profile_page.dart | nafiselq/flutter_shamo_provider ce1a55f lib/pages/home/profile_page.dart | true | 200 | 4,815 | import 'package:flutter/material.dart';
import 'package:flutter_shamo_provider/pages/widget/profile_tile.dart';
import 'package:flutter_shamo_provider/providers/preferences_auth_provider.dart';
import 'package:flutter_shamo_provider/utils/theme.dart';
import 'package:provider/provider.dart';
import '../../data/models/... | 5 |
CemTitor/Activity_Frontend | 286c7e4 | lib/feature/update_activity/bloc/update_activity_event.dart | Dart | www.github.com/CemTitor/Activity_Frontend/tree/main/lib/feature/update_activity/bloc/update_activity_event.dart | https://raw.githubusercontent.com/CemTitor/Activity_Frontend/286c7e4/lib/feature/update_activity/bloc/update_activity_event.dart | CemTitor/Activity_Frontend 286c7e4 lib/feature/update_activity/bloc/update_activity_event.dart | true | 200 | 1,244 | part of 'update_activity_bloc.dart';
abstract class UpdateActivityEvent extends Equatable {
const UpdateActivityEvent();
@override
List<Object> get props => [];
}
class UpdateActivityTitleChanged extends UpdateActivityEvent {
const UpdateActivityTitleChanged(this.title);
final String title;
@override
... | 7 |
mcgaryp/Bishopric-Assistant | bf40ba4 | models/lib/models/account_domain/account_use_cases/get_state_use_case.dart | Dart | www.github.com/mcgaryp/Bishopric-Assistant/tree/main/models/lib/models/account_domain/account_use_cases/get_state_use_case.dart | https://raw.githubusercontent.com/mcgaryp/Bishopric-Assistant/bf40ba4/models/lib/models/account_domain/account_use_cases/get_state_use_case.dart | mcgaryp/Bishopric-Assistant bf40ba4 models/lib/models/account_domain/account_use_cases/get_state_use_case.dart | true | 200 | 461 | import 'package:models/models/account.dart';
///
/// get_state_use_case.dart
/// bishopric-assistant
///
/// Created by Po on 1/30/22
/// Copyright 2022 Po. All rights reserved.
///
mixin GetStateUseCase {
Future<UserState> execute();
}
class DefaultGetStateUseCase implements GetStateUseCase {
final StateReposit... | 4 |
Izabella-Castro/plf-es-2022-1-ti5-5104100-DinDin | c70b4b0 | Codigo/dindin-mobile/dindin/lib/widgets/category_list.dart | Dart | www.github.com/Izabella-Castro/plf-es-2022-1-ti5-5104100-DinDin/tree/main/Codigo/dindin-mobile/dindin/lib/widgets/category_list.dart | https://raw.githubusercontent.com/Izabella-Castro/plf-es-2022-1-ti5-5104100-DinDin/c70b4b0/Codigo/dindin-mobile/dindin/lib/widgets/category_list.dart | Izabella-Castro/plf-es-2022-1-ti5-5104100-DinDin c70b4b0 Codigo/dindin-mobile/dindin/lib/widgets/category_list.dart | true | 200 | 2,125 | import 'package:dindin/helpers/color_helper.dart';
import 'package:dindin/models/category.dart';
import 'package:dindin/pages/category/form.dart';
import 'package:flutter/material.dart';
class CategoryList extends StatelessWidget {
final List<Category> categories;
final Function reloadTx;
final ColorHelper ch ... | 3 |
NabeelGef/alhidaya | abcc3c3 | lib/Model/databasehelper.dart | Dart | www.github.com/NabeelGef/alhidaya/tree/main/lib/Model/databasehelper.dart | https://raw.githubusercontent.com/NabeelGef/alhidaya/abcc3c3/lib/Model/databasehelper.dart | NabeelGef/alhidaya abcc3c3 lib/Model/databasehelper.dart | true | 200 | 2,635 | import 'package:alhidaya/Model/Student.dart';
import 'package:sqflite/sqflite.dart';
import 'package:path/path.dart';
import 'package:path_provider/path_provider.dart';
class DataBaseHelper {
static const _databaseName = "data1.db";
static const _databaseVersion = 1;
static const table = 'student';
static con... | 2 |
FindX-0/findx_mobile | 8699c78 | lib/shared/values/app_theme.dart | Dart | www.github.com/FindX-0/findx_mobile/tree/main/lib/shared/values/app_theme.dart | https://raw.githubusercontent.com/FindX-0/findx_mobile/8699c78/lib/shared/values/app_theme.dart | FindX-0/findx_mobile 8699c78 lib/shared/values/app_theme.dart | true | 200 | 4,833 | import 'package:flutter/material.dart';
import 'app_theme_extension.dart';
import 'palette.dart';
abstract final class AppTheme {
AppTheme._();
static final _defaultButtonShape = RoundedRectangleBorder(borderRadius: BorderRadius.circular(8));
static const _defaultButtonPadding = EdgeInsets.symmetric(vertical: ... | 1 |
Vishnugopankn/lyiq_task | 6a77ac6 | lib/directpayment_screen.dart | Dart | www.github.com/Vishnugopankn/lyiq_task/tree/main/lib/directpayment_screen.dart | https://raw.githubusercontent.com/Vishnugopankn/lyiq_task/6a77ac6/lib/directpayment_screen.dart | Vishnugopankn/lyiq_task 6a77ac6 lib/directpayment_screen.dart | true | 200 | 3,694 | import 'package:flutter/material.dart';
class Direct_Payment extends StatefulWidget {
const Direct_Payment({Key? key}) : super(key: key);
@override
State<Direct_Payment> createState() => _Direct_PaymentState();
}
class _Direct_PaymentState extends State<Direct_Payment> {
List pay=["Debit card","UPI","Google... | 6 |
sh-kikuchi/fireProject | a674fd8 | lib/auth.dart | Dart | www.github.com/sh-kikuchi/fireProject/tree/main/lib/auth.dart | https://raw.githubusercontent.com/sh-kikuchi/fireProject/a674fd8/lib/auth.dart | sh-kikuchi/fireProject a674fd8 lib/auth.dart | true | 200 | 3,735 | import 'package:fire_project/register.dart';
import 'package:fire_project/todo.dart';
import 'package:flutter/material.dart';
import 'package:firebase_auth/firebase_auth.dart';
class AuthAppPage extends StatefulWidget {
const AuthAppPage({super.key});
@override
State<AuthAppPage> createState() => _AuthAppPageSt... | 0 |
billah16/sharechip_project-master | 97c276d | sharechip_project-master/lib/main.dart | Dart | www.github.com/billah16/sharechip_project-master/tree/main/sharechip_project-master/lib/main.dart | https://raw.githubusercontent.com/billah16/sharechip_project-master/97c276d/sharechip_project-master/lib/main.dart | billah16/sharechip_project-master 97c276d sharechip_project-master/lib/main.dart | true | 200 | 491 | import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'screens/home/welcome-screen.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp();
runApp(const ShareChip());
}
class ShareChip extends StatelessWidget {
const Shar... | 5 |
artyomIgg/tasty-cook | 13511af | lib/widgets/my_loader.dart | Dart | www.github.com/artyomIgg/tasty-cook/tree/main/lib/widgets/my_loader.dart | https://raw.githubusercontent.com/artyomIgg/tasty-cook/13511af/lib/widgets/my_loader.dart | artyomIgg/tasty-cook 13511af lib/widgets/my_loader.dart | true | 200 | 334 | import 'package:flutter/material.dart';
import 'package:tasty_cook/constants/constants.dart' as constants;
class MyLoader extends StatelessWidget {
const MyLoader({super.key});
@override
Widget build(BuildContext context) {
return const CircularProgressIndicator(
color: constants.Colors.primaryYellow,... | 7 |
Tanvirhrifat/list_view_bloc | 2b292ce | lib/presentation/bloc/user_bloc/users_bloc.dart | Dart | www.github.com/Tanvirhrifat/list_view_bloc/tree/main/lib/presentation/bloc/user_bloc/users_bloc.dart | https://raw.githubusercontent.com/Tanvirhrifat/list_view_bloc/2b292ce/lib/presentation/bloc/user_bloc/users_bloc.dart | Tanvirhrifat/list_view_bloc 2b292ce lib/presentation/bloc/user_bloc/users_bloc.dart | true | 200 | 939 | import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:list_view_bloc/presentation/bloc/user_bloc/users_event.dart';
import 'package:list_view_bloc/presentation/bloc/user_bloc/users_state.dart';
import '../../../data/datasources/user_service.dart';
class UsersBloc extends Bloc<UsersEvent, UsersState> {
fi... | 4 |
ScheznikL/film_catalog_bloc | 258a1eb | lib/init/bloc/popular_films_bloc.dart | Dart | www.github.com/ScheznikL/film_catalog_bloc/tree/main/lib/init/bloc/popular_films_bloc.dart | https://raw.githubusercontent.com/ScheznikL/film_catalog_bloc/258a1eb/lib/init/bloc/popular_films_bloc.dart | ScheznikL/film_catalog_bloc 258a1eb lib/init/bloc/popular_films_bloc.dart | true | 200 | 1,729 | import 'dart:async';
import 'package:bloc/bloc.dart';
import 'package:equatable/equatable.dart';
import 'package:meta/meta.dart';
import 'package:film_catalog_bloc/film_manager/model/film.dart';
import '../../film_manager/bloc/film_bloc.dart';
import '../../repositories/api_repository/film_api.dart';
part 'popular_fi... | 2 |
im-dpaul/chat-now | e64ef81 | lib/features/chat_firebase/view/widgets/capitalizeText.dart | Dart | www.github.com/im-dpaul/chat-now/tree/main/lib/features/chat_firebase/view/widgets/capitalizeText.dart | https://raw.githubusercontent.com/im-dpaul/chat-now/e64ef81/lib/features/chat_firebase/view/widgets/capitalizeText.dart | im-dpaul/chat-now e64ef81 lib/features/chat_firebase/view/widgets/capitalizeText.dart | true | 200 | 594 | import 'package:flutter/services.dart';
class UpperCaseTextFormatter extends TextInputFormatter {
@override
TextEditingValue formatEditUpdate(
TextEditingValue oldValue, TextEditingValue newValue) {
if (!Uri.parse(newValue.text).isAbsolute && newValue.text.isNotEmpty) {
return newValue.copyW... | 3 |
HappyHunt/travel_app | 08544e2 | lib/db_methods/trips.dart | Dart | www.github.com/HappyHunt/travel_app/tree/main/lib/db_methods/trips.dart | https://raw.githubusercontent.com/HappyHunt/travel_app/08544e2/lib/db_methods/trips.dart | HappyHunt/travel_app 08544e2 lib/db_methods/trips.dart | true | 200 | 2,148 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:travel_app/pages/offers/offers_data.dart';
List<Offer> travelsList = [];
Future<List<Offer>> getTravelsList(
int option, country, city, personCount, startDate, endDate) async {
try {
var collectionReference = FirebaseFirestore.instance.c... | 1 |
tms-thanhnguyen1/widget_app_flutter | 720ea38 | lib/BLoc/Home/home_bloc.dart | Dart | www.github.com/tms-thanhnguyen1/widget_app_flutter/tree/main/lib/BLoc/Home/home_bloc.dart | https://raw.githubusercontent.com/tms-thanhnguyen1/widget_app_flutter/720ea38/lib/BLoc/Home/home_bloc.dart | tms-thanhnguyen1/widget_app_flutter 720ea38 lib/BLoc/Home/home_bloc.dart | true | 200 | 1,241 | import 'package:bloc/bloc.dart';
import 'package:flutter_easyloading/flutter_easyloading.dart';
import 'package:widget_app/api_repository/home_repository.dart';
import 'package:widget_app/models/news/new.dart';
import 'home_event.dart';
import 'home_state.dart';
class HomeBloc extends Bloc<HomeEvent, HomeState> {
l... | 5 |
FathyTarek110/Thirf_E-Commerce | ef86f0a | lib/user/presentation/screens/profile_view/settings_screen.dart | Dart | www.github.com/FathyTarek110/Thirf_E-Commerce/tree/main/lib/user/presentation/screens/profile_view/settings_screen.dart | https://raw.githubusercontent.com/FathyTarek110/Thirf_E-Commerce/ef86f0a/lib/user/presentation/screens/profile_view/settings_screen.dart | FathyTarek110/Thirf_E-Commerce ef86f0a lib/user/presentation/screens/profile_view/settings_screen.dart | true | 200 | 4,840 | import 'package:ecommerce_clean_arch/core/resources/font_manger/font_manager.dart';
import 'package:ecommerce_clean_arch/core/resources/values_manager/values_manger.dart';
import 'package:flutter/material.dart';
import '../../../../core/resources/color_manger/color_manager.dart';
class SettingsScreen extends Stateles... | 7 |
tufail-maroofi/City-Guide-App | 4a5ab50 | lib/Screens/Splash_Screen.dart | Dart | www.github.com/tufail-maroofi/City-Guide-App/tree/main/lib/Screens/Splash_Screen.dart | https://raw.githubusercontent.com/tufail-maroofi/City-Guide-App/4a5ab50/lib/Screens/Splash_Screen.dart | tufail-maroofi/City-Guide-App 4a5ab50 lib/Screens/Splash_Screen.dart | true | 200 | 1,399 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:city_guide_project/Screens/Onboard_Screen.dart';
class SplashScreen extends StatefulWidget {
const SplashScreen({super.key});
@override
State<SplashScreen> createState() => _SplashState();
}
cla... | 0 |
HaniumIqbal/hershield | daf0710 | lib/app/modules/policeHelpLine/views/police_help_line_view.dart | Dart | www.github.com/HaniumIqbal/hershield/tree/main/lib/app/modules/policeHelpLine/views/police_help_line_view.dart | https://raw.githubusercontent.com/HaniumIqbal/hershield/daf0710/lib/app/modules/policeHelpLine/views/police_help_line_view.dart | HaniumIqbal/hershield daf0710 lib/app/modules/policeHelpLine/views/police_help_line_view.dart | true | 200 | 4,329 | import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:get/get.dart';
import 'package:hershield/app/modules/home/model/EmergencyHubModel.dart';
import 'package:hershield/constant/colors.dart';
import 'package:hershield/constant/image_path.dart';
import 'package:hershield/... | 6 |
poyaaghajani/Exchange-App-Provider | db183aa | lib/ui/main_wrapper.dart | Dart | www.github.com/poyaaghajani/Exchange-App-Provider/tree/main/lib/ui/main_wrapper.dart | https://raw.githubusercontent.com/poyaaghajani/Exchange-App-Provider/db183aa/lib/ui/main_wrapper.dart | poyaaghajani/Exchange-App-Provider db183aa lib/ui/main_wrapper.dart | true | 200 | 1,404 | import 'package:exchange/ui/home_screen.dart';
import 'package:exchange/ui/market_view_screen.dart';
import 'package:exchange/ui/profile_screen.dart';
import 'package:exchange/ui/ui_helper/bottom.nav.dart';
import 'package:exchange/ui/watch_list_screen.dart';
import 'package:flutter/material.dart';
class MainWrapper e... | 4 |
FelipeAugustoAraujo/CocoVerdeFlutter | e8f3d1a | lib/entities/frente/frente_repository.dart | Dart | www.github.com/FelipeAugustoAraujo/CocoVerdeFlutter/tree/main/lib/entities/frente/frente_repository.dart | https://raw.githubusercontent.com/FelipeAugustoAraujo/CocoVerdeFlutter/e8f3d1a/lib/entities/frente/frente_repository.dart | FelipeAugustoAraujo/CocoVerdeFlutter e8f3d1a lib/entities/frente/frente_repository.dart | true | 200 | 2,487 | import 'dart:convert';
import 'package:Cocoverde/entities/frente/frente_model.dart';
import 'package:Cocoverde/shared/repository/http_utils.dart';
class FrenteRepository {
FrenteRepository();
static final String uriEndpoint = '/frentes';
Future<List<Frente>> getAllFrentes() async {
final allFrentesReques... | 3 |
yonakris98/venteny_test | a44ebd0 | lib/core/database/task_database.dart | Dart | www.github.com/yonakris98/venteny_test/tree/main/lib/core/database/task_database.dart | https://raw.githubusercontent.com/yonakris98/venteny_test/a44ebd0/lib/core/database/task_database.dart | yonakris98/venteny_test a44ebd0 lib/core/database/task_database.dart | true | 200 | 933 | import 'package:sqflite/sqflite.dart';
import 'package:path/path.dart';
class TaskDatabase {
static final TaskDatabase instance = TaskDatabase._init();
static Database? _database;
TaskDatabase._init();
Future<Database> get database async {
if (_database != null) return _database!;
_database = await _... | 2 |
wahyurama-creator/mkp_ecommerce | c996263 | lib/presentation/widgets/form/custom_text_form_field.dart | Dart | www.github.com/wahyurama-creator/mkp_ecommerce/tree/main/lib/presentation/widgets/form/custom_text_form_field.dart | https://raw.githubusercontent.com/wahyurama-creator/mkp_ecommerce/c996263/lib/presentation/widgets/form/custom_text_form_field.dart | wahyurama-creator/mkp_ecommerce c996263 lib/presentation/widgets/form/custom_text_form_field.dart | true | 200 | 1,231 | import 'package:flutter/material.dart';
class CustomTextFormField extends StatelessWidget {
final String labelText;
final TextEditingController? controller;
final bool obscureText;
final TextInputType inputType;
const CustomTextFormField({
super.key,
required this.labelText,
this.controller,
... | 1 |
harsh116/Media_Mosaic | 17a32ac | lib/utils/api.dart | Dart | www.github.com/harsh116/Media_Mosaic/tree/main/lib/utils/api.dart | https://raw.githubusercontent.com/harsh116/Media_Mosaic/17a32ac/lib/utils/api.dart | harsh116/Media_Mosaic 17a32ac lib/utils/api.dart | true | 200 | 2,559 | import 'dart:convert';
import 'dart:io';
import 'package:http/http.dart' as http;
import 'package:html/parser.dart';
import 'package:html/dom.dart';
// import 'package:html_parser_plus/html_parser_plus.dart';
String preserveTextWithNewlines(Element element) {
final buffer = StringBuffer();
for (var node in elem... | 6 |
zaidoonkamil/PicSplash | 751da3c | lib/screens/splashpage.dart | Dart | www.github.com/zaidoonkamil/PicSplash/tree/main/lib/screens/splashpage.dart | https://raw.githubusercontent.com/zaidoonkamil/PicSplash/751da3c/lib/screens/splashpage.dart | zaidoonkamil/PicSplash 751da3c lib/screens/splashpage.dart | true | 200 | 887 | import 'package:flutter/material.dart';
class SplashScreen extends StatelessWidget {
const SplashScreen({key});
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Theme.of(context).scaffoldBackgroundColor,
body: Column(
mainAxisAlignment: MainAxisAlignment.c... | 5 |
RFBruno/flutter-contact-bloc | e57166f | lib/example_bloc_cubit/page_bloc/bloc/counter_bloc.dart | Dart | www.github.com/RFBruno/flutter-contact-bloc/tree/main/lib/example_bloc_cubit/page_bloc/bloc/counter_bloc.dart | https://raw.githubusercontent.com/RFBruno/flutter-contact-bloc/e57166f/lib/example_bloc_cubit/page_bloc/bloc/counter_bloc.dart | RFBruno/flutter-contact-bloc e57166f lib/example_bloc_cubit/page_bloc/bloc/counter_bloc.dart | true | 200 | 522 |
import 'package:bloc/bloc.dart';
part 'counter_event.dart';
part 'counter_state.dart';
class CounterBloc extends Bloc<CounterEvent, CounterState>{
CounterBloc(): super(CounterStateInitial()){
on<CounterIncrement>(_increment);
on<CounterDecrement>(_decrement);
}
void _increment(CounterIncrement event, E... | 7 |
MustafaSayedAl-Said/quizzler-flutter | 9cef1f2 | lib/main.dart | Dart | www.github.com/MustafaSayedAl-Said/quizzler-flutter/tree/main/lib/main.dart | https://raw.githubusercontent.com/MustafaSayedAl-Said/quizzler-flutter/9cef1f2/lib/main.dart | MustafaSayedAl-Said/quizzler-flutter 9cef1f2 lib/main.dart | true | 200 | 5,122 | import 'package:flutter/material.dart';
import 'question.dart';
import 'quiz_brain.dart';
import 'package:rflutter_alert/rflutter_alert.dart';
QuizBrain quizBrain = new QuizBrain();
void main() => runApp(Quizzler());
class Quizzler extends StatelessWidget {
@override
Widget build(BuildContext context) {
retur... | 0 |
rmadmsjm/LikeLionAppSchool | 4424854 | 03_Dart/Dart06_Collection/main.dart | Dart | www.github.com/rmadmsjm/LikeLionAppSchool/tree/main/03_Dart/Dart06_Collection/main.dart | https://raw.githubusercontent.com/rmadmsjm/LikeLionAppSchool/4424854/03_Dart/Dart06_Collection/main.dart | rmadmsjm/LikeLionAppSchool 4424854 03_Dart/Dart06_Collection/main.dart | true | 200 | 3,536 | void main(){
// List 생성
List<int> list1 = [];
// var나 dynamic을 사용하여 변수를 선언하는 경우
var list2 = <int>[];
print("list1 : $list1");
print("list2 : $list2");
// 관리할 값이나 객체가 있을 경우
List<int> list3 = [100, 200, 300];
var list4 = <int>[100, 200, 300];
print("list3 : $list3");
print("list4 : $list4");
/... | 4 |
Yashwanth322/yash_products | 73a370c | lib/screens/product_list_screen.dart | Dart | www.github.com/Yashwanth322/yash_products/tree/main/lib/screens/product_list_screen.dart | https://raw.githubusercontent.com/Yashwanth322/yash_products/73a370c/lib/screens/product_list_screen.dart | Yashwanth322/yash_products 73a370c lib/screens/product_list_screen.dart | true | 200 | 2,096 | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import '../models/product.dart';
import '../providers/cart_provider.dart';
import 'cart_screen.dart';
class ProductListScreen extends StatelessWidget {
const ProductListScreen({super.key});
@override
Widget build(BuildContext conte... | 3 |
mazidahmad/gimme_delivery | 957bcac | lib/features/global/presentation/widget/app_search_form_field.dart | Dart | www.github.com/mazidahmad/gimme_delivery/tree/main/lib/features/global/presentation/widget/app_search_form_field.dart | https://raw.githubusercontent.com/mazidahmad/gimme_delivery/957bcac/lib/features/global/presentation/widget/app_search_form_field.dart | mazidahmad/gimme_delivery 957bcac lib/features/global/presentation/widget/app_search_form_field.dart | true | 200 | 2,058 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:gimme_delivery/core/theme/theme.dart';
class AppSearchFormField extends StatelessWidget {
const AppSearchFormField({
this.hint = '',
this.controller,
this.prefixIcon,
this.validator,
... | 2 |
matheus-novais/sistemacadastro | 3f17a72 | lib/components/menu_lateral_widget.dart | Dart | www.github.com/matheus-novais/sistemacadastro/tree/main/lib/components/menu_lateral_widget.dart | https://raw.githubusercontent.com/matheus-novais/sistemacadastro/3f17a72/lib/components/menu_lateral_widget.dart | matheus-novais/sistemacadastro 3f17a72 lib/components/menu_lateral_widget.dart | true | 200 | 6,329 | import '/flutter_flow/flutter_flow_theme.dart';
import '/flutter_flow/flutter_flow_util.dart';
import 'package:flutter/material.dart';
import 'menu_lateral_model.dart';
export 'menu_lateral_model.dart';
class MenuLateralWidget extends StatefulWidget {
const MenuLateralWidget({super.key});
@override
_MenuLateral... | 6 |
Jorge-Neto/av-apps-moveis | 1144d80 | lib/models/command_model.dart | Dart | www.github.com/Jorge-Neto/av-apps-moveis/tree/main/lib/models/command_model.dart | https://raw.githubusercontent.com/Jorge-Neto/av-apps-moveis/1144d80/lib/models/command_model.dart | Jorge-Neto/av-apps-moveis 1144d80 lib/models/command_model.dart | true | 200 | 348 | class CommandModel {
final String objectId;
final int comCode;
final int comTable;
final List? itens;
CommandModel(
{required this.objectId,
required this.comCode,
required this.comTable,
this.itens});
double get total => itens!
.map((e) => e.value)
.reduce((value, elem... | 1 |
Faridamukhtar/Spreaddit-CrossPlatform | b8dc286 | lib/features/notifications/Presentation/widgets/get_according_to_type.dart | Dart | www.github.com/Faridamukhtar/Spreaddit-CrossPlatform/tree/main/lib/features/notifications/Presentation/widgets/get_according_to_type.dart | https://raw.githubusercontent.com/Faridamukhtar/Spreaddit-CrossPlatform/b8dc286/lib/features/notifications/Presentation/widgets/get_according_to_type.dart | Faridamukhtar/Spreaddit-CrossPlatform b8dc286 lib/features/notifications/Presentation/widgets/get_according_to_type.dart | true | 200 | 6,049 | import 'package:equatable/equatable.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:ionicons/ionicons.dart';
import 'package:spreadit_crossplatform/features/community/presentation/pages/community_page.dart';
import 'package:spreadit_crossplatform/features/dynamic_... | 7 |
munificent/temp-arg-split-sample-2 | 64d5ce7 | bloc_action_listener_bloc_actions_mixin.dart | Dart | www.github.com/munificent/temp-arg-split-sample-2/tree/main/bloc_action_listener_bloc_actions_mixin.dart | https://raw.githubusercontent.com/munificent/temp-arg-split-sample-2/64d5ce7/bloc_action_listener_bloc_actions_mixin.dart | munificent/temp-arg-split-sample-2 64d5ce7 bloc_action_listener_bloc_actions_mixin.dart | true | 200 | 616 | import 'dart:async';
import 'package:bloc_action_listener/bloc_base.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
mixin BlocActionsMixin<State, Action> on BlocBase<State> implements ActionsStreamable<Action> {
final _actions = StreamController<Action>.broadcast();
... | 0 |
javi-dev-79/shopping_list_flutter | 51ea546 | lib/edit_product_screen.dart | Dart | www.github.com/javi-dev-79/shopping_list_flutter/tree/main/lib/edit_product_screen.dart | https://raw.githubusercontent.com/javi-dev-79/shopping_list_flutter/51ea546/lib/edit_product_screen.dart | javi-dev-79/shopping_list_flutter 51ea546 lib/edit_product_screen.dart | true | 200 | 5,897 |
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
import 'package:logger/logger.dart';
import 'constants.dart';
import 'product.dart';
import 'utils.dart';
class EditProductScreen extends StatefulWidget {
final Product product;
const EditProductScreen({Key? key, required this.produ... | 5 |
farahdahir/tuFlyFinal | b2133f7 | lib/screens/available_flights.dart | Dart | www.github.com/farahdahir/tuFlyFinal/tree/main/lib/screens/available_flights.dart | https://raw.githubusercontent.com/farahdahir/tuFlyFinal/b2133f7/lib/screens/available_flights.dart | farahdahir/tuFlyFinal b2133f7 lib/screens/available_flights.dart | true | 200 | 3,339 | import 'package:flutter/material.dart';
import 'package:tufly/details/flights.dart';
import '../components/buttons.dart';
import '../components/other_components.dart';
import '../const.dart';
import'../screens/select_seat.dart';
import '../components/available_flights_container.dart';
import 'package:cloud_firestore/cl... | 3 |
jungchungsub/class_project_front | b57080b | lib/pages/user/user_login_my_page/user_login_my_page.dart | Dart | www.github.com/jungchungsub/class_project_front/tree/main/lib/pages/user/user_login_my_page/user_login_my_page.dart | https://raw.githubusercontent.com/jungchungsub/class_project_front/b57080b/lib/pages/user/user_login_my_page/user_login_my_page.dart | jungchungsub/class_project_front b57080b lib/pages/user/user_login_my_page/user_login_my_page.dart | true | 200 | 7,384 | import 'package:finalproject_front/constants.dart';
import 'package:finalproject_front/controller/user_controller.dart';
import 'package:finalproject_front/domain/user_session.dart';
import 'package:finalproject_front/pages/user/components/service_text.dart';
import 'package:finalproject_front/pages/user/user_login_my_... | 4 |
caio-deiro/Cpf-Generator-and-Validator | f583100 | test/src/app/viewModel/viewmodel_test.dart | Dart | www.github.com/caio-deiro/Cpf-Generator-and-Validator/tree/main/test/src/app/viewModel/viewmodel_test.dart | https://raw.githubusercontent.com/caio-deiro/Cpf-Generator-and-Validator/f583100/test/src/app/viewModel/viewmodel_test.dart | caio-deiro/Cpf-Generator-and-Validator f583100 test/src/app/viewModel/viewmodel_test.dart | true | 200 | 840 | import 'package:cpf_generator/src/app/viewModel/viewmodel.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
late ViewModel homeViewmodel;
setUp(() {
homeViewmodel = ViewModel();
});
group('Testing cpf validate function', () {
test('should return a false if CPF is not valid', () {
... | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.