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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
ewertonls/flutter-consumo-de-api | 67fbbca | lib/src/app_widget.dart | Dart | www.github.com/ewertonls/flutter-consumo-de-api/tree/main/lib/src/app_widget.dart | https://raw.githubusercontent.com/ewertonls/flutter-consumo-de-api/67fbbca/lib/src/app_widget.dart | ewertonls/flutter-consumo-de-api 67fbbca lib/src/app_widget.dart | true | 200 | 468 | import 'package:flutter/material.dart';
import 'todo/presentation/pages/todos_page.dart';
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Todos',
theme: ThemeData(... | 3 |
leichtmj/FLUTTER | 27eaf66 | poll/lib/models/poll.dart | Dart | www.github.com/leichtmj/FLUTTER/tree/main/poll/lib/models/poll.dart | https://raw.githubusercontent.com/leichtmj/FLUTTER/27eaf66/poll/lib/models/poll.dart | leichtmj/FLUTTER 27eaf66 poll/lib/models/poll.dart | true | 200 | 886 | import 'package:intl/intl.dart';
class Poll {
Poll(
{required this.id,
required this.name,
required this.description,
this.imageName,
required this.eventDate});
Poll.empty()
: this(
id: 0,
name: '',
description: '',
imageName: '',
... | 6 |
Olivier-plessis/flutter_ui_kit | b9f6e2c | dark_light_mode/lib/main.dart | Dart | www.github.com/Olivier-plessis/flutter_ui_kit/tree/main/dark_light_mode/lib/main.dart | https://raw.githubusercontent.com/Olivier-plessis/flutter_ui_kit/b9f6e2c/dark_light_mode/lib/main.dart | Olivier-plessis/flutter_ui_kit b9f6e2c dark_light_mode/lib/main.dart | true | 200 | 1,238 | import 'package:dark_light_mode/core/theme/dark_theme.dart';
import 'package:dark_light_mode/core/theme/light_theme.dart';
import 'package:dark_light_mode/core/theme/theme_mode_controller.dart';
import 'package:flutter/material.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
void main() {
runApp(const Pr... | 7 |
anoochit/standby_clock | 0ee73b3 | lib/pages/settings.dart | Dart | www.github.com/anoochit/standby_clock/tree/main/lib/pages/settings.dart | https://raw.githubusercontent.com/anoochit/standby_clock/0ee73b3/lib/pages/settings.dart | anoochit/standby_clock 0ee73b3 lib/pages/settings.dart | true | 200 | 3,749 | import 'dart:developer';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:standby_clock/data/ambient_sound.dart';
import '../controllers/app_controller.dart';
class SettingPage extends GetView<AppController> {
const SettingPage({super.key});
@override
Widget build(BuildCo... | 1 |
AyaanMerchant/SMIT-Flutter | 96245ff | Class-04/Assignment-02/q1.dart | Dart | www.github.com/AyaanMerchant/SMIT-Flutter/tree/main/Class-04/Assignment-02/q1.dart | https://raw.githubusercontent.com/AyaanMerchant/SMIT-Flutter/96245ff/Class-04/Assignment-02/q1.dart | AyaanMerchant/SMIT-Flutter 96245ff Class-04/Assignment-02/q1.dart | true | 200 | 340 | void main() {
// Create a list of names and print all names using the list.
List<String> names = [
"Ayaan",
"Ali",
"Imdadullah",
"Hussain",
"Iqbal",
"Feroz",
"Fida",
"Akbar",
"Aliyan"
];
// Iterate over each name in the list and print it.
for (String name in names) {
... | 4 |
nandanurseptama/siren | e85c079 | lib/features/user/presentation/friend_cubit.dart | Dart | www.github.com/nandanurseptama/siren/tree/main/lib/features/user/presentation/friend_cubit.dart | https://raw.githubusercontent.com/nandanurseptama/siren/e85c079/lib/features/user/presentation/friend_cubit.dart | nandanurseptama/siren e85c079 lib/features/user/presentation/friend_cubit.dart | true | 200 | 2,364 | import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:siren/cores/enums/crud_enum.dart';
import 'package:siren/cores/interfaces/states/base_state.dart';
import 'package:siren/features/user/domain/entity/profile_entity.dart';
import 'package:siren/features/user/domain/usecases/add_friend_usecase.dart';
import... | 0 |
kEEBR/Dnevnik | 87d16f7 | lib/main_tabs.dart | Dart | www.github.com/kEEBR/Dnevnik/tree/main/lib/main_tabs.dart | https://raw.githubusercontent.com/kEEBR/Dnevnik/87d16f7/lib/main_tabs.dart | kEEBR/Dnevnik 87d16f7 lib/main_tabs.dart | true | 200 | 2,262 | import 'package:flutter/material.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'home_page.dart';
import 'menu_book_page.dart';
import 'gamepad_page.dart';
import 'lc_teacher.dart';
class MainTabs extends StatefulWidget {
const MainTabs({Key? k... | 2 |
mvclopes/greengrocer | 9d6ab0f | lib/src/features/common_widgets/custom_text_field.dart | Dart | www.github.com/mvclopes/greengrocer/tree/main/lib/src/features/common_widgets/custom_text_field.dart | https://raw.githubusercontent.com/mvclopes/greengrocer/9d6ab0f/lib/src/features/common_widgets/custom_text_field.dart | mvclopes/greengrocer 9d6ab0f lib/src/features/common_widgets/custom_text_field.dart | true | 200 | 1,935 | import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
class CustomTextField extends StatefulWidget {
final IconData icon;
final String labelText;
final bool isObscuredField;
final TextInputType? keyboardType;
final bool readOnly;
final String initialValue;
final List<TextInputFo... | 5 |
BitsxLaMarto-Ba-Be-Bi-Bop/Appeishon | 79e0652 | lib/Components/CustomSelectorInput.dart | Dart | www.github.com/BitsxLaMarto-Ba-Be-Bi-Bop/Appeishon/tree/main/lib/Components/CustomSelectorInput.dart | https://raw.githubusercontent.com/BitsxLaMarto-Ba-Be-Bi-Bop/Appeishon/79e0652/lib/Components/CustomSelectorInput.dart | BitsxLaMarto-Ba-Be-Bi-Bop/Appeishon 79e0652 lib/Components/CustomSelectorInput.dart | true | 200 | 2,204 | import 'dart:ffi';
import 'package:flutter/material.dart';
import 'package:fibro_pred/Utils/CustomColors.dart';
class CustomDropDown extends StatefulWidget {
final String placeholder;
final String label;
final IconData? icon;
final List<String> items;
final List<String> values;
final TextEditingController... | 6 |
linrco123/fnrco_candidates | 7ad4398 | lib/data/models/required_documents.dart | Dart | www.github.com/linrco123/fnrco_candidates/tree/main/lib/data/models/required_documents.dart | https://raw.githubusercontent.com/linrco123/fnrco_candidates/7ad4398/lib/data/models/required_documents.dart | linrco123/fnrco_candidates 7ad4398 lib/data/models/required_documents.dart | true | 200 | 6,887 | // class RequiredDocumentsModel {
// bool? status;
// String? message;
// List<RequiredDocumentsApp>? applications;
// int? size;
// int? page;
// int? totalPages;
// int? totalSize;
// int? perPage;
// RequiredDocumentsModel(
// {this.status,
// this.message,
// this.applications,
... | 7 |
grez-lucas/flutter-fighterapp | 265dcb4 | lib/router/app_routes.dart | Dart | www.github.com/grez-lucas/flutter-fighterapp/tree/main/lib/router/app_routes.dart | https://raw.githubusercontent.com/grez-lucas/flutter-fighterapp/265dcb4/lib/router/app_routes.dart | grez-lucas/flutter-fighterapp 265dcb4 lib/router/app_routes.dart | true | 200 | 1,259 | import 'package:flutter/material.dart';
import '../models/fighter_model.dart';
import '../pages/pages.dart';
class AppRoutes {
static const initialRoute = '/home';
static Map<String, Widget Function(BuildContext)> routes = {
'/heroroster': (BuildContext context) => const HeroRosterScreen(),
'/home': (Bui... | 3 |
nithish212004/proctor-app | 8b90368 | lib/models/student.dart | Dart | www.github.com/nithish212004/proctor-app/tree/main/lib/models/student.dart | https://raw.githubusercontent.com/nithish212004/proctor-app/8b90368/lib/models/student.dart | nithish212004/proctor-app 8b90368 lib/models/student.dart | true | 200 | 924 |
import 'dart:convert';
import 'package:proctor/models/faculty.dart';
class Student{
final String name;
final String email;
final String phone;
final String regnum;
final Faculty faculty;
Student({required this.name, required this.email, required this.phone, required this.regnum, required this.faculty});... | 1 |
abdullojony/news_app_example | e4c1d51 | lib/features/top_headlines/presentation/widgets/news_item.dart | Dart | www.github.com/abdullojony/news_app_example/tree/main/lib/features/top_headlines/presentation/widgets/news_item.dart | https://raw.githubusercontent.com/abdullojony/news_app_example/e4c1d51/lib/features/top_headlines/presentation/widgets/news_item.dart | abdullojony/news_app_example e4c1d51 lib/features/top_headlines/presentation/widgets/news_item.dart | true | 200 | 1,236 | import 'package:flutter/material.dart';
import 'package:news_app_example/features/top_headlines/domain/entities/article_entity.dart';
class NewsItem extends StatelessWidget {
const NewsItem(this.article, {super.key});
final ArticleEntity article;
@override
Widget build(BuildContext context) {
return Card(... | 4 |
FelipeSBG14/apsoo_2024 | e567464 | lib/src/repositories/farm/farm_repository_impl.dart | Dart | www.github.com/FelipeSBG14/apsoo_2024/tree/main/lib/src/repositories/farm/farm_repository_impl.dart | https://raw.githubusercontent.com/FelipeSBG14/apsoo_2024/e567464/lib/src/repositories/farm/farm_repository_impl.dart | FelipeSBG14/apsoo_2024 e567464 lib/src/repositories/farm/farm_repository_impl.dart | true | 200 | 2,201 | // ignore_for_file: public_member_api_docs, sort_constructors_first
import 'dart:developer';
import 'package:dio/dio.dart';
import 'package:trab_apsoo/src/core/exceptions/repository_exception.dart';
import 'package:trab_apsoo/src/core/interceptors/custom_dio.dart';
import 'package:trab_apsoo/src/models/farm/farm_model.... | 0 |
MORAMZY14/Etqan | 85a5e0d | lib/course_management_page.dart | Dart | www.github.com/MORAMZY14/Etqan/tree/main/lib/course_management_page.dart | https://raw.githubusercontent.com/MORAMZY14/Etqan/85a5e0d/lib/course_management_page.dart | MORAMZY14/Etqan 85a5e0d lib/course_management_page.dart | true | 200 | 14,188 | import 'dart:io';
import 'package:flutter/material.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_storage/firebase_storage.dart';
import 'package:flutter/services.dart';
import 'package:image_picker/image_picker.dart';
import 'course_users_page.dart';
class CourseManagementPage ... | 2 |
muhammadfarros12/responsive-device-adaptive | 52dd1d3 | lib/adaptive_layout/platform.dart | Dart | www.github.com/muhammadfarros12/responsive-device-adaptive/tree/main/lib/adaptive_layout/platform.dart | https://raw.githubusercontent.com/muhammadfarros12/responsive-device-adaptive/52dd1d3/lib/adaptive_layout/platform.dart | muhammadfarros12/responsive-device-adaptive 52dd1d3 lib/adaptive_layout/platform.dart | true | 200 | 548 | import 'package:flutter/widgets.dart';
import 'package:flutter/foundation.dart';
class PlatformWidget extends StatelessWidget {
final Widget androidBuilder;
final Widget iosBuilder;
const PlatformWidget(
{required this.androidBuilder, required this.iosBuilder});
@override
Widget build(BuildContext co... | 5 |
Gabrielfreitas11/teste-aplicacao-modular | 0a7f480 | test_smash_flutter/lib/app/module/home/bloc/home_bloc.dart | Dart | www.github.com/Gabrielfreitas11/teste-aplicacao-modular/tree/main/test_smash_flutter/lib/app/module/home/bloc/home_bloc.dart | https://raw.githubusercontent.com/Gabrielfreitas11/teste-aplicacao-modular/0a7f480/test_smash_flutter/lib/app/module/home/bloc/home_bloc.dart | Gabrielfreitas11/teste-aplicacao-modular 0a7f480 test_smash_flutter/lib/app/module/home/bloc/home_bloc.dart | true | 200 | 1,598 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:equatable/equatable.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_modular/flutter_modular.dart';
import 'package:test_smash_flutter/app/module/home/models/countries.dart';
import 'package:test_smash_flutter/app/shar... | 6 |
abdimalik7235/student_registration | a37d449 | student_registrations/lib/pages/home_page.dart | Dart | www.github.com/abdimalik7235/student_registration/tree/main/student_registrations/lib/pages/home_page.dart | https://raw.githubusercontent.com/abdimalik7235/student_registration/a37d449/student_registrations/lib/pages/home_page.dart | abdimalik7235/student_registration a37d449 student_registrations/lib/pages/home_page.dart | true | 200 | 1,121 | import 'package:flutter/material.dart';
import 'package:student_registrations/pages/add_student_page.dart';
import 'package:student_registrations/pages/new_Student.dart';
class HomePage extends StatefulWidget {
HomePage({Key? key}) : super(key: key);
@override
_HomePageState createState() => _HomePageState();
... | 7 |
m-montefalcon/APIfinals_ | 0459712 | lib/edit_page.dart | Dart | www.github.com/m-montefalcon/APIfinals_/tree/main/lib/edit_page.dart | https://raw.githubusercontent.com/m-montefalcon/APIfinals_/0459712/lib/edit_page.dart | m-montefalcon/APIfinals_ 0459712 lib/edit_page.dart | true | 200 | 2,683 | import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
import 'dart:convert';
class EditPage extends StatefulWidget {
final dynamic todo;
const EditPage({required this.todo, Key? key}) : super(key: key);
@override
State<EditPage> createState() => _EditPageState();
}
class _EditPage... | 3 |
maheralhosen/first | 44ff393 | lib/core/services/services.dart | Dart | www.github.com/maheralhosen/first/tree/main/lib/core/services/services.dart | https://raw.githubusercontent.com/maheralhosen/first/44ff393/lib/core/services/services.dart | maheralhosen/first 44ff393 lib/core/services/services.dart | true | 200 | 382 | import 'package:get/get.dart';
import 'package:shared_preferences/shared_preferences.dart';
class MyServices extends GetxService{
late SharedPreferences sharedPreferences ;
Future<MyServices> init() async {
sharedPreferences = await SharedPreferences.getInstance() ;
return this ;
}
}
initialService... | 1 |
Saronik5883/Foody | fab0ea2 | foodapp/lib/data/repository/user_repo.dart | Dart | www.github.com/Saronik5883/Foody/tree/main/foodapp/lib/data/repository/user_repo.dart | https://raw.githubusercontent.com/Saronik5883/Foody/fab0ea2/foodapp/lib/data/repository/user_repo.dart | Saronik5883/Foody fab0ea2 foodapp/lib/data/repository/user_repo.dart | true | 200 | 327 | import 'package:foodapp/data/api/api_client.dart';
import 'package:foodapp/utils/app_constants.dart';
import 'package:get/get.dart';
class UserRepo{
final ApiClient apiClient;
UserRepo({required this.apiClient});
Future<Response> getUserInfo() async{
return await apiClient.getData(AppConstants.USER_INFO_URI)... | 4 |
thinh1stonesky/linkphone-sdk | 9ffb170 | lib/models/contact.dart | Dart | www.github.com/thinh1stonesky/linkphone-sdk/tree/main/lib/models/contact.dart | https://raw.githubusercontent.com/thinh1stonesky/linkphone-sdk/9ffb170/lib/models/contact.dart | thinh1stonesky/linkphone-sdk 9ffb170 lib/models/contact.dart | true | 200 | 310 |
import 'package:cloud_firestore/cloud_firestore.dart';
class Contact {
String? name;
int? id;
Contact({
this.id,
this.name,
}){
// id = Random().nextInt(1000);
}
Map<String, dynamic> toJson(){
return {
'id' : id,
'name' : name,
};
}
}
| 2 |
yashmanjunath-74/amazon_clone | 2e0352e | lib/models/product_model.dart | Dart | www.github.com/yashmanjunath-74/amazon_clone/tree/main/lib/models/product_model.dart | https://raw.githubusercontent.com/yashmanjunath-74/amazon_clone/2e0352e/lib/models/product_model.dart | yashmanjunath-74/amazon_clone 2e0352e lib/models/product_model.dart | true | 200 | 1,602 | import 'dart:convert';
import 'package:amazon_clone/models/rating.dart';
class ProductModel {
final String productName;
final double price;
final double quantity;
final String description;
final String category;
final List<String> images;
final String? id;
final List<RatingModel>? rating;
... | 0 |
suhail9645/netflix | 851dc53 | lib/presentation/new_and_hot/new_and_hot_page.dart | Dart | www.github.com/suhail9645/netflix/tree/main/lib/presentation/new_and_hot/new_and_hot_page.dart | https://raw.githubusercontent.com/suhail9645/netflix/851dc53/lib/presentation/new_and_hot/new_and_hot_page.dart | suhail9645/netflix 851dc53 lib/presentation/new_and_hot/new_and_hot_page.dart | true | 200 | 2,412 | import 'package:flutter/material.dart';
import 'package:netflix/core/colors/colors.dart';
import 'package:netflix/presentation/new_and_hot/widget/coming_soon.dart';
import '../../core/colors/const_widget.dart';
import 'widget/everyone_watching.dart';
class ScreenNewAndHot extends StatelessWidget {
const ScreenNewAnd... | 5 |
gazalgauswami/DART | 90b8476 | namedcon.dart | Dart | www.github.com/gazalgauswami/DART/tree/main/namedcon.dart | https://raw.githubusercontent.com/gazalgauswami/DART/90b8476/namedcon.dart | gazalgauswami/DART 90b8476 namedcon.dart | true | 200 | 433 | //named constructer
//we can use multipale named constructer in same class
class class1 {
var name;
var age;
class1.first() {
print("HEllo I am first construcetr");
}
class1.second(named) {
this.name = named;
print(named);
}
class1.third() {
age = 20;
print(age);
}
}
void main(List... | 6 |
MojtabaMohammadzadeh/refactored_sannat_abzar_app | 9327ae2 | lib/features/brands_viwe/model/first_page_model.dart | Dart | www.github.com/MojtabaMohammadzadeh/refactored_sannat_abzar_app/tree/main/lib/features/brands_viwe/model/first_page_model.dart | https://raw.githubusercontent.com/MojtabaMohammadzadeh/refactored_sannat_abzar_app/9327ae2/lib/features/brands_viwe/model/first_page_model.dart | MojtabaMohammadzadeh/refactored_sannat_abzar_app 9327ae2 lib/features/brands_viwe/model/first_page_model.dart | true | 200 | 4,951 | import 'sliders.dart';
import 'all_brand_categories.dart';
import 'last_prices.dart';
import 'all_brands.dart';
class FirstPageModel {
FirstPageModel({
required this.success,
required this.error,
required this.error_code,
required this.msg,
required this.suggestion,
required thi... | 4 |
supakorn5/Tractor4u_frontend | 24eb92d | tracktor4u/lib/Widget/Card_customer_history.dart | Dart | www.github.com/supakorn5/Tractor4u_frontend/tree/main/tracktor4u/lib/Widget/Card_customer_history.dart | https://raw.githubusercontent.com/supakorn5/Tractor4u_frontend/24eb92d/tracktor4u/lib/Widget/Card_customer_history.dart | supakorn5/Tractor4u_frontend 24eb92d tracktor4u/lib/Widget/Card_customer_history.dart | true | 200 | 2,352 | import 'package:flutter/material.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
import 'package:myproject/Page/Owner/history/intfomation_history.dart';
class CardCustomerHistory extends StatefulWidget {
late String name;
CardCustomerHistory({Key? key, required this.name}) : super(key: key)... | 2 |
Lesruez93/flutter-cryptocurrency-coin-buddy-app | 52ca147 | lib/injector.dart | Dart | www.github.com/Lesruez93/flutter-cryptocurrency-coin-buddy-app/tree/main/lib/injector.dart | https://raw.githubusercontent.com/Lesruez93/flutter-cryptocurrency-coin-buddy-app/52ca147/lib/injector.dart | Lesruez93/flutter-cryptocurrency-coin-buddy-app 52ca147 lib/injector.dart | true | 200 | 1,960 | import 'features/candlestick/data/datasources/remote/candlestick_ds.dart';
import 'features/candlestick/data/repositories/candlestick_repo_impl.dart';
import 'features/candlestick/domain/repositories/candlestick_repo.dart';
import 'features/candlestick/domain/usecases/candlestick_uc.dart';
import 'core/network/dio_cli... | 3 |
vikoms/online_shop_app | d673a35 | lib/presentation/pages/sign_in/bloc/sign_in_state.dart | Dart | www.github.com/vikoms/online_shop_app/tree/main/lib/presentation/pages/sign_in/bloc/sign_in_state.dart | https://raw.githubusercontent.com/vikoms/online_shop_app/d673a35/lib/presentation/pages/sign_in/bloc/sign_in_state.dart | vikoms/online_shop_app d673a35 lib/presentation/pages/sign_in/bloc/sign_in_state.dart | true | 200 | 1,134 | part of 'sign_in_bloc.dart';
abstract class SignInState extends Equatable {
const SignInState();
@override
List<Object?> get props => [];
}
class SignInInitial extends SignInState {}
class SignInLoading extends SignInState {}
class SignInError extends SignInState {
final String? emailErrorMessage;
final ... | 7 |
hossammo-dev/instagram_clone | 8191934 | lib/modules/archive/archive_screen.dart | Dart | www.github.com/hossammo-dev/instagram_clone/tree/main/lib/modules/archive/archive_screen.dart | https://raw.githubusercontent.com/hossammo-dev/instagram_clone/8191934/lib/modules/archive/archive_screen.dart | hossammo-dev/instagram_clone 8191934 lib/modules/archive/archive_screen.dart | true | 200 | 1,129 | import 'package:flutter/material.dart';
import '../../shared/constants.dart';
import '../../shared/widgets/cached_image.dart';
class ArchiveScreen extends StatelessWidget {
const ArchiveScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBa... | 6 |
kaanoztrrk/Vi-Store | dcd292f | lib/Features/Store/Models/product_attribute_model.dart | Dart | www.github.com/kaanoztrrk/Vi-Store/tree/main/lib/Features/Store/Models/product_attribute_model.dart | https://raw.githubusercontent.com/kaanoztrrk/Vi-Store/dcd292f/lib/Features/Store/Models/product_attribute_model.dart | kaanoztrrk/Vi-Store dcd292f lib/Features/Store/Models/product_attribute_model.dart | true | 200 | 587 | class ProductAttributeModel {
String? name;
final List<String>? values;
ProductAttributeModel({this.name, this.values});
// json format
toJson() {
return {'Name': name, 'Values': values};
}
// Map json oriented document from firebase to model
factory ProductAttributeModel.fromJson(Map<String, dyna... | 5 |
No-MLife/Life | 9e1caf4 | flutterworkspace/m_life_app/lib/util/format_date_time.dart | Dart | www.github.com/No-MLife/Life/tree/main/flutterworkspace/m_life_app/lib/util/format_date_time.dart | https://raw.githubusercontent.com/No-MLife/Life/9e1caf4/flutterworkspace/m_life_app/lib/util/format_date_time.dart | No-MLife/Life 9e1caf4 flutterworkspace/m_life_app/lib/util/format_date_time.dart | true | 200 | 629 | import 'package:intl/intl.dart';
String formatDateTime(DateTime dateTime) {
final now = DateTime.now();
final difference = now.difference(dateTime).isNegative
? dateTime.difference(now)
: now.difference(dateTime);
if (difference.inDays > 0) {
if (difference.inDays >= 7) {
return DateFormat... | 1 |
mobileapp-harsh/ecommerece_assignment_project | 7fe903b | lib/modules/dashboard_screen/widget/dashboard_home_menu_shopByCategory_widget.dart | Dart | www.github.com/mobileapp-harsh/ecommerece_assignment_project/tree/main/lib/modules/dashboard_screen/widget/dashboard_home_menu_shopByCategory_widget.dart | https://raw.githubusercontent.com/mobileapp-harsh/ecommerece_assignment_project/7fe903b/lib/modules/dashboard_screen/widget/dashboard_home_menu_shopByCategory_widget.dart | mobileapp-harsh/ecommerece_assignment_project 7fe903b lib/modules/dashboard_screen/widget/dashboard_home_menu_shopByCategory_widget.dart | true | 200 | 3,816 | import 'package:cached_network_image/cached_network_image.dart';
import 'package:ecommerece_assignment_project/constants/image_constants.dart';
import 'package:ecommerece_assignment_project/modules/dashboard_screen/controller/dashboard_home_menu_controller.dart';
import 'package:flutter/material.dart';
import 'package:... | 0 |
davyleroy/Mindwave-mobile | 1d95070 | lib/main.dart | Dart | www.github.com/davyleroy/Mindwave-mobile/tree/main/lib/main.dart | https://raw.githubusercontent.com/davyleroy/Mindwave-mobile/1d95070/lib/main.dart | davyleroy/Mindwave-mobile 1d95070 lib/main.dart | true | 200 | 10,091 | // ignore_for_file: prefer_const_constructors
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter_application_1/widgets/splash_screen.dart';
import 'widgets/auth_service.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp(
options... | 4 |
moatazadel1/blood_gp | 4e4f5fd | lib/community.dart | Dart | www.github.com/moatazadel1/blood_gp/tree/main/lib/community.dart | https://raw.githubusercontent.com/moatazadel1/blood_gp/4e4f5fd/lib/community.dart | moatazadel1/blood_gp 4e4f5fd lib/community.dart | true | 200 | 3,428 | import 'package:blood_gp/community_story.dart';
import 'package:blood_gp/community_teams.dart';
import 'package:blood_gp/core/BottomBar.dart';
import 'package:blood_gp/core/constants.dart';
import 'package:flutter/material.dart';
class Community extends StatefulWidget {
@override
_CommunityState createState() => _... | 2 |
saurabhDetharia/recipeapp | f279561 | lib/recipe_app.dart | Dart | www.github.com/saurabhDetharia/recipeapp/tree/main/lib/recipe_app.dart | https://raw.githubusercontent.com/saurabhDetharia/recipeapp/f279561/lib/recipe_app.dart | saurabhDetharia/recipeapp f279561 lib/recipe_app.dart | true | 200 | 1,325 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:recipeapp/core/app_strings.dart';
import 'package:recipeapp/core/configs/configs_core.dart';
import 'package:recipeapp/core/services/storage/hive_storage_service.dart';
i... | 3 |
team-musashi/stamp-rally | 6ce3a83 | lib/application/stamp_rally/state/current_entry_stamp_rally.dart | Dart | www.github.com/team-musashi/stamp-rally/tree/main/lib/application/stamp_rally/state/current_entry_stamp_rally.dart | https://raw.githubusercontent.com/team-musashi/stamp-rally/6ce3a83/lib/application/stamp_rally/state/current_entry_stamp_rally.dart | team-musashi/stamp-rally 6ce3a83 lib/application/stamp_rally/state/current_entry_stamp_rally.dart | true | 200 | 810 | import 'package:flutter_riverpod/flutter_riverpod.dart';
import '../../../domain/repository/stamp_rally/entity/stamp_rally.dart';
import '../../../domain/repository/stamp_rally/stamp_rally_repository.dart';
/// 現在の参加中のスタンプラリー
final currentEntryStampRallyProvider = FutureProvider<StampRally?>(
(ref) async {
// 参... | 7 |
ziadkhaled912/up_todo_task_manager | b1e16f5 | lib/features/onboarding/onboarding_page.dart | Dart | www.github.com/ziadkhaled912/up_todo_task_manager/tree/main/lib/features/onboarding/onboarding_page.dart | https://raw.githubusercontent.com/ziadkhaled912/up_todo_task_manager/b1e16f5/lib/features/onboarding/onboarding_page.dart | ziadkhaled912/up_todo_task_manager b1e16f5 lib/features/onboarding/onboarding_page.dart | true | 200 | 5,838 | import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:quran_app/core/constants/app_colors.dart';
import 'package:quran_app/core/services/app_navigator.dart';
import 'package:quran_app/core/widgets/app_button.dart';
import 'package:quran_app/features/auth/authentication/a... | 5 |
hanwinster/mtp-flutter-main-jan | 413a960 | packages/core/domain/lib/src/models/reaction_type.dart | Dart | www.github.com/hanwinster/mtp-flutter-main-jan/tree/main/packages/core/domain/lib/src/models/reaction_type.dart | https://raw.githubusercontent.com/hanwinster/mtp-flutter-main-jan/413a960/packages/core/domain/lib/src/models/reaction_type.dart | hanwinster/mtp-flutter-main-jan 413a960 packages/core/domain/lib/src/models/reaction_type.dart | true | 200 | 1,028 | enum ReactionType {
like,
insightful,
thankYou,
question,
wow,
inspiring,
informative,
unknown,
}
class ReactionTypeHelper {
static const Map<ReactionType, String> _reactionValues = {
ReactionType.like: 'like',
ReactionType.insightful: 'insightful',
ReactionType.thankYou: 'thankYou',
... | 0 |
fadialkhlaf1998/vip_hotels | 01d489a | lib/main.dart | Dart | www.github.com/fadialkhlaf1998/vip_hotels/tree/main/lib/main.dart | https://raw.githubusercontent.com/fadialkhlaf1998/vip_hotels/01d489a/lib/main.dart | fadialkhlaf1998/vip_hotels 01d489a lib/main.dart | true | 200 | 7,493 | import 'dart:math';
import 'package:flutter/material.dart';
// import 'package:flutter/services.dart';
import 'package:get/get.dart';
import 'package:vip_hotels/services/AppStyle.dart';
import 'package:vip_hotels/view/book_page.dart';
import 'package:vip_hotels/view/car_details.dart';
import 'package:vip_hotels/view/ho... | 2 |
YMatique/chimoio_tour_guide | 53965b9 | lib/models/tourist_spot.dart | Dart | www.github.com/YMatique/chimoio_tour_guide/tree/main/lib/models/tourist_spot.dart | https://raw.githubusercontent.com/YMatique/chimoio_tour_guide/53965b9/lib/models/tourist_spot.dart | YMatique/chimoio_tour_guide 53965b9 lib/models/tourist_spot.dart | true | 200 | 774 | import 'location_item.dart';
class TouristSpot implements LocationItem {
final int? id;
final String name;
final String description;
final double latitude;
final double longitude;
TouristSpot({
this.id,
required this.name,
required this.description,
required this.latitude,
required thi... | 4 |
MaherAshor/flutter_store | a222605 | lib/components/button_animated.dart | Dart | www.github.com/MaherAshor/flutter_store/tree/main/lib/components/button_animated.dart | https://raw.githubusercontent.com/MaherAshor/flutter_store/a222605/lib/components/button_animated.dart | MaherAshor/flutter_store a222605 lib/components/button_animated.dart | true | 200 | 4,768 | import 'package:flutter/material.dart';
class AnimatedButton extends StatefulWidget {
AnimatedButton(
{super.key,
required this.scaleAnimation,
required this.translateAnimation,
required this.child,
this.onTap,
this.gradient,
this.overlayColor,
this.margin,
this.... | 3 |
fr-riick/Dart | 18e5feb | oop/lib/16_ordenacao_default/1_ordenacao_default.dart | Dart | www.github.com/fr-riick/Dart/tree/main/oop/lib/16_ordenacao_default/1_ordenacao_default.dart | https://raw.githubusercontent.com/fr-riick/Dart/18e5feb/oop/lib/16_ordenacao_default/1_ordenacao_default.dart | fr-riick/Dart 18e5feb oop/lib/16_ordenacao_default/1_ordenacao_default.dart | true | 200 | 393 |
import 'package:oop/16_ordenacao_default/cliente.dart';
void main(List<String> args) {
var c1 = Cliente(nome: 'Rick', telefone: '123123');
var c2 = Cliente(nome: 'Luan', telefone: '321321');
var c3 = Cliente(nome: 'Bredy', telefone: '121212');
var c4 = Cliente(nome: 'Gustavo', telefone: '121212');
var lis... | 1 |
Dimmlul/belajar-dart | ecfda07 | lib/bab5/konstruktor.dart | Dart | www.github.com/Dimmlul/belajar-dart/tree/main/lib/bab5/konstruktor.dart | https://raw.githubusercontent.com/Dimmlul/belajar-dart/ecfda07/lib/bab5/konstruktor.dart | Dimmlul/belajar-dart ecfda07 lib/bab5/konstruktor.dart | true | 200 | 678 | class Point {
int x = 0;
int y = 0;
// Konstruktor dengan parameter
Point(int x, int y) {
this.x = x;
this.y = y;
}
// Metode lain untuk mengubah koordinat
void setLocation(int x, int y) {
this.x = x;
this.y = y;
}
}
// Ini di luar kelas
void main() {
// Mendeklarasikan dan menginis... | 7 |
ethernetz/hot-summer | 9ba4646 | app/lib/services/common.dart | Dart | www.github.com/ethernetz/hot-summer/tree/main/app/lib/services/common.dart | https://raw.githubusercontent.com/ethernetz/hot-summer/9ba4646/app/lib/services/common.dart | ethernetz/hot-summer 9ba4646 app/lib/services/common.dart | true | 200 | 1,003 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:workspaces/classes/hot_user.dart';
import 'package:workspaces/classes/workout.dart';
CollectionReference<HotUser?> usersCollectionRef =
FirebaseFirestore.instance.collection('users').withConverter(
fromFirestore: (docSnapshot, options) {
... | 0 |
MoShehata7920/electronic_shop | 281851a | app/lib/screens/home/feeds_screen/feeds_screen.dart | Dart | www.github.com/MoShehata7920/electronic_shop/tree/main/app/lib/screens/home/feeds_screen/feeds_screen.dart | https://raw.githubusercontent.com/MoShehata7920/electronic_shop/281851a/app/lib/screens/home/feeds_screen/feeds_screen.dart | MoShehata7920/electronic_shop 281851a app/lib/screens/home/feeds_screen/feeds_screen.dart | true | 200 | 5,281 | import 'package:electronic_shop/provider/products_provider.dart';
import 'package:electronic_shop/resources/assets_manager.dart';
import 'package:electronic_shop/resources/icons_manager.dart';
import 'package:electronic_shop/resources/strings_manager.dart';
import 'package:electronic_shop/widgets/empty_screen.dart';
im... | 5 |
davi133/app-mensagens-si700 | d7788a1 | lib/View/ChatsPage/conversa_tela.dart | Dart | www.github.com/davi133/app-mensagens-si700/tree/main/lib/View/ChatsPage/conversa_tela.dart | https://raw.githubusercontent.com/davi133/app-mensagens-si700/d7788a1/lib/View/ChatsPage/conversa_tela.dart | davi133/app-mensagens-si700 d7788a1 lib/View/ChatsPage/conversa_tela.dart | true | 200 | 2,467 | import 'package:UnitalkV0_2/Blocs/Chats/chat_list_bloc.dart';
import 'package:UnitalkV0_2/Blocs/Chats/chat_list_event.dart';
import 'package:UnitalkV0_2/Blocs/Chats/chat_list_state.dart';
import 'package:UnitalkV0_2/Dados/auth_provider.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_... | 2 |
Ghaith-Abuhussain/Task-Manager | 14a1e0a | lib/data/datasources/remote/api/task_manager_api_service.dart | Dart | www.github.com/Ghaith-Abuhussain/Task-Manager/tree/main/lib/data/datasources/remote/api/task_manager_api_service.dart | https://raw.githubusercontent.com/Ghaith-Abuhussain/Task-Manager/14a1e0a/lib/data/datasources/remote/api/task_manager_api_service.dart | Ghaith-Abuhussain/Task-Manager 14a1e0a lib/data/datasources/remote/api/task_manager_api_service.dart | true | 200 | 2,085 | import 'dart:io';
import 'package:dio/dio.dart' hide Headers;
import 'package:retrofit/retrofit.dart';
import 'package:task_managing/domain/models/remote/requests/add_new_todo/add_new_todo_request.dart';
import 'package:task_managing/domain/models/remote/requests/update_todo/update_todo_body.dart';
import 'package:tas... | 4 |
Zoyidov/tezz_cafe_app | 6939701 | lib/business_logic/approved_order/approved_state.dart | Dart | www.github.com/Zoyidov/tezz_cafe_app/tree/main/lib/business_logic/approved_order/approved_state.dart | https://raw.githubusercontent.com/Zoyidov/tezz_cafe_app/6939701/lib/business_logic/approved_order/approved_state.dart | Zoyidov/tezz_cafe_app 6939701 lib/business_logic/approved_order/approved_state.dart | true | 200 | 526 | part of 'approved_bloc.dart';
class ApprovedState {
final FormzSubmissionStatus status;
final Failure? failure;
final TableOrders? order;
const ApprovedState({
this.status = FormzSubmissionStatus.initial,
this.failure,
this.order,
});
ApprovedState copyWith({
FormzSubmissionStatus? statu... | 6 |
Alaabadr44/carApp | 7b9c13d | lib/presentation/styled_component/reuse-widget/main_bottom.dart | Dart | www.github.com/Alaabadr44/carApp/tree/main/lib/presentation/styled_component/reuse-widget/main_bottom.dart | https://raw.githubusercontent.com/Alaabadr44/carApp/7b9c13d/lib/presentation/styled_component/reuse-widget/main_bottom.dart | Alaabadr44/carApp 7b9c13d lib/presentation/styled_component/reuse-widget/main_bottom.dart | true | 200 | 972 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import '../../../style/colors.dart';
import '../../../style/text_styles.dart';
class AppBottoms{
}
class MainBottom extends StatelessWidget {
final String buttonText;
final Function()? onPressed... | 7 |
poshie0456/FlutterTherapyApp | 3e6b178 | lib/camera_page.dart | Dart | www.github.com/poshie0456/FlutterTherapyApp/tree/main/lib/camera_page.dart | https://raw.githubusercontent.com/poshie0456/FlutterTherapyApp/3e6b178/lib/camera_page.dart | poshie0456/FlutterTherapyApp 3e6b178 lib/camera_page.dart | true | 200 | 11,129 | // ignore_for_file: avoid_print, library_private_types_in_public_api, sort_child_properties_last
import 'dart:async';
import 'dart:convert';
import 'package:animated_text_kit/animated_text_kit.dart';
import 'package:http/http.dart' as http;
import 'package:camera/camera.dart';
import 'package:flutter/material.dart';
... | 1 |
Anisur-Rahman-Naeem/ecommerce_ostad | 374bae4 | lib/features/common/data/models/product_list_model.dart | Dart | www.github.com/Anisur-Rahman-Naeem/ecommerce_ostad/tree/main/lib/features/common/data/models/product_list_model.dart | https://raw.githubusercontent.com/Anisur-Rahman-Naeem/ecommerce_ostad/374bae4/lib/features/common/data/models/product_list_model.dart | Anisur-Rahman-Naeem/ecommerce_ostad 374bae4 lib/features/common/data/models/product_list_model.dart | true | 200 | 578 |
import 'package:ecommerce_ostad/features/product/data/models/product_details_model.dart';
import 'package:ecommerce_ostad/features/product/data/models/product_model.dart';
class ProductListModel {
String? msg;
List<ProductDetailsModel>? productList;
ProductListModel({this.msg, this.productList});
ProductLis... | 0 |
dioazril/my_notes | 8e9ba63 | lib/models/note_db.dart | Dart | www.github.com/dioazril/my_notes/tree/main/lib/models/note_db.dart | https://raw.githubusercontent.com/dioazril/my_notes/8e9ba63/lib/models/note_db.dart | dioazril/my_notes 8e9ba63 lib/models/note_db.dart | true | 200 | 1,521 | import 'package:my_notes/models/note.dart';
import 'package:path_provider/path_provider.dart';
import 'package:isar/isar.dart';
mixin NoteDatabase {
static late Isar isar;
/// initialize database
static Future<void> initialize() async {
final dir = await getApplicationDocumentsDirectory();
isar = await ... | 3 |
bcccoworkingufape/enzitech_app | 4a654e0 | lib/features/experiment/domain/usecases/save_result/save_result_usecase_imp.dart | Dart | www.github.com/bcccoworkingufape/enzitech_app/tree/main/lib/features/experiment/domain/usecases/save_result/save_result_usecase_imp.dart | https://raw.githubusercontent.com/bcccoworkingufape/enzitech_app/4a654e0/lib/features/experiment/domain/usecases/save_result/save_result_usecase_imp.dart | bcccoworkingufape/enzitech_app 4a654e0 lib/features/experiment/domain/usecases/save_result/save_result_usecase_imp.dart | true | 200 | 993 | // 📦 Package imports:
import 'package:dartz/dartz.dart';
// 🌎 Project imports:
import '../../../../../core/failures/failure.dart';
import '../../entities/experiment_entity.dart';
import '../../repositories/save_result_repository.dart';
import 'save_result_usecase.dart';
class SaveResultUseCaseImp implements SaveRes... | 2 |
a7mdh4am/buspass | 566a69c | lib/Bus-Pass/Apis/book_service.dart | Dart | www.github.com/a7mdh4am/buspass/tree/main/lib/Bus-Pass/Apis/book_service.dart | https://raw.githubusercontent.com/a7mdh4am/buspass/566a69c/lib/Bus-Pass/Apis/book_service.dart | a7mdh4am/buspass 566a69c lib/Bus-Pass/Apis/book_service.dart | true | 200 | 1,987 | import 'dart:convert';
import 'dart:io';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
class BookService extends StatelessWidget {
const BookService({super.key});
Future<bool> bookTrip(int passengerId, int tripId, int amountPaid) async ... | 4 |
manhhoangg2k2/movie-ticket-booking | 518ded7 | lib/test.dart | Dart | www.github.com/manhhoangg2k2/movie-ticket-booking/tree/main/lib/test.dart | https://raw.githubusercontent.com/manhhoangg2k2/movie-ticket-booking/518ded7/lib/test.dart | manhhoangg2k2/movie-ticket-booking 518ded7 lib/test.dart | true | 200 | 914 | import 'package:flutter/material.dart';
import 'package:flutter_swiper_view/flutter_swiper_view.dart';
class TestWidget extends StatefulWidget {
const TestWidget({super.key});
@override
State<TestWidget> createState() => _TestWidgetState();
}
class _TestWidgetState extends State<TestWidget> {
List<String> _p... | 7 |
dulajdiss/political_campain- | ae09bd7 | lib/main.dart | Dart | www.github.com/dulajdiss/political_campain-/tree/main/lib/main.dart | https://raw.githubusercontent.com/dulajdiss/political_campain-/ae09bd7/lib/main.dart | dulajdiss/political_campain- ae09bd7 lib/main.dart | true | 200 | 474 | import 'package:flutter/material.dart';
import 'package:untitled/ui/landing_page.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
static const appTitle = 'අනුරාධ ජයරත්න';
@override
Widget build(BuildContext context) {
return const MaterialApp(
... | 6 |
asapas/27062 | e40277e | lib/menu/side_menu.dart | Dart | www.github.com/asapas/27062/tree/main/lib/menu/side_menu.dart | https://raw.githubusercontent.com/asapas/27062/e40277e/lib/menu/side_menu.dart | asapas/27062 e40277e lib/menu/side_menu.dart | true | 200 | 10,111 | import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter_zoom_drawer/flutter_zoom_drawer.dart';
import '../common/constants.dart';
import '../modules/dynamic_layout/helper/helper.dart';
import '../modules/dynamic_layout/index.dart';
import '../screens/index.dart';
import '../widgets/common... | 1 |
cristiandmd/cloud-walk | d17ec46 | lib/modules/network/cache_handler.dart | Dart | www.github.com/cristiandmd/cloud-walk/tree/main/lib/modules/network/cache_handler.dart | https://raw.githubusercontent.com/cristiandmd/cloud-walk/d17ec46/lib/modules/network/cache_handler.dart | cristiandmd/cloud-walk d17ec46 lib/modules/network/cache_handler.dart | true | 200 | 1,565 | import 'dart:convert';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:concerts_weather/modules/shared/mappers.dart';
import 'connectivity_detector.dart';
abstract class CacheHandler {
Future<T> fetch<T>({
required Future<T> Function() onFetch,
required T Function(Map<String, dy... | 5 |
youssefibrahim146/dawaay | 7e5a016 | lib/controller/login_controller.dart | Dart | www.github.com/youssefibrahim146/dawaay/tree/main/lib/controller/login_controller.dart | https://raw.githubusercontent.com/youssefibrahim146/dawaay/7e5a016/lib/controller/login_controller.dart | youssefibrahim146/dawaay 7e5a016 lib/controller/login_controller.dart | true | 200 | 2,742 | import 'package:dawaay/constants/app_defaults.dart';
import 'package:dawaay/constants/app_formats.dart';
import 'package:dawaay/constants/dawaay_strings.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:internet_connection_ch... | 0 |
Fadzaa/flutter-pancasila-aceh | dc7d62f | lib/app/pages/detail_page/detail_kuliner_page/components/detail_kuliner_component_one.dart | Dart | www.github.com/Fadzaa/flutter-pancasila-aceh/tree/main/lib/app/pages/detail_page/detail_kuliner_page/components/detail_kuliner_component_one.dart | https://raw.githubusercontent.com/Fadzaa/flutter-pancasila-aceh/dc7d62f/lib/app/pages/detail_page/detail_kuliner_page/components/detail_kuliner_component_one.dart | Fadzaa/flutter-pancasila-aceh dc7d62f lib/app/pages/detail_page/detail_kuliner_page/components/detail_kuliner_component_one.dart | true | 200 | 3,628 | import 'package:flutter/material.dart';
import 'package:flutter_staggered_grid_view/flutter_staggered_grid_view.dart';
import 'package:get/get.dart';
import 'package:web_pancasila_aceh/app/pages/detail_page/detail_wisata_page/widgets/staggered_grid_tile_detail_wisata.dart';
import 'package:web_pancasila_aceh/common/bas... | 3 |
altamisatmaja/ads_km7_app | 037a4cf | lib/features/product/presentation/screen/detail_product_screen.dart | Dart | www.github.com/altamisatmaja/ads_km7_app/tree/main/lib/features/product/presentation/screen/detail_product_screen.dart | https://raw.githubusercontent.com/altamisatmaja/ads_km7_app/037a4cf/lib/features/product/presentation/screen/detail_product_screen.dart | altamisatmaja/ads_km7_app 037a4cf lib/features/product/presentation/screen/detail_product_screen.dart | true | 200 | 10,795 | part of '../../product_injection.dart';
class DetailProductScreen extends StatelessWidget {
const DetailProductScreen({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
surfaceTintColor: ADSColor.backgroundPrimary,
leading: GestureDetector(
... | 2 |
TaigaHoshino/video-playbacker | a144ce3 | lib/screens/video_categorylist_screen.dart | Dart | www.github.com/TaigaHoshino/video-playbacker/tree/main/lib/screens/video_categorylist_screen.dart | https://raw.githubusercontent.com/TaigaHoshino/video-playbacker/a144ce3/lib/screens/video_categorylist_screen.dart | TaigaHoshino/video-playbacker a144ce3 lib/screens/video_categorylist_screen.dart | true | 200 | 5,256 | import 'package:flutter/material.dart';
import 'package:get_it/get_it.dart';
import 'package:video_playbacker/screens/popupmenu_button_builder.dart';
import 'package:video_playbacker/screens/videolist_screen.dart';
import '../blocs/app_bloc.dart';
import '../dtos/loading_state.dart';
import '../dtos/video_category.dar... | 4 |
Sayedts7/benchmark_admin | de0d627 | lib/view_model/provider/file_picker_provider.dart | Dart | www.github.com/Sayedts7/benchmark_admin/tree/main/lib/view_model/provider/file_picker_provider.dart | https://raw.githubusercontent.com/Sayedts7/benchmark_admin/de0d627/lib/view_model/provider/file_picker_provider.dart | Sayedts7/benchmark_admin de0d627 lib/view_model/provider/file_picker_provider.dart | true | 200 | 2,296 | import 'package:firebase_storage/firebase_storage.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/foundation.dart';
import 'package:file_picker/file_picker.dart';
class FilePickerProvider with ChangeNotifier {
List<PlatformFile> _webFiles = [];
List<PlatformFile> get webFiles ... | 7 |
enjirou1/ditonton | 25ca579 | core/test/data/models/tv_series/tv_series_response_model_test.dart | Dart | www.github.com/enjirou1/ditonton/tree/main/core/test/data/models/tv_series/tv_series_response_model_test.dart | https://raw.githubusercontent.com/enjirou1/ditonton/25ca579/core/test/data/models/tv_series/tv_series_response_model_test.dart | enjirou1/ditonton 25ca579 core/test/data/models/tv_series/tv_series_response_model_test.dart | true | 200 | 2,442 | import 'dart:convert';
import 'package:core/data/models/tv_series/tv_series_model.dart';
import 'package:core/data/models/tv_series/tv_series_response.dart';
import 'package:flutter_test/flutter_test.dart';
import '../../../json_reader.dart';
void main() {
const tTvSeriesModel = TvSeriesModel(
backdropPath: "/... | 5 |
Muhammad-Burhanuddin/food_app-main | bbe7c83 | lib/NotificationTabContent/read.dart | Dart | www.github.com/Muhammad-Burhanuddin/food_app-main/tree/main/lib/NotificationTabContent/read.dart | https://raw.githubusercontent.com/Muhammad-Burhanuddin/food_app-main/bbe7c83/lib/NotificationTabContent/read.dart | Muhammad-Burhanuddin/food_app-main bbe7c83 lib/NotificationTabContent/read.dart | true | 200 | 314 | import 'package:flutter/material.dart';
class Read extends StatefulWidget {
const Read({super.key});
@override
State<Read> createState() => _ReadState();
}
class _ReadState extends State<Read> {
@override
Widget build(BuildContext context) {
return Center(
child: Text('Read'),
);
}
}
| 1 |
Harisarshad/PlazaAccess | 5571588 | lib/data/model/resident_model.dart | Dart | www.github.com/Harisarshad/PlazaAccess/tree/main/lib/data/model/resident_model.dart | https://raw.githubusercontent.com/Harisarshad/PlazaAccess/5571588/lib/data/model/resident_model.dart | Harisarshad/PlazaAccess 5571588 lib/data/model/resident_model.dart | true | 200 | 2,680 | class ResidentModel {
int totalSize;
int limit;
int offset;
List<Resident> transactions;
ResidentModel(
{this.totalSize, this.limit, this.offset, this.transactions});
ResidentModel.fromJson(Map<String, dynamic> json) {
totalSize = json['total_size'];
limit = json['limit'];
offset = json[... | 6 |
minahil57/eziline_task | 6fa7efc | lib/ui/widgets/common/color_circle/color_circle.dart | Dart | www.github.com/minahil57/eziline_task/tree/main/lib/ui/widgets/common/color_circle/color_circle.dart | https://raw.githubusercontent.com/minahil57/eziline_task/6fa7efc/lib/ui/widgets/common/color_circle/color_circle.dart | minahil57/eziline_task 6fa7efc lib/ui/widgets/common/color_circle/color_circle.dart | true | 200 | 703 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:stacked/stacked.dart';
import 'color_circle_model.dart';
class ColorCircle extends StackedView<ColorCircleModel> {
final Color color;
const ColorCircle({super.key, required this.color});
@overri... | 0 |
justddan/Flutter_Starlight_clone | 1edf603 | lib/components/common_header.dart | Dart | www.github.com/justddan/Flutter_Starlight_clone/tree/main/lib/components/common_header.dart | https://raw.githubusercontent.com/justddan/Flutter_Starlight_clone/1edf603/lib/components/common_header.dart | justddan/Flutter_Starlight_clone 1edf603 lib/components/common_header.dart | true | 200 | 2,104 | import 'package:flutter/material.dart';
class CommonHeader extends StatelessWidget {
final String? prefixButtonIcon;
final Function? prefixFun;
final String? suffixButtonIcon;
final Function? suffixFun;
final String title;
const CommonHeader({
super.key,
required this.title,
this.prefixButtonI... | 3 |
divyaltech/First_Group | 6c9509f | lib/bloc/intelligent_bloc/IR_image_submit_bloc.dart | Dart | www.github.com/divyaltech/First_Group/tree/main/lib/bloc/intelligent_bloc/IR_image_submit_bloc.dart | https://raw.githubusercontent.com/divyaltech/First_Group/6c9509f/lib/bloc/intelligent_bloc/IR_image_submit_bloc.dart | divyaltech/First_Group 6c9509f lib/bloc/intelligent_bloc/IR_image_submit_bloc.dart | true | 200 | 9,153 | import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'package:dio/dio.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:fluttertoast/fluttertoast.dart';
import 'package:railpaytro/common/Utils/utils.dart';
import '../../Ui/Pages/Role_stations... | 2 |
autour89/route_planning | 35e8d8c | test/app_test.dart | Dart | www.github.com/autour89/route_planning/tree/main/test/app_test.dart | https://raw.githubusercontent.com/autour89/route_planning/35e8d8c/test/app_test.dart | autour89/route_planning 35e8d8c test/app_test.dart | true | 200 | 587 | import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:route_planning/app.dart';
import 'package:route_planning/views/home_page.dart';
void main() {
group('CounterApp', () {
testWidgets('is a MaterialApp', (tester) async {
expect(App(), isA<MaterialApp>());... | 4 |
AsadBashir198/fa19-bcs-035 | dad2f29 | TASBEEH/lib/counter.dart | Dart | www.github.com/AsadBashir198/fa19-bcs-035/tree/main/TASBEEH/lib/counter.dart | https://raw.githubusercontent.com/AsadBashir198/fa19-bcs-035/dad2f29/TASBEEH/lib/counter.dart | AsadBashir198/fa19-bcs-035 dad2f29 TASBEEH/lib/counter.dart | true | 200 | 2,235 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/material.dart';
import 'package:firebase_database/firebase_database.dart';
import 'package:firebase_core/firebase_core.dart';
import 'home.dart';
class counter extends StatefulWidget {
@override
_counterState createState() => _counte... | 5 |
MajdAh123/FundBucks | f451fcd | lib/app/widgets/profile_account_information_widget.dart | Dart | www.github.com/MajdAh123/FundBucks/tree/main/lib/app/widgets/profile_account_information_widget.dart | https://raw.githubusercontent.com/MajdAh123/FundBucks/f451fcd/lib/app/widgets/profile_account_information_widget.dart | MajdAh123/FundBucks f451fcd lib/app/widgets/profile_account_information_widget.dart | true | 200 | 6,824 | import 'package:app/app/modules/home/controllers/profile_controller.dart';
import 'package:app/app/modules/theme_controller.dart';
import 'package:app/app/utils/utils.dart';
import 'package:dark_light_button/dark_light_button.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_scre... | 6 |
FrederickBonsu/Flutter-E-learning-app | e859205 | lib/models/menu_option_model.dart | Dart | www.github.com/FrederickBonsu/Flutter-E-learning-app/tree/main/lib/models/menu_option_model.dart | https://raw.githubusercontent.com/FrederickBonsu/Flutter-E-learning-app/e859205/lib/models/menu_option_model.dart | FrederickBonsu/Flutter-E-learning-app e859205 lib/models/menu_option_model.dart | true | 200 | 270 | import 'package:flutter/material.dart';
/// Model class to hold menu option data (language and theme)
class MenuOptionsModel {
final String key;
final String value;
final IconData icon;
MenuOptionsModel({@required this.key, @required this.value, this.icon});
}
| 7 |
GodzillaRB/LFF_Eventos | 6edef14 | lib/backend/schema/actividades_record.dart | Dart | www.github.com/GodzillaRB/LFF_Eventos/tree/main/lib/backend/schema/actividades_record.dart | https://raw.githubusercontent.com/GodzillaRB/LFF_Eventos/6edef14/lib/backend/schema/actividades_record.dart | GodzillaRB/LFF_Eventos 6edef14 lib/backend/schema/actividades_record.dart | true | 200 | 5,181 | 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 ActividadesRecord extends FirestoreRecord {
ActividadesRecord._(
Docume... | 1 |
simdelisle2088/SuperApp | 789cdc9 | superdeliver/lib/screens/superDeliver/signature.dart | Dart | www.github.com/simdelisle2088/SuperApp/tree/main/superdeliver/lib/screens/superDeliver/signature.dart | https://raw.githubusercontent.com/simdelisle2088/SuperApp/789cdc9/superdeliver/lib/screens/superDeliver/signature.dart | simdelisle2088/SuperApp 789cdc9 superdeliver/lib/screens/superDeliver/signature.dart | true | 200 | 8,744 | // ignore_for_file: no_leading_underscores_for_local_identifiers, use_build_context_synchronously
import 'dart:convert';
import 'dart:io';
import 'dart:ui' as ui;
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_image_compress/flutter_image_compress.dart';
import ... | 2 |
gulerc/WeatherApp | c89ddc1 | lib/main.dart | Dart | www.github.com/gulerc/WeatherApp/tree/main/lib/main.dart | https://raw.githubusercontent.com/gulerc/WeatherApp/c89ddc1/lib/main.dart | gulerc/WeatherApp c89ddc1 lib/main.dart | true | 200 | 9,163 |
import 'package:HavaDurumu/HavaDurumuDetay.dart';
import 'package:HavaDurumu/SearchBox.dart';
import 'package:HavaDurumu/components/network_utilitiy.dart';
import 'package:HavaDurumu/models/weather.dart';
import 'package:HavaDurumu/services/weather_service.dart';
import 'package:HavaDurumu/s_weather.dart';
import '... | 3 |
ostweg/Entrepreneurship | 373ffe1 | lib/widgets/dropdown_button.dart | Dart | www.github.com/ostweg/Entrepreneurship/tree/main/lib/widgets/dropdown_button.dart | https://raw.githubusercontent.com/ostweg/Entrepreneurship/373ffe1/lib/widgets/dropdown_button.dart | ostweg/Entrepreneurship 373ffe1 lib/widgets/dropdown_button.dart | true | 200 | 1,197 | import 'package:flutter/material.dart';
/// Flutter code sample for [DropdownButton].
const List<String> list = <String>['Harmony Haven', 'Artistic Expressions', 'Food for All', 'EcoWarriors'];
class EasyDropdownButton extends StatefulWidget {
const EasyDropdownButton({super.key});
@override
State<EasyDropdow... | 0 |
ProgMFr/view-show | d94868c | lib/controllers/booking_controller.dart | Dart | www.github.com/ProgMFr/view-show/tree/main/lib/controllers/booking_controller.dart | https://raw.githubusercontent.com/ProgMFr/view-show/d94868c/lib/controllers/booking_controller.dart | ProgMFr/view-show d94868c lib/controllers/booking_controller.dart | true | 200 | 1,883 | import 'package:get/get.dart';
import 'package:guide/models/companies_model.dart';
import 'package:http/http.dart' as http;
import '../views/local_vars.dart';
class GetCompaniesController extends GetxController {
RxList<dynamic> companiesLists = RxList<dynamic>();
clearPlaces() {
companiesLists.clear();
}
... | 6 |
Albert2192/BMI_Flutter | e4a4289 | lib/navigation_screen.dart | Dart | www.github.com/Albert2192/BMI_Flutter/tree/main/lib/navigation_screen.dart | https://raw.githubusercontent.com/Albert2192/BMI_Flutter/e4a4289/lib/navigation_screen.dart | Albert2192/BMI_Flutter e4a4289 lib/navigation_screen.dart | true | 200 | 2,235 | import 'package:bmi/screens/home_page.dart';
import 'package:bmi/screens/list_page.dart';
import 'package:bmi/screens/profile_page.dart';
import 'package:flutter/material.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
class NavigationScreen extends StatefulWidget {
@override
_NavigationScr... | 5 |
LucasiBai/BuildingLayoutExercise-Flutter | 135e80c | lib/main.dart | Dart | www.github.com/LucasiBai/BuildingLayoutExercise-Flutter/tree/main/lib/main.dart | https://raw.githubusercontent.com/LucasiBai/BuildingLayoutExercise-Flutter/135e80c/lib/main.dart | LucasiBai/BuildingLayoutExercise-Flutter 135e80c lib/main.dart | true | 200 | 5,251 | import 'package:flutter/material.dart';
void main() {
runApp(const MaterialApp(
title: "Building Layout App",
home: MyApp(),
));
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: App... | 2 |
EiduLuise/cc206-scholarship_application | 98e44d2 | cc206_scholarship_application/lib/features/log_in_page.dart | Dart | www.github.com/EiduLuise/cc206-scholarship_application/tree/main/cc206_scholarship_application/lib/features/log_in_page.dart | https://raw.githubusercontent.com/EiduLuise/cc206-scholarship_application/98e44d2/cc206_scholarship_application/lib/features/log_in_page.dart | EiduLuise/cc206-scholarship_application 98e44d2 cc206_scholarship_application/lib/features/log_in_page.dart | true | 200 | 5,849 | import 'package:cc206_scholarship_application/database/userDatabse.dart';
import 'package:cc206_scholarship_application/features/sign_up_page.dart';
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
class LogIn extends StatelessWidget {
LogIn({super.key});
// Controller for text f... | 1 |
jsteinberg7/Soshi | 6b6029b | lib/services/geo_ip.dart | Dart | www.github.com/jsteinberg7/Soshi/tree/main/lib/services/geo_ip.dart | https://raw.githubusercontent.com/jsteinberg7/Soshi/6b6029b/lib/services/geo_ip.dart | jsteinberg7/Soshi 6b6029b lib/services/geo_ip.dart | true | 200 | 4,639 | import 'dart:convert';
import 'package:http/http.dart';
// Copyright (c) 2019, Mad About Brighton. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
/// This class is used to store the response when req... | 7 |
nunayeem/smartstudy | 5ed0254 | lib/ui/pdf_view/pdf_viewer.dart | Dart | www.github.com/nunayeem/smartstudy/tree/main/lib/ui/pdf_view/pdf_viewer.dart | https://raw.githubusercontent.com/nunayeem/smartstudy/5ed0254/lib/ui/pdf_view/pdf_viewer.dart | nunayeem/smartstudy 5ed0254 lib/ui/pdf_view/pdf_viewer.dart | true | 200 | 418 | import 'package:flutter/material.dart';
import 'package:syncfusion_flutter_pdfviewer/pdfviewer.dart';
class PdfViewer extends StatelessWidget {
final String pdfUrl;
const PdfViewer({super.key, required this.pdfUrl});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
... | 4 |
HemaKhafagy/portals | 4fc3f5e | lib/models/notification_model.dart | Dart | www.github.com/HemaKhafagy/portals/tree/main/lib/models/notification_model.dart | https://raw.githubusercontent.com/HemaKhafagy/portals/4fc3f5e/lib/models/notification_model.dart | HemaKhafagy/portals 4fc3f5e lib/models/notification_model.dart | true | 200 | 3,810 | import 'package:Portals/models/document_info.dart';
import 'package:flutter/cupertino.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
class NotificationModel
{
DocumentInfo ? documentInfo;
String ? type;
NotificationSender ? notificationSender;
GameInvite ? gameInvite;
PortalInvite ?... | 3 |
MThariqAzz/wori_app_client | 48a7d9a | lib/features/chat/data/model/daily_question_model.dart | Dart | www.github.com/MThariqAzz/wori_app_client/tree/main/lib/features/chat/data/model/daily_question_model.dart | https://raw.githubusercontent.com/MThariqAzz/wori_app_client/48a7d9a/lib/features/chat/data/model/daily_question_model.dart | MThariqAzz/wori_app_client 48a7d9a lib/features/chat/data/model/daily_question_model.dart | true | 200 | 385 | import 'package:wori_app/features/chat/domain/entity/daily_question_entity.dart';
class DailyQuestionModel extends DailyQuestionEntity {
DailyQuestionModel({required String content}) : super(content: content);
factory DailyQuestionModel.fromJson(Map<String, dynamic> json) {
return DailyQuestionModel(
co... | 6 |
rzkypebrian/sapatetangga-master | e47253b | lib/model/googleService/GoogleStepModel.dart | Dart | www.github.com/rzkypebrian/sapatetangga-master/tree/main/lib/model/googleService/GoogleStepModel.dart | https://raw.githubusercontent.com/rzkypebrian/sapatetangga-master/e47253b/lib/model/googleService/GoogleStepModel.dart | rzkypebrian/sapatetangga-master e47253b lib/model/googleService/GoogleStepModel.dart | true | 200 | 1,141 | import 'GoogleUtil.dart';
import 'GooglePosition.dart';
import 'package:json_annotation/json_annotation.dart';
import 'GoogleValueModel.dart';
part 'GoogleStepModel.g.dart';
@JsonSerializable(explicitToJson: true)
class GoogleStepModel {
@JsonKey(name: "distance")
GoogleValueModel distance;
@JsonKey(name: "du... | 0 |
asim8848/cardvault | b389249 | lib/screens/main_screen.dart | Dart | www.github.com/asim8848/cardvault/tree/main/lib/screens/main_screen.dart | https://raw.githubusercontent.com/asim8848/cardvault/b389249/lib/screens/main_screen.dart | asim8848/cardvault b389249 lib/screens/main_screen.dart | true | 200 | 2,752 | // lib/screens/main_screen.dart
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import '../providers/card_provider.dart';
import '../routes.dart';
import '../utils/size_config.dart';
import '../widgets/animated_add_menu.dart';
import '../widgets/custom_bottom_nav_bar.dart';
import '..... | 5 |
Mervatmagdy/Movies | 17d0b7c | lib/Model/firebase_utils.dart | Dart | www.github.com/Mervatmagdy/Movies/tree/main/lib/Model/firebase_utils.dart | https://raw.githubusercontent.com/Mervatmagdy/Movies/17d0b7c/lib/Model/firebase_utils.dart | Mervatmagdy/Movies 17d0b7c lib/Model/firebase_utils.dart | true | 200 | 750 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:movies/Model/popular_response.dart';
class FirebaseUtils {
static CollectionReference<Results> getWatchListMovies() {
return FirebaseFirestore.instance.collection('users').withConverter<Resul... | 2 |
Indiawebsoft/Assets | b2322ed | lib/assetmana/widgets/categorycard.dart | Dart | www.github.com/Indiawebsoft/Assets/tree/main/lib/assetmana/widgets/categorycard.dart | https://raw.githubusercontent.com/Indiawebsoft/Assets/b2322ed/lib/assetmana/widgets/categorycard.dart | Indiawebsoft/Assets b2322ed lib/assetmana/widgets/categorycard.dart | true | 200 | 2,486 | import 'dart:math';
import 'package:flutter/material.dart';
import '../../dashboard/repository/model/get_home_data_response.dart';
import 'categoryicon.dart';
class CategoryCard extends StatelessWidget {
Categories? category;
Function? onCardClick;
CategoryCard({ this.category, this.onCardClick });
@overr... | 1 |
MuhammadSaputraArjunaidy/GithupAndroid | 2fef7bc | PraktikumAndroid/pertemuan4/lib/pegawai.dart | Dart | www.github.com/MuhammadSaputraArjunaidy/GithupAndroid/tree/main/PraktikumAndroid/pertemuan4/lib/pegawai.dart | https://raw.githubusercontent.com/MuhammadSaputraArjunaidy/GithupAndroid/2fef7bc/PraktikumAndroid/pertemuan4/lib/pegawai.dart | MuhammadSaputraArjunaidy/GithupAndroid 2fef7bc PraktikumAndroid/pertemuan4/lib/pegawai.dart | true | 200 | 3,764 | import 'package:flutter/material.dart';
import 'gaji.dart';
import 'slipgaji.dart';
class Pegawai extends StatefulWidget {
const Pegawai({super.key});
@override
State<Pegawai> createState() => _PegawaiState();
}
class _PegawaiState extends State<Pegawai> {
String _nip = '';
String _nama = '';
String? _pi... | 4 |
abdu-dotcom/buataplikasivaluasi1Miliyar | 6a01a89 | challangers/Front-end/lib/core/theme.dart | Dart | www.github.com/abdu-dotcom/buataplikasivaluasi1Miliyar/tree/main/challangers/Front-end/lib/core/theme.dart | https://raw.githubusercontent.com/abdu-dotcom/buataplikasivaluasi1Miliyar/6a01a89/challangers/Front-end/lib/core/theme.dart | abdu-dotcom/buataplikasivaluasi1Miliyar 6a01a89 challangers/Front-end/lib/core/theme.dart | true | 200 | 311 | // core/theme.dart
import 'package:flutter/material.dart';
class AppTheme {
static ThemeData lightTheme = ThemeData(
primaryColor: Colors.black,
scaffoldBackgroundColor: Colors.white,
textTheme: const TextTheme(
bodyLarge: TextStyle(fontSize: 16, fontWeight: FontWeight.w500),
),
);
} | 7 |
Ferrorist/test_protect_01 | 287a929 | lib/services/gps_service.dart | Dart | www.github.com/Ferrorist/test_protect_01/tree/main/lib/services/gps_service.dart | https://raw.githubusercontent.com/Ferrorist/test_protect_01/287a929/lib/services/gps_service.dart | Ferrorist/test_protect_01 287a929 lib/services/gps_service.dart | true | 200 | 859 | import 'package:geolocator/geolocator.dart';
class GPSService {
// 권한 요청
static Future<bool> determinePermission() async {
bool serviceEnabled = await Geolocator.isLocationServiceEnabled();
if (!serviceEnabled) {
return Future.value(false);
}
LocationPermission permission = await Geolocator.... | 3 |
drgndenis/Flutter_Login_Page | 60b1e6b | lib/widgets/colors.dart | Dart | www.github.com/drgndenis/Flutter_Login_Page/tree/main/lib/widgets/colors.dart | https://raw.githubusercontent.com/drgndenis/Flutter_Login_Page/60b1e6b/lib/widgets/colors.dart | drgndenis/Flutter_Login_Page 60b1e6b lib/widgets/colors.dart | true | 200 | 339 | import 'package:flutter/material.dart';
// --------- Colors ---------
class ProjectColors {
final concrete = const Color(0xffF2F2F2);
final mineShaft = const Color(0xff262626);
final endeavour = const Color(0xff035AA6);
final black = Colors.black;
final grey600 = Colors.grey.shade600;
final grey200 = Color... | 6 |
kochenderKoch/GoogleExporter | 245d01e | lib/features/project/presentation/widgets/project_list.dart | Dart | www.github.com/kochenderKoch/GoogleExporter/tree/main/lib/features/project/presentation/widgets/project_list.dart | https://raw.githubusercontent.com/kochenderKoch/GoogleExporter/245d01e/lib/features/project/presentation/widgets/project_list.dart | kochenderKoch/GoogleExporter 245d01e lib/features/project/presentation/widgets/project_list.dart | true | 200 | 4,118 | import 'dart:io';
import 'package:file_picker/file_picker.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import '/configs/app_configs.dart';
import '/features/project/presentation/provider/project_st... | 0 |
HamzaTB204/Order-Delivery-Frontend | e508b09 | lib/features/auth/presentation/widgets/custom_splash_screen.dart | Dart | www.github.com/HamzaTB204/Order-Delivery-Frontend/tree/main/lib/features/auth/presentation/widgets/custom_splash_screen.dart | https://raw.githubusercontent.com/HamzaTB204/Order-Delivery-Frontend/e508b09/lib/features/auth/presentation/widgets/custom_splash_screen.dart | HamzaTB204/Order-Delivery-Frontend e508b09 lib/features/auth/presentation/widgets/custom_splash_screen.dart | true | 200 | 1,397 | import 'package:flutter/material.dart';
import 'package:order_delivery/main.dart';
class CustomSplashScreen extends StatefulWidget {
final bool navigate;
const CustomSplashScreen({super.key, required this.navigate});
@override
State<CustomSplashScreen> createState() => _CustomSplashScreenState();
}
class _C... | 1 |
esgi-challenge/web | 43df9c3 | lib/student/bloc/student_bloc.dart | Dart | www.github.com/esgi-challenge/web/tree/main/lib/student/bloc/student_bloc.dart | https://raw.githubusercontent.com/esgi-challenge/web/43df9c3/lib/student/bloc/student_bloc.dart | esgi-challenge/web 43df9c3 lib/student/bloc/student_bloc.dart | true | 200 | 5,542 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:meta/meta.dart';
import 'package:web/core/services/class_service.dart';
import 'package:web/core/services/student_service.dart';
import 'package:web/shared/toaster.dart';
part 'student_event.dart';
part 'student_st... | 2 |
LuminiteTime/LinchMafia | b1c95cb | lib/screens/distribution_screen.dart | Dart | www.github.com/LuminiteTime/LinchMafia/tree/main/lib/screens/distribution_screen.dart | https://raw.githubusercontent.com/LuminiteTime/LinchMafia/b1c95cb/lib/screens/distribution_screen.dart | LuminiteTime/LinchMafia b1c95cb lib/screens/distribution_screen.dart | true | 200 | 4,092 | import 'package:flutter/material.dart';
import 'package:flutter_flip_card/flutter_flip_card.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:linch_mafia_test/notifiers/roles_notifier.dart';
import 'package:linch_mafia_test/screens/roles_screen.dart';
import 'package:linch_mafia_test/theme... | 4 |
demahAbu-rumman/JU-Event-Management-Planeer-flutter | 6621ac1 | lib/controller/auth_controller.dart | Dart | www.github.com/demahAbu-rumman/JU-Event-Management-Planeer-flutter/tree/main/lib/controller/auth_controller.dart | https://raw.githubusercontent.com/demahAbu-rumman/JU-Event-Management-Planeer-flutter/6621ac1/lib/controller/auth_controller.dart | demahAbu-rumman/JU-Event-Management-Planeer-flutter 6621ac1 lib/controller/auth_controller.dart | true | 200 | 8,246 | import 'dart:async';
import 'dart:io';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:firebase_messaging/firebase_messaging.dart';
import 'package:firebase_storage/firebase_storage.dart';
import 'package:get/get.dart';
import 'package:google_sig... | 5 |
marcelooo616/study_projects | 72a752e | shop/lib/src/view/widgets/app_drawer.dart | Dart | www.github.com/marcelooo616/study_projects/tree/main/shop/lib/src/view/widgets/app_drawer.dart | https://raw.githubusercontent.com/marcelooo616/study_projects/72a752e/shop/lib/src/view/widgets/app_drawer.dart | marcelooo616/study_projects 72a752e shop/lib/src/view/widgets/app_drawer.dart | true | 200 | 1,170 | import 'package:flutter/material.dart';
import 'package:shop/src/utils/routes/app_routes.dart';
class AppDrawer extends StatelessWidget {
const AppDrawer({super.key});
@override
Widget build(BuildContext context) {
return Drawer(
child: Column(
children: [
AppBar(
title:... | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.