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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
Paing-Thaw/BMI-Calculator | 7d51802 | lib/Components/gender_card.dart | Dart | www.github.com/Paing-Thaw/BMI-Calculator/tree/main/lib/Components/gender_card.dart | https://raw.githubusercontent.com/Paing-Thaw/BMI-Calculator/7d51802/lib/Components/gender_card.dart | Paing-Thaw/BMI-Calculator 7d51802 lib/Components/gender_card.dart | true | 200 | 652 | import 'package:flutter/material.dart';
import '../constants.dart';
class GenderCards extends StatelessWidget {
GenderCards({required this.genderIcons, required this.genderLabel});
final IconData genderIcons;
final String genderLabel;
@override
Widget build(BuildContext context) {
return Column(
... | 2 |
soundzenn/test_app | 1ca731d | lib/widgets/recipient_info_button.dart | Dart | www.github.com/soundzenn/test_app/tree/main/lib/widgets/recipient_info_button.dart | https://raw.githubusercontent.com/soundzenn/test_app/1ca731d/lib/widgets/recipient_info_button.dart | soundzenn/test_app 1ca731d lib/widgets/recipient_info_button.dart | true | 200 | 935 | import 'package:flutter/material.dart';
class RecepientButton extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
margin: EdgeInsets.all(20),
padding: EdgeInsets.all(10),
decoration: BoxDecoration(
color: Colors.black,
borderRadius: Borde... | 0 |
imchic/4eats | 26d48fd | lib/screens/landing/landing_screen.dart | Dart | www.github.com/imchic/4eats/tree/main/lib/screens/landing/landing_screen.dart | https://raw.githubusercontent.com/imchic/4eats/26d48fd/lib/screens/landing/landing_screen.dart | imchic/4eats 26d48fd lib/screens/landing/landing_screen.dart | true | 200 | 760 | import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:foreats/utils/dialog_util.dart';
import 'package:get/get.dart';
import 'package:lottie/lottie.dart';
import '../../utils/app_routes.dart';
class LandingScreen extends StatefulWidget {
const LandingSc... | 5 |
PhilopateerMaged02/fruit_app | 76c7a7d | lib/modules/AuthunticationWidgets/Login/cubit/cubit.dart | Dart | www.github.com/PhilopateerMaged02/fruit_app/tree/main/lib/modules/AuthunticationWidgets/Login/cubit/cubit.dart | https://raw.githubusercontent.com/PhilopateerMaged02/fruit_app/76c7a7d/lib/modules/AuthunticationWidgets/Login/cubit/cubit.dart | PhilopateerMaged02/fruit_app 76c7a7d lib/modules/AuthunticationWidgets/Login/cubit/cubit.dart | true | 200 | 3,508 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_facebook_auth/flutter_facebook_auth.dart';
import 'package:fruit_app/Service/shared_pref.dart';
import 'package:fruit_app/layouts/fruitapp_layout.dart';
import 'package:fruit_app/modules/AuthunticationWidget... | 3 |
sameer11001/AiWave | 0e3df75 | aiwave-main/lib/app/global_widgets/custom_multi_selection.dart | Dart | www.github.com/sameer11001/AiWave/tree/main/aiwave-main/lib/app/global_widgets/custom_multi_selection.dart | https://raw.githubusercontent.com/sameer11001/AiWave/0e3df75/aiwave-main/lib/app/global_widgets/custom_multi_selection.dart | sameer11001/AiWave 0e3df75 aiwave-main/lib/app/global_widgets/custom_multi_selection.dart | true | 200 | 1,557 | import 'package:flutter/material.dart';
import 'package:multi_select_flutter/multi_select_flutter.dart';
class CustomMultiSelection extends StatefulWidget {
final List<MultiSelectItem<dynamic>> items;
final Function(dynamic)? onChanged;
final bool withSearchBox;
const CustomMultiSelection(
{super.key,
... | 7 |
w1y0n0/flutter_mvc_bloc | 8aa38d8 | lib/dashboard/dashboard_bloc.dart | Dart | www.github.com/w1y0n0/flutter_mvc_bloc/tree/main/lib/dashboard/dashboard_bloc.dart | https://raw.githubusercontent.com/w1y0n0/flutter_mvc_bloc/8aa38d8/lib/dashboard/dashboard_bloc.dart | w1y0n0/flutter_mvc_bloc 8aa38d8 lib/dashboard/dashboard_bloc.dart | true | 200 | 1,066 | import 'package:flutter/material.dart';
import 'package:flutter_mvc_bloc/dashboard/dashboard_event.dart';
import '../service/user_service.dart';
import 'dashboard_state.dart';
import 'dashboard_view.dart';
class DashboardBloc extends State<DashboardView> {
// State
DashboardState state = DashboardState();
add(... | 1 |
onurerdem/tv_app | 9ba21ac | lib/features/series/domain/usecases/get_serie_details.dart | Dart | www.github.com/onurerdem/tv_app/tree/main/lib/features/series/domain/usecases/get_serie_details.dart | https://raw.githubusercontent.com/onurerdem/tv_app/9ba21ac/lib/features/series/domain/usecases/get_serie_details.dart | onurerdem/tv_app 9ba21ac lib/features/series/domain/usecases/get_serie_details.dart | true | 200 | 483 | import 'package:dartz/dartz.dart';
import 'package:tv_app/core/error/failures.dart';
import 'package:tv_app/core/usecase/usecase.dart';
import '../entities/series.dart';
import '../repositories/series_repository.dart';
class GetSerieDetails implements UseCase<Series, int> {
final SeriesRepository repository;
GetS... | 4 |
EdwinAyala10/MR_PERU_APP_FLUTTER | 8be7b07 | lib/features/opportunities/infrastructure/datasources/doc_opportunitie_datasource_impl.dart | Dart | www.github.com/EdwinAyala10/MR_PERU_APP_FLUTTER/tree/main/lib/features/opportunities/infrastructure/datasources/doc_opportunitie_datasource_impl.dart | https://raw.githubusercontent.com/EdwinAyala10/MR_PERU_APP_FLUTTER/8be7b07/lib/features/opportunities/infrastructure/datasources/doc_opportunitie_datasource_impl.dart | EdwinAyala10/MR_PERU_APP_FLUTTER 8be7b07 lib/features/opportunities/infrastructure/datasources/doc_opportunitie_datasource_impl.dart | true | 200 | 4,945 | import 'dart:developer';
import 'package:crm_app/features/opportunities/domain/datasources/doc_opportunities_datasource.dart';
import 'package:crm_app/features/opportunities/domain/entities/op_document.dart';
import 'package:crm_app/features/opportunities/domain/entities/op_document_response.dart';
import 'package:crm... | 6 |
DiegoMunizSAMT/cpt_talk | 876986b | lib/views/chatroom.dart | Dart | www.github.com/DiegoMunizSAMT/cpt_talk/tree/main/lib/views/chatroom.dart | https://raw.githubusercontent.com/DiegoMunizSAMT/cpt_talk/876986b/lib/views/chatroom.dart | DiegoMunizSAMT/cpt_talk 876986b lib/views/chatroom.dart | true | 200 | 16,174 | import 'dart:convert';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:cpt_talk/helpers/database.dart';
import 'package:cpt_talk/templates/constants.dart';
import 'package:cpt_talk/templates/widgets.dart';
import 'package:cpt_talk/views/workflowchatscreen.dart';
import 'package:firebase_messagin... | 2 |
praktikuminformatikaunmul/PEMROGRAMAN-MOBILE | 40b6d5e | Pertemuan_1-Dasar_dart/doctor.dart | Dart | www.github.com/praktikuminformatikaunmul/PEMROGRAMAN-MOBILE/tree/main/Pertemuan_1-Dasar_dart/doctor.dart | https://raw.githubusercontent.com/praktikuminformatikaunmul/PEMROGRAMAN-MOBILE/40b6d5e/Pertemuan_1-Dasar_dart/doctor.dart | praktikuminformatikaunmul/PEMROGRAMAN-MOBILE 40b6d5e Pertemuan_1-Dasar_dart/doctor.dart | true | 200 | 266 | import 'dart:io';
class Doctor {
String? name;
String? specialty;
double? biaya_bayar;
Doctor(this.name, this.specialty, this.biaya_bayar);
@override
String keterangan(){
return "Nama Dokter: $name\nSpesialis: $specialty\nBiaya: $biaya_bayar";
}
} | 5 |
yangsh91/FlutterProject | a785420 | juku/alert_dialog_app/lib/main.dart | Dart | www.github.com/yangsh91/FlutterProject/tree/main/juku/alert_dialog_app/lib/main.dart | https://raw.githubusercontent.com/yangsh91/FlutterProject/a785420/juku/alert_dialog_app/lib/main.dart | yangsh91/FlutterProject a785420 juku/alert_dialog_app/lib/main.dart | true | 200 | 534 | import 'package:flutter/material.dart';
import './home.dart';
import './second_page.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo'... | 3 |
22asli/ARAZ--AL | 867afff | Final App/packages/payment_base/lib/payment_base.dart | Dart | www.github.com/22asli/ARAZ--AL/tree/main/Final App/packages/payment_base/lib/payment_base.dart | https://raw.githubusercontent.com/22asli/ARAZ--AL/867afff/Final%20App/packages/payment_base/lib/payment_base.dart | 22asli/ARAZ--AL 867afff Final App/packages/payment_base/lib/payment_base.dart | true | 200 | 1,516 | library payment_base;
import 'package:flutter/cupertino.dart';
abstract class PaymentBase {
/// The logo path in folder assets
///
final String logoPath = "";
/// The library name
/// This used in Widget Image when call the assets from library folder
///
final String libraryName = "";
/// **context*... | 7 |
TripMemories-PA/mobile | 1260ef5 | lib/api/profile/response/friend_request_response.dart | Dart | www.github.com/TripMemories-PA/mobile/tree/main/lib/api/profile/response/friend_request_response.dart | https://raw.githubusercontent.com/TripMemories-PA/mobile/1260ef5/lib/api/profile/response/friend_request_response.dart | TripMemories-PA/mobile 1260ef5 lib/api/profile/response/friend_request_response.dart | true | 200 | 741 | import '../../../object/friend_request.dart';
import '../../../object/meta_object.dart';
class GetFriendRequestResponse {
GetFriendRequestResponse({
required this.meta,
required this.data,
});
factory GetFriendRequestResponse.fromJson(Map<String, dynamic> json) {
return GetFriendRequestResponse(
... | 1 |
adarshKV7/fitness_app_project | d7702c0 | lib/model/home_screen_model.dart | Dart | www.github.com/adarshKV7/fitness_app_project/tree/main/lib/model/home_screen_model.dart | https://raw.githubusercontent.com/adarshKV7/fitness_app_project/d7702c0/lib/model/home_screen_model.dart | adarshKV7/fitness_app_project d7702c0 lib/model/home_screen_model.dart | true | 200 | 716 | // To parse this JSON data, do
//
// final carosalModel = carosalModelFromJson(jsonString);
import 'dart:convert';
CarosalModel carosalModelFromJson(String str) =>
CarosalModel.fromJson(json.decode(str));
String carosalModelToJson(CarosalModel data) => json.encode(data.toJson());
class CarosalModel {
Stri... | 0 |
MohdFarag/yummy-dish | 719a002 | lib/profile/settings_button/settings_button_widget.dart | Dart | www.github.com/MohdFarag/yummy-dish/tree/main/lib/profile/settings_button/settings_button_widget.dart | https://raw.githubusercontent.com/MohdFarag/yummy-dish/719a002/lib/profile/settings_button/settings_button_widget.dart | MohdFarag/yummy-dish 719a002 lib/profile/settings_button/settings_button_widget.dart | true | 200 | 3,122 | import '/flutter_flow/flutter_flow_icon_button.dart';
import '/flutter_flow/flutter_flow_theme.dart';
import '/flutter_flow/flutter_flow_util.dart';
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'settings_button_model.dart';
export 'settings_button_model.dart';
class S... | 6 |
abduraimovdev/weather_app | 781c39a | lib/src/features/main/screens/add_card/bloc/add_card_event.dart | Dart | www.github.com/abduraimovdev/weather_app/tree/main/lib/src/features/main/screens/add_card/bloc/add_card_event.dart | https://raw.githubusercontent.com/abduraimovdev/weather_app/781c39a/lib/src/features/main/screens/add_card/bloc/add_card_event.dart | abduraimovdev/weather_app 781c39a lib/src/features/main/screens/add_card/bloc/add_card_event.dart | true | 200 | 757 | part of 'add_card_bloc.dart';
abstract class AddCardEvent extends Equatable {
const AddCardEvent();
}
class AddCardBackgroundEvent extends AddCardEvent {
final Color? color;
final String? img;
const AddCardBackgroundEvent({this.color, this.img});
@override
List<Object?> get props => [color, img];
}
cla... | 4 |
KhacHung4864/travel_app | 7cea54e | lib/modules/authentication/signup/signup_controller.dart | Dart | www.github.com/KhacHung4864/travel_app/tree/main/lib/modules/authentication/signup/signup_controller.dart | https://raw.githubusercontent.com/KhacHung4864/travel_app/7cea54e/lib/modules/authentication/signup/signup_controller.dart | KhacHung4864/travel_app 7cea54e lib/modules/authentication/signup/signup_controller.dart | true | 200 | 1,814 | import 'package:dio/dio.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:travel_app/data/model/user_model.dart';
import 'package:travel_app/utils/share_components/dialog/dialog.dart';
import '../../../data/network/api/user_api.dart';
import '../../../data/network/service/ap... | 2 |
zeezooz/zxcvbnm | 029f231 | lib/src/utils.dart | Dart | www.github.com/zeezooz/zxcvbnm/tree/main/lib/src/utils.dart | https://raw.githubusercontent.com/zeezooz/zxcvbnm/029f231/lib/src/utils.dart | zeezooz/zxcvbnm 029f231 lib/src/utils.dart | true | 200 | 289 | import 'dart:math';
/// Returns the logarithm with base 10 of [n].
double log10(num n) {
if (n == 0) return 0;
return log(n) / ln10;
}
/// Returns the factorial of [n].
int factorial(int n) {
int result = 1;
for (int i = 2; i <= n; i++) {
result *= i;
}
return result;
}
| 5 |
antonbashir/dart-reactive-transport | cb67be6 | lib/transport/writer.dart | Dart | www.github.com/antonbashir/dart-reactive-transport/tree/main/lib/transport/writer.dart | https://raw.githubusercontent.com/antonbashir/dart-reactive-transport/cb67be6/lib/transport/writer.dart | antonbashir/dart-reactive-transport cb67be6 lib/transport/writer.dart | true | 200 | 5,738 | import 'dart:convert';
import 'dart:typed_data';
import 'buffer.dart';
import 'constants.dart';
import 'payload.dart';
class ReactiveWriter {
ReactiveWriter._();
@pragma(preferInlinePragma)
static Uint8List writeSetupFrame(
int keepAliveInterval,
int keepAliveMaxLifetime,
String metadataMimeType,
... | 3 |
izzelislam/wallet | 027734c | lib/models/payment_method_model.dart | Dart | www.github.com/izzelislam/wallet/tree/main/lib/models/payment_method_model.dart | https://raw.githubusercontent.com/izzelislam/wallet/027734c/lib/models/payment_method_model.dart | izzelislam/wallet 027734c lib/models/payment_method_model.dart | true | 200 | 900 | class PaymentMethodModel {
int? id;
String? name;
String? code;
String? thumbnail;
PaymentMethodModel({
this.id,
this.name,
this.code,
this.thumbnail,
});
PaymentMethodModel copyWith({
int? id,
String? name,
String? code,
Stri... | 7 |
walaa2020/admin-panel | 0cd7a60 | lib/modules/admin/clinics.dart | Dart | www.github.com/walaa2020/admin-panel/tree/main/lib/modules/admin/clinics.dart | https://raw.githubusercontent.com/walaa2020/admin-panel/0cd7a60/lib/modules/admin/clinics.dart | walaa2020/admin-panel 0cd7a60 lib/modules/admin/clinics.dart | true | 200 | 823 |
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import '../../cubit/admin_cubit/layout_cubit.dart';
import '../../cubit/admin_cubit/layout_state.dart';
import '../../shared/components/components.dart';
class Clinics extends StatelessWidget {
const Clinics({super.key});
... | 0 |
gafaradeniran/movie_previewer | 8bee3f5 | lib/widgets/display_cards/display_trending_card.dart | Dart | www.github.com/gafaradeniran/movie_previewer/tree/main/lib/widgets/display_cards/display_trending_card.dart | https://raw.githubusercontent.com/gafaradeniran/movie_previewer/8bee3f5/lib/widgets/display_cards/display_trending_card.dart | gafaradeniran/movie_previewer 8bee3f5 lib/widgets/display_cards/display_trending_card.dart | true | 200 | 1,868 | import 'package:flutter/material.dart';
import 'package:movie_previewer/widgets/model_cards/trending_card.dart';
import '../../core/models/trending_model.dart';
class DisplayTrendingMovies extends StatelessWidget {
const DisplayTrendingMovies({
Key? key, required Future<TrendingModel> trendingModel})
: _... | 6 |
KowsiKalyan/customer_module | c2b08f7 | lib/utils/intro_screen.dart | Dart | www.github.com/KowsiKalyan/customer_module/tree/main/lib/utils/intro_screen.dart | https://raw.githubusercontent.com/KowsiKalyan/customer_module/c2b08f7/lib/utils/intro_screen.dart | KowsiKalyan/customer_module c2b08f7 lib/utils/intro_screen.dart | true | 200 | 3,578 | import 'package:customermodule/all_packages.dart';
class IntroScreen extends StatelessWidget {
SharedPreferences? prefs;
String? boolKey;
IntroScreen({super.key, this.boolKey, this.prefs});
@override
Widget build(BuildContext context) {
prefs!.setBool(boolKey!, false);
PageDecoration pageDecoration ... | 4 |
yousef123123123/responsive_dash_board | cd7939d | responsive_dash_board/lib/views/dashboard_View.dart | Dart | www.github.com/yousef123123123/responsive_dash_board/tree/main/responsive_dash_board/lib/views/dashboard_View.dart | https://raw.githubusercontent.com/yousef123123123/responsive_dash_board/cd7939d/responsive_dash_board/lib/views/dashboard_View.dart | yousef123123123/responsive_dash_board cd7939d responsive_dash_board/lib/views/dashboard_View.dart | true | 200 | 571 | import 'package:flutter/material.dart';
import 'package:responsive_dash_board/widgets/adaptive_layout_widget.dart';
import '../widgets/Dash_board_desktop_layout.dart';
class DashBoardView extends StatelessWidget {
const DashBoardView({super.key});
@override
Widget build(BuildContext context) {
return Scaff... | 2 |
webrror/flowdo | 888f595 | lib/presentation/widgets/bottom_sheet.dart | Dart | www.github.com/webrror/flowdo/tree/main/lib/presentation/widgets/bottom_sheet.dart | https://raw.githubusercontent.com/webrror/flowdo/888f595/lib/presentation/widgets/bottom_sheet.dart | webrror/flowdo 888f595 lib/presentation/widgets/bottom_sheet.dart | true | 200 | 3,946 | import 'dart:ui' show ImageFilter;
import 'package:flowdo/common/utils/utils.dart';
import 'package:flutter/material.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart' show FaIcon, FontAwesomeIcons;
/// Method to show custom glass bottom sheet
///
/// The **`customChild`** component acts as a full ... | 1 |
SourishBiswas23/dictionary-app | f99cb15 | lib/data/data_providers/word.api.dart | Dart | www.github.com/SourishBiswas23/dictionary-app/tree/main/lib/data/data_providers/word.api.dart | https://raw.githubusercontent.com/SourishBiswas23/dictionary-app/f99cb15/lib/data/data_providers/word.api.dart | SourishBiswas23/dictionary-app f99cb15 lib/data/data_providers/word.api.dart | true | 200 | 306 | import 'package:dictionary/constants/api_constants.dart';
import 'package:http/http.dart' as http;
class WordApi {
Future callApi({required String searchQuery}) async {
final url = Uri.parse(apiEndpoint + searchQuery);
final apiResponse = await http.get(url);
return apiResponse.body;
}
}
| 5 |
zedxer/class_sample | bfa0611 | lib/services/api_service.dart | Dart | www.github.com/zedxer/class_sample/tree/main/lib/services/api_service.dart | https://raw.githubusercontent.com/zedxer/class_sample/bfa0611/lib/services/api_service.dart | zedxer/class_sample bfa0611 lib/services/api_service.dart | true | 200 | 664 | import 'dart:convert';
import '../model/model.dart';
import 'package:http/http.dart' as http;
import '../utils/constants.dart';
class ApiService {
static Future<List<PostsModel>> fetchPosts() async {
// final url = Uri.parse('$BASE_URL/v1/user-get');
final url = Uri.parse('$BASE_URL/$GET_POST');
final... | 3 |
Seth2k21/full_cours_flutter | d83a7fe | api_complet/lib/components/post_item.dart | Dart | www.github.com/Seth2k21/full_cours_flutter/tree/main/api_complet/lib/components/post_item.dart | https://raw.githubusercontent.com/Seth2k21/full_cours_flutter/d83a7fe/api_complet/lib/components/post_item.dart | Seth2k21/full_cours_flutter d83a7fe api_complet/lib/components/post_item.dart | true | 200 | 1,002 | import 'package:flutter/material.dart';
import '../styles/app_text.dart';
class PostItem extends StatelessWidget {
final String user ;
const PostItem({
super.key,
required this.user
});
@override
Widget build(BuildContext context) {
return Padding(
padding: const EdgeInsets.symmetric(hor... | 7 |
yabipi/iMath | 2a58172 | lib/models/paper.dart | Dart | www.github.com/yabipi/iMath/tree/main/lib/models/paper.dart | https://raw.githubusercontent.com/yabipi/iMath/2a58172/lib/models/paper.dart | yabipi/iMath 2a58172 lib/models/paper.dart | true | 200 | 272 | class Paper {
final int quizId;
final String title;
Paper({
required this.quizId,
required this.title
});
factory Paper.fromJson(Map<String, dynamic> json) {
return Paper(
quizId: json['quizId'],
title: json['title']
);
}
} | 0 |
Khalidali-dev/Bloc-apps | 9ace97d | lib/src/multibloc_app/bloc/multi_bloc.dart | Dart | www.github.com/Khalidali-dev/Bloc-apps/tree/main/lib/src/multibloc_app/bloc/multi_bloc.dart | https://raw.githubusercontent.com/Khalidali-dev/Bloc-apps/9ace97d/lib/src/multibloc_app/bloc/multi_bloc.dart | Khalidali-dev/Bloc-apps 9ace97d lib/src/multibloc_app/bloc/multi_bloc.dart | true | 200 | 695 | import 'dart:async';
import 'package:blocmodules/src/multibloc_app/bloc/settings_event.dart';
import 'package:blocmodules/src/multibloc_app/bloc/multi_state.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
class SettingsBloc extends Bloc<SettingsEvent, SettingsState> {
SettingsBloc() : super(SettingsState(is... | 2 |
youssemagdy/Chat_App | 54071b6 | lib/main.dart | Dart | www.github.com/youssemagdy/Chat_App/tree/main/lib/main.dart | https://raw.githubusercontent.com/youssemagdy/Chat_App/54071b6/lib/main.dart | youssemagdy/Chat_App 54071b6 lib/main.dart | true | 200 | 872 | import 'package:chat_app1/firebase_options.dart';
import 'package:chat_app1/services/auth/auth_gate.dart';
import 'package:chat_app1/services/auth/auth_servise.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
void main() async {
... | 4 |
shashanking/shopinfinity | bd8dd07 | lib/presentation/features/profile/repositories/profile_repository.dart | Dart | www.github.com/shashanking/shopinfinity/tree/main/lib/presentation/features/profile/repositories/profile_repository.dart | https://raw.githubusercontent.com/shashanking/shopinfinity/bd8dd07/lib/presentation/features/profile/repositories/profile_repository.dart | shashanking/shopinfinity bd8dd07 lib/presentation/features/profile/repositories/profile_repository.dart | true | 200 | 1,928 | import 'dart:developer' as dev;
import 'package:shopinfinity/core/network/api_client.dart';
import 'package:shopinfinity/presentation/features/profile/models/profile.dart';
class ProfileRepository {
final ApiClient _apiClient;
ProfileRepository({required ApiClient apiClient}) : _apiClient = apiClient;
Future<P... | 6 |
masudparvez2050/islamic-app | 389e08c | lib/presentation/screens/ramadan/ramadan_dua_screen_with_header.dart | Dart | www.github.com/masudparvez2050/islamic-app/tree/main/lib/presentation/screens/ramadan/ramadan_dua_screen_with_header.dart | https://raw.githubusercontent.com/masudparvez2050/islamic-app/389e08c/lib/presentation/screens/ramadan/ramadan_dua_screen_with_header.dart | masudparvez2050/islamic-app 389e08c lib/presentation/screens/ramadan/ramadan_dua_screen_with_header.dart | true | 200 | 18,098 | import 'package:flutter/material.dart';
import 'package:dharma/utils/responsive_utils.dart';
import 'package:dharma/widgets/header.dart';
import 'package:dharma/widgets/responsive_builder.dart';
class RamadanDuaScreenWithHeader extends StatelessWidget {
const RamadanDuaScreenWithHeader({Key? key}) : super(key: key);... | 1 |
mdaffailhami/gasku | 8ae97ff | lib/models/pangkalan.dart | Dart | www.github.com/mdaffailhami/gasku/tree/main/lib/models/pangkalan.dart | https://raw.githubusercontent.com/mdaffailhami/gasku/8ae97ff/lib/models/pangkalan.dart | mdaffailhami/gasku 8ae97ff lib/models/pangkalan.dart | true | 200 | 5,546 | import 'dart:convert';
import 'package:flutter/foundation.dart';
import 'package:flutter_dotenv/flutter_dotenv.dart';
import 'package:http/http.dart' as http;
class Pangkalan {
final String? id;
final String nama;
final String alamat;
final int harga;
final int stok;
final String email;
final String tel... | 5 |
brijesh-0/CampusSpace | 2546ae3 | lib/pages/helpSupport.dart | Dart | www.github.com/brijesh-0/CampusSpace/tree/main/lib/pages/helpSupport.dart | https://raw.githubusercontent.com/brijesh-0/CampusSpace/2546ae3/lib/pages/helpSupport.dart | brijesh-0/CampusSpace 2546ae3 lib/pages/helpSupport.dart | true | 200 | 2,771 | import 'package:flutter/material.dart';
class HelpSupport extends StatelessWidget {
@override
Widget build(BuildContext context) {
return const Scaffold(
body: SingleChildScrollView(
padding:
EdgeInsets.only(top: 75.0, bottom: 16.0, right: 16.0, left: 16.0),
child: Column(
... | 7 |
rounakb10/expense_manager | 47a4525 | lib/Screens/home_screen.dart | Dart | www.github.com/rounakb10/expense_manager/tree/main/lib/Screens/home_screen.dart | https://raw.githubusercontent.com/rounakb10/expense_manager/47a4525/lib/Screens/home_screen.dart | rounakb10/expense_manager 47a4525 lib/Screens/home_screen.dart | true | 200 | 4,597 | import 'package:expense_manager/Models/expense.dart';
import 'package:flutter/material.dart';
// import 'package:expense_manager/Widgets/small_card.dart';
import 'package:hive/hive.dart';
import 'package:hive_flutter/hive_flutter.dart';
import 'package:syncfusion_flutter_charts/charts.dart';
// import 'package:toast/to... | 3 |
ellis1119/codegendemo | 0c6f27e | lib/utils/sliCard.dart | Dart | www.github.com/ellis1119/codegendemo/tree/main/lib/utils/sliCard.dart | https://raw.githubusercontent.com/ellis1119/codegendemo/0c6f27e/lib/utils/sliCard.dart | ellis1119/codegendemo 0c6f27e lib/utils/sliCard.dart | true | 200 | 5,406 | import 'package:flutter/material.dart';
class SliCard extends StatefulWidget {
final double width;
final double topCardHeight;
final double bottomCardHeight;
final double borderRadius;
final Widget topCardWidget;
final Widget bottomCardWidget;
final bool slimeEnabled;
const SliCard({
Key? key,
... | 0 |
rajmahadev8/Envochain | 8866e7f | lib/screens/feedscreen.dart | Dart | www.github.com/rajmahadev8/Envochain/tree/main/lib/screens/feedscreen.dart | https://raw.githubusercontent.com/rajmahadev8/Envochain/8866e7f/lib/screens/feedscreen.dart | rajmahadev8/Envochain 8866e7f lib/screens/feedscreen.dart | true | 200 | 4,069 | import 'package:flutter/material.dart';
import 'package:envochain/provider/authprovider.dart';
import 'package:envochain/provider/feedprovider.dart';
import 'package:envochain/screens/feedaddscreen.dart';
import 'package:envochain/widget/erroryogaman.dart';
import 'package:envochain/widget/feedWidget.dart';
impor... | 4 |
developer-ahmed1/Project-Management-App | 99229f3 | login.dart | Dart | www.github.com/developer-ahmed1/Project-Management-App/tree/main/login.dart | https://raw.githubusercontent.com/developer-ahmed1/Project-Management-App/99229f3/login.dart | developer-ahmed1/Project-Management-App 99229f3 login.dart | true | 200 | 5,115 | import 'package:flutter/material.dart';
import 'package:firebase_auth/firebase_auth.dart';
class LoginScreen extends StatelessWidget {
final _emailController = TextEditingController();
final _passwordController = TextEditingController();
// Function to log in the user using Firebase Authentication
Fut... | 2 |
KabinManandhar/kliq_news_app | 77bcf04 | lib/app/home/presentation/widget/article_card.dart | Dart | www.github.com/KabinManandhar/kliq_news_app/tree/main/lib/app/home/presentation/widget/article_card.dart | https://raw.githubusercontent.com/KabinManandhar/kliq_news_app/77bcf04/lib/app/home/presentation/widget/article_card.dart | KabinManandhar/kliq_news_app 77bcf04 lib/app/home/presentation/widget/article_card.dart | true | 200 | 4,895 | import 'package:auto_route/auto_route.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:kliq_news_app/app/favourite/presentation/provider/favourite_provider.dart';
import 'package:kliq_news_app/app/home/domain/entity/article_entity.dart';
import 'pac... | 6 |
evanryarkn/latres_124220028 | 3887559 | lib/API_service.dart | Dart | www.github.com/evanryarkn/latres_124220028/tree/main/lib/API_service.dart | https://raw.githubusercontent.com/evanryarkn/latres_124220028/3887559/lib/API_service.dart | evanryarkn/latres_124220028 3887559 lib/API_service.dart | true | 200 | 2,076 | import 'dart:convert';
import 'package:http/http.dart' as http;
// Model Data
class NewsItem {
final String title;
final String summary;
final String imageUrl;
final String publishedAt;
NewsItem({
required this.title,
required this.summary,
required this.imageUrl,
required this.publishedAt,
... | 1 |
AddGur/time-tracker-udemy | 0d33ed4 | lib/services/auth.dart | Dart | www.github.com/AddGur/time-tracker-udemy/tree/main/lib/services/auth.dart | https://raw.githubusercontent.com/AddGur/time-tracker-udemy/0d33ed4/lib/services/auth.dart | AddGur/time-tracker-udemy 0d33ed4 lib/services/auth.dart | true | 200 | 3,545 | import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter_login_facebook/flutter_login_facebook.dart';
import 'package:google_sign_in/google_sign_in.dart';
abstract class AuthBase {
User get currentUser;
Future<User> signInAnonymously();
Future<void> signOut();
Stream<User?> authStateC... | 5 |
Eduwebd/List91 | 562c97d | lib/ui/custom_ui/item/list_with_filter/components/search_history/item_search_box_widget.dart | Dart | www.github.com/Eduwebd/List91/tree/main/lib/ui/custom_ui/item/list_with_filter/components/search_history/item_search_box_widget.dart | https://raw.githubusercontent.com/Eduwebd/List91/562c97d/lib/ui/custom_ui/item/list_with_filter/components/search_history/item_search_box_widget.dart | Eduwebd/List91 562c97d lib/ui/custom_ui/item/list_with_filter/components/search_history/item_search_box_widget.dart | true | 200 | 772 | import 'package:flutter/material.dart';
import '../../../../../../core/vendor/viewobject/holder/product_parameter_holder.dart';
import '../../../../../vendor_ui/item/list_with_filter/components/search_history/item_search_box_widget.dart';
class CustomItemSearchTextBoxWidget extends StatefulWidget {
const CustomItem... | 7 |
sanu00007/full_stack_instagram | 9302cba | lib/widgets/post_card.dart | Dart | www.github.com/sanu00007/full_stack_instagram/tree/main/lib/widgets/post_card.dart | https://raw.githubusercontent.com/sanu00007/full_stack_instagram/9302cba/lib/widgets/post_card.dart | sanu00007/full_stack_instagram 9302cba lib/widgets/post_card.dart | true | 200 | 9,775 | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/material.dart';
import 'package:instagram/responsive/firestore_method.dart';
import 'package:instagram/screen/comment_screen.dart';
import 'package:instagram/utils/colors.dart';
import 'package:instagram/utils/dimension.dart';
import 'packag... | 3 |
varunkumarrobo/practise_projects | 7b7f8d3 | bmi_calcu/lib/screens/result_page.dart | Dart | www.github.com/varunkumarrobo/practise_projects/tree/main/bmi_calcu/lib/screens/result_page.dart | https://raw.githubusercontent.com/varunkumarrobo/practise_projects/7b7f8d3/bmi_calcu/lib/screens/result_page.dart | varunkumarrobo/practise_projects 7b7f8d3 bmi_calcu/lib/screens/result_page.dart | true | 200 | 2,666 | import 'package:bmi_calcu/constants.dart';
import 'package:bmi_calcu/components/reusablecard.dart';
import 'package:flutter/material.dart';
import '../components/bottom_button.dart';
import '../deviceinfo/info.dart';
class ResultPage extends StatelessWidget {
const ResultPage({Key? key, required this.bmiResult, req... | 4 |
alarmouseuepg2023/mobile | 4778e1d | lib/shared/models/Invite/invite_answer_response_model.dart | Dart | www.github.com/alarmouseuepg2023/mobile/tree/main/lib/shared/models/Invite/invite_answer_response_model.dart | https://raw.githubusercontent.com/alarmouseuepg2023/mobile/4778e1d/lib/shared/models/Invite/invite_answer_response_model.dart | alarmouseuepg2023/mobile 4778e1d lib/shared/models/Invite/invite_answer_response_model.dart | true | 200 | 1,232 | // ignore_for_file: public_member_api_docs, sort_constructors_first
import 'dart:convert';
import 'package:mobile/shared/models/Invite/invite_answer_content_model.dart';
class InviteAnswerResponse {
final String message;
final bool success;
final InviteAnswerContent content;
InviteAnswerResponse({
requir... | 2 |
SchoodEIP/Schood-Mobile | 940b81f | lib/Profile/EmailModifierScreen.dart | Dart | www.github.com/SchoodEIP/Schood-Mobile/tree/main/lib/Profile/EmailModifierScreen.dart | https://raw.githubusercontent.com/SchoodEIP/Schood-Mobile/940b81f/lib/Profile/EmailModifierScreen.dart | SchoodEIP/Schood-Mobile 940b81f lib/Profile/EmailModifierScreen.dart | true | 200 | 2,244 | // ignore_for_file: file_names
import 'package:flutter/material.dart';
import 'package:schood/Profile/ProfileScreen.dart';
import 'package:schood/style/AppColors.dart';
class EmailModifier extends StatefulWidget {
const EmailModifier({Key? key}) : super(key: key);
@override
State<EmailModifier> createState() ... | 0 |
redantcode2021/bloc_practices | 8cff0dd | bloc_jokes_api/lib/bloc/joke_bloc.dart | Dart | www.github.com/redantcode2021/bloc_practices/tree/main/bloc_jokes_api/lib/bloc/joke_bloc.dart | https://raw.githubusercontent.com/redantcode2021/bloc_practices/8cff0dd/bloc_jokes_api/lib/bloc/joke_bloc.dart | redantcode2021/bloc_practices 8cff0dd bloc_jokes_api/lib/bloc/joke_bloc.dart | true | 200 | 842 | import 'dart:async';
// ignore: depend_on_referenced_packages
import 'package:bloc/bloc.dart';
import 'package:bloc_jokes_api/data/model/joke_model.dart';
import 'package:bloc_jokes_api/data/repository/joke_repository.dart';
import 'package:equatable/equatable.dart';
part 'joke_event.dart';
part 'joke_state.dart';
c... | 6 |
sedrabarakat/Dashboard-Medical-Center | cc5fa7e | lib/features/create_account/data/models/section_list_model.dart | Dart | www.github.com/sedrabarakat/Dashboard-Medical-Center/tree/main/lib/features/create_account/data/models/section_list_model.dart | https://raw.githubusercontent.com/sedrabarakat/Dashboard-Medical-Center/cc5fa7e/lib/features/create_account/data/models/section_list_model.dart | sedrabarakat/Dashboard-Medical-Center cc5fa7e lib/features/create_account/data/models/section_list_model.dart | true | 200 | 484 | import 'package:dashboad/features/create_account/data/models/section_model.dart';
import 'package:freezed_annotation/freezed_annotation.dart';
part 'section_list_model.g.dart';
@JsonSerializable()
class SectionListModel{
@JsonKey(name: "sections")
List<SectionModel>sections;
SectionListModel(this.sections);
... | 1 |
victorvansuitwarren/crypto-wallet-squad-everest-warren | 2aa5c41 | lib/crypto_wallet/presenter/ui/wallet/widgets/crypto_list_view.dart | Dart | www.github.com/victorvansuitwarren/crypto-wallet-squad-everest-warren/tree/main/lib/crypto_wallet/presenter/ui/wallet/widgets/crypto_list_view.dart | https://raw.githubusercontent.com/victorvansuitwarren/crypto-wallet-squad-everest-warren/2aa5c41/lib/crypto_wallet/presenter/ui/wallet/widgets/crypto_list_view.dart | victorvansuitwarren/crypto-wallet-squad-everest-warren 2aa5c41 lib/crypto_wallet/presenter/ui/wallet/widgets/crypto_list_view.dart | true | 200 | 706 | import 'package:cryptowallet/crypto_wallet/presenter/ui/wallet/widgets/crypto_list_tile.dart';
import 'package:flutter/material.dart';
import '../../../../domain/entities/crypto_entity.dart';
class CryptoListView extends StatelessWidget {
const CryptoListView({
required this.cryptoList,
Key? key,
}) : sup... | 5 |
bhavink2000/health_saarthi | e9d5143 | lib/Heath Saarthi/App Helper/Frontend Helper/Pagination Helper/custom_pagination_widget.dart | Dart | www.github.com/bhavink2000/health_saarthi/tree/main/lib/Heath Saarthi/App Helper/Frontend Helper/Pagination Helper/custom_pagination_widget.dart | https://raw.githubusercontent.com/bhavink2000/health_saarthi/e9d5143/lib/Heath%20Saarthi/App%20Helper/Frontend%20Helper/Pagination%20Helper/custom_pagination_widget.dart | bhavink2000/health_saarthi e9d5143 lib/Heath Saarthi/App Helper/Frontend Helper/Pagination Helper/custom_pagination_widget.dart | true | 200 | 4,102 | // ignore_for_file: library_private_types_in_public_api
import 'package:flutter/material.dart';
import 'package:health_saarthi/Heath%20Saarthi/App%20Helper/Frontend%20Helper/Font%20&%20Color%20Helper/font_&_color_helper.dart';
import 'package:health_saarthi/Heath%20Saarthi/App%20Helper/Frontend%20Helper/Text%20Hel... | 7 |
mohammedali882001/Todo-App | 2a8551e | lib/main.dart | Dart | www.github.com/mohammedali882001/Todo-App/tree/main/lib/main.dart | https://raw.githubusercontent.com/mohammedali882001/Todo-App/2a8551e/lib/main.dart | mohammedali882001/Todo-App 2a8551e lib/main.dart | true | 200 | 4,302 | // by mohamed ali
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:hexcolor/hexcolor.dart';
import 'package:todo/shared/cubit/cubit.dart';
import 'package:todo/shared/cubit/states.dart';
import 'package:todo/shared/myBlocOb... | 3 |
saikat1236/Medikas | 341ae06 | lib/presentation/home_page/controller/home_controller.dart | Dart | www.github.com/saikat1236/Medikas/tree/main/lib/presentation/home_page/controller/home_controller.dart | https://raw.githubusercontent.com/saikat1236/Medikas/341ae06/lib/presentation/home_page/controller/home_controller.dart | saikat1236/Medikas 341ae06 lib/presentation/home_page/controller/home_controller.dart | true | 200 | 888 | import 'package:flutter/cupertino.dart';
import 'package:medikas3/core/app_export.dart';import 'package:medikas3/presentation/home_page/models/home_model.dart';class HomeController extends GetxController {HomeController(this.homeModelObj);
Rx<HomeModel> homeModelObj;
RxString radioGroup = "".obs;
RxString radioGroup... | 2 |
albinpk/intertoons_test | 9bf3228 | lib/core/cubit/cart_state.dart | Dart | www.github.com/albinpk/intertoons_test/tree/main/lib/core/cubit/cart_state.dart | https://raw.githubusercontent.com/albinpk/intertoons_test/9bf3228/lib/core/cubit/cart_state.dart | albinpk/intertoons_test 9bf3228 lib/core/cubit/cart_state.dart | true | 200 | 888 | part of 'cart_cubit.dart';
class CartState extends Equatable {
const CartState({
this.items = const [],
});
/// Items in cart.
final List<CartItem> items;
@override
List<Object> get props => [items];
CartState copyWith({
List<CartItem>? items,
}) {
return CartState(
items: items ??... | 4 |
adrianoqueirozdev/strong-pass-flutter | baa41db | lib/shared/mixins/base_password_form.dart | Dart | www.github.com/adrianoqueirozdev/strong-pass-flutter/tree/main/lib/shared/mixins/base_password_form.dart | https://raw.githubusercontent.com/adrianoqueirozdev/strong-pass-flutter/baa41db/lib/shared/mixins/base_password_form.dart | adrianoqueirozdev/strong-pass-flutter baa41db lib/shared/mixins/base_password_form.dart | true | 200 | 885 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:strong_pass/presentation/blocs/categories/categories_bloc.dart';
import 'package:strong_pass/presentation/blocs/password/password_bloc.dart';
mixin BasePasswordForm on GetxController {
final GlobalKey<FormState> formKey = GlobalKe... | 0 |
ggamijoa/flutter_widget | 6429e55 | lib/Drawer_Page/FirstPage.dart | Dart | www.github.com/ggamijoa/flutter_widget/tree/main/lib/Drawer_Page/FirstPage.dart | https://raw.githubusercontent.com/ggamijoa/flutter_widget/6429e55/lib/Drawer_Page/FirstPage.dart | ggamijoa/flutter_widget 6429e55 lib/Drawer_Page/FirstPage.dart | true | 200 | 316 | import 'package:flutter/material.dart';
class FirstPage extends StatelessWidget {
const FirstPage({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.greenAccent,
body: Center(
child: Text('F I R S T P A G E'),
),
);
}
}
| 6 |
Renatofsds16/listas-de-gastos | 4667049 | lib/model/anotacao.dart | Dart | www.github.com/Renatofsds16/listas-de-gastos/tree/main/lib/model/anotacao.dart | https://raw.githubusercontent.com/Renatofsds16/listas-de-gastos/4667049/lib/model/anotacao.dart | Renatofsds16/listas-de-gastos 4667049 lib/model/anotacao.dart | true | 200 | 1,511 |
import '../help/anotacoes_helper.dart';
class Anotacao {
int? _id;
String? _titulo;
String? _descricao;
String? _valor;
String? _categoria;
String? _data;
Anotacao({required titulo, required descricao, required valor, required data,id = 0}){
this.titulo = titulo;
this.descricao = descricao;
... | 1 |
VSepash/fba | 7fdcadb | lib/core/data_source/dummy_api_data_source.dart | Dart | www.github.com/VSepash/fba/tree/main/lib/core/data_source/dummy_api_data_source.dart | https://raw.githubusercontent.com/VSepash/fba/7fdcadb/lib/core/data_source/dummy_api_data_source.dart | VSepash/fba 7fdcadb lib/core/data_source/dummy_api_data_source.dart | true | 200 | 569 | import 'package:dio/dio.dart';
import 'package:ui_example/core/model/product_model.dart';
abstract final class _DummyApiPath {
static const String products = 'products';
}
class DummyApiDataSource {
final Dio _client = Dio(BaseOptions(baseUrl: 'https://dummyjson.com/'));
Future<List<ProductModel>> getProducts(... | 5 |
khalidgamal0/ShopApp | 5410c07 | lib/layout/shoplayout/cubit/ShopCubit.dart | Dart | www.github.com/khalidgamal0/ShopApp/tree/main/lib/layout/shoplayout/cubit/ShopCubit.dart | https://raw.githubusercontent.com/khalidgamal0/ShopApp/5410c07/lib/layout/shoplayout/cubit/ShopCubit.dart | khalidgamal0/ShopApp 5410c07 lib/layout/shoplayout/cubit/ShopCubit.dart | true | 200 | 4,055 | import 'package:bloc/bloc.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:shopapp/layout/shoplayout/cubit/ShopStates.dart';
import '../../../model/ChangefavoriteModel.dart';
import '../../../model/ProductModel/ProductModel.dart';
import '../../../model/c... | 7 |
ALI-SAMPSON/kng-notes-app | b20953e | lib/commons/widgets/popup_dialogs.dart | Dart | www.github.com/ALI-SAMPSON/kng-notes-app/tree/main/lib/commons/widgets/popup_dialogs.dart | https://raw.githubusercontent.com/ALI-SAMPSON/kng-notes-app/b20953e/lib/commons/widgets/popup_dialogs.dart | ALI-SAMPSON/kng-notes-app b20953e lib/commons/widgets/popup_dialogs.dart | true | 200 | 1,968 | import 'package:note_taking_app/presentation/resources/app_colors.dart';
import 'package:note_taking_app/presentation/resources/app_dimens.dart';
import 'package:flutter/material.dart';
import 'package:flutter_flushbar/flutter_flushbar.dart';
class PopupDialogs {
PopupDialogs(this.context);
final BuildContext con... | 3 |
Athulolikkal/flutter_clone_centa | 184cd50 | lib/widgets/my_learnings/learnings_widget.dart | Dart | www.github.com/Athulolikkal/flutter_clone_centa/tree/main/lib/widgets/my_learnings/learnings_widget.dart | https://raw.githubusercontent.com/Athulolikkal/flutter_clone_centa/184cd50/lib/widgets/my_learnings/learnings_widget.dart | Athulolikkal/flutter_clone_centa 184cd50 lib/widgets/my_learnings/learnings_widget.dart | true | 200 | 298 | import 'package:centa_clone/widgets/my_learnings/no_data.dart';
import 'package:flutter/material.dart';
class Learnings extends StatelessWidget {
const Learnings({super.key});
@override
Widget build(BuildContext context) {
return const NoRecords(
notLearning: false,
);
}
}
| 2 |
yumnaafsar/I_Am_Rich_App | fdd56ac | lib/home.dart | Dart | www.github.com/yumnaafsar/I_Am_Rich_App/tree/main/lib/home.dart | https://raw.githubusercontent.com/yumnaafsar/I_Am_Rich_App/fdd56ac/lib/home.dart | yumnaafsar/I_Am_Rich_App fdd56ac lib/home.dart | true | 200 | 1,258 | import 'package:flutter/material.dart';
import 'package:flutter/src/widgets/framework.dart';
import 'package:flutter/src/widgets/placeholder.dart';
class Home extends StatefulWidget {
const Home({super.key});
@override
State<Home> createState() => _HomeState();
}
class _HomeState extends State<Home> {
@overr... | 4 |
Nurgamze/dreamisletme | 5a5d9a0 | lib/cariler/models/cari.dart | Dart | www.github.com/Nurgamze/dreamisletme/tree/main/lib/cariler/models/cari.dart | https://raw.githubusercontent.com/Nurgamze/dreamisletme/5a5d9a0/lib/cariler/models/cari.dart | Nurgamze/dreamisletme 5a5d9a0 lib/cariler/models/cari.dart | true | 200 | 3,436 |
import 'package:sdsdream_flutter/core/models/base_data_model.dart';
import 'package:syncfusion_flutter_datagrid/datagrid.dart';
class DreamCari extends BaseDataModel{
String? bolge;
double? bakiye;
String? email;
String? grup;
String? gsm;
String? kod;
double? kalanKredi;
double? kredi;
String? must... | 0 |
EtanaAlemu/flutter-login-signup | e0e8f3e | lib/utils/secure_storage.dart | Dart | www.github.com/EtanaAlemu/flutter-login-signup/tree/main/lib/utils/secure_storage.dart | https://raw.githubusercontent.com/EtanaAlemu/flutter-login-signup/e0e8f3e/lib/utils/secure_storage.dart | EtanaAlemu/flutter-login-signup e0e8f3e lib/utils/secure_storage.dart | true | 200 | 678 | import 'package:flutter_secure_storage/flutter_secure_storage.dart';
class SecureStorage {
static FlutterSecureStorage _preferences = FlutterSecureStorage();
static Future<String?> getString(String key, {String defValue = ''}) {
return _preferences.read(key: key);
}
static Future<Map<String, String>?> ge... | 6 |
Maizi12/uts-AZZAM | 4a118af | uts/lib/pages/jadwal_kuliah.dart | Dart | www.github.com/Maizi12/uts-AZZAM/tree/main/uts/lib/pages/jadwal_kuliah.dart | https://raw.githubusercontent.com/Maizi12/uts-AZZAM/4a118af/uts/lib/pages/jadwal_kuliah.dart | Maizi12/uts-AZZAM 4a118af uts/lib/pages/jadwal_kuliah.dart | true | 200 | 1,779 | import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
class JadwalKuliahCard extends StatelessWidget {
final String namaMatkul;
final String namaDosen;
final String waktuKuliah;
final Function onDelete;
JadwalKuliahCard(this.namaMatkul, this.namaDosen, this.waktuKuliah,
... | 5 |
Fridgigator/control-panel | bb3a277 | lib/views/hubs/hub_view.dart | Dart | www.github.com/Fridgigator/control-panel/tree/main/lib/views/hubs/hub_view.dart | https://raw.githubusercontent.com/Fridgigator/control-panel/bb3a277/lib/views/hubs/hub_view.dart | Fridgigator/control-panel bb3a277 lib/views/hubs/hub_view.dart | true | 200 | 3,291 | import 'package:flutter/material.dart';
import 'package:im_animations/im_animations.dart';
import 'chart.dart';
class HubView extends StatelessWidget {
final bool darkTheme;
final String hubUUID;
final List<DateTime> lastSeenTimes;
const HubView(
{super.key,
required this.darkTheme,
require... | 1 |
ynyBonfennil/flutter_rclcpp | e8dfe91 | example/lib/main.dart | Dart | www.github.com/ynyBonfennil/flutter_rclcpp/tree/main/example/lib/main.dart | https://raw.githubusercontent.com/ynyBonfennil/flutter_rclcpp/e8dfe91/example/lib/main.dart | ynyBonfennil/flutter_rclcpp e8dfe91 example/lib/main.dart | true | 200 | 3,537 | import 'package:flutter/material.dart';
import 'dart:async';
import 'dart:isolate';
import 'package:provider/provider.dart';
import 'package:flutter_rclcpp/flutter_rclcpp.dart' as flutter_rclcpp;
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
... | 2 |
Mondacars0165/assistech | a403b93 | lib/screens/geofencing_status.dart | Dart | www.github.com/Mondacars0165/assistech/tree/main/lib/screens/geofencing_status.dart | https://raw.githubusercontent.com/Mondacars0165/assistech/a403b93/lib/screens/geofencing_status.dart | Mondacars0165/assistech a403b93 lib/screens/geofencing_status.dart | true | 200 | 5,005 | import 'dart:async';
import 'package:flutter/material.dart';
import 'package:geolocator/geolocator.dart';
import 'package:assistech/models/shared_preferences_service.dart';
import 'package:assistech/screens/api_service.dart'; // Asegúrate de importar tu ApiService
import 'package:http/http.dart' as http;
class GeoFenc... | 4 |
PhinoAppdev/localform | aaa6230 | form_submit/lib/main.dart | Dart | www.github.com/PhinoAppdev/localform/tree/main/form_submit/lib/main.dart | https://raw.githubusercontent.com/PhinoAppdev/localform/aaa6230/form_submit/lib/main.dart | PhinoAppdev/localform aaa6230 form_submit/lib/main.dart | true | 200 | 590 | import 'package:flutter/material.dart';
import 'package:form_submit/pages/navigation.dart';
// import 'package:form_submit_again/objectbox/objectbox.dart';
void main() async {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of your ap... | 0 |
kdy1242/joystick | 73eda72 | lib/view/page/ranking_page.dart | Dart | www.github.com/kdy1242/joystick/tree/main/lib/view/page/ranking_page.dart | https://raw.githubusercontent.com/kdy1242/joystick/73eda72/lib/view/page/ranking_page.dart | kdy1242/joystick 73eda72 lib/view/page/ranking_page.dart | true | 200 | 391 |
import 'package:flutter/material.dart';
class RankingPage extends StatelessWidget {
const RankingPage({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('랭킹'),
centerTitle: true,
backgroundColor: Colors.wh... | 7 |
Arun-pushpan/oops | 3e2528e | Q9.dart | Dart | www.github.com/Arun-pushpan/oops/tree/main/Q9.dart | https://raw.githubusercontent.com/Arun-pushpan/oops/3e2528e/Q9.dart | Arun-pushpan/oops 3e2528e Q9.dart | true | 200 | 1,638 | import 'dart:io';
class Pizza
{
String? pizzasize;
int? cheese;
int? pepperoni;
int? mushroom;
Pizza() {
cheese = 0;
pepperoni = 0;
mushroom = 0;
pizzasize = "small";
}
int CalculateCost()
{
var bill = 0;
if (pizzasize.toString().toLowerCase() == "small")
{
bill += 810 +... | 1 |
Nida3621e/Cookbook_flutterProject | 51bbd16 | lib/models/chat.dart | Dart | www.github.com/Nida3621e/Cookbook_flutterProject/tree/main/lib/models/chat.dart | https://raw.githubusercontent.com/Nida3621e/Cookbook_flutterProject/51bbd16/lib/models/chat.dart | Nida3621e/Cookbook_flutterProject 51bbd16 lib/models/chat.dart | true | 200 | 1,784 | import 'package:flutter/material.dart';
class ChatModule extends StatefulWidget {
const ChatModule({Key? key}) : super(key: key);
@override
State<ChatModule> createState() => _ChatModuleState();
}
class _ChatModuleState extends State<ChatModule> {
int count=0;
@override
Widget build(BuildContext context)... | 5 |
Flaudin/El-Musico-Mobile-App | 5fb3969 | lib/services/artist_services.dart | Dart | www.github.com/Flaudin/El-Musico-Mobile-App/tree/main/lib/services/artist_services.dart | https://raw.githubusercontent.com/Flaudin/El-Musico-Mobile-App/5fb3969/lib/services/artist_services.dart | Flaudin/El-Musico-Mobile-App 5fb3969 lib/services/artist_services.dart | true | 200 | 731 | import 'dart:convert';
import 'package:el_musico/api/api_constant.dart';
import 'package:el_musico/models/artist_model.dart';
import 'package:el_musico/services/web_services.dart';
import 'package:http/http.dart' as http;
class ArtistService {
WebService webService = WebService();
List<Artist> artistLists = [];
... | 3 |
prashant15-coder/pixel | 8fcdd4b | lib/widgets/custom_button.dart | Dart | www.github.com/prashant15-coder/pixel/tree/main/lib/widgets/custom_button.dart | https://raw.githubusercontent.com/prashant15-coder/pixel/8fcdd4b/lib/widgets/custom_button.dart | prashant15-coder/pixel 8fcdd4b lib/widgets/custom_button.dart | true | 200 | 968 | import 'package:flutter/material.dart';
import 'package:pixel/utils/colors.dart';
class CustomButton extends StatelessWidget {
final String text;
final VoidCallback onPressed;
const CustomButton({super.key,
required this.text,
required this.onPressed});
@override
Widget build(BuildContext context) {
... | 6 |
thisisdoanh/TTCSN_FLUTTER | fb07454 | traffic/lib/models/token.dart | Dart | www.github.com/thisisdoanh/TTCSN_FLUTTER/tree/main/traffic/lib/models/token.dart | https://raw.githubusercontent.com/thisisdoanh/TTCSN_FLUTTER/fb07454/traffic/lib/models/token.dart | thisisdoanh/TTCSN_FLUTTER fb07454 traffic/lib/models/token.dart | true | 200 | 520 | import 'package:json_annotation/json_annotation.dart';
part 'token.g.dart';
@JsonSerializable()
class Token {
String tokenType;
String accessToken;
String refreshToken;
List<Map<String, String>> authorities;
Token({
required this.tokenType,
required this.accessToken,
required this... | 2 |
DarilDev555/curso_flutter | a4d36a7 | app_cseiio/lib/infrastructure/repositories/users/users_repository_impl.dart | Dart | www.github.com/DarilDev555/curso_flutter/tree/main/app_cseiio/lib/infrastructure/repositories/users/users_repository_impl.dart | https://raw.githubusercontent.com/DarilDev555/curso_flutter/a4d36a7/app_cseiio/lib/infrastructure/repositories/users/users_repository_impl.dart | DarilDev555/curso_flutter a4d36a7 app_cseiio/lib/infrastructure/repositories/users/users_repository_impl.dart | true | 200 | 463 | import '../../../domain/datasources/users/users_datasource.dart';
import '../../../domain/entities/user.dart';
import '../../../domain/repositories/users/users_repository.dart';
class UsersRepositoryImpl extends UsersRepository {
final UsersDatasource usersDatasource;
UsersRepositoryImpl({required this.usersDatas... | 4 |
mhista/fintronic | 17b39ac | lib/features/discover/screens/widgets/news_update.dart | Dart | www.github.com/mhista/fintronic/tree/main/lib/features/discover/screens/widgets/news_update.dart | https://raw.githubusercontent.com/mhista/fintronic/17b39ac/lib/features/discover/screens/widgets/news_update.dart | mhista/fintronic 17b39ac lib/features/discover/screens/widgets/news_update.dart | true | 200 | 2,904 | import 'package:flutter/material.dart';
import '../../../../common/widgets/containers/rounded_container.dart';
import '../../../../common/widgets/images/edge_rounded_images.dart';
import '../../../../common/widgets/layouts/list_layout.dart';
import '../../../../utils/constants/colors.dart';
import '../../../../utils/c... | 0 |
iammaymaps/new_whatsapp_clone | b1c7c05 | lib/main.dart | Dart | www.github.com/iammaymaps/new_whatsapp_clone/tree/main/lib/main.dart | https://raw.githubusercontent.com/iammaymaps/new_whatsapp_clone/b1c7c05/lib/main.dart | iammaymaps/new_whatsapp_clone b1c7c05 lib/main.dart | true | 200 | 1,842 | import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:new_whatsapp_clone/colors.dart';
import 'package:new_whatsapp_clone/common/widgets/error.dart';
import 'package:new_whatsapp_clone/feature/auth/controller/a... | 1 |
Gustavoherber/projeto_final | 2692f59 | driveease_v1/lib/Model/corrida.dart | Dart | www.github.com/Gustavoherber/projeto_final/tree/main/driveease_v1/lib/Model/corrida.dart | https://raw.githubusercontent.com/Gustavoherber/projeto_final/2692f59/driveease_v1/lib/Model/corrida.dart | Gustavoherber/projeto_final 2692f59 driveease_v1/lib/Model/corrida.dart | true | 200 | 1,220 | class Corrida {
int? id;
String dataHoraStart;
double startKm;
String? dataHoraStop;
double? stopKm;
double? ganhos;
Corrida.start({
required this.dataHoraStart,
required this.startKm,
});
Corrida.stop({
this.id,
required this.dataHoraStart,
required this.startKm,
required th... | 7 |
JoeGeC/PokemonDbFlutter | c5a33c4 | data/test/mocks/pokedex_json_mocks.dart | Dart | www.github.com/JoeGeC/PokemonDbFlutter/tree/main/data/test/mocks/pokedex_json_mocks.dart | https://raw.githubusercontent.com/JoeGeC/PokemonDbFlutter/c5a33c4/data/test/mocks/pokedex_json_mocks.dart | JoeGeC/PokemonDbFlutter c5a33c4 data/test/mocks/pokedex_json_mocks.dart | true | 200 | 802 | class PokedexJsonMocks {
static Map<String, dynamic> pokedexListJson(String pokedexName1,
String pokedexUrl1, String pokedexName2, String pokedexUrl2) =>
{
"count": 32,
"next": null,
"previous": null,
"results": [
{"name": pokedexName1, "url": pokedexUrl1},
... | 5 |
Nithin-47/queue_buster_store_partner | c1fcc8f | lib/pages/menu_add.dart | Dart | www.github.com/Nithin-47/queue_buster_store_partner/tree/main/lib/pages/menu_add.dart | https://raw.githubusercontent.com/Nithin-47/queue_buster_store_partner/c1fcc8f/lib/pages/menu_add.dart | Nithin-47/queue_buster_store_partner c1fcc8f lib/pages/menu_add.dart | true | 200 | 4,286 | import 'dart:io';
import 'package:get_it/get_it.dart';
import 'package:go_router/go_router.dart';
import 'package:image_picker/image_picker.dart';
import 'package:flutter/material.dart';
import 'package:queue_buster_store_partner/constants/route_names.dart';
import 'package:supabase_flutter/supabase_flutter.dart';
impo... | 6 |
keerthana2331/notifier_flutter | f81c091 | lib/main.dart | Dart | www.github.com/keerthana2331/notifier_flutter/tree/main/lib/main.dart | https://raw.githubusercontent.com/keerthana2331/notifier_flutter/f81c091/lib/main.dart | keerthana2331/notifier_flutter f81c091 lib/main.dart | true | 200 | 506 | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'counter_page.dart';
import 'counter_model.dart';
void main() {
runApp(
ChangeNotifierProvider(
create: (context) => CounterModel(),
child: const MyApp(),
),
);
}
class MyApp extends StatelessWidget {
con... | 2 |
kseniia-movchan/lr3 | 16e4905 | lib/widgets/students.dart | Dart | www.github.com/kseniia-movchan/lr3/tree/main/lib/widgets/students.dart | https://raw.githubusercontent.com/kseniia-movchan/lr3/16e4905/lib/widgets/students.dart | kseniia-movchan/lr3 16e4905 lib/widgets/students.dart | true | 200 | 3,283 | import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:kseniia_sksm_24_1/models/student.dart';
import 'package:kseniia_sksm_24_1/providers/student_provider.dart';
import 'package:kseniia_sksm_24_1/widgets/new_student.dart';
import 'package:kseniia_sksm_24_1... | 4 |
phanvungoc96/firstflutter | 4187a6e | lib/screens/detail/bottomModal.dart | Dart | www.github.com/phanvungoc96/firstflutter/tree/main/lib/screens/detail/bottomModal.dart | https://raw.githubusercontent.com/phanvungoc96/firstflutter/4187a6e/lib/screens/detail/bottomModal.dart | phanvungoc96/firstflutter 4187a6e lib/screens/detail/bottomModal.dart | true | 200 | 4,897 | // ignore_for_file: file_names
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import '../../blocs/profile/profile_bloc.dart';
class LoginType extends StatelessWidget {
final titleController = TextEditingController();
final amountController = TextEditingController();
L... | 3 |
shresta-kalla/caltrack | f72f67e | lib/view_models/user_specific_view_model.dart | Dart | www.github.com/shresta-kalla/caltrack/tree/main/lib/view_models/user_specific_view_model.dart | https://raw.githubusercontent.com/shresta-kalla/caltrack/f72f67e/lib/view_models/user_specific_view_model.dart | shresta-kalla/caltrack f72f67e lib/view_models/user_specific_view_model.dart | true | 200 | 3,808 | import 'package:flutter/cupertino.dart';
import '../models/users.dart';
final Map<String, Users> initialData = {
"sarah02": Users(
firstName: "Sarah",
lastName: "John",
userName: "sarah02",
password: "securePassword1",
age: "21",
height: "64",
weight: "110",
gender: "Female",
),
... | 0 |
luuminhnhat12/food_ordering_app | e0007e3 | lib/view/more screen/screen_notification.dart | Dart | www.github.com/luuminhnhat12/food_ordering_app/tree/main/lib/view/more screen/screen_notification.dart | https://raw.githubusercontent.com/luuminhnhat12/food_ordering_app/e0007e3/lib/view/more%20screen/screen_notification.dart | luuminhnhat12/food_ordering_app e0007e3 lib/view/more screen/screen_notification.dart | true | 200 | 2,353 | import 'package:flutter/material.dart';
import 'package:flutter_application_food_ordering/data/data.dart';
import 'package:flutter_application_food_ordering/model/model_notification.dart';
class ScreenNotification extends StatefulWidget {
const ScreenNotification({super.key});
@override
State<ScreenNotification>... | 1 |
MridulVij/todo-list---project | 3fa2a39 | lib/main.dart | Dart | www.github.com/MridulVij/todo-list---project/tree/main/lib/main.dart | https://raw.githubusercontent.com/MridulVij/todo-list---project/3fa2a39/lib/main.dart | MridulVij/todo-list---project 3fa2a39 lib/main.dart | true | 200 | 539 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'src/views/todolist_homepage.dart';
//import 'package:flutter_native_splash/flutter_native_splash.dart';
void main() {
runApp(const MainApp());
}
//const orng = Colors.orange;
class MainApp extends StatelessWidget {
const MainApp({supe... | 5 |
mshariqq/SHARIQQ-MULTIVENDOR-ECOM-FLUTTER-USER-APP | c2d5813 | lib/view/basewidget/custom_app_bar.dart | Dart | www.github.com/mshariqq/SHARIQQ-MULTIVENDOR-ECOM-FLUTTER-USER-APP/tree/main/lib/view/basewidget/custom_app_bar.dart | https://raw.githubusercontent.com/mshariqq/SHARIQQ-MULTIVENDOR-ECOM-FLUTTER-USER-APP/c2d5813/lib/view/basewidget/custom_app_bar.dart | mshariqq/SHARIQQ-MULTIVENDOR-ECOM-FLUTTER-USER-APP c2d5813 lib/view/basewidget/custom_app_bar.dart | true | 200 | 2,919 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:shariqq_multivendor_ecom_userapp/provider/theme_provider.dart';
import 'package:shariqq_multivendor_ecom_userapp/utill/custom_themes.dart';
import 'package:shariqq_multivendor_ecom_userapp/utill/dimensions.dart';
import 'pa... | 7 |
ThiyagarajRKO/beautysleep | a3ba8a2 | lib/Components/SleepAnalyser/HeartRateTrackingGraph.dart | Dart | www.github.com/ThiyagarajRKO/beautysleep/tree/main/lib/Components/SleepAnalyser/HeartRateTrackingGraph.dart | https://raw.githubusercontent.com/ThiyagarajRKO/beautysleep/a3ba8a2/lib/Components/SleepAnalyser/HeartRateTrackingGraph.dart | ThiyagarajRKO/beautysleep a3ba8a2 lib/Components/SleepAnalyser/HeartRateTrackingGraph.dart | true | 200 | 5,488 | import 'package:date_format/date_format.dart';
import 'package:fl_chart/fl_chart.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import '../../Controller/HomeController.dart';
import '../../ModelResponse/WithingsSleepResponseData.dart';
import '../../Utilis/theme.dart';
class Heartratetr... | 6 |
godspeedapps/synthecure-medical-app | 3738b2f | lib/src/features/entries/entries.dart | Dart | www.github.com/godspeedapps/synthecure-medical-app/tree/main/lib/src/features/entries/entries.dart | https://raw.githubusercontent.com/godspeedapps/synthecure-medical-app/3738b2f/lib/src/features/entries/entries.dart | godspeedapps/synthecure-medical-app 3738b2f lib/src/features/entries/entries.dart | true | 200 | 3,138 | import 'package:cupertino_modal_sheet/cupertino_modal_sheet.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:go_router/go_router.dart';
import 'package:intl/intl.dart';
import 'package:synthecure/src/constan... | 2 |
Amarj234/apeejay_crew_management | 32bc90f | lib/screen/commonwidget/costum_snackbar.dart | Dart | www.github.com/Amarj234/apeejay_crew_management/tree/main/lib/screen/commonwidget/costum_snackbar.dart | https://raw.githubusercontent.com/Amarj234/apeejay_crew_management/32bc90f/lib/screen/commonwidget/costum_snackbar.dart | Amarj234/apeejay_crew_management 32bc90f lib/screen/commonwidget/costum_snackbar.dart | true | 200 | 561 | import 'package:flutter/material.dart';
import '../../utils/color.dart';
class CostomSnackbar {
static show(BuildContext context, String txt, {Color color = AppColor.main}) {
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
//padding: EdgeInsets.only(top: 50),
backgroundColor: color,... | 0 |
codeursympa2/maecha-tasks | 899505d | lib/src/features/task/presentation/pages/profile_page.dart | Dart | www.github.com/codeursympa2/maecha-tasks/tree/main/lib/src/features/task/presentation/pages/profile_page.dart | https://raw.githubusercontent.com/codeursympa2/maecha-tasks/899505d/lib/src/features/task/presentation/pages/profile_page.dart | codeursympa2/maecha-tasks 899505d lib/src/features/task/presentation/pages/profile_page.dart | true | 200 | 2,249 | import 'dart:ui';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:heroicons/heroicons.dart';
import 'package:maecha_tasks/src/constants/colors/light_mode/light_mode_colors.dart';
imp... | 3 |
FarelcoFelda/UTS_PEMROGRAMANMOBILE | c2f745e | lib/profil.dart | Dart | www.github.com/FarelcoFelda/UTS_PEMROGRAMANMOBILE/tree/main/lib/profil.dart | https://raw.githubusercontent.com/FarelcoFelda/UTS_PEMROGRAMANMOBILE/c2f745e/lib/profil.dart | FarelcoFelda/UTS_PEMROGRAMANMOBILE c2f745e lib/profil.dart | true | 200 | 1,181 | import 'package:flutter/material.dart';
class Profil {
String nama;
String ttl;
String alamat;
String nohp;
String email;
String profilegithub;
String riwayatpendidikan;
String penghargaan;
String gambar;
Profil({
required this.nama,
required this.ttl,
required this.alamat,
require... | 1 |
Khakberdi/test-dart | 0cd37b7 | dart test/server9.dart | Dart | www.github.com/Khakberdi/test-dart/tree/main/dart test/server9.dart | https://raw.githubusercontent.com/Khakberdi/test-dart/0cd37b7/dart%20test/server9.dart | Khakberdi/test-dart 0cd37b7 dart test/server9.dart | true | 200 | 304 | import 'dart:io';
void main() async {
var server = await HttpServer.bind(InternetAddress.anyIPv6, 8888);
print("Сервер запущен...");
await server.forEach((HttpRequest request) {
var response = request.response;
response.write(DateTime.now());
response.close();
});
} | 5 |
Rakhmonov-iq/homework | 35c388a | engine/src/flutter/testing/scenario_app/bin/run_android_tests.dart | Dart | www.github.com/Rakhmonov-iq/homework/tree/main/engine/src/flutter/testing/scenario_app/bin/run_android_tests.dart | https://raw.githubusercontent.com/Rakhmonov-iq/homework/35c388a/engine/src/flutter/testing/scenario_app/bin/run_android_tests.dart | Rakhmonov-iq/homework 35c388a engine/src/flutter/testing/scenario_app/bin/run_android_tests.dart | true | 200 | 23,110 | // Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'package:dir_contents_diff/dir_contents_diff.dart' show dirContentsDiff;
import 'pack... | 6 |
reyhanlioglu/flutter_edd | f1baa72 | example/lib/core/deep_link/deep_link_interpreter.dart | Dart | www.github.com/reyhanlioglu/flutter_edd/tree/main/example/lib/core/deep_link/deep_link_interpreter.dart | https://raw.githubusercontent.com/reyhanlioglu/flutter_edd/f1baa72/example/lib/core/deep_link/deep_link_interpreter.dart | reyhanlioglu/flutter_edd f1baa72 example/lib/core/deep_link/deep_link_interpreter.dart | true | 200 | 564 | import 'package:example/core/deep_link/deep_link_event_type.dart';
import 'package:example/core/deep_link/usecases/process_hotel_suggestion_deep_link_event_use_case.dart';
import 'package:jwt_decode/jwt_decode.dart';
class DeepLinkInterpreter {
void interpretFromJwt(String jwtData) {
final data = Jwt.parseJwt(jw... | 4 |
KnightAssistUCF/KnightAssist-Mobile-App | 53b4dbe | knightassist_mobile_app/lib/src/features/authentication/presentation/sign_in/sign_in_controller.dart | Dart | www.github.com/KnightAssistUCF/KnightAssist-Mobile-App/tree/main/knightassist_mobile_app/lib/src/features/authentication/presentation/sign_in/sign_in_controller.dart | https://raw.githubusercontent.com/KnightAssistUCF/KnightAssist-Mobile-App/53b4dbe/knightassist_mobile_app/lib/src/features/authentication/presentation/sign_in/sign_in_controller.dart | KnightAssistUCF/KnightAssist-Mobile-App 53b4dbe knightassist_mobile_app/lib/src/features/authentication/presentation/sign_in/sign_in_controller.dart | true | 200 | 760 | import 'dart:async';
import 'package:knightassist_mobile_app/src/features/authentication/data/auth_repository.dart';
import 'package:riverpod_annotation/riverpod_annotation.dart';
part 'sign_in_controller.g.dart';
@riverpod
class SignInController extends _$SignInController {
@override
FutureOr<void> build() {
... | 2 |
jianghaifei/openjhf | b8b869b | lib/widget/analytics/analytics_dining_table_card/analytics_dining_table_card_view.dart | Dart | www.github.com/jianghaifei/openjhf/tree/main/lib/widget/analytics/analytics_dining_table_card/analytics_dining_table_card_view.dart | https://raw.githubusercontent.com/jianghaifei/openjhf/b8b869b/lib/widget/analytics/analytics_dining_table_card/analytics_dining_table_card_view.dart | jianghaifei/openjhf b8b869b lib/widget/analytics/analytics_dining_table_card/analytics_dining_table_card_view.dart | true | 200 | 8,040 | import 'package:auto_size_text/auto_size_text.dart';
import 'package:flutter/material.dart';
import 'package:flutter_report_project/widget/analytics/analytics_dining_table_card/analytics_dining_table_card_state.dart';
import 'package:flutter_report_project/widget/analytics/stores_pk/stores_data_grid_subview/stores_data... | 0 |
goldenmoon67/ideasoft_case_shopping | 7a790b6 | lib/src/data/services/interceptors/auth_interceptor.dart | Dart | www.github.com/goldenmoon67/ideasoft_case_shopping/tree/main/lib/src/data/services/interceptors/auth_interceptor.dart | https://raw.githubusercontent.com/goldenmoon67/ideasoft_case_shopping/7a790b6/lib/src/data/services/interceptors/auth_interceptor.dart | goldenmoon67/ideasoft_case_shopping 7a790b6 lib/src/data/services/interceptors/auth_interceptor.dart | true | 200 | 2,462 | import 'package:ideasoft_case_project_shop/src/data/errors/error_model.dart';
import 'package:dio/dio.dart';
// Dio Interceptor for Bearer AccessToken
class AuthInterceptor extends Interceptor {
// final OAuth _oauth;
final Dio _dio;
void Function(Exception error)? onInvalid;
AuthInterceptor(/* this._oauth ,*... | 3 |
shihabLuminar/api_integration_sample_july | affb036 | lib/main.dart | Dart | www.github.com/shihabLuminar/api_integration_sample_july/tree/main/lib/main.dart | https://raw.githubusercontent.com/shihabLuminar/api_integration_sample_july/affb036/lib/main.dart | shihabLuminar/api_integration_sample_july affb036 lib/main.dart | true | 200 | 865 | import 'package:api_integration_sample/controller/facts_screen_controller.dart';
import 'package:api_integration_sample/controller/nationalise_api_screen_controller.dart';
import 'package:api_integration_sample/view/facts_screen/facts_screen.dart';
import 'package:flutter/material.dart';
import 'package:provider/provid... | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.