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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
harshith-mobileappdev/MAD_project_final | 5bc794f | lib/description.dart | Dart | www.github.com/harshith-mobileappdev/MAD_project_final/tree/main/lib/description.dart | https://raw.githubusercontent.com/harshith-mobileappdev/MAD_project_final/5bc794f/lib/description.dart | harshith-mobileappdev/MAD_project_final 5bc794f lib/description.dart | true | 200 | 2,547 | import 'package:flutter/material.dart';
import 'group.dart';
import 'home.dart';
class Description extends StatelessWidget {
final String imageUrl;
final String placeName;
final String description;
const Description({
super.key,
required this.imageUrl,
required this.placeName,
required this.de... | 1 |
AzizDasser/flutter_first_app | c22a645 | lib/bloc/counter.bloc.dart | Dart | www.github.com/AzizDasser/flutter_first_app/tree/main/lib/bloc/counter.bloc.dart | https://raw.githubusercontent.com/AzizDasser/flutter_first_app/c22a645/lib/bloc/counter.bloc.dart | AzizDasser/flutter_first_app c22a645 lib/bloc/counter.bloc.dart | true | 200 | 1,490 | // Actions
import 'package:bloc/bloc.dart';
abstract class CounterEvent {}
class IncrementCounterEvent extends CounterEvent{
}
class DecrementCounterEvent extends CounterEvent{
}
// State
abstract class CounterState {
final int counter;
const CounterState({
required this.counter,
});
}
class CounterSuccess... | 4 |
Amal168/Api-project | a4bc76c | lib/MVVM/model/controller.dart | Dart | www.github.com/Amal168/Api-project/tree/main/lib/MVVM/model/controller.dart | https://raw.githubusercontent.com/Amal168/Api-project/a4bc76c/lib/MVVM/model/controller.dart | Amal168/Api-project a4bc76c lib/MVVM/model/controller.dart | true | 200 | 2,033 | import 'package:api_project/MVVM/model/model.dart';
import 'package:api_project/MVVM/view%20model/apimodel.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
class Controller extends GetxController {
var curdModelData = <Model>[].obs;
var loadData = false.obs;
getData() async {
lo... | 7 |
DarkNinja15/earnings-tracker | 899ed73 | lib/app/data/repositories/earnings_repository.dart | Dart | www.github.com/DarkNinja15/earnings-tracker/tree/main/lib/app/data/repositories/earnings_repository.dart | https://raw.githubusercontent.com/DarkNinja15/earnings-tracker/899ed73/lib/app/data/repositories/earnings_repository.dart | DarkNinja15/earnings-tracker 899ed73 lib/app/data/repositories/earnings_repository.dart | true | 200 | 616 | import 'package:ticker_assign/app/data/models/earnings_model.dart';
import 'package:ticker_assign/app/data/models/transcript_model.dart';
import 'package:ticker_assign/app/data/providers/api_provider.dart';
/// A repository class for fetching earnings data.
class EarningsRepository {
final ApiProvider apiProvider;
... | 0 |
KafiulIslam/todo_bloc | 1e5dc8a | lib/blocs/tasks_bloc.dart | Dart | www.github.com/KafiulIslam/todo_bloc/tree/main/lib/blocs/tasks_bloc.dart | https://raw.githubusercontent.com/KafiulIslam/todo_bloc/1e5dc8a/lib/blocs/tasks_bloc.dart | KafiulIslam/todo_bloc 1e5dc8a lib/blocs/tasks_bloc.dart | true | 200 | 4,865 | import 'package:bloc/bloc.dart';
import 'package:equatable/equatable.dart';
import 'package:meta/meta.dart';
import '../model/task.dart';
part 'tasks_event.dart';
part 'tasks_state.dart';
class TasksBloc extends Bloc<TasksEvent, TasksState> {
TasksBloc() : super(const TasksState()) {
on<AddTask>(_onAddTask);
... | 3 |
Bruno-Reyes/tflite_flutter | 5f48edf | lib/controller/scan_controller.dart | Dart | www.github.com/Bruno-Reyes/tflite_flutter/tree/main/lib/controller/scan_controller.dart | https://raw.githubusercontent.com/Bruno-Reyes/tflite_flutter/5f48edf/lib/controller/scan_controller.dart | Bruno-Reyes/tflite_flutter 5f48edf lib/controller/scan_controller.dart | true | 200 | 2,331 | import 'dart:developer';
import 'package:camera/camera.dart';
import 'package:flutter_tflite/flutter_tflite.dart';
import 'package:get/get.dart';
import 'package:permission_handler/permission_handler.dart';
class ScanController extends GetxController {
@override
void onInit() {
super.onInit();
initCamera... | 2 |
tellesLeonardo/flutter_enf | 0557544 | lib/framingham_form_female.dart | Dart | www.github.com/tellesLeonardo/flutter_enf/tree/main/lib/framingham_form_female.dart | https://raw.githubusercontent.com/tellesLeonardo/flutter_enf/0557544/lib/framingham_form_female.dart | tellesLeonardo/flutter_enf 0557544 lib/framingham_form_female.dart | true | 200 | 7,347 | import 'package:flutter/material.dart';
class FraminghamFormFemale extends StatefulWidget {
const FraminghamFormFemale({Key? key}) : super(key: key);
@override
State<FraminghamFormFemale> createState() => _FraminghamFormFemaleState();
}
class _FraminghamFormFemaleState extends State<FraminghamFormFemale> {
f... | 5 |
Majd-Haj-Hmedy/spaced-repetition | 6a1f76c | lib/widgets/lectures/lecture_item.dart | Dart | www.github.com/Majd-Haj-Hmedy/spaced-repetition/tree/main/lib/widgets/lectures/lecture_item.dart | https://raw.githubusercontent.com/Majd-Haj-Hmedy/spaced-repetition/6a1f76c/lib/widgets/lectures/lecture_item.dart | Majd-Haj-Hmedy/spaced-repetition 6a1f76c lib/widgets/lectures/lecture_item.dart | true | 200 | 4,910 | import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:localization/localization.dart';
import 'package:repet/models/lecture.dart';
import 'package:repet/providers/lectures_provider.dart';
import 'package:repet/screens/details.dart';
import 'package:repet/util/d... | 1 |
yasmeenmelhem/DartCourse | d66447b | LinkedList3.dart | Dart | www.github.com/yasmeenmelhem/DartCourse/tree/main/LinkedList3.dart | https://raw.githubusercontent.com/yasmeenmelhem/DartCourse/d66447b/LinkedList3.dart | yasmeenmelhem/DartCourse d66447b LinkedList3.dart | true | 200 | 974 | class Node {
dynamic data;
Node? next;
Node(this.data) {
next = null;
}
}
Node? reverseLinkedList(Node? head) {
Node? prev = null;
Node? current = head;
Node? nextNode;
while (current != null) {
nextNode = current.next;
current.next = prev;
prev = current;
curren... | 4 |
KhadimHussainDev/Mobile-App-Development | fad6427 | chap8_drawer/lib/widgets/menu_list_tile.dart | Dart | www.github.com/KhadimHussainDev/Mobile-App-Development/tree/main/chap8_drawer/lib/widgets/menu_list_tile.dart | https://raw.githubusercontent.com/KhadimHussainDev/Mobile-App-Development/fad6427/chap8_drawer/lib/widgets/menu_list_tile.dart | KhadimHussainDev/Mobile-App-Development fad6427 chap8_drawer/lib/widgets/menu_list_tile.dart | true | 200 | 1,810 | import 'package:flutter/material.dart';
import 'package:chap8_drawer/pages/birthdays.dart';
import 'package:chap8_drawer/pages/gratitude.dart';
import 'package:chap8_drawer/pages/reminders.dart';
class MenuListTileWidget extends StatefulWidget {
const MenuListTileWidget({super.key});
@override
State<MenuListTil... | 7 |
deriana/rfcid-proggram | 0b5b167 | mobile/lib/view/widget/text_field.dart | Dart | www.github.com/deriana/rfcid-proggram/tree/main/mobile/lib/view/widget/text_field.dart | https://raw.githubusercontent.com/deriana/rfcid-proggram/0b5b167/mobile/lib/view/widget/text_field.dart | deriana/rfcid-proggram 0b5b167 mobile/lib/view/widget/text_field.dart | true | 200 | 1,086 | import 'package:flutter/material.dart';
class EmailPasswordForm extends StatelessWidget {
// Controllers untuk menangkap input pengguna
final TextEditingController emailController;
final TextEditingController passwordController;
// Constructor untuk menerima controller dari luar
const EmailPasswordForm({
... | 6 |
Moudyash/kids_learning_app_Flutter | 1397c17 | lib/VideoLearning/FlowerVideo.dart | Dart | www.github.com/Moudyash/kids_learning_app_Flutter/tree/main/lib/VideoLearning/FlowerVideo.dart | https://raw.githubusercontent.com/Moudyash/kids_learning_app_Flutter/1397c17/lib/VideoLearning/FlowerVideo.dart | Moudyash/kids_learning_app_Flutter 1397c17 lib/VideoLearning/FlowerVideo.dart | true | 200 | 2,910 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:google_mobile_ads/google_mobile_ads.dart';
import 'package:kids/utils/admob.dart';
import 'package:kids/utils/model.dart';
import 'package:url_launcher/url_launcher.dart';
class FlowerVideo extends StatefulWidget{
@over... | 0 |
tranduc01/fsa-mobile | 35bcdcf | lib/screens/forums/screens/single_discovery_album_detail_screen.dart | Dart | www.github.com/tranduc01/fsa-mobile/tree/main/lib/screens/forums/screens/single_discovery_album_detail_screen.dart | https://raw.githubusercontent.com/tranduc01/fsa-mobile/35bcdcf/lib/screens/forums/screens/single_discovery_album_detail_screen.dart | tranduc01/fsa-mobile 35bcdcf lib/screens/forums/screens/single_discovery_album_detail_screen.dart | true | 200 | 4,391 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:nb_utils/nb_utils.dart';
import 'package:socialv/main.dart';
import 'package:socialv/screens/gallery/components/album_media_component.dart';
import '../../../models/gallery/albums.dart';
class SingleAlbumDiscoveryDetailScreen exten... | 3 |
anwarjuniansyah136/flutter-project-tiktok | 50b9372 | tiktok_project/lib/response/CommentResponse.dart | Dart | www.github.com/anwarjuniansyah136/flutter-project-tiktok/tree/main/tiktok_project/lib/response/CommentResponse.dart | https://raw.githubusercontent.com/anwarjuniansyah136/flutter-project-tiktok/50b9372/tiktok_project/lib/response/CommentResponse.dart | anwarjuniansyah136/flutter-project-tiktok 50b9372 tiktok_project/lib/response/CommentResponse.dart | true | 200 | 1,851 | import 'dart:convert';
import 'ReplyResponse.dart';
class CommentResponse {
final String idComment;
final String username;
final String text;
final String profile;
final List<ReplyResponse> reply;
bool likes;
int countLikes;
final String createAt;
CommentResponse({
required this.id... | 5 |
Eyakadri/expenses_tracker | d343acd | lib/screens/auth/forgot_password_screen.dart | Dart | www.github.com/Eyakadri/expenses_tracker/tree/main/lib/screens/auth/forgot_password_screen.dart | https://raw.githubusercontent.com/Eyakadri/expenses_tracker/d343acd/lib/screens/auth/forgot_password_screen.dart | Eyakadri/expenses_tracker d343acd lib/screens/auth/forgot_password_screen.dart | true | 200 | 3,897 | import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'reset_password_screen.dart';
class ForgotPasswordScreen extends StatefulWidget {
const ForgotPasswordScreen({super.key});
@override
_ForgotPasswordScreenState creat... | 1 |
NourMohsen/salon-app- | b1de522 | lib/features/auth/data/model/user_model.dart | Dart | www.github.com/NourMohsen/salon-app-/tree/main/lib/features/auth/data/model/user_model.dart | https://raw.githubusercontent.com/NourMohsen/salon-app-/b1de522/lib/features/auth/data/model/user_model.dart | NourMohsen/salon-app- b1de522 lib/features/auth/data/model/user_model.dart | true | 200 | 1,079 | class UserModel {
int? id;
String? name;
String? email;
String? phone;
String? avatar;
String? deviceId;
String? firebaseToken;
String? gender;
int? cityId;
String? cityName;
UserModel(
{this.id,
this.name,
this.email,
this.phone,
this.firebaseToken,
... | 4 |
winzter/UniHR | 961e626 | lib/src/features/user/time_management/data/data_source/remote/time_management_remote_data_source.dart | Dart | www.github.com/winzter/UniHR/tree/main/lib/src/features/user/time_management/data/data_source/remote/time_management_remote_data_source.dart | https://raw.githubusercontent.com/winzter/UniHR/961e626/lib/src/features/user/time_management/data/data_source/remote/time_management_remote_data_source.dart | winzter/UniHR 961e626 lib/src/features/user/time_management/data/data_source/remote/time_management_remote_data_source.dart | true | 200 | 3,953 | import 'dart:convert';
import 'dart:developer';
import 'package:dio/dio.dart';
import 'package:intl/intl.dart';
import 'package:unihr/src/core/constanst/network_api.dart';
import 'package:unihr/src/features/user/time_management/data/data_source/remote/shift_change.dart';
import '../../../../../../core/error/exception.d... | 7 |
Ahmadhamdi200015/market | ec74518 | lib/main.dart | Dart | www.github.com/Ahmadhamdi200015/market/tree/main/lib/main.dart | https://raw.githubusercontent.com/Ahmadhamdi200015/market/ec74518/lib/main.dart | Ahmadhamdi200015/market ec74518 lib/main.dart | true | 200 | 1,785 | import 'dart:io';
import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:flutter_stripe/flutter_stripe.dart';
import 'package:flutterahmad/binding/initialbinding.dart';
import 'package:flutterahmad/core/funcation/fcmconfig.dart';
import 'package:flutterahmad/core/loc... | 2 |
JacobMu/advent-of-code-2022 | ed17239 | lib/day-3/task_2_service.dart | Dart | www.github.com/JacobMu/advent-of-code-2022/tree/main/lib/day-3/task_2_service.dart | https://raw.githubusercontent.com/JacobMu/advent-of-code-2022/ed17239/lib/day-3/task_2_service.dart | JacobMu/advent-of-code-2022 ed17239 lib/day-3/task_2_service.dart | true | 200 | 598 | int _compareRunes(int rune) {
if (rune <= 90) {
return rune - 38;
}
return rune - 96;
}
void calculateCommonItem(List<String> file) {
int sum = 0;
int boundary = file.length - 1;
Set<int> set;
for (var index = 0; index <= boundary; index += 3) {
set = file.elementAt(index).runes.toSet();
if... | 0 |
Thomas-Jakubowski/draft | 8ad569d | lib/models/Champion.dart | Dart | www.github.com/Thomas-Jakubowski/draft/tree/main/lib/models/Champion.dart | https://raw.githubusercontent.com/Thomas-Jakubowski/draft/8ad569d/lib/models/Champion.dart | Thomas-Jakubowski/draft 8ad569d lib/models/Champion.dart | true | 200 | 359 | class Champion {
String name;
String type;
String imageUrl;
bool isFavorite;
bool isFreeThisWeek;
List<int> info;
Champion({
this.name = "",
this.type = "",
this.imageUrl = "",
this.isFavorite = false,
this.isFreeThisWeek = false,
this.info = const [],
});
void setFavorite() ... | 3 |
RishadPVM/chat_app | 64406e0 | lib/const/firebase_const.dart | Dart | www.github.com/RishadPVM/chat_app/tree/main/lib/const/firebase_const.dart | https://raw.githubusercontent.com/RishadPVM/chat_app/64406e0/lib/const/firebase_const.dart | RishadPVM/chat_app 64406e0 lib/const/firebase_const.dart | true | 200 | 367 |
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
FirebaseAuth auth = FirebaseAuth.instance;
FirebaseFirestore firestore = FirebaseFirestore.instance;
User? currentUser = auth.currentUser;
// collection
const userCollection = "users";
const chatsCollection = "... | 5 |
sirkif/Flutter-Youtube-Apps | 2c80928 | 06-todo_hive_local_database/lib/home_view/todo_list/todo_item.dart | Dart | www.github.com/sirkif/Flutter-Youtube-Apps/tree/main/06-todo_hive_local_database/lib/home_view/todo_list/todo_item.dart | https://raw.githubusercontent.com/sirkif/Flutter-Youtube-Apps/2c80928/06-todo_hive_local_database/lib/home_view/todo_list/todo_item.dart | sirkif/Flutter-Youtube-Apps 2c80928 06-todo_hive_local_database/lib/home_view/todo_list/todo_item.dart | true | 200 | 1,425 | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:todo_app/models/todo_model.dart';
import '../../providers/todo_provider.dart';
class TodoItem extends StatelessWidget {
const TodoItem({
super.key,
required this.todoItem,
});
final TodoModel todoItem;
@... | 1 |
Orginone/oiocns-flutter | 4040887 | lib/pages/home/index/shared_software/shared_software.dart | Dart | www.github.com/Orginone/oiocns-flutter/tree/main/lib/pages/home/index/shared_software/shared_software.dart | https://raw.githubusercontent.com/Orginone/oiocns-flutter/4040887/lib/pages/home/index/shared_software/shared_software.dart | Orginone/oiocns-flutter 4040887 lib/pages/home/index/shared_software/shared_software.dart | true | 200 | 2,490 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:orginone/common/values/index.dart';
import 'package:orginone/dart/core/getx/submenu_list/item.dart';
import 'package:orginone/dart/core/getx/submenu_list/list_adapter.dart'... | 7 |
EthanBlake417/heads_up | 15aa341 | lib/main.dart | Dart | www.github.com/EthanBlake417/heads_up/tree/main/lib/main.dart | https://raw.githubusercontent.com/EthanBlake417/heads_up/15aa341/lib/main.dart | EthanBlake417/heads_up 15aa341 lib/main.dart | true | 200 | 4,577 | import 'package:flutter/material.dart';
import 'package:heads_up/game_screen.dart';
import 'package:heads_up/settings_screen.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialize... | 4 |
Sakshi-hole/dart | e145b5f | nested for loop-2/code8.dart | Dart | www.github.com/Sakshi-hole/dart/tree/main/nested for loop-2/code8.dart | https://raw.githubusercontent.com/Sakshi-hole/dart/e145b5f/nested%20for%20loop-2/code8.dart | Sakshi-hole/dart e145b5f nested for loop-2/code8.dart | true | 200 | 446 | /* Write a program to print the following pattern
Number of rows = 3
1
2 5
3 6 9
Number of rows = 4
1
2 6
3 7 11
4 8 12 16 */
import 'dart:io';
void main() {
int numberOfRows = 3;
printPattern(numberOfRows);
}
void printPattern(int rows) {
for (int i = 1; i <= rows; i++) {
int currentNumber = i;
for ... | 2 |
HuuDanJR/tnm_app_rl_slot | 4c6af0d | lib/page/user_info/user_infopage.dart | Dart | www.github.com/HuuDanJR/tnm_app_rl_slot/tree/main/lib/page/user_info/user_infopage.dart | https://raw.githubusercontent.com/HuuDanJR/tnm_app_rl_slot/4c6af0d/lib/page/user_info/user_infopage.dart | HuuDanJR/tnm_app_rl_slot 4c6af0d lib/page/user_info/user_infopage.dart | true | 200 | 4,098 | import 'package:flutter/material.dart';
import 'package:tnm_app_slot_aft/model/loginModel.dart';
import 'package:tnm_app_slot_aft/util/color_custom.dart';
import 'package:tnm_app_slot_aft/util/string_custom_slot.dart';
import 'package:tnm_app_slot_aft/widget/text_custom.dart';
import 'package:tnm_app_slot_aft/widget/te... | 0 |
Jobinha10/teste-rede-POS | dceb1c1 | lib/Classes/classWebAPI.dart | Dart | www.github.com/Jobinha10/teste-rede-POS/tree/main/lib/Classes/classWebAPI.dart | https://raw.githubusercontent.com/Jobinha10/teste-rede-POS/dceb1c1/lib/Classes/classWebAPI.dart | Jobinha10/teste-rede-POS dceb1c1 lib/Classes/classWebAPI.dart | true | 200 | 3,315 | import 'dart:convert';
import 'dart:core';
import 'package:http/http.dart' as http;
import 'package:wishes/classes/classUtil.dart';
import 'package:wishes/session.dart' as session;
class ClassWebAPI {
List<String> _pamaters = [];
String _webAPIName = "";
//Adiciona parametros à lista
addParams(String value) {... | 3 |
merghemi182003/abcd | 9b2f0d3 | lib/Services/userService.dart | Dart | www.github.com/merghemi182003/abcd/tree/main/lib/Services/userService.dart | https://raw.githubusercontent.com/merghemi182003/abcd/9b2f0d3/lib/Services/userService.dart | merghemi182003/abcd 9b2f0d3 lib/Services/userService.dart | true | 200 | 12,625 | import 'package:flutter/material.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:google_sign_in/google_sign_in.dart';
import 'package:email_otp/email_otp.dart';
import 'package:residanat_alger_seances_en_linge/Services/courseService.d... | 6 |
Norahfaid/Aquar-main | c978038 | lib/features/update_ad/presentation/pages/first_step_update_page.dart | Dart | www.github.com/Norahfaid/Aquar-main/tree/main/lib/features/update_ad/presentation/pages/first_step_update_page.dart | https://raw.githubusercontent.com/Norahfaid/Aquar-main/c978038/lib/features/update_ad/presentation/pages/first_step_update_page.dart | Norahfaid/Aquar-main c978038 lib/features/update_ad/presentation/pages/first_step_update_page.dart | true | 200 | 23,494 | import 'dart:developer';
import 'package:easy_localization/easy_localization.dart' as e;
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:flutter_svg/svg.dart';
import 'package:google_maps_flutter/googl... | 1 |
LeHoangQuoc1809/DATN_Genmp3 | 2dc86c4 | admin-dashboard/app/lib/views/components/content_panel.dart | Dart | www.github.com/LeHoangQuoc1809/DATN_Genmp3/tree/main/admin-dashboard/app/lib/views/components/content_panel.dart | https://raw.githubusercontent.com/LeHoangQuoc1809/DATN_Genmp3/2dc86c4/admin-dashboard/app/lib/views/components/content_panel.dart | LeHoangQuoc1809/DATN_Genmp3 2dc86c4 admin-dashboard/app/lib/views/components/content_panel.dart | true | 200 | 6,350 | import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import '../../configs/rss.dart';
import '../../models/song.dart';
import 'actions_button_row.dart';
class ContentPanel extends StatefulWidget {
final List<Song> songs;
final Future<void> Function(Song)? onTapDelete;
final... | 5 |
DragonEmperor9480/CyberSurakshit | 1d2726c | lib/models/app_permission_info.dart | Dart | www.github.com/DragonEmperor9480/CyberSurakshit/tree/main/lib/models/app_permission_info.dart | https://raw.githubusercontent.com/DragonEmperor9480/CyberSurakshit/1d2726c/lib/models/app_permission_info.dart | DragonEmperor9480/CyberSurakshit 1d2726c lib/models/app_permission_info.dart | true | 200 | 299 | import 'dart:typed_data';
class AppPermissionInfo {
final String appName;
final String packageName;
final Uint8List? icon;
final List<String> permissions;
AppPermissionInfo({
required this.appName,
required this.packageName,
this.icon,
required this.permissions,
});
}
| 7 |
Vetheasas/Vetheasas_Portfolio | 2d7a817 | lib/pages/home/desktop_home_page.dart | Dart | www.github.com/Vetheasas/Vetheasas_Portfolio/tree/main/lib/pages/home/desktop_home_page.dart | https://raw.githubusercontent.com/Vetheasas/Vetheasas_Portfolio/2d7a817/lib/pages/home/desktop_home_page.dart | Vetheasas/Vetheasas_Portfolio 2d7a817 lib/pages/home/desktop_home_page.dart | true | 200 | 1,865 | import 'package:flutter/material.dart';
import 'package:auto_size_text/auto_size_text.dart';
class DesktopHomePage extends StatelessWidget {
const DesktopHomePage({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Row(
children: [
Expanded(
flex: 3,
... | 4 |
akshaynjarangal/ipix | f29e825 | lib/src/data/services/restaurants_provider.dart | Dart | www.github.com/akshaynjarangal/ipix/tree/main/lib/src/data/services/restaurants_provider.dart | https://raw.githubusercontent.com/akshaynjarangal/ipix/f29e825/lib/src/data/services/restaurants_provider.dart | akshaynjarangal/ipix f29e825 lib/src/data/services/restaurants_provider.dart | true | 200 | 576 | import 'package:dartz/dartz.dart';
import 'package:http/http.dart' as http;
import '../../constants/constants.dart';
import '../../constants/error_handlers.dart';
class RestaurantsService{
static Future<Either<MainFailures,http.Response>> get getRestaurants async {
try {
final url = Uri.https(AppUrls.host, ... | 2 |
ErenBal1/gapsec-stories | c72df91 | lib/widgets/shop_view_widget/watch_ad_button.dart | Dart | www.github.com/ErenBal1/gapsec-stories/tree/main/lib/widgets/shop_view_widget/watch_ad_button.dart | https://raw.githubusercontent.com/ErenBal1/gapsec-stories/c72df91/lib/widgets/shop_view_widget/watch_ad_button.dart | ErenBal1/gapsec-stories c72df91 lib/widgets/shop_view_widget/watch_ad_button.dart | true | 200 | 1,111 | import 'package:flutter/material.dart';
class WatchAdButton extends StatelessWidget {
const WatchAdButton({super.key});
@override
Widget build(BuildContext context) {
return Container(
width: double.infinity,
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 20),
decoration: co... | 0 |
Hassan-97j/chat_firebase | 4be4ad0 | lib/screens/imageview/controller.dart | Dart | www.github.com/Hassan-97j/chat_firebase/tree/main/lib/screens/imageview/controller.dart | https://raw.githubusercontent.com/Hassan-97j/chat_firebase/4be4ad0/lib/screens/imageview/controller.dart | Hassan-97j/chat_firebase 4be4ad0 lib/screens/imageview/controller.dart | true | 200 | 325 | import 'index.dart';
import 'package:get/get.dart';
class ImageViewController extends GetxController {
final state = ImageViewState();
ImageViewController();
@override
void onInit() {
super.onInit();
var data = Get.arguments;
if (data["url"] != null) {
state.url.value = data["url"]!;
}
... | 1 |
MiMi-Yup/Podcast | 1e1a3ba | lib/presentation/subscription/ui/subscription_screen.dart | Dart | www.github.com/MiMi-Yup/Podcast/tree/main/lib/presentation/subscription/ui/subscription_screen.dart | https://raw.githubusercontent.com/MiMi-Yup/Podcast/1e1a3ba/lib/presentation/subscription/ui/subscription_screen.dart | MiMi-Yup/Podcast 1e1a3ba lib/presentation/subscription/ui/subscription_screen.dart | true | 200 | 2,597 | import 'package:configuration/l10n/l10n.dart';
import 'package:configuration/route/xmd_router.dart';
import 'package:flutter/material.dart';
import 'package:join_podcast/common/widgets/m_author_full.dart';
import 'package:join_podcast/manifest.dart';
import 'package:join_podcast/presentation/podcast/podcast_route.dart'... | 6 |
quocan22/abook-app | 05da952 | client/lib/src/services/chatbot_service/chatbot_service_impl.dart | Dart | www.github.com/quocan22/abook-app/tree/main/client/lib/src/services/chatbot_service/chatbot_service_impl.dart | https://raw.githubusercontent.com/quocan22/abook-app/05da952/client/lib/src/services/chatbot_service/chatbot_service_impl.dart | quocan22/abook-app 05da952 client/lib/src/services/chatbot_service/chatbot_service_impl.dart | true | 200 | 1,525 | import 'package:dio/dio.dart' as dio;
import 'package:global_configuration/global_configuration.dart';
import 'package:easy_localization/easy_localization.dart';
import './chatbot_service.dart';
class ChatbotServiceImpl implements ChatbotService {
final dio.Dio dioClient;
ChatbotServiceImpl({required this.dioCli... | 5 |
KetanSatani-TheOneTech/my_profile | d0c54da | lib/pages/home/widgets/common_edit_button.dart | Dart | www.github.com/KetanSatani-TheOneTech/my_profile/tree/main/lib/pages/home/widgets/common_edit_button.dart | https://raw.githubusercontent.com/KetanSatani-TheOneTech/my_profile/d0c54da/lib/pages/home/widgets/common_edit_button.dart | KetanSatani-TheOneTech/my_profile d0c54da lib/pages/home/widgets/common_edit_button.dart | true | 200 | 393 | import 'package:flutter/material.dart';
class CommonButton extends StatelessWidget {
const CommonButton({super.key, required this.onClick});
final VoidCallback onClick;
@override
Widget build(BuildContext context) {
return FilledButton(
style: FilledButton.styleFrom(minimumSize: const Size(50, 30)),... | 7 |
WalidNKH/performeal | 9a54c7a | lib/components/profilComponents.dart | Dart | www.github.com/WalidNKH/performeal/tree/main/lib/components/profilComponents.dart | https://raw.githubusercontent.com/WalidNKH/performeal/9a54c7a/lib/components/profilComponents.dart | WalidNKH/performeal 9a54c7a lib/components/profilComponents.dart | true | 200 | 4,526 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:performeal/auth/auth_service.dart';
import 'package:performeal/routes.dart';
class ProfileHeader extends StatelessWidget {
final AuthService authService;
final String userName;
const ProfileHeader({
super.key,
require... | 3 |
RakovskyiSerhii/wheather_forecast | 6207ba2 | lib/model/weather_model.dart | Dart | www.github.com/RakovskyiSerhii/wheather_forecast/tree/main/lib/model/weather_model.dart | https://raw.githubusercontent.com/RakovskyiSerhii/wheather_forecast/6207ba2/lib/model/weather_model.dart | RakovskyiSerhii/wheather_forecast 6207ba2 lib/model/weather_model.dart | true | 200 | 740 | import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:weather_forecast/model/weather_conditions.dart';
import 'package:weather_forecast/model/wind_direction.dart';
part 'weather_model.freezed.dart';
@freezed
class WeatherModel with _$WeatherModel {
WeatherModel._();
factory WeatherModel({
... | 4 |
jspmic/collecteur_ui | d5da567 | lib/custom_widgets.dart | Dart | www.github.com/jspmic/collecteur_ui/tree/main/lib/custom_widgets.dart | https://raw.githubusercontent.com/jspmic/collecteur_ui/d5da567/lib/custom_widgets.dart | jspmic/collecteur_ui d5da567 lib/custom_widgets.dart | true | 200 | 26,615 | import 'dart:convert';
import 'dart:io';
import 'package:path_provider/path_provider.dart';
import 'package:flutter/material.dart';
import 'package:Collecteur/excel_fields.dart';
import 'package:Collecteur/rest.dart';
final GlobalKey<NavigatorState> navigatorKey = GlobalKey<NavigatorState>();
Map<int, Iterab... | 2 |
redfrogred/boilerplate | db34732 | lib/pages/Start_Page.dart | Dart | www.github.com/redfrogred/boilerplate/tree/main/lib/pages/Start_Page.dart | https://raw.githubusercontent.com/redfrogred/boilerplate/db34732/lib/pages/Start_Page.dart | redfrogred/boilerplate db34732 lib/pages/Start_Page.dart | true | 200 | 2,638 | // ignore_for_file: camel_case_types
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
// pages
import '../providers/Count.dart';
class Start_Page extends StatefulWidget {
const Start_Page({super.key});
@override
State<Start_Page> createState() => _Start_PageState();
}
class _... | 0 |
Adaikan1/untitled2 | a35abe2 | lib/auth_service.dart | Dart | www.github.com/Adaikan1/untitled2/tree/main/lib/auth_service.dart | https://raw.githubusercontent.com/Adaikan1/untitled2/a35abe2/lib/auth_service.dart | Adaikan1/untitled2 a35abe2 lib/auth_service.dart | true | 200 | 1,198 | import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/cupertino.dart';
import 'package:google_sign_in/google_sign_in.dart';
import 'package:untitled2/login_page.dart';
import 'package:untitled2/navigationbar.dart';
var authService = AuthService();
class AuthService{
final GoogleSignIn googleUser... | 1 |
marcosanf/hp-api-challenge | 3149e92 | lib/feauture/home/ui/page/home_page.dart | Dart | www.github.com/marcosanf/hp-api-challenge/tree/main/lib/feauture/home/ui/page/home_page.dart | https://raw.githubusercontent.com/marcosanf/hp-api-challenge/3149e92/lib/feauture/home/ui/page/home_page.dart | marcosanf/hp-api-challenge 3149e92 lib/feauture/home/ui/page/home_page.dart | true | 200 | 2,442 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:hp_api_challenge/core/app/colors.dart';
import 'package:hp_api_challenge/core/widgets/button_primary.dart';
import 'package:hp_api_challenge/feauture/home/ui/widget/character_card.dart';
import 'package:hp_api_chall... | 6 |
R0nald0/Apps-curso-flutter | fe1b875 | prieco_do_bitcoin/lib/home.dart | Dart | www.github.com/R0nald0/Apps-curso-flutter/tree/main/prieco_do_bitcoin/lib/home.dart | https://raw.githubusercontent.com/R0nald0/Apps-curso-flutter/fe1b875/prieco_do_bitcoin/lib/home.dart | R0nald0/Apps-curso-flutter fe1b875 prieco_do_bitcoin/lib/home.dart | true | 200 | 2,229 | import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
class Home extends StatefulWidget{
@override
State<StatefulWidget> createState() => _HomeState();
}
class _HomeState extends State<Home>{
String _valor="0.0";
String _dolar="0.0";
@override
Widget bu... | 7 |
pmj-chosim/Getiti3rdParty__FC_TRIO | d89903b | lib/ui/views/screens/todo_detail.dart | Dart | www.github.com/pmj-chosim/Getiti3rdParty__FC_TRIO/tree/main/lib/ui/views/screens/todo_detail.dart | https://raw.githubusercontent.com/pmj-chosim/Getiti3rdParty__FC_TRIO/d89903b/lib/ui/views/screens/todo_detail.dart | pmj-chosim/Getiti3rdParty__FC_TRIO d89903b lib/ui/views/screens/todo_detail.dart | true | 200 | 4,868 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:my_pet_diary/configs/colors.dart';
import 'package:my_pet_diary/configs/size.dart';
import 'package:my_pet_diary/models/todo.dart';
import 'package:my_pet_diary/models/todo_helper.dart';
import 'package:my_pet_diary/ui/widg... | 5 |
anaskhalil123/Tourist-app | d398103 | lib/widgets/category_item.dart | Dart | www.github.com/anaskhalil123/Tourist-app/tree/main/lib/widgets/category_item.dart | https://raw.githubusercontent.com/anaskhalil123/Tourist-app/d398103/lib/widgets/category_item.dart | anaskhalil123/Tourist-app d398103 lib/widgets/category_item.dart | true | 200 | 2,925 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:tourist_application/model/category.dart';
import 'package:tourist_application/statics/static.dart';
import 'package:tourist_application/view/category_trips_page.dart';
class CategoryWidget extends StatelessWidget {
Category catego... | 3 |
divyansh04/pemint-admin | 3b3df88 | lib/model/api_response/demands_against_partner_response.dart | Dart | www.github.com/divyansh04/pemint-admin/tree/main/lib/model/api_response/demands_against_partner_response.dart | https://raw.githubusercontent.com/divyansh04/pemint-admin/3b3df88/lib/model/api_response/demands_against_partner_response.dart | divyansh04/pemint-admin 3b3df88 lib/model/api_response/demands_against_partner_response.dart | true | 200 | 5,197 | // To parse this JSON data, do
//
// final demandsAgainstPartnerResponse = demandsAgainstPartnerResponseFromJson(jsonString);
import 'dart:convert';
DemandsAgainstPartnerResponse demandsAgainstPartnerResponseFromJson(String str) => DemandsAgainstPartnerResponse.fromJson(json.decode(str));
String demandsAgainstPa... | 2 |
mohamedyasser951/News-Day | b9aaa81 | lib/Presentation/widgets/ArticaleBuilder.dart | Dart | www.github.com/mohamedyasser951/News-Day/tree/main/lib/Presentation/widgets/ArticaleBuilder.dart | https://raw.githubusercontent.com/mohamedyasser951/News-Day/b9aaa81/lib/Presentation/widgets/ArticaleBuilder.dart | mohamedyasser951/News-Day b9aaa81 lib/Presentation/widgets/ArticaleBuilder.dart | true | 200 | 4,254 | import 'package:conditional_builder_null_safety/conditional_builder_null_safety.dart';
import 'package:flutter/material.dart';
import 'package:newsapp/Presentation/widgets/loading/shimmerLoading.dart';
import 'package:newsapp/Presentation/widgets/loading/skelton.dart';
import 'package:newsapp/Presentation/widgets/Artic... | 4 |
henryferniansa/Quiz | d7b8867 | lib/screens/quiz_kimia.dart | Dart | www.github.com/henryferniansa/Quiz/tree/main/lib/screens/quiz_kimia.dart | https://raw.githubusercontent.com/henryferniansa/Quiz/d7b8867/lib/screens/quiz_kimia.dart | henryferniansa/Quiz d7b8867 lib/screens/quiz_kimia.dart | true | 200 | 6,838 |
import 'package:flutter/material.dart';
import 'package:quiz/constrants.dart';
import '../models/question_model.dart';
import '../widget/question_widget.dart';
import '../widget/next_button.dart';
import '../widget/result_box.dart';
import '../widget/options_card.dart';
import '../models/connect_db.dart';
import '../w... | 0 |
YazanFarrah/flutter_base_skeleton | 1a1bcd5 | lib/core/utils/clear_and_navigate.dart | Dart | www.github.com/YazanFarrah/flutter_base_skeleton/tree/main/lib/core/utils/clear_and_navigate.dart | https://raw.githubusercontent.com/YazanFarrah/flutter_base_skeleton/1a1bcd5/lib/core/utils/clear_and_navigate.dart | YazanFarrah/flutter_base_skeleton 1a1bcd5 lib/core/utils/clear_and_navigate.dart | true | 200 | 327 | import 'dart:developer';
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
void clearAndNavigate(String path, BuildContext context) {
log('here');
while (context.canPop() == true) {
context.pop();
}
Future.delayed(Duration.zero, () {
context.pushReplacement('/$path');
... | 1 |
DiegoSuG29/myPersonalPortafolio | d720dd5 | personal_portfolio/lib/widgets/PortfolioWidgets/portfolio.dart | Dart | www.github.com/DiegoSuG29/myPersonalPortafolio/tree/main/personal_portfolio/lib/widgets/PortfolioWidgets/portfolio.dart | https://raw.githubusercontent.com/DiegoSuG29/myPersonalPortafolio/d720dd5/personal_portfolio/lib/widgets/PortfolioWidgets/portfolio.dart | DiegoSuG29/myPersonalPortafolio d720dd5 personal_portfolio/lib/widgets/PortfolioWidgets/portfolio.dart | true | 200 | 5,195 | import 'package:flutter/material.dart';
import 'package:personal_portfolio/widgets/PortfolioWidgets/projectWidget.dart';
import 'package:simple_icons/simple_icons.dart';
class PortfolioPage extends StatefulWidget {
const PortfolioPage({super.key});
@override
State<PortfolioPage> createState() => _PortfolioPageS... | 7 |
Infosys/SightConnect | 1aa4011 | lib/apps/sightconnect/features/vision_technician/vision_technician_profile/presentation/pages/vt_profile_page.dart | Dart | www.github.com/Infosys/SightConnect/tree/main/lib/apps/sightconnect/features/vision_technician/vision_technician_profile/presentation/pages/vt_profile_page.dart | https://raw.githubusercontent.com/Infosys/SightConnect/1aa4011/lib/apps/sightconnect/features/vision_technician/vision_technician_profile/presentation/pages/vt_profile_page.dart | Infosys/SightConnect 1aa4011 lib/apps/sightconnect/features/vision_technician/vision_technician_profile/presentation/pages/vt_profile_page.dart | true | 200 | 10,303 | /*
* Copyright 2024 Infosys Ltd.
* Use of this source code is governed by Apache License 2.0 that can be found in the LICENSE file or at
* http://www.apache.org/licenses/LICENSE-2.0
*/
import 'package:eye_care_for_all/apps/sightconnect/common/initialization/pages/initialization_page.dart';
import 'package:eye_care... | 5 |
Bertheam/quizzy | aaac038 | lib/main.dart | Dart | www.github.com/Bertheam/quizzy/tree/main/lib/main.dart | https://raw.githubusercontent.com/Bertheam/quizzy/aaac038/lib/main.dart | Bertheam/quizzy aaac038 lib/main.dart | true | 200 | 730 | import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:quizzy/pages/onboarding.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(... | 6 |
Gadi0905/ngtszhim_vt6001cem_project | baa9dff | lib/src/screens/registration/registration_screen.dart | Dart | www.github.com/Gadi0905/ngtszhim_vt6001cem_project/tree/main/lib/src/screens/registration/registration_screen.dart | https://raw.githubusercontent.com/Gadi0905/ngtszhim_vt6001cem_project/baa9dff/lib/src/screens/registration/registration_screen.dart | Gadi0905/ngtszhim_vt6001cem_project baa9dff lib/src/screens/registration/registration_screen.dart | true | 200 | 6,970 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
import 'package:ngtszhim_vt6001cem_project/src/helpers/routes_helper/route_helper.dart';
import 'package:ngts... | 3 |
0fc-tech/HCDA2311_B_tp | ed8bcd0 | lib/page/sign_in_page.dart | Dart | www.github.com/0fc-tech/HCDA2311_B_tp/tree/main/lib/page/sign_in_page.dart | https://raw.githubusercontent.com/0fc-tech/HCDA2311_B_tp/ed8bcd0/lib/page/sign_in_page.dart | 0fc-tech/HCDA2311_B_tp ed8bcd0 lib/page/sign_in_page.dart | true | 200 | 482 | import 'package:flutter/material.dart';
import 'package:flutter_twitter/page/widgets/sign_in_form.dart';
class SignInPage extends StatelessWidget {
const SignInPage({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: Text('appbarTitle')),
body: Sig... | 4 |
jhonbatler99/futures | 60d1ec5 | lib/stonesearcg/lib/Liabrary/DbProvider.dart | Dart | www.github.com/jhonbatler99/futures/tree/main/lib/stonesearcg/lib/Liabrary/DbProvider.dart | https://raw.githubusercontent.com/jhonbatler99/futures/60d1ec5/lib/stonesearcg/lib/Liabrary/DbProvider.dart | jhonbatler99/futures 60d1ec5 lib/stonesearcg/lib/Liabrary/DbProvider.dart | true | 200 | 1,733 | import 'dart:io';
import 'package:sqflite/sqflite.dart';
import 'package:path_provider/path_provider.dart';
import 'package:stonesearch/Models/NewSearchModel.dart';
class DbProvider{
static const databaseName = "SearchManager.db";
static const tableUser = "Search";
Future<Database> init() async {
Directory ... | 2 |
truonganbest2010/Financial_Manager_Budget_App_Capstone22 | 86aa1f4 | lib/viewscreen/components/texts/titletext.dart | Dart | www.github.com/truonganbest2010/Financial_Manager_Budget_App_Capstone22/tree/main/lib/viewscreen/components/texts/titletext.dart | https://raw.githubusercontent.com/truonganbest2010/Financial_Manager_Budget_App_Capstone22/86aa1f4/lib/viewscreen/components/texts/titletext.dart | truonganbest2010/Financial_Manager_Budget_App_Capstone22 86aa1f4 lib/viewscreen/components/texts/titletext.dart | true | 200 | 382 | // ignore_for_file: use_key_in_widget_constructors, prefer_const_constructors_in_immutables
import 'package:flutter/material.dart';
class TitleText extends StatelessWidget {
final String title;
TitleText({required this.title});
@override
Widget build(BuildContext context) {
return Text(
title,
... | 0 |
HubOl01/flutter_libs | 92cfeb0 | core/bloc/favorite_state.dart | Dart | www.github.com/HubOl01/flutter_libs/tree/main/core/bloc/favorite_state.dart | https://raw.githubusercontent.com/HubOl01/flutter_libs/92cfeb0/core/bloc/favorite_state.dart | HubOl01/flutter_libs 92cfeb0 core/bloc/favorite_state.dart | true | 200 | 609 | import 'package:equatable/equatable.dart';
import '../models/favoriteModel.dart';
abstract class FavoriteState extends Equatable {
@override
List<Object?> get props => [];
}
class FavoriteInitial extends FavoriteState {}
class FavoriteLoading extends FavoriteState {}
class FavoriteLoaded extends FavoriteState ... | 1 |
kkuriboh/from_tuts | 5e7f2fd | payflow/lib/main.dart | Dart | www.github.com/kkuriboh/from_tuts/tree/main/payflow/lib/main.dart | https://raw.githubusercontent.com/kkuriboh/from_tuts/5e7f2fd/payflow/lib/main.dart | kkuriboh/from_tuts 5e7f2fd payflow/lib/main.dart | true | 200 | 1,188 | import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:payflow/app_widget.dart';
void main() => runApp(const AppFirebase());
class AppFirebase extends StatefulWidget {
const AppFirebase({Key? key}) : super(key: key);
@override
State<AppFirebase> createState()... | 5 |
mensur056/nuntiumVB | ad07351 | nuntium/lib/bloc/home/home_cubit.dart | Dart | www.github.com/mensur056/nuntiumVB/tree/main/nuntium/lib/bloc/home/home_cubit.dart | https://raw.githubusercontent.com/mensur056/nuntiumVB/ad07351/nuntium/lib/bloc/home/home_cubit.dart | mensur056/nuntiumVB ad07351 nuntium/lib/bloc/home/home_cubit.dart | true | 200 | 785 | import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:nuntium/data/contractors/i_home_repository.dart';
import 'home_state.dart';
class HomeCubit extends Cubit<HomeState> {
HomeCubit(this._homeRepository) : super(HomeInitial());
final IHomeRepository _homeRepository;
Future<void> fetchNewsItem() asy... | 7 |
akramjon200205/collegro_repo | 12cf96e | lib/features/delete_account/presentation/pages/delete_account.dart | Dart | www.github.com/akramjon200205/collegro_repo/tree/main/lib/features/delete_account/presentation/pages/delete_account.dart | https://raw.githubusercontent.com/akramjon200205/collegro_repo/12cf96e/lib/features/delete_account/presentation/pages/delete_account.dart | akramjon200205/collegro_repo 12cf96e lib/features/delete_account/presentation/pages/delete_account.dart | true | 200 | 2,435 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:twitter_app_flutter/core/utils/collegro_icon.dart';
import 'package:twitter_app_flutter/core/utils/custom_container_widget.dart';
import 'package:twitter_app_flutter/features/assets/app_colors.dart';
imp... | 3 |
priyanshu251/Todoey | 4ae23d1 | lib/screens/task_screen.dart | Dart | www.github.com/priyanshu251/Todoey/tree/main/lib/screens/task_screen.dart | https://raw.githubusercontent.com/priyanshu251/Todoey/4ae23d1/lib/screens/task_screen.dart | priyanshu251/Todoey 4ae23d1 lib/screens/task_screen.dart | true | 200 | 2,849 | import 'package:flutter/material.dart';
import '../models/task_data.dart';
import '../widgets/tasks_list.dart';
import 'add_tasks_screen.dart';
import 'package:provider/provider.dart';
class TasksScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return SafeArea(
child: Scaff... | 4 |
ahmedmahershaaban/BEHEER | e2c63fe | lib/domain/auth_flow/auth_failure/auth_failure.dart | Dart | www.github.com/ahmedmahershaaban/BEHEER/tree/main/lib/domain/auth_flow/auth_failure/auth_failure.dart | https://raw.githubusercontent.com/ahmedmahershaaban/BEHEER/e2c63fe/lib/domain/auth_flow/auth_failure/auth_failure.dart | ahmedmahershaaban/BEHEER e2c63fe lib/domain/auth_flow/auth_failure/auth_failure.dart | true | 200 | 5,740 | import 'package:freezed_annotation/freezed_annotation.dart';
part 'auth_failure.freezed.dart';
/// These are the [AuthFailure] which will be returned from [IAuthFacade] instead of [Error].
///
/// This will ensure the safety of the application with out getting any un needed [Error]s
/// instead we have it now in a fo... | 0 |
JussaraR/pi5vtr | aca4dbe | lib/transferencia.dart | Dart | www.github.com/JussaraR/pi5vtr/tree/main/lib/transferencia.dart | https://raw.githubusercontent.com/JussaraR/pi5vtr/aca4dbe/lib/transferencia.dart | JussaraR/pi5vtr aca4dbe lib/transferencia.dart | true | 200 | 7,067 | import 'dart:ffi';
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
import "dart:convert";
import 'package:pi5vtr/home_produtos.dart';
import 'package:pi5vtr/url_api.dart';
import 'package:pi5vtr/drawer_geral.dart';
import 'package:pi5vtr/produto.dart';
class Transferencia extends Stat... | 2 |
MohFauziSlamet/flutter-todo | 0e3e058 | lib/app/features/task/domain/usecases/delete_todo_uc.dart | Dart | www.github.com/MohFauziSlamet/flutter-todo/tree/main/lib/app/features/task/domain/usecases/delete_todo_uc.dart | https://raw.githubusercontent.com/MohFauziSlamet/flutter-todo/0e3e058/lib/app/features/task/domain/usecases/delete_todo_uc.dart | MohFauziSlamet/flutter-todo 0e3e058 lib/app/features/task/domain/usecases/delete_todo_uc.dart | true | 200 | 655 |
import 'package:injectable/injectable.dart';
import 'package:todo_apps/app/features/task/domain/repositories/task_repository.dart';
import 'package:todo_apps/core/state/data_state.dart';
import 'package:todo_apps/core/usecases/usecase.dart';
@lazySingleton
class DeleteTodoUc extends UseCase<String, DeleteTodoParams> ... | 1 |
chupino/ProyectoWattkeeperFlutter | 1f6fbc6 | lib/components/loading/loadingAnimation.dart | Dart | www.github.com/chupino/ProyectoWattkeeperFlutter/tree/main/lib/components/loading/loadingAnimation.dart | https://raw.githubusercontent.com/chupino/ProyectoWattkeeperFlutter/1f6fbc6/lib/components/loading/loadingAnimation.dart | chupino/ProyectoWattkeeperFlutter 1f6fbc6 lib/components/loading/loadingAnimation.dart | true | 200 | 344 | import 'package:flutter/material.dart';
import 'package:lottie/lottie.dart';
class LoadingAnimation extends StatelessWidget {
const LoadingAnimation({super.key});
@override
Widget build(BuildContext context) {
return Center(
child: Lottie.asset('assets/animations/loginLoading3.json'),
... | 7 |
Team-Alfa-DS/Frontend-Alfa-CleanArq | 1da2691 | lib/aplication/BLoC/user/validate_code/validate_code_bloc.dart | Dart | www.github.com/Team-Alfa-DS/Frontend-Alfa-CleanArq/tree/main/lib/aplication/BLoC/user/validate_code/validate_code_bloc.dart | https://raw.githubusercontent.com/Team-Alfa-DS/Frontend-Alfa-CleanArq/1da2691/lib/aplication/BLoC/user/validate_code/validate_code_bloc.dart | Team-Alfa-DS/Frontend-Alfa-CleanArq 1da2691 lib/aplication/BLoC/user/validate_code/validate_code_bloc.dart | true | 200 | 1,050 | import 'package:bloc/bloc.dart';
import 'package:equatable/equatable.dart';
import 'package:alpha_gymnastic_center/aplication/use_cases/user/validate_code_use_case.dart';
import 'package:alpha_gymnastic_center/common/failure.dart';
part 'validate_code_event.dart';
part 'validate_code_state.dart';
class ValidateCodeBlo... | 6 |
YadeshwarS/LocateMe | 23dd843 | lib/signup.dart | Dart | www.github.com/YadeshwarS/LocateMe/tree/main/lib/signup.dart | https://raw.githubusercontent.com/YadeshwarS/LocateMe/23dd843/lib/signup.dart | YadeshwarS/LocateMe 23dd843 lib/signup.dart | true | 200 | 9,521 | import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
import 'loginpage.dart';
import 'package:locatesret/FacultyPage.dart';
import 'package:locatesret/studentpage.dart';
import 'package:fluttertoast/fluttertoast.dart';
class MyRegister extends StatefulWidget {
const MyRegister({... | 5 |
jingyinggggg/assignment_tripmate | 9c65aec | lib/screens/user/localBuddyViewAppointmentDetails.dart | Dart | www.github.com/jingyinggggg/assignment_tripmate/tree/main/lib/screens/user/localBuddyViewAppointmentDetails.dart | https://raw.githubusercontent.com/jingyinggggg/assignment_tripmate/9c65aec/lib/screens/user/localBuddyViewAppointmentDetails.dart | jingyinggggg/assignment_tripmate 9c65aec lib/screens/user/localBuddyViewAppointmentDetails.dart | true | 200 | 23,184 | import 'dart:io';
import 'package:assignment_tripmate/constants.dart';
import 'package:assignment_tripmate/screens/user/chatDetailsPage.dart';
import 'package:assignment_tripmate/screens/user/localBuddyViewAppointment.dart';
import 'package:assignment_tripmate/utils.dart';
import 'package:cached_network_image/cached_n... | 4 |
gmkhokababu/Flutter | 6551db2 | pharmacy_management/lib/admin/show_sales_reports.dart | Dart | www.github.com/gmkhokababu/Flutter/tree/main/pharmacy_management/lib/admin/show_sales_reports.dart | https://raw.githubusercontent.com/gmkhokababu/Flutter/6551db2/pharmacy_management/lib/admin/show_sales_reports.dart | gmkhokababu/Flutter 6551db2 pharmacy_management/lib/admin/show_sales_reports.dart | true | 200 | 4,279 | import 'package:flutter/material.dart';
import 'package:pharmacy_management/admin/show_sales_details.dart';
import 'package:pharmacy_management/models/sale_report.dart';
import 'package:pharmacy_management/navigation/navigation.dart';
class ShowSalesReports extends StatefulWidget {
const ShowSalesReports({super.key,... | 0 |
Khawar101/eduacation_flutter_app | 75e6fdc | lib/ui/views/auth/signup/signup_viewmodel.dart | Dart | www.github.com/Khawar101/eduacation_flutter_app/tree/main/lib/ui/views/auth/signup/signup_viewmodel.dart | https://raw.githubusercontent.com/Khawar101/eduacation_flutter_app/75e6fdc/lib/ui/views/auth/signup/signup_viewmodel.dart | Khawar101/eduacation_flutter_app 75e6fdc lib/ui/views/auth/signup/signup_viewmodel.dart | true | 200 | 2,761 | // ignore_for_file: non_constant_identifier_names, unnecessary_null_comparison, prefer_typing_uninitialized_variables
import 'package:firebase_crashlytics/firebase_crashlytics.dart';
import 'package:education/services/signup_service.dart';
import 'package:stacked_services/stacked_services.dart';
import 'package:educati... | 3 |
bbrneto/dart_exceptions | 546da7e | bin/concepts/runtime_stack.dart | Dart | www.github.com/bbrneto/dart_exceptions/tree/main/bin/concepts/runtime_stack.dart | https://raw.githubusercontent.com/bbrneto/dart_exceptions/546da7e/bin/concepts/runtime_stack.dart | bbrneto/dart_exceptions 546da7e bin/concepts/runtime_stack.dart | true | 200 | 600 | // Pilha de Execução indica a ordena em que as funções serão executadas.
// Quando vazia, indica que não existe mais nada a ser executado.
// Debug (Depurar): execução com breakpoints (Modo de Depuração).
// Permite uma análise linha a linha do código.
// Step Over: F8
// Step Into: F7
void main() {
print('Started m... | 7 |
devlugaby/ppdm-dart | 7e6dcbc | a6/classepessoa.dart | Dart | www.github.com/devlugaby/ppdm-dart/tree/main/a6/classepessoa.dart | https://raw.githubusercontent.com/devlugaby/ppdm-dart/7e6dcbc/a6/classepessoa.dart | devlugaby/ppdm-dart 7e6dcbc a6/classepessoa.dart | true | 200 | 565 | class Pessoa {
String nome;
int idade;
String endereco;
String profissao;
String cpf;
String rg;
Pessoa(this.nome, this.idade, this.endereco, this.profissao, this.cpf, this.rg);
void imprimirDados() {
print('Nome: $nome');
print('Idade: $idade');
print('Endereço: $endereco'... | 2 |
haiwei-Lee/shopping | 7694ff3 | lib/product_details/product_detail_info.dart | Dart | www.github.com/haiwei-Lee/shopping/tree/main/lib/product_details/product_detail_info.dart | https://raw.githubusercontent.com/haiwei-Lee/shopping/7694ff3/lib/product_details/product_detail_info.dart | haiwei-Lee/shopping 7694ff3 lib/product_details/product_detail_info.dart | true | 200 | 2,182 | import 'package:flutter/material.dart';
class ProductInfoView extends StatefulWidget {
// ignore: use_key_in_widget_constructors
const ProductInfoView();
@override
// ignore: library_private_types_in_public_api
_ProductInfoViewState createState() => _ProductInfoViewState();
}
class _ProductInfoViewState ext... | 1 |
RaviNarayanBehera/UI_Button | 4d8b1bf | lib/UI Button/My App UI (Audi).dart | Dart | www.github.com/RaviNarayanBehera/UI_Button/tree/main/lib/UI Button/My App UI (Audi).dart | https://raw.githubusercontent.com/RaviNarayanBehera/UI_Button/4d8b1bf/lib/UI%20Button/My%20App%20UI%20%28Audi%29.dart | RaviNarayanBehera/UI_Button 4d8b1bf lib/UI Button/My App UI (Audi).dart | true | 200 | 1,209 | import 'package:flutter/material.dart';
import '../utils/Color.dart';
// 1----> My App
void main() {
runApp(
MaterialApp(
debugShowCheckedModeBanner: false,
home: Scaffold(
appBar: AppBar(
centerTitle: true,
backgroundColor: seaBlueColor,
title: const Text(
... | 6 |
taslims-code/craftybay | 31de91c | lib/presentation/ui/screens/reviews/reviews.dart | Dart | www.github.com/taslims-code/craftybay/tree/main/lib/presentation/ui/screens/reviews/reviews.dart | https://raw.githubusercontent.com/taslims-code/craftybay/31de91c/lib/presentation/ui/screens/reviews/reviews.dart | taslims-code/craftybay 31de91c lib/presentation/ui/screens/reviews/reviews.dart | true | 200 | 3,078 | import 'package:ecommerce/presentation/state%20holders/review_controller.dart';
import 'package:ecommerce/presentation/ui/screens/reviews/add_new_review.dart';
import 'package:ecommerce/presentation/ui/widgets/persistent_button_container.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
imp... | 4 |
saadadel279/al_dahabiya | 3bcd857 | lib/feature/address/presentation/view/widgets/semulated_drop_down.dart | Dart | www.github.com/saadadel279/al_dahabiya/tree/main/lib/feature/address/presentation/view/widgets/semulated_drop_down.dart | https://raw.githubusercontent.com/saadadel279/al_dahabiya/3bcd857/lib/feature/address/presentation/view/widgets/semulated_drop_down.dart | saadadel279/al_dahabiya 3bcd857 lib/feature/address/presentation/view/widgets/semulated_drop_down.dart | true | 200 | 1,240 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
class SemulatedDropDown extends StatelessWidget {
const SemulatedDropDown({
super.key,
this.title,
});
final String? title;
@override
Widget build(BuildContext context) {
return Container(
h... | 3 |
tzeyi/snack_n_snap | e9b11f6 | lib/services/imagePicker.dart | Dart | www.github.com/tzeyi/snack_n_snap/tree/main/lib/services/imagePicker.dart | https://raw.githubusercontent.com/tzeyi/snack_n_snap/e9b11f6/lib/services/imagePicker.dart | tzeyi/snack_n_snap e9b11f6 lib/services/imagePicker.dart | true | 200 | 433 | import 'dart:io';
import 'package:flutter/material.dart';
import 'package:image_picker/image_picker.dart';
class Image_Picker{
Future<File> uploadImage(String inputSource) async {
final picker = ImagePicker();
final XFile? pickerImage = await picker.pickImage(
source: inputSource == 'camera' ? ImageSou... | 0 |
Rishithp06/bmi | 78ea1ba | lib/demo.dart | Dart | www.github.com/Rishithp06/bmi/tree/main/lib/demo.dart | https://raw.githubusercontent.com/Rishithp06/bmi/78ea1ba/lib/demo.dart | Rishithp06/bmi 78ea1ba lib/demo.dart | true | 200 | 2,276 | import 'package:flutter/material.dart';
class Demo extends StatefulWidget {
@override
_DemoState createState() => _DemoState();
}
class _DemoState extends State<Demo> {
final TextEditingController _heightController = TextEditingController();
final TextEditingController _weightController = TextEditingControlle... | 7 |
leofrsilva/safe_notes | 7af443c | test/mocks/mocks_firebase.dart | Dart | www.github.com/leofrsilva/safe_notes/tree/main/test/mocks/mocks_firebase.dart | https://raw.githubusercontent.com/leofrsilva/safe_notes/7af443c/test/mocks/mocks_firebase.dart | leofrsilva/safe_notes 7af443c test/mocks/mocks_firebase.dart | true | 200 | 2,969 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:mocktail/mocktail.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:firebase_auth_mocks/firebase_auth_mocks.dart';
import 'package:safe_notes/app/modules/auth/submodules/getin/domain/errors/getin_failures.dart';
import 'packa... | 2 |
07jasjeet/github-api-flutter | fb93477 | lib/viewmodel/main_viewmodel.dart | Dart | www.github.com/07jasjeet/github-api-flutter/tree/main/lib/viewmodel/main_viewmodel.dart | https://raw.githubusercontent.com/07jasjeet/github-api-flutter/fb93477/lib/viewmodel/main_viewmodel.dart | 07jasjeet/github-api-flutter fb93477 lib/viewmodel/main_viewmodel.dart | true | 200 | 1,782 | import 'package:flutter/cupertino.dart';
import 'package:urban_match_assignment/model/commit_data.dart';
import 'package:urban_match_assignment/model/github_repository.dart';
import 'package:urban_match_assignment/utils/resource.dart';
import '../model/commit.dart';
import '../repository/github_information_repository.... | 6 |
prgtyfzh/upapp | ea77a72 | lib/model/piutangmodel.dart | Dart | www.github.com/prgtyfzh/upapp/tree/main/lib/model/piutangmodel.dart | https://raw.githubusercontent.com/prgtyfzh/upapp/ea77a72/lib/model/piutangmodel.dart | prgtyfzh/upapp ea77a72 lib/model/piutangmodel.dart | true | 200 | 3,826 | import 'dart:convert';
import 'package:flutter/widgets.dart';
class PiutangModel {
String? piutangId;
String? namaPeminjam;
String? nominalDiPinjam;
String? tanggalDiPinjam;
String? tanggalJatuhTempo;
String? deskripsi;
String? totalBayar;
String? sisaHutang;
String? status;
PiutangModel({
thi... | 4 |
Fathii1/loginformauth | 52d7431 | lib/main.dart | Dart | www.github.com/Fathii1/loginformauth/tree/main/lib/main.dart | https://raw.githubusercontent.com/Fathii1/loginformauth/52d7431/lib/main.dart | Fathii1/loginformauth 52d7431 lib/main.dart | true | 200 | 593 | import 'package:flutter/material.dart';
import 'pages/sigin.dart';
import 'package:firebase_core/firebase_core.dart';
import 'firebase_options.dart';
import 'package:fatxilogin/pages/auth.dart';
// ...
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp(
options: Defaul... | 3 |
ahmadzafar848/riverpod_api | 5070e3a | lib/main.dart | Dart | www.github.com/ahmadzafar848/riverpod_api/tree/main/lib/main.dart | https://raw.githubusercontent.com/ahmadzafar848/riverpod_api/5070e3a/lib/main.dart | ahmadzafar848/riverpod_api 5070e3a lib/main.dart | true | 200 | 927 | import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:riverpod_api/app_providers/album_provider.dart';
import 'package:riverpod_api/app_providers/login_provider.dart';
import 'package:riverpod_api/app_providers/signup_provider.dart';
import 'package:riverpod_ap... | 5 |
caseyryan/ai_image_annotator | fe9ee37 | lib/utils/segmentation_utils.dart | Dart | www.github.com/caseyryan/ai_image_annotator/tree/main/lib/utils/segmentation_utils.dart | https://raw.githubusercontent.com/caseyryan/ai_image_annotator/fe9ee37/lib/utils/segmentation_utils.dart | caseyryan/ai_image_annotator fe9ee37 lib/utils/segmentation_utils.dart | true | 200 | 4,558 | import 'dart:ui';
/// Calculate areas for Coco annotation segmentation
double calculatePolygonArea(
List<List<double>>? segmentation,
) {
if (segmentation?.isNotEmpty != true) {
return 0.0;
}
double totalArea = 0.0;
for (var points in segmentation!) {
/// Ensure the points list has an even length fo... | 1 |
eduar766/flutter_components | 1ae4b31 | lib/screens/home_screen.dart | Dart | www.github.com/eduar766/flutter_components/tree/main/lib/screens/home_screen.dart | https://raw.githubusercontent.com/eduar766/flutter_components/1ae4b31/lib/screens/home_screen.dart | eduar766/flutter_components 1ae4b31 lib/screens/home_screen.dart | true | 200 | 864 | import 'package:fl_components/theme/app_theme.dart';
import 'package:flutter/material.dart';
import 'package:fl_components/router/app_routes.dart';
class HomeScreen extends StatelessWidget {
const HomeScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
final menuOpts = App... | 7 |
Ragheed7/Watd | 48c4e95 | lib/features/cart/presentation/cart_screen.dart | Dart | www.github.com/Ragheed7/Watd/tree/main/lib/features/cart/presentation/cart_screen.dart | https://raw.githubusercontent.com/Ragheed7/Watd/48c4e95/lib/features/cart/presentation/cart_screen.dart | Ragheed7/Watd 48c4e95 lib/features/cart/presentation/cart_screen.dart | true | 200 | 4,850 | import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_launcher_icons/xml_templates.dart';
import 'package:watd/core/theming/colors.dart';
import 'package:watd/features/account/presentation/widgets/app_bar_screen.dart';
import 'package:watd/... | 6 |
MohamedHanafyKhairy/Final-Garden-Lovers | 31bac57 | lib/User/Services/UserService-SignUp.dart | Dart | www.github.com/MohamedHanafyKhairy/Final-Garden-Lovers/tree/main/lib/User/Services/UserService-SignUp.dart | https://raw.githubusercontent.com/MohamedHanafyKhairy/Final-Garden-Lovers/31bac57/lib/User/Services/UserService-SignUp.dart | MohamedHanafyKhairy/Final-Garden-Lovers 31bac57 lib/User/Services/UserService-SignUp.dart | true | 200 | 1,105 | import 'package:dio/dio.dart';
import '../Models/UserModel-SignUp.dart';
class ApiService {
final Dio _dio = Dio(BaseOptions(
baseUrl: 'http://garenloverss.runasp.net/api/user',
connectTimeout: const Duration(seconds: 10),
receiveTimeout: const Duration(seconds: 10),
));
Future<void> signUp(UserMode... | 0 |
patrick-3008/Meal-app | 53eeee1 | lib/screens/categories_meals_screen.dart | Dart | www.github.com/patrick-3008/Meal-app/tree/main/lib/screens/categories_meals_screen.dart | https://raw.githubusercontent.com/patrick-3008/Meal-app/53eeee1/lib/screens/categories_meals_screen.dart | patrick-3008/Meal-app 53eeee1 lib/screens/categories_meals_screen.dart | true | 200 | 1,508 | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:mealapp/providers/meal_provider.dart';
import '../models/meal.dart';
import '../widgets/meal_item.dart';
class CategoryMealScreen extends StatefulWidget {
static const routeName = '/category_meals';
const CategoryMe... | 5 |
christian-leingang/CTFL-Vertragsmanager | bd08ca7 | frontend/ctfl_vertragsmanager/lib/provider/all_vertraege_provider.dart | Dart | www.github.com/christian-leingang/CTFL-Vertragsmanager/tree/main/frontend/ctfl_vertragsmanager/lib/provider/all_vertraege_provider.dart | https://raw.githubusercontent.com/christian-leingang/CTFL-Vertragsmanager/bd08ca7/frontend/ctfl_vertragsmanager/lib/provider/all_vertraege_provider.dart | christian-leingang/CTFL-Vertragsmanager bd08ca7 frontend/ctfl_vertragsmanager/lib/provider/all_vertraege_provider.dart | true | 200 | 1,677 | import 'package:ctfl_vertragsmanager/funktionen/hive_functions.dart';
import 'package:ctfl_vertragsmanager/models/vertrag.dart';
import 'package:flutter/foundation.dart';
import '../models/label.dart';
class AllVertraegeProvider with ChangeNotifier {
List<Vertrag> _vertraege = [];
List<Vertrag> get vertra... | 2 |
Shakeeb-Alam/statemanagementpro | cbe1d6a | lib/domain/color_model.dart | Dart | www.github.com/Shakeeb-Alam/statemanagementpro/tree/main/lib/domain/color_model.dart | https://raw.githubusercontent.com/Shakeeb-Alam/statemanagementpro/cbe1d6a/lib/domain/color_model.dart | Shakeeb-Alam/statemanagementpro cbe1d6a lib/domain/color_model.dart | true | 200 | 1,364 | // class Notes {
// String title;
// String description;
// // int red;
//
// Notes({ required this.title, required this.description,
// //required this.red
// });
//
// Notes.fromMap(Map map):
// title = map["title"],
// description = map["description"];
// // red = map["red"];
/... | 4 |
JangYeonghun/gps-accuracy | db04f87 | lib/utility/permission.dart | Dart | www.github.com/JangYeonghun/gps-accuracy/tree/main/lib/utility/permission.dart | https://raw.githubusercontent.com/JangYeonghun/gps-accuracy/db04f87/lib/utility/permission.dart | JangYeonghun/gps-accuracy db04f87 lib/utility/permission.dart | true | 200 | 1,128 | import 'package:permission_handler/permission_handler.dart';
class PermissionModule {
static Future<bool> checkPermissions() async {
// 위치 권한 확인
PermissionStatus locationPermission = await Permission.location.status;
// 활동 인식 권한 확인
PermissionStatus activityRecogPermission = await Permission.activityR... | 1 |
Aljawhra1/SWE2-SS | 17f645b | lib/backend/schema/structs/questions_struct.dart | Dart | www.github.com/Aljawhra1/SWE2-SS/tree/main/lib/backend/schema/structs/questions_struct.dart | https://raw.githubusercontent.com/Aljawhra1/SWE2-SS/17f645b/lib/backend/schema/structs/questions_struct.dart | Aljawhra1/SWE2-SS 17f645b lib/backend/schema/structs/questions_struct.dart | true | 200 | 3,691 | // ignore_for_file: unnecessary_getters_setters
import 'package:cloud_firestore/cloud_firestore.dart';
import '/backend/schema/util/firestore_util.dart';
import '/flutter_flow/flutter_flow_util.dart';
class QuestionsStruct extends FFFirebaseStruct {
QuestionsStruct({
String? what,
FirestoreUtilData firest... | 7 |
Jirtikk/LearnEarn | 4985c40 | learn_and_earn_mongodb-master/lib/firenasedatabasehelper/firebaseuploadhelper.dart | Dart | www.github.com/Jirtikk/LearnEarn/tree/main/learn_and_earn_mongodb-master/lib/firenasedatabasehelper/firebaseuploadhelper.dart | https://raw.githubusercontent.com/Jirtikk/LearnEarn/4985c40/learn_and_earn_mongodb-master/lib/firenasedatabasehelper/firebaseuploadhelper.dart | Jirtikk/LearnEarn 4985c40 learn_and_earn_mongodb-master/lib/firenasedatabasehelper/firebaseuploadhelper.dart | true | 200 | 1,505 | // ignore_for_file: depend_on_referenced_packages
import 'dart:io';
import 'package:path/path.dart' as path;
import 'package:firebase_storage/firebase_storage.dart';
import '../tools/appstate.dart';
class FirebaseHelper {
static Future<String> uploadFile(
File? file, AppState provider, String phone) async {
... | 6 |
mahaelasil/whatsApp | d7f1c3c | lib/presentation/views/onboarding.dart | Dart | www.github.com/mahaelasil/whatsApp/tree/main/lib/presentation/views/onboarding.dart | https://raw.githubusercontent.com/mahaelasil/whatsApp/d7f1c3c/lib/presentation/views/onboarding.dart | mahaelasil/whatsApp d7f1c3c lib/presentation/views/onboarding.dart | true | 200 | 662 | import 'package:flutter/material.dart';
class OnBoardingItem extends StatelessWidget {
final dynamic model;
final String title;
const OnBoardingItem ({Key? key, this.model, required this.title}) : super(key: key);
@override
Widget build(BuildContext context) {
return Column(
mainAxisAlignment: M... | 0 |
emeleonufavour/donut-app | 22bec30 | lib/cart page stuff/cartlistrow.dart | Dart | www.github.com/emeleonufavour/donut-app/tree/main/lib/cart page stuff/cartlistrow.dart | https://raw.githubusercontent.com/emeleonufavour/donut-app/22bec30/lib/cart%20page%20stuff/cartlistrow.dart | emeleonufavour/donut-app 22bec30 lib/cart page stuff/cartlistrow.dart | true | 200 | 3,060 | import 'package:flutter/material.dart';
import 'package:flutter/src/widgets/container.dart';
import 'package:flutter/src/widgets/framework.dart';
import '../models/donutmodel.dart';
import '../utilities.dart';
class DonutShoppingListRow extends StatelessWidget {
DonutModel donut;
Function onDeleteRow;
DonutShop... | 3 |
youssef8maged/taskly | 19c9162 | lib/Home Screen/Task Tile/sheet_content.dart | Dart | www.github.com/youssef8maged/taskly/tree/main/lib/Home Screen/Task Tile/sheet_content.dart | https://raw.githubusercontent.com/youssef8maged/taskly/19c9162/lib/Home%20Screen/Task%20Tile/sheet_content.dart | youssef8maged/taskly 19c9162 lib/Home Screen/Task Tile/sheet_content.dart | true | 200 | 3,416 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:todo/Logic/my_work_manager.dart';
import 'package:todo/Modules/task.dart';
import 'package:todo/Modules/task_controller.dart';
class SheetContent extends StatelessWidget {
final Task task;
final AnimationController animationCon... | 5 |
admin123KK/ramro_flutter | 0a8a09f | lib/main.dart | Dart | www.github.com/admin123KK/ramro_flutter/tree/main/lib/main.dart | https://raw.githubusercontent.com/admin123KK/ramro_flutter/0a8a09f/lib/main.dart | admin123KK/ramro_flutter 0a8a09f lib/main.dart | true | 200 | 997 | import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:nepaltop/firebase_options.dart';
import 'package:nepaltop/items/theme_page.dart';
import 'package:nepaltop/pages/auth_page.dart';
import 'package:provider/provider.dart';
// import 'package:nepaltop/register_page.... | 2 |
ekanurfadilah/RESPONSI | d21642f | lib/home.dart | Dart | www.github.com/ekanurfadilah/RESPONSI/tree/main/lib/home.dart | https://raw.githubusercontent.com/ekanurfadilah/RESPONSI/d21642f/lib/home.dart | ekanurfadilah/RESPONSI d21642f lib/home.dart | true | 200 | 3,252 | import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
import 'dart:convert';
import 'package:responsimobile/meal_list.dart';
class HomePage extends StatelessWidget {
Future<List> fetchMeals() async {
final response = await http.get(
Uri.parse('https://www.themealdb.com/api/jso... | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.