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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
MosabShabat/quter_api | 67cf247 | lib/api/controllers/api_helper.dart | Dart | www.github.com/MosabShabat/quter_api/tree/main/lib/api/controllers/api_helper.dart | https://raw.githubusercontent.com/MosabShabat/quter_api/67cf247/lib/api/controllers/api_helper.dart | MosabShabat/quter_api 67cf247 lib/api/controllers/api_helper.dart | true | 200 | 450 | import 'dart:io';
import 'package:get_storage/get_storage.dart';
import 'package:quter_api/api/models/api_response.dart';
class ApiHelper {
APIResponse get failedResponse =>
APIResponse(message: 'Something went wrong, try again', success: false);
Map<String, String> get headers {
return {
HttpHead... | 6 |
fzl-22/clean-architecture | d72ac84 | lib/src/authentication/data/repositories/authentication_repository_implementation.dart | Dart | www.github.com/fzl-22/clean-architecture/tree/main/lib/src/authentication/data/repositories/authentication_repository_implementation.dart | https://raw.githubusercontent.com/fzl-22/clean-architecture/d72ac84/lib/src/authentication/data/repositories/authentication_repository_implementation.dart | fzl-22/clean-architecture d72ac84 lib/src/authentication/data/repositories/authentication_repository_implementation.dart | true | 200 | 1,687 | import 'package:dartz/dartz.dart';
import 'package:tdd_tutorial/core/errors/exceptions.dart';
import 'package:tdd_tutorial/core/errors/failure.dart';
import 'package:tdd_tutorial/core/utils/typedef.dart';
import 'package:tdd_tutorial/src/authentication/data/datasources/authentication_remote_data_source.dart';
import 'p... | 0 |
NoorAldeen233/trip-app-flutter | 408f924 | tourist/lib/screen/tap_screen.dart | Dart | www.github.com/NoorAldeen233/trip-app-flutter/tree/main/tourist/lib/screen/tap_screen.dart | https://raw.githubusercontent.com/NoorAldeen233/trip-app-flutter/408f924/tourist/lib/screen/tap_screen.dart | NoorAldeen233/trip-app-flutter 408f924 tourist/lib/screen/tap_screen.dart | true | 200 | 1,688 | import 'package:flutter/material.dart';
import '../models/trips.dart';
import '../widgets/drawer_screen.dart';
import '../screen/faverd_screen.dart';
import 'catogories_screen.dart';
class TabSceeen extends StatefulWidget {
TabSceeen(this.favredTrips);
final List<Trip>favredTrips;
@override
State<TabSceeen> cr... | 4 |
danilloism/elas_promocoes | 57d8619 | lib/features/promocoes/service/promocoes_service.dart | Dart | www.github.com/danilloism/elas_promocoes/tree/main/lib/features/promocoes/service/promocoes_service.dart | https://raw.githubusercontent.com/danilloism/elas_promocoes/57d8619/lib/features/promocoes/service/promocoes_service.dart | danilloism/elas_promocoes 57d8619 lib/features/promocoes/service/promocoes_service.dart | true | 200 | 3,063 | import 'dart:typed_data';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:elas_promocoes/core/const.dart';
import 'package:elas_promocoes/features/promocoes/model/promocao_model.dart';
import 'package:firebase_storage/firebase_storage.dart';
class PromocoesService {
final CollectionReference<... | 2 |
Manish-Kumarr/testing | 8beb30e | lib/consultations/model/appoinment_model.dart | Dart | www.github.com/Manish-Kumarr/testing/tree/main/lib/consultations/model/appoinment_model.dart | https://raw.githubusercontent.com/Manish-Kumarr/testing/8beb30e/lib/consultations/model/appoinment_model.dart | Manish-Kumarr/testing 8beb30e lib/consultations/model/appoinment_model.dart | true | 200 | 920 | class AppoinmentModel {
final String name;
final String time;
final String date;
// final String id;
final String psychologistImage;
final String type;
final int price;
final String about;
final String recommendations;
AppoinmentModel({
required this.name,
required this.time,
required t... | 1 |
rawinnipababe/week3_650710713 | 3137e26 | lib/answer4.dart | Dart | www.github.com/rawinnipababe/week3_650710713/tree/main/lib/answer4.dart | https://raw.githubusercontent.com/rawinnipababe/week3_650710713/3137e26/lib/answer4.dart | rawinnipababe/week3_650710713 3137e26 lib/answer4.dart | true | 200 | 3,622 | import 'package:flutter/material.dart';
import 'package:pp/main.dart';
class ProfilePage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('Profile Page'),
backgroundColor: Colors.orange,
),
body: Column(
... | 5 |
sowravroyjoy/pharmacymanagement | 2d7667b | lib/models/company.dart | Dart | www.github.com/sowravroyjoy/pharmacymanagement/tree/main/lib/models/company.dart | https://raw.githubusercontent.com/sowravroyjoy/pharmacymanagement/2d7667b/lib/models/company.dart | sowravroyjoy/pharmacymanagement 2d7667b lib/models/company.dart | true | 200 | 1,039 |
import 'package:cloud_firestore/cloud_firestore.dart';
class Company {
FieldValue? timeStamp;
String? companyID;
String? name;
String? itemName;
String? itemStatus;
String? itemPrice;
String? itemQuantity;
String? docID;
Company({
this.timeStamp,
this.companyID,
this.name,
this.ite... | 3 |
yangwushuo/flutter_nba | 9cb07c3 | lib/pages/more/view.dart | Dart | www.github.com/yangwushuo/flutter_nba/tree/main/lib/pages/more/view.dart | https://raw.githubusercontent.com/yangwushuo/flutter_nba/9cb07c3/lib/pages/more/view.dart | yangwushuo/flutter_nba 9cb07c3 lib/pages/more/view.dart | true | 200 | 3,232 | /*
* @Author: 杨武硕
* @Date: 2023-09-25 00:49:57
* @LastEditors: 杨武硕
* @LastEditTime: 2023-09-30 18:16:59
* @Descripttion:
*/
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:go_router/go_router.dart';
import 'package:nba/common/index.dart';
impor... | 6 |
simonyathi1/simo_personal_website | a30ffdd | lib/modules/home/widgets/navigation/common/social_item_widget.dart | Dart | www.github.com/simonyathi1/simo_personal_website/tree/main/lib/modules/home/widgets/navigation/common/social_item_widget.dart | https://raw.githubusercontent.com/simonyathi1/simo_personal_website/a30ffdd/lib/modules/home/widgets/navigation/common/social_item_widget.dart | simonyathi1/simo_personal_website a30ffdd lib/modules/home/widgets/navigation/common/social_item_widget.dart | true | 200 | 1,086 |
import 'package:flutter/material.dart';
class SocialItemWidget extends StatefulWidget {
final String imageUrl;
final Color originalColor;
const SocialItemWidget({super.key, required this.imageUrl, required this.originalColor});
@override
State<SocialItemWidget> createState() => _SocialItemWidgetState(color... | 7 |
BA-EAD/TODO | e02a626 | lib/feat_todo/widgets/custom_text_field.dart | Dart | www.github.com/BA-EAD/TODO/tree/main/lib/feat_todo/widgets/custom_text_field.dart | https://raw.githubusercontent.com/BA-EAD/TODO/e02a626/lib/feat_todo/widgets/custom_text_field.dart | BA-EAD/TODO e02a626 lib/feat_todo/widgets/custom_text_field.dart | true | 200 | 3,678 | import 'package:to_do_app/utils/app_imports.dart';
///CustomText Field with box decorations
class CustomTextField extends StatelessWidget {
const CustomTextField(
{super.key,
required this.controller,
required this.title,
required this.validator,
required this.hintText,
this.readO... | 0 |
yash-anbhore-selldo/Flutter_Projects | 12d1ba5 | api/lib/modalclass.dart | Dart | www.github.com/yash-anbhore-selldo/Flutter_Projects/tree/main/api/lib/modalclass.dart | https://raw.githubusercontent.com/yash-anbhore-selldo/Flutter_Projects/12d1ba5/api/lib/modalclass.dart | yash-anbhore-selldo/Flutter_Projects 12d1ba5 api/lib/modalclass.dart | true | 200 | 844 | import 'package:json_annotation/json_annotation.dart';
part 'modalclass.g.dart';
//flutter pub run build_runner build run this until then it show error for the _$StudnetFromJson(json)
@JsonSerializable()
class Student {
int rno;
String name;
int marks;
String branch;
Student(
{required this.name,
... | 4 |
NataliyaKoval/anime_new | 7837535 | lib/presentation/screens/single_anime_screen/bloc/single_anime_screen_bloc.dart | Dart | www.github.com/NataliyaKoval/anime_new/tree/main/lib/presentation/screens/single_anime_screen/bloc/single_anime_screen_bloc.dart | https://raw.githubusercontent.com/NataliyaKoval/anime_new/7837535/lib/presentation/screens/single_anime_screen/bloc/single_anime_screen_bloc.dart | NataliyaKoval/anime_new 7837535 lib/presentation/screens/single_anime_screen/bloc/single_anime_screen_bloc.dart | true | 200 | 1,651 | import 'dart:async';
import 'package:anime_new/domain/models/models.dart';
import 'package:anime_new/presentation/screens/single_anime_screen/usecase/get_anime_characters.dart';
import 'package:anime_new/presentation/screens/single_anime_screen/usecase/toggle_favorites_usecase.dart';
import 'package:bloc/bloc.dart';
i... | 2 |
ooz-zoo/Emergency_Response_System | 58b4514 | lib/pages/ern/firebase_helper_service.dart | Dart | www.github.com/ooz-zoo/Emergency_Response_System/tree/main/lib/pages/ern/firebase_helper_service.dart | https://raw.githubusercontent.com/ooz-zoo/Emergency_Response_System/58b4514/lib/pages/ern/firebase_helper_service.dart | ooz-zoo/Emergency_Response_System 58b4514 lib/pages/ern/firebase_helper_service.dart | true | 200 | 800 | import 'package:cloud_firestore/cloud_firestore.dart';
class FirebaseService {
static Future<void> storeDailyAverage(String userId, String day, double averageSafetyScore) async {
final week = getCurrentWeek();
await FirebaseFirestore.instance
.collection('users')
.doc(userId)
... | 5 |
GiteshShimpy/HRM-human-resourse-management-system | 8236767 | lib/Screens/success_page.dart | Dart | www.github.com/GiteshShimpy/HRM-human-resourse-management-system/tree/main/lib/Screens/success_page.dart | https://raw.githubusercontent.com/GiteshShimpy/HRM-human-resourse-management-system/8236767/lib/Screens/success_page.dart | GiteshShimpy/HRM-human-resourse-management-system 8236767 lib/Screens/success_page.dart | true | 200 | 2,684 | import 'package:flutter/src/foundation/key.dart';
import 'package:flutter/src/widgets/framework.dart';
import 'package:flutter/material.dart';
import 'package:hrm_satya_kabir/Screens/employee_details.dart';
import 'package:hrm_satya_kabir/Screens/timer_start.dart';
class SuccessScreen extends StatelessWidget {
... | 1 |
Aji46/3r_creative | 72d7f14 | lib/Controller/Services/News_service.dart | Dart | www.github.com/Aji46/3r_creative/tree/main/lib/Controller/Services/News_service.dart | https://raw.githubusercontent.com/Aji46/3r_creative/72d7f14/lib/Controller/Services/News_service.dart | Aji46/3r_creative 72d7f14 lib/Controller/Services/News_service.dart | true | 200 | 1,736 |
import 'dart:convert';
import 'package:flutter/foundation.dart';
import 'package:flutter_dotenv/flutter_dotenv.dart';
import 'package:http/http.dart' as http;
import 'package:r_creative/model/Get_news_Model.dart';
class NewsService {
static String API_BASE_URL = dotenv.env['API_BASE_URL'] ?? "";
static Strin... | 3 |
aleiin/wtoolset | a8811c8 | lib/draw/painter_badge/painter_badge_paint.dart | Dart | www.github.com/aleiin/wtoolset/tree/main/lib/draw/painter_badge/painter_badge_paint.dart | https://raw.githubusercontent.com/aleiin/wtoolset/a8811c8/lib/draw/painter_badge/painter_badge_paint.dart | aleiin/wtoolset a8811c8 lib/draw/painter_badge/painter_badge_paint.dart | true | 200 | 4,578 | import 'package:flutter/material.dart';
class PainterBadgePaint extends CustomPainter {
const PainterBadgePaint({
this.bgColor = Colors.blue,
this.text = '角标',
this.textStyle,
this.horizontal = 2,
this.vertical = 4,
this.alignment = Alignment.centerLeft,
this.isQuadraticBezier = true,
... | 6 |
gustavomoda/app_movie_challenge | 877773a | lib/src/features/movies/presenters/controllers/movies_bloc.dart | Dart | www.github.com/gustavomoda/app_movie_challenge/tree/main/lib/src/features/movies/presenters/controllers/movies_bloc.dart | https://raw.githubusercontent.com/gustavomoda/app_movie_challenge/877773a/lib/src/features/movies/presenters/controllers/movies_bloc.dart | gustavomoda/app_movie_challenge 877773a lib/src/features/movies/presenters/controllers/movies_bloc.dart | true | 200 | 2,137 | import 'dart:async';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:injectable/injectable.dart';
import '../../../../shared/externals/app_logger.dart';
import '../../domains/entities/movie.dart';
import '../../domains/use_cases/fetch_movies_use_case.dart';
import '_movies_event.dart';
import '_movie... | 7 |
karlo-rusovan/tic_tac_toe | 678de6b | lib/domain/repositories/user_repository.dart | Dart | www.github.com/karlo-rusovan/tic_tac_toe/tree/main/lib/domain/repositories/user_repository.dart | https://raw.githubusercontent.com/karlo-rusovan/tic_tac_toe/678de6b/lib/domain/repositories/user_repository.dart | karlo-rusovan/tic_tac_toe 678de6b lib/domain/repositories/user_repository.dart | true | 200 | 798 | import 'package:http/http.dart' as http;
import 'dart:convert' as convert;
import '../models/user_model.dart';
class UserRepository {
Future<List<UserModel>?> getPlayers({String? token, int limit = 10, int offset = 0}) async {
var url = Uri.https('tictactoe.aboutdream.io', '/users/', {'limit': '$limit',... | 0 |
dbsmsen/weather_app_using_api | a6ec259 | lib/pages/weather_page.dart | Dart | www.github.com/dbsmsen/weather_app_using_api/tree/main/lib/pages/weather_page.dart | https://raw.githubusercontent.com/dbsmsen/weather_app_using_api/a6ec259/lib/pages/weather_page.dart | dbsmsen/weather_app_using_api a6ec259 lib/pages/weather_page.dart | true | 200 | 4,491 | import 'package:flutter/material.dart';
import 'package:lottie/lottie.dart';
import 'package:weather_app/services/weather_service.dart';
import '../model/weather_model.dart';
class WeatherPage extends StatefulWidget{
const WeatherPage ({super.key});
@override
State<WeatherPage> createState() => _WeatherPageSt... | 4 |
iArgho/crafty_bay_ecommerce_flutter | 56511d5 | lib/presentation/UI/widget/section_header.dart | Dart | www.github.com/iArgho/crafty_bay_ecommerce_flutter/tree/main/lib/presentation/UI/widget/section_header.dart | https://raw.githubusercontent.com/iArgho/crafty_bay_ecommerce_flutter/56511d5/lib/presentation/UI/widget/section_header.dart | iArgho/crafty_bay_ecommerce_flutter 56511d5 lib/presentation/UI/widget/section_header.dart | true | 200 | 687 | import 'package:flutter/material.dart';
class SectionHeader extends StatelessWidget {
const SectionHeader({
super.key,
required this.title,
required this.onTap,
});
final String title;
final VoidCallback onTap;
@override
Widget build(BuildContext context) {
return Row(
mainAxisAlignm... | 2 |
hitesh787/calucation | 1b830ca | lib/control_flow_programs/armstrongnumbersfortwointegers.dart | Dart | www.github.com/hitesh787/calucation/tree/main/lib/control_flow_programs/armstrongnumbersfortwointegers.dart | https://raw.githubusercontent.com/hitesh787/calucation/1b830ca/lib/control_flow_programs/armstrongnumbersfortwointegers.dart | hitesh787/calucation 1b830ca lib/control_flow_programs/armstrongnumbersfortwointegers.dart | true | 200 | 2,493 | // ignore_for_file: library_private_types_in_public_api
import 'dart:math';
import 'package:flutter/material.dart';
class ArmstrongNumbersForTwoIntegers extends StatefulWidget {
const ArmstrongNumbersForTwoIntegers({super.key});
@override
_ArmstrongNumbersForTwoIntegersState createState() => _ArmstrongNumbers... | 1 |
Wenell09/flutter-topdown | aaa487c | lib/pages/splash_page.dart | Dart | www.github.com/Wenell09/flutter-topdown/tree/main/lib/pages/splash_page.dart | https://raw.githubusercontent.com/Wenell09/flutter-topdown/aaa487c/lib/pages/splash_page.dart | Wenell09/flutter-topdown aaa487c lib/pages/splash_page.dart | true | 200 | 1,882 | // ignore_for_file: use_build_context_synchronously
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:topdown_store/bloc/save_userId/save_user_id_bloc.dart';
import 'package:topdown_store/pages/admin_home_page.dart';
import 'package:topdown_store/pages/navigation_p... | 5 |
FlutterAppByManikanta/SQFlite | 303f8c2 | lib/database/DBHelper.dart | Dart | www.github.com/FlutterAppByManikanta/SQFlite/tree/main/lib/database/DBHelper.dart | https://raw.githubusercontent.com/FlutterAppByManikanta/SQFlite/303f8c2/lib/database/DBHelper.dart | FlutterAppByManikanta/SQFlite 303f8c2 lib/database/DBHelper.dart | true | 200 | 2,912 | import 'package:path/path.dart';
import 'package:sqflite/sqflite.dart';
import 'package:student_sqfiter/model/Student.dart';
class DBHelper {
static final DBHelper instance = DBHelper.myOwnInstance();
static Database? database;
factory DBHelper() => instance;
DBHelper.myOwnInstance();
// Get the database... | 3 |
Pongnakorn16/mobile_features | 404009b | lib/pages/firebase.dart | Dart | www.github.com/Pongnakorn16/mobile_features/tree/main/lib/pages/firebase.dart | https://raw.githubusercontent.com/Pongnakorn16/mobile_features/404009b/lib/pages/firebase.dart | Pongnakorn16/mobile_features 404009b lib/pages/firebase.dart | true | 200 | 3,544 | import 'dart:async';
import 'dart:developer';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/material.dart';
import 'package:get/get_core/src/get_main.dart';
import 'package:get/get_navigation/get_navigation.dart';
import 'package:mobile_features/shared/appdata.dart';
import 'package:pr... | 6 |
forgot-your-resume/app-general | 70d964a | lib/features/meetings/create/create_meeting_page.dart | Dart | www.github.com/forgot-your-resume/app-general/tree/main/lib/features/meetings/create/create_meeting_page.dart | https://raw.githubusercontent.com/forgot-your-resume/app-general/70d964a/lib/features/meetings/create/create_meeting_page.dart | forgot-your-resume/app-general 70d964a lib/features/meetings/create/create_meeting_page.dart | true | 200 | 2,380 | import 'package:flutter/material.dart';
import 'package:forgot_your_resume/core/utils/mvp_extensions.dart';
import 'package:forgot_your_resume/features/meetings/create/create_meeting_presentation_view_state.dart';
import 'package:forgot_your_resume/features/meetings/create/create_meeting_view_model.dart';
import 'packa... | 7 |
leej1230/Reposer | c0836f9 | lib/components/componentCards.dart | Dart | www.github.com/leej1230/Reposer/tree/main/lib/components/componentCards.dart | https://raw.githubusercontent.com/leej1230/Reposer/c0836f9/lib/components/componentCards.dart | leej1230/Reposer c0836f9 lib/components/componentCards.dart | true | 200 | 6,445 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:reposer/entities/sessionThemeTranslate.dart';
import 'package:reposer/sessionScreen.dart';
import 'card.dart';
import 'textStyleComponents.dart';
import 'package:reposer/entities/constants.dart';
import 'package:flutter_gen... | 0 |
congsenpai/parking-app-Bloc | de42360 | lib/screens/monthlyParkage/ChoosendSpots.dart | Dart | www.github.com/congsenpai/parking-app-Bloc/tree/main/lib/screens/monthlyParkage/ChoosendSpots.dart | https://raw.githubusercontent.com/congsenpai/parking-app-Bloc/de42360/lib/screens/monthlyParkage/ChoosendSpots.dart | congsenpai/parking-app-Bloc de42360 lib/screens/monthlyParkage/ChoosendSpots.dart | true | 200 | 2,208 | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:project_smart_parking_app/models/parking_spot_model.dart';
import 'package:project_smart_parking_app/models/user_model.dart';
import 'package:project_smart_parking_app/repositories/parking_spot_repository.dart';
import '../../widget... | 4 |
LukaMel-B/Translation-app-sample | 0bf0db9 | translation_app/lib/app/data/models/translate_model.dart | Dart | www.github.com/LukaMel-B/Translation-app-sample/tree/main/translation_app/lib/app/data/models/translate_model.dart | https://raw.githubusercontent.com/LukaMel-B/Translation-app-sample/0bf0db9/translation_app/lib/app/data/models/translate_model.dart | LukaMel-B/Translation-app-sample 0bf0db9 translation_app/lib/app/data/models/translate_model.dart | true | 200 | 1,286 | // To parse this JSON data, do
//
// final translate = translateFromJson(jsonString);
import 'dart:convert';
Translate translateFromJson(String str) => Translate.fromJson(json.decode(str));
String translateToJson(Translate data) => json.encode(data.toJson());
class Translate {
Translate({
required this.da... | 1 |
vorn-dev-ni/fitlink-2024 | a756acb | lib/core/riverpod/app_provider.dart | Dart | www.github.com/vorn-dev-ni/fitlink-2024/tree/main/lib/core/riverpod/app_provider.dart | https://raw.githubusercontent.com/vorn-dev-ni/fitlink-2024/a756acb/lib/core/riverpod/app_provider.dart | vorn-dev-ni/fitlink-2024 a756acb lib/core/riverpod/app_provider.dart | true | 200 | 276 | import 'package:riverpod_annotation/riverpod_annotation.dart';
part 'app_provider.g.dart';
@Riverpod(keepAlive: true)
class AppLoadingState extends _$AppLoadingState {
@override
bool build() {
return false;
}
void setState(bool value) {
state = value;
}
}
| 2 |
Aykut43/-r-n-proje-takip | ea14483 | lib/pages/stoklar.dart | Dart | www.github.com/Aykut43/-r-n-proje-takip/tree/main/lib/pages/stoklar.dart | https://raw.githubusercontent.com/Aykut43/-r-n-proje-takip/ea14483/lib/pages/stoklar.dart | Aykut43/-r-n-proje-takip ea14483 lib/pages/stoklar.dart | true | 200 | 2,376 | import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:yeni_projem/pages/urunlerim.dart'; // Urunlerim dosyasını içe aktardık
class StoklarPage extends StatelessWidget {
const StoklarPage({super.key});
void _urunSil(BuildContext context, int ind... | 5 |
Mobilezs/P01_PengenalanDart | 7d6a4f5 | stringpart_6.dart | Dart | www.github.com/Mobilezs/P01_PengenalanDart/tree/main/stringpart_6.dart | https://raw.githubusercontent.com/Mobilezs/P01_PengenalanDart/7d6a4f5/stringpart_6.dart | Mobilezs/P01_PengenalanDart 7d6a4f5 stringpart_6.dart | true | 200 | 1,284 | // void main() {
// String nama = 'edykristian';
// print(nama);
// }
import 'dart:async';
void main() {
String nama = ' edy kristian ';
String DaftarHewan = "kucing , kuda , kambing";
var angka = 21;
//cek apakah mengandung string
print(nama.contains('edy'));
// mengubah menjadi huruf kecil
print... | 3 |
Samuelcasta1006/dartADSO2873711 | 3ecca3b | Dart/EJERCICIOSGUIA3/condicionalSimple/condicionalSimple01.dart | Dart | www.github.com/Samuelcasta1006/dartADSO2873711/tree/main/Dart/EJERCICIOSGUIA3/condicionalSimple/condicionalSimple01.dart | https://raw.githubusercontent.com/Samuelcasta1006/dartADSO2873711/3ecca3b/Dart/EJERCICIOSGUIA3/condicionalSimple/condicionalSimple01.dart | Samuelcasta1006/dartADSO2873711 3ecca3b Dart/EJERCICIOSGUIA3/condicionalSimple/condicionalSimple01.dart | true | 200 | 1,184 | // ignore_for_file: unused_local_variable
import 'dart:io';
void main(List<String> args) {
//SAMUEL CASTAÑO CARDONA - EJE CONDICIONAL SIMPLE 01
/*
El jefe del personal de operación de la industria aceitera Móvil desea calcular el sueldo neto de sus
empleados bajo las siguientes normas, solicitar el nombre del e... | 6 |
Kartue/flutter_project | 615f4dc | lib/widget/common_widget/character_list_widget.dart | Dart | www.github.com/Kartue/flutter_project/tree/main/lib/widget/common_widget/character_list_widget.dart | https://raw.githubusercontent.com/Kartue/flutter_project/615f4dc/lib/widget/common_widget/character_list_widget.dart | Kartue/flutter_project 615f4dc lib/widget/common_widget/character_list_widget.dart | true | 200 | 942 | import 'package:flutter/material.dart';
import 'package:flutter_project/widget/common_widget/character_widget.dart';
import '../../domain/model/character.dart';
class CharacterListWidget extends StatelessWidget {
const CharacterListWidget({
super.key,
required this.characters,
});
final List<Character>... | 7 |
JoseOrellanaP/ecommerceGuided | 32dd331 | lib/components/custom_bottom_nav_bar.dart | Dart | www.github.com/JoseOrellanaP/ecommerceGuided/tree/main/lib/components/custom_bottom_nav_bar.dart | https://raw.githubusercontent.com/JoseOrellanaP/ecommerceGuided/32dd331/lib/components/custom_bottom_nav_bar.dart | JoseOrellanaP/ecommerceGuided 32dd331 lib/components/custom_bottom_nav_bar.dart | true | 200 | 2,620 | import 'package:ecommerce/constants.dart';
import 'package:ecommerce/enums.dart';
import 'package:ecommerce/screens/home/home_screen.dart';
import 'package:ecommerce/screens/profile/profile_screen.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
class CustomButtonNavBar ex... | 0 |
AhmedGamal-Ali/movie_app | 8e4c1e7 | lib/movie/domain/entites/movie_detail.dart | Dart | www.github.com/AhmedGamal-Ali/movie_app/tree/main/lib/movie/domain/entites/movie_detail.dart | https://raw.githubusercontent.com/AhmedGamal-Ali/movie_app/8e4c1e7/lib/movie/domain/entites/movie_detail.dart | AhmedGamal-Ali/movie_app 8e4c1e7 lib/movie/domain/entites/movie_detail.dart | true | 200 | 722 | import 'package:equatable/equatable.dart';
import 'package:movies/movie/domain/entites/genre.dart';
class MovieDetail extends Equatable {
int id;
String? backdropPath;
List<Genre> genre;
String title;
String overview;
int runtime;
double voteAaverage;
String releaseDate;
@override
List<Object?> ge... | 2 |
MohammadHalaweh7/Graduation-Software-project | a255cbe | lib/layout/shop_layout/shop_layout.dart | Dart | www.github.com/MohammadHalaweh7/Graduation-Software-project/tree/main/lib/layout/shop_layout/shop_layout.dart | https://raw.githubusercontent.com/MohammadHalaweh7/Graduation-Software-project/a255cbe/lib/layout/shop_layout/shop_layout.dart | MohammadHalaweh7/Graduation-Software-project a255cbe lib/layout/shop_layout/shop_layout.dart | true | 200 | 2,079 |
import 'package:flutter/material.dart';
import 'package:udemy_flutter/modules/cart/cart_screen.dart';
import 'package:udemy_flutter/modules/messenger/massenger_screen.dart';
import 'package:udemy_flutter/modules/more/more_screen.dart';
import 'package:udemy_flutter/modules/profile/profileShop_screen.dart';
import 'pac... | 4 |
mkhaled501333/janssenfoam | 2e731d8 | lib/ui/scissors/تقارير المقصات/horizintal/scissor_reports_view.dart | Dart | www.github.com/mkhaled501333/janssenfoam/tree/main/lib/ui/scissors/تقارير المقصات/horizintal/scissor_reports_view.dart | https://raw.githubusercontent.com/mkhaled501333/janssenfoam/2e731d8/lib/ui/scissors/%D8%AA%D9%82%D8%A7%D8%B1%D9%8A%D8%B1%20%D8%A7%D9%84%D9%85%D9%82%D8%B5%D8%A7%D8%AA/horizintal/scissor_reports_view.dart | mkhaled501333/janssenfoam 2e731d8 lib/ui/scissors/تقارير المقصات/horizintal/scissor_reports_view.dart | true | 200 | 5,986 | // ignore_for_file: camel_case_types
import 'package:flutter/material.dart';
import 'package:janssenfoam/app/extentions.dart';
import 'package:janssenfoam/app/functions.dart';
import 'package:janssenfoam/ui/blocks/blockFirebaseController.dart';
import 'package:janssenfoam/main.dart';
import 'package:janssenfoam/servic... | 6 |
mrh0wl/sticker_app | da082ef | lib/core/resources/app_router.dart | Dart | www.github.com/mrh0wl/sticker_app/tree/main/lib/core/resources/app_router.dart | https://raw.githubusercontent.com/mrh0wl/sticker_app/da082ef/lib/core/resources/app_router.dart | mrh0wl/sticker_app da082ef lib/core/resources/app_router.dart | true | 200 | 1,557 | import 'package:auto_route/auto_route.dart';
import 'package:flutter/material.dart';
import 'package:natker_app/login/presentation/guards/auth_guard.dart';
import 'package:natker_app/onboarding/presentation/guard/onboarding_guard.dart';
import 'app_router.gr.dart';
class AppRouteObserver extends AutoRouterObserver {
... | 5 |
lepsch/dart_lapack | c65ad5d | lib/src/dormtr.dart | Dart | www.github.com/lepsch/dart_lapack/tree/main/lib/src/dormtr.dart | https://raw.githubusercontent.com/lepsch/dart_lapack/c65ad5d/lib/src/dormtr.dart | lepsch/dart_lapack c65ad5d lib/src/dormtr.dart | true | 200 | 3,099 | // Copyright (c) 2024 Guilherme Lepsch. All rights reserved. Use of this
// source code is governed by a BSD-style license that can be found in the
// [LICENSE file](https://github.com/lepsch/dart_lapack/blob/main/LICENSE).
import 'dart:math';
import 'package:dart_lapack/src/install/lsame.dart';
import 'package:dart_... | 3 |
hafsaasaleem/Car_App_Flutter_UI | 5ba4b6d | lib/screens/detail/components/detail_screen_app_bar.dart | Dart | www.github.com/hafsaasaleem/Car_App_Flutter_UI/tree/main/lib/screens/detail/components/detail_screen_app_bar.dart | https://raw.githubusercontent.com/hafsaasaleem/Car_App_Flutter_UI/5ba4b6d/lib/screens/detail/components/detail_screen_app_bar.dart | hafsaasaleem/Car_App_Flutter_UI 5ba4b6d lib/screens/detail/components/detail_screen_app_bar.dart | true | 200 | 390 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
AppBar buildAppBar(BuildContext context) {
return AppBar(
elevation: 0,
backgroundColor: Colors.grey.shade200,
leading: IconButton(
onPressed: () => Navigator.pop(context),
icon: const Icon(
Cuperti... | 0 |
MaitreyaManohar/AllotZone | 858a737 | allot_zone/lib/Components/new_swap.dart | Dart | www.github.com/MaitreyaManohar/AllotZone/tree/main/allot_zone/lib/Components/new_swap.dart | https://raw.githubusercontent.com/MaitreyaManohar/AllotZone/858a737/allot_zone/lib/Components/new_swap.dart | MaitreyaManohar/AllotZone 858a737 allot_zone/lib/Components/new_swap.dart | true | 200 | 8,205 | import 'dart:convert';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:http/http.dart' as http;
import '../Colors.dart';
class NewSwap extends StatefulWidget {
co... | 1 |
Genet2327/Quize_project1 | 294af1f | lib/View/CreatQuize.dart | Dart | www.github.com/Genet2327/Quize_project1/tree/main/lib/View/CreatQuize.dart | https://raw.githubusercontent.com/Genet2327/Quize_project1/294af1f/lib/View/CreatQuize.dart | Genet2327/Quize_project1 294af1f lib/View/CreatQuize.dart | true | 200 | 2,119 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:quize_project/Model/Quez.dart';
import '../Servise/FarebaseBackend.dart';
import '../utils/String_Validater.dart';
import 'AddQuationPage.dart';
class CreateQuize extends StatefulWidget {
const CreateQuize({Key? key}) :... | 4 |
joyal670/Jobs-and-Classifields | 54e6e42 | lib/core/utils/utils.dart | Dart | www.github.com/joyal670/Jobs-and-Classifields/tree/main/lib/core/utils/utils.dart | https://raw.githubusercontent.com/joyal670/Jobs-and-Classifields/54e6e42/lib/core/utils/utils.dart | joyal670/Jobs-and-Classifields 54e6e42 lib/core/utils/utils.dart | true | 200 | 1,863 | // ignore_for_file: prefer_const_constructors, prefer_const_constructors_in_immutables
import 'package:alot/core/colors/colors.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
// remove redundant clicks
DateTime loginClickTime = DateTime.now();
const Duration clickInterval = Du... | 3 |
riazahmedmahin/Doctify_ | 94418d7 | lib/components/Screen/MainBottomNavScreen.dart | Dart | www.github.com/riazahmedmahin/Doctify_/tree/main/lib/components/Screen/MainBottomNavScreen.dart | https://raw.githubusercontent.com/riazahmedmahin/Doctify_/94418d7/lib/components/Screen/MainBottomNavScreen.dart | riazahmedmahin/Doctify_ 94418d7 lib/components/Screen/MainBottomNavScreen.dart | true | 200 | 3,820 | import 'package:app/components/Screen/Doctor_profile.dart';
import 'package:app/components/Screen/Doctors/Doctor_list_screen.dart';
import 'package:app/components/Screen/home_pages.dart';
import 'package:app/components/Screen/SeetingsScreen/setting.dart';
import 'package:flutter/material.dart';
import 'MessageScreen/i... | 5 |
kevintran-git/Playdate | bbf9a71 | lib/profile_screen.dart | Dart | www.github.com/kevintran-git/Playdate/tree/main/lib/profile_screen.dart | https://raw.githubusercontent.com/kevintran-git/Playdate/bbf9a71/lib/profile_screen.dart | kevintran-git/Playdate bbf9a71 lib/profile_screen.dart | true | 200 | 3,770 | // ignore_for_file: prefer_const_constructors, prefer_const_literals_to_create_immutables
import 'package:flutter/material.dart';
import 'package:playdate/common.dart';
import 'package:playdate/newinvite.dart';
import 'package:playdate/sampledata.dart';
class ProfilePage extends StatelessWidget {
const ProfilePage(... | 7 |
diogobh93/emergency-map | 0413ea1 | lib/module/home/external/datasource/geolocation_remote_datasource.dart | Dart | www.github.com/diogobh93/emergency-map/tree/main/lib/module/home/external/datasource/geolocation_remote_datasource.dart | https://raw.githubusercontent.com/diogobh93/emergency-map/0413ea1/lib/module/home/external/datasource/geolocation_remote_datasource.dart | diogobh93/emergency-map 0413ea1 lib/module/home/external/datasource/geolocation_remote_datasource.dart | true | 200 | 1,189 | import '../../../../core/constants/app_text.dart';
import '../../../../core/error/app_exception.dart';
import '../../../../core/settings/http/http.dart';
import '../../infra/datasource/geolocation_datasource.dart';
class GeolocationRemoteDatasourceImpl implements GeolocationDataSource {
final HTTP client;
Geolocat... | 6 |
ViniPolonio/flutter | e4b0e88 | lib/pages/exercises/exercise_3.dart | Dart | www.github.com/ViniPolonio/flutter/tree/main/lib/pages/exercises/exercise_3.dart | https://raw.githubusercontent.com/ViniPolonio/flutter/e4b0e88/lib/pages/exercises/exercise_3.dart | ViniPolonio/flutter e4b0e88 lib/pages/exercises/exercise_3.dart | true | 200 | 4,822 | import 'package:flutter/material.dart';
class Exercise3 extends StatefulWidget {
@override
Exercise3State createState() => Exercise3State();
}
class Exercise3State extends State<Exercise3> {
String _output = "0";
String _input = "";
String _expression = "";
double? _num1;
double? _num2;
String? _opera... | 0 |
ululazmi41/ditonton | ab6255e | tv/lib/presentation/pages/popular_tvs_page.dart | Dart | www.github.com/ululazmi41/ditonton/tree/main/tv/lib/presentation/pages/popular_tvs_page.dart | https://raw.githubusercontent.com/ululazmi41/ditonton/ab6255e/tv/lib/presentation/pages/popular_tvs_page.dart | ululazmi41/ditonton ab6255e tv/lib/presentation/pages/popular_tvs_page.dart | true | 200 | 1,822 | import 'package:tv/presentation/bloc/popular_tvs/popular_tvs_bloc.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import '../widgets/tv_card_list.dart';
import 'package:flutter/material.dart';
class PopularTvsPage extends StatefulWidget {
static const routeName = '/popular-tv';
const PopularTvsPage({Key?... | 2 |
mirk098718/gi_english_website | a36e0fb | lib/class/Administrator.dart | Dart | www.github.com/mirk098718/gi_english_website/tree/main/lib/class/Administrator.dart | https://raw.githubusercontent.com/mirk098718/gi_english_website/a36e0fb/lib/class/Administrator.dart | mirk098718/gi_english_website a36e0fb lib/class/Administrator.dart | true | 200 | 2,436 | import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/src/widgets/framework.dart';
import '../admin/page/AdminVisitorViewPage.dart';
import '../util/MenuUtil.dart';
import '../util/SnackbarUtil.dart';
class Administrator {
String prefKey() => "id_" + adminId;
String adminId;
String adminPw;... | 1 |
abrorFlutter/restaurant_menu | ea499ae | lib/main.dart | Dart | www.github.com/abrorFlutter/restaurant_menu/tree/main/lib/main.dart | https://raw.githubusercontent.com/abrorFlutter/restaurant_menu/ea499ae/lib/main.dart | abrorFlutter/restaurant_menu ea499ae lib/main.dart | true | 200 | 1,459 | import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:flutter_native_splash/flutter_native_splash.dart';
import 'package:provider/provider.dart';
import 'package:resturant_menu/pages/details_page.dart';
import 'package:resturant_menu/pages/homePage.dart';
im... | 4 |
mobilectinfotech/colleage_thriver | 3c9e2e2 | lib/theme/custom_text_style.dart | Dart | www.github.com/mobilectinfotech/colleage_thriver/tree/main/lib/theme/custom_text_style.dart | https://raw.githubusercontent.com/mobilectinfotech/colleage_thriver/3c9e2e2/lib/theme/custom_text_style.dart | mobilectinfotech/colleage_thriver 3c9e2e2 lib/theme/custom_text_style.dart | true | 200 | 9,626 | import 'package:flutter/material.dart';
import '../core/app_export.dart';
class CustomTextStyles {
// Body text style
static get bodyLargeBlack90001 => theme.textTheme.bodyLarge!.copyWith(
color: appTheme.black90001,
fontSize: 18.fSize,
);
static get bodyLargeInterBlack90001 =>
theme... | 5 |
jamescardona11/argo | cdd9f73 | lib/src/models/typedef.dart | Dart | www.github.com/jamescardona11/argo/tree/main/lib/src/models/typedef.dart | https://raw.githubusercontent.com/jamescardona11/argo/cdd9f73/lib/src/models/typedef.dart | jamescardona11/argo cdd9f73 lib/src/models/typedef.dart | true | 200 | 727 | import 'package:argo/argo.dart';
import 'package:flutter/widgets.dart';
/// Signature for the `builder` function which takes the `BuildContext` and
/// [ResponsiveInformation] and is responsible for returning a widget which is to be rendered.
typedef RBuilder = Widget Function(BuildContext ctx, ResponsiveInformation i... | 3 |
Haroldkess/macanacki | 275ea66 | lib/model/button_model.dart | Dart | www.github.com/Haroldkess/macanacki/tree/main/lib/model/button_model.dart | https://raw.githubusercontent.com/Haroldkess/macanacki/275ea66/lib/model/button_model.dart | Haroldkess/macanacki 275ea66 lib/model/button_model.dart | true | 200 | 2,175 | // To parse this JSON data, do
//
// final buttonModel = buttonModelFromJson(jsonString);
import 'dart:convert';
import 'package:expansion_tile_card/expansion_tile_card.dart';
import 'package:flutter/material.dart';
ButtonModel buttonModelFromJson(String str) =>
ButtonModel.fromJson(json.decode(str));
Strin... | 6 |
rafael-a-s/seu-controle-flutter | 00a10d1 | lib/features/auth/interactor/blocs/auth.bloc.dart | Dart | www.github.com/rafael-a-s/seu-controle-flutter/tree/main/lib/features/auth/interactor/blocs/auth.bloc.dart | https://raw.githubusercontent.com/rafael-a-s/seu-controle-flutter/00a10d1/lib/features/auth/interactor/blocs/auth.bloc.dart | rafael-a-s/seu-controle-flutter 00a10d1 lib/features/auth/interactor/blocs/auth.bloc.dart | true | 200 | 1,630 | import 'package:clean_architeture_flutter/features/auth/interactor/datasource/auth.datasource.dart';
import 'package:clean_architeture_flutter/features/auth/interactor/events/auth.event.dart';
import 'package:clean_architeture_flutter/features/auth/interactor/states/auth_login.state.dart';
import 'package:clean_archite... | 7 |
crow625/grocery_list | 66eeba0 | lib/main.dart | Dart | www.github.com/crow625/grocery_list/tree/main/lib/main.dart | https://raw.githubusercontent.com/crow625/grocery_list/66eeba0/lib/main.dart | crow625/grocery_list 66eeba0 lib/main.dart | true | 200 | 11,078 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'grocery_bloc.dart';
import 'grocery_item.dart';
import 'grocery_state.dart';
import 'grocery_event.dart';
/*
* Ethan Crow
* 6/27/2023 - 7/1/2023
*
* A single-screen Grocery List App using Flutter SDK.
* Users can add... | 2 |
thornleywalker/door-reminder | 0c7d1c0 | software/app/door_reminder/lib/screens/account.dart | Dart | www.github.com/thornleywalker/door-reminder/tree/main/software/app/door_reminder/lib/screens/account.dart | https://raw.githubusercontent.com/thornleywalker/door-reminder/0c7d1c0/software/app/door_reminder/lib/screens/account.dart | thornleywalker/door-reminder 0c7d1c0 software/app/door_reminder/lib/screens/account.dart | true | 200 | 1,802 | //import 'dart:html';
import 'package:flutter/material.dart';
import 'package:door_reminder/widgets/hamburger_menu.dart';
import 'package:door_reminder/services/data_cache.dart';
class AccountRoute extends StatelessWidget {
final dc = DataCache();
var context;
signOut() async {
while (Navigator.canPop(cont... | 0 |
rsmg10/FlutterAppv1 | 5dddf12 | lib/blocks/ListItem.dart | Dart | www.github.com/rsmg10/FlutterAppv1/tree/main/lib/blocks/ListItem.dart | https://raw.githubusercontent.com/rsmg10/FlutterAppv1/5dddf12/lib/blocks/ListItem.dart | rsmg10/FlutterAppv1 5dddf12 lib/blocks/ListItem.dart | true | 200 | 1,316 | import 'dart:math';
import 'package:flutter/material.dart';
class ListItem extends StatefulWidget {
const ListItem({Key? key}) : super(key: key);
@override
State<ListItem> createState() => _ListItemState();
}
class _ListItemState extends State<ListItem> {
@override
Widget build(BuildContext context) {
... | 1 |
DavideTonel/gusto_condiviso | 49af9db | lib/bloc/recipes/recipe/recipe_state.dart | Dart | www.github.com/DavideTonel/gusto_condiviso/tree/main/lib/bloc/recipes/recipe/recipe_state.dart | https://raw.githubusercontent.com/DavideTonel/gusto_condiviso/49af9db/lib/bloc/recipes/recipe/recipe_state.dart | DavideTonel/gusto_condiviso 49af9db lib/bloc/recipes/recipe/recipe_state.dart | true | 200 | 728 | part of 'recipe_bloc.dart';
@immutable
sealed class RecipeState {
final Recipe? recipe;
final List<RecipeReview> reviews;
final int? currentReviewScore;
final String? currentReviewDescription;
const RecipeState(
{
required this.recipe,
required this.reviews,
this.currentReviewScore,
... | 4 |
laubrener/music_player | 90d417a | lib/bloc/songs_state.dart | Dart | www.github.com/laubrener/music_player/tree/main/lib/bloc/songs_state.dart | https://raw.githubusercontent.com/laubrener/music_player/90d417a/lib/bloc/songs_state.dart | laubrener/music_player 90d417a lib/bloc/songs_state.dart | true | 200 | 619 | part of 'songs_bloc.dart';
@immutable
sealed class SongsState {
bool isLoading() {
return false;
}
SongsModel getSongsModel() {
return SongsModel();
}
String? error;
}
class SongsInitial extends SongsState {}
class SongsLoading extends SongsState {
bool isLoading() {
return true;
}
}
cla... | 5 |
Dev-Sashad/Send-Me | f9f5876 | lib/constants/helpers.dart | Dart | www.github.com/Dev-Sashad/Send-Me/tree/main/lib/constants/helpers.dart | https://raw.githubusercontent.com/Dev-Sashad/Send-Me/f9f5876/lib/constants/helpers.dart | Dev-Sashad/Send-Me f9f5876 lib/constants/helpers.dart | true | 200 | 1,214 | import 'package:connectivity_plus/connectivity_plus.dart';
import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
customYMargin(double value) {
return SizedBox(height: value);
}
customXMargin(double value) {
return SizedBox(width: value);
}
String capitalize(val) {
return "${val[0].toUpperCas... | 3 |
nabilkhmissi/flutter-projects | dcd0a96 | app/lib/services/auth_service.dart | Dart | www.github.com/nabilkhmissi/flutter-projects/tree/main/app/lib/services/auth_service.dart | https://raw.githubusercontent.com/nabilkhmissi/flutter-projects/dcd0a96/app/lib/services/auth_service.dart | nabilkhmissi/flutter-projects dcd0a96 app/lib/services/auth_service.dart | true | 200 | 1,882 | import 'dart:convert';
import 'package:app/interceptors/dio_interceptor.dart';
import 'package:app/models/auth_request.dart';
import 'package:app/models/auth_response.dart';
import 'package:app/models/register_request.dart';
import 'package:app/models/user.dart';
import 'package:app/services/shared_preferences.dart';
... | 6 |
jlk197/sport | 830ae7d | mobile_app/lib/services/storage_service.dart | Dart | www.github.com/jlk197/sport/tree/main/mobile_app/lib/services/storage_service.dart | https://raw.githubusercontent.com/jlk197/sport/830ae7d/mobile_app/lib/services/storage_service.dart | jlk197/sport 830ae7d mobile_app/lib/services/storage_service.dart | true | 200 | 1,221 | import 'dart:convert';
import 'dart:developer';
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
class StorageService {
var storage = const FlutterSecureStorage();
Future<String?> getToken() async {
var result = await storage.read(key: "token");
return result;
}
Future<void> addT... | 2 |
laaguigue/washaa | 0a1791e | lib/pages/onbording_page.dart | Dart | www.github.com/laaguigue/washaa/tree/main/lib/pages/onbording_page.dart | https://raw.githubusercontent.com/laaguigue/washaa/0a1791e/lib/pages/onbording_page.dart | laaguigue/washaa 0a1791e lib/pages/onbording_page.dart | true | 200 | 4,627 | import 'package:flutter/material.dart';
import 'package:smooth_page_indicator/smooth_page_indicator.dart';
import 'package:washaa/auth/screens/signup_page.dart';
import 'package:washaa/widgets/onbording_card.dart';
class OnbordingPage extends StatefulWidget {
const OnbordingPage({super.key});
@override
State<On... | 0 |
alikhaleghi76/absence-management | 521d7ab | test/feature/absence_list/domain/use_case/fetch_absences_use_case_test.dart | Dart | www.github.com/alikhaleghi76/absence-management/tree/main/test/feature/absence_list/domain/use_case/fetch_absences_use_case_test.dart | https://raw.githubusercontent.com/alikhaleghi76/absence-management/521d7ab/test/feature/absence_list/domain/use_case/fetch_absences_use_case_test.dart | alikhaleghi76/absence-management 521d7ab test/feature/absence_list/domain/use_case/fetch_absences_use_case_test.dart | true | 200 | 4,394 | import 'package:flutter_test/flutter_test.dart';
import 'package:frontend_coding_challenge/core/exception/general_exception.dart';
import 'package:frontend_coding_challenge/core/model/result.dart';
import 'package:frontend_coding_challenge/feature/absence_list/domain/entity/absence_entity.dart';
import 'package:fronten... | 1 |
Altamash123git/todo | a6f0d3b | lib/login_page.dart | Dart | www.github.com/Altamash123git/todo/tree/main/lib/login_page.dart | https://raw.githubusercontent.com/Altamash123git/todo/a6f0d3b/lib/login_page.dart | Altamash123git/todo a6f0d3b lib/login_page.dart | true | 200 | 7,708 | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:todo/provider.dart';
import 'home_page.dart';
class loginpage extends StatefulWidget {
const loginpage({super.key});
@override
State<loginpage> createState() => _loginpage... | 7 |
SalmanFardeen/dpr_patient | 8941121 | lib/src/business_logics/models/issue_data_model.dart | Dart | www.github.com/SalmanFardeen/dpr_patient/tree/main/lib/src/business_logics/models/issue_data_model.dart | https://raw.githubusercontent.com/SalmanFardeen/dpr_patient/8941121/lib/src/business_logics/models/issue_data_model.dart | SalmanFardeen/dpr_patient 8941121 lib/src/business_logics/models/issue_data_model.dart | true | 200 | 469 | class Issue {
int? lookupdataNoPk;
String? lookupdataName;
Issue(this.lookupdataNoPk, this.lookupdataName);
Issue.fromJson(Map<String, dynamic> json) {
lookupdataNoPk = json['lookupdata_no_pk'];
lookupdataName = json['lookupdata_name'];
}
Map<String, dynamic> toJson() {
final Map<String, dyn... | 3 |
komilguliev99/banking_app | 2d46d3e | lib/widgets/credit_card.dart | Dart | www.github.com/komilguliev99/banking_app/tree/main/lib/widgets/credit_card.dart | https://raw.githubusercontent.com/komilguliev99/banking_app/2d46d3e/lib/widgets/credit_card.dart | komilguliev99/banking_app 2d46d3e lib/widgets/credit_card.dart | true | 200 | 3,491 | import 'package:banking_app/utilities/themeColors.dart';
import 'package:banking_app/utilities/themeStyles.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
class CreditCard extends StatefulWidget {
const CreditCard({Key? key}) : super(key: key);
@override
_CreditCard... | 4 |
mubarak1361/news_app | cfeebc7 | lib/core/app_logger.dart | Dart | www.github.com/mubarak1361/news_app/tree/main/lib/core/app_logger.dart | https://raw.githubusercontent.com/mubarak1361/news_app/cfeebc7/lib/core/app_logger.dart | mubarak1361/news_app cfeebc7 lib/core/app_logger.dart | true | 200 | 842 | import 'package:flutter/foundation.dart';
import 'package:logger/logger.dart';
//get logger
Logger getLogger(String className) {
return Logger(printer: AppLogger(className));
}
//log util to print log
class AppLogger extends PrettyPrinter {
final String className;
AppLogger(this.className);
@override
List... | 6 |
aiden-d/commercial_events_app | 9774898 | lib/screens/news_screen.dart | Dart | www.github.com/aiden-d/commercial_events_app/tree/main/lib/screens/news_screen.dart | https://raw.githubusercontent.com/aiden-d/commercial_events_app/9774898/lib/screens/news_screen.dart | aiden-d/commercial_events_app 9774898 lib/screens/news_screen.dart | true | 200 | 7,467 | import 'dart:io';
import 'package:amcham_app_v2/components/news_item.dart';
import 'package:amcham_app_v2/constants.dart';
import 'package:amcham_app_v2/screens/single_event_screen.dart';
import 'package:flutter/material.dart';
import 'package:amcham_app_v2/components/rounded_button.dart';
import 'package:firebase_aut... | 2 |
utpal-barman/u-credit-card-flutter | 18b0ba4 | lib/src/u_credit_card.dart | Dart | www.github.com/utpal-barman/u-credit-card-flutter/tree/main/lib/src/u_credit_card.dart | https://raw.githubusercontent.com/utpal-barman/u-credit-card-flutter/18b0ba4/lib/src/u_credit_card.dart | utpal-barman/u-credit-card-flutter 18b0ba4 lib/src/u_credit_card.dart | true | 200 | 16,088 | // ignore_for_file: deprecated_member_use_from_same_package
import 'dart:math';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:u_credit_card/src/constants/ui_constants.dart';
import 'package:u_credit_card/src/ui/credit_card_chi... | 0 |
andreunifi/FantasyPlayGround | 4b324d3 | lib/app_state.dart | Dart | www.github.com/andreunifi/FantasyPlayGround/tree/main/lib/app_state.dart | https://raw.githubusercontent.com/andreunifi/FantasyPlayGround/4b324d3/lib/app_state.dart | andreunifi/FantasyPlayGround 4b324d3 lib/app_state.dart | true | 200 | 2,079 | import 'package:flutter/material.dart';
import '/backend/backend.dart';
import '/backend/schema/structs/index.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'flutter_flow/flutter_flow_util.dart';
class FFAppState extends ChangeNotifier {
static FFAppState _instance = FFAppState._internal(... | 7 |
saileshbro/full_stack_todo_dart | 5d8b264 | frontend/lib/data_services/todos_data_service.dart | Dart | www.github.com/saileshbro/full_stack_todo_dart/tree/main/frontend/lib/data_services/todos_data_service.dart | https://raw.githubusercontent.com/saileshbro/full_stack_todo_dart/5d8b264/frontend/lib/data_services/todos_data_service.dart | saileshbro/full_stack_todo_dart 5d8b264 frontend/lib/data_services/todos_data_service.dart | true | 200 | 986 | import 'package:flutter/material.dart';
import 'package:injectable/injectable.dart';
import 'package:models/models.dart';
import 'package:stacked/stacked.dart';
@lazySingleton
class TodosDataService with ListenableServiceMixin {
TodosDataService() {
listenToReactiveValues([_todos]);
}
late final ReactiveValu... | 3 |
mutakin-san/cyphercity | 234ffe4 | lib/screens/splash_screen.dart | Dart | www.github.com/mutakin-san/cyphercity/tree/main/lib/screens/splash_screen.dart | https://raw.githubusercontent.com/mutakin-san/cyphercity/234ffe4/lib/screens/splash_screen.dart | mutakin-san/cyphercity 234ffe4 lib/screens/splash_screen.dart | true | 200 | 1,519 | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import '../bloc/bloc.dart';
import '../widgets/background_gradient.dart';
import '../widgets/brand_logo.dart';
class SplashScreen extends StatefulWidget {
const SplashScreen({super.key});
@override
State<SplashScreen> crea... | 4 |
francocragnolini/qr_app | ad4aa74 | lib/widgets/scan_button.dart | Dart | www.github.com/francocragnolini/qr_app/tree/main/lib/widgets/scan_button.dart | https://raw.githubusercontent.com/francocragnolini/qr_app/ad4aa74/lib/widgets/scan_button.dart | francocragnolini/qr_app ad4aa74 lib/widgets/scan_button.dart | true | 200 | 1,844 | import 'dart:developer';
import 'package:barcode_scan2/model/scan_options.dart';
import 'package:barcode_scan2/platform_wrapper.dart';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:qr_reader/providers/scan_list_provider.dart';
import 'package:qr_reader/utils/utils.dar... | 2 |
IsmailAbboud46211/Shop-App | 42fb680 | lib/app/src/search_product/view/widgets/shimmer_search_item.dart | Dart | www.github.com/IsmailAbboud46211/Shop-App/tree/main/lib/app/src/search_product/view/widgets/shimmer_search_item.dart | https://raw.githubusercontent.com/IsmailAbboud46211/Shop-App/42fb680/lib/app/src/search_product/view/widgets/shimmer_search_item.dart | IsmailAbboud46211/Shop-App 42fb680 lib/app/src/search_product/view/widgets/shimmer_search_item.dart | true | 200 | 4,744 | import 'package:flutter/material.dart';
import 'package:shimmer/shimmer.dart';
import 'package:shop_app/core/extension/media_query.dart';
import 'package:shop_app/core/extension/sized_box.dart';
class ShimmerSearchProductCard extends StatelessWidget {
const ShimmerSearchProductCard({super.key});
@override
Widge... | 0 |
ysfgrl/menu_bar | 2700cf4 | lib/controller.dart | Dart | www.github.com/ysfgrl/menu_bar/tree/main/lib/controller.dart | https://raw.githubusercontent.com/ysfgrl/menu_bar/2700cf4/lib/controller.dart | ysfgrl/menu_bar 2700cf4 lib/controller.dart | true | 200 | 1,037 |
import 'package:flutter/cupertino.dart';
import 'package:menu_bar/models.dart';
class MenuBarController extends ChangeNotifier{
MenuBarController({
int initialIndex = 0,
required List<BarItem> items,
}) : assert(initialIndex >= 0),
assert(items.isNotEmpty && initialIndex < items.length),
... | 1 |
chrisstayte/DominoesCalculator | 92fe1bf | lib/screens/widgets/keypad_key.dart | Dart | www.github.com/chrisstayte/DominoesCalculator/tree/main/lib/screens/widgets/keypad_key.dart | https://raw.githubusercontent.com/chrisstayte/DominoesCalculator/92fe1bf/lib/screens/widgets/keypad_key.dart | chrisstayte/DominoesCalculator 92fe1bf lib/screens/widgets/keypad_key.dart | true | 200 | 2,204 | import 'package:auto_size_text/auto_size_text.dart';
import 'package:dominoes/enums/domino_type.dart';
import 'package:dominoes/global/global.dart';
import 'package:dominoes/providers/settings_provider.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_svg/flu... | 5 |
Omaraitbenhaddi/uber-fret-web | 1b130bf | lib/reusable_widgets_las/mailValidation.dart | Dart | www.github.com/Omaraitbenhaddi/uber-fret-web/tree/main/lib/reusable_widgets_las/mailValidation.dart | https://raw.githubusercontent.com/Omaraitbenhaddi/uber-fret-web/1b130bf/lib/reusable_widgets_las/mailValidation.dart | Omaraitbenhaddi/uber-fret-web 1b130bf lib/reusable_widgets_las/mailValidation.dart | true | 200 | 1,207 | import 'package:flutter/material.dart';
import 'package:wc_form_validators/wc_form_validators.dart';
TextFormField reusableMailField(String text, IconData icon, bool isPasswordType,
TextEditingController controller) {
return TextFormField(
controller: controller,
obscureText: isPasswordType,
ke... | 7 |
AhmedMagdy2788/flutter_cutsom_ui | dc1aba7 | lib/pages/my_custom_layout.dart | Dart | www.github.com/AhmedMagdy2788/flutter_cutsom_ui/tree/main/lib/pages/my_custom_layout.dart | https://raw.githubusercontent.com/AhmedMagdy2788/flutter_cutsom_ui/dc1aba7/lib/pages/my_custom_layout.dart | AhmedMagdy2788/flutter_cutsom_ui dc1aba7 lib/pages/my_custom_layout.dart | true | 200 | 2,644 | import 'package:flutter/material.dart';
import '../widgets/sliders/simi_circle_slider.dart';
import '../widgets/sliders/slider.dart';
class MyCustomLayout extends StatelessWidget {
const MyCustomLayout({
super.key,
});
@override
Widget build(BuildContext context) {
return LayoutBuilder(
builder... | 3 |
Jamsran-FS/video_app_client | 8176f5e | lib/main.dart | Dart | www.github.com/Jamsran-FS/video_app_client/tree/main/lib/main.dart | https://raw.githubusercontent.com/Jamsran-FS/video_app_client/8176f5e/lib/main.dart | Jamsran-FS/video_app_client 8176f5e lib/main.dart | true | 200 | 3,304 | import 'dart:developer';
import 'package:video_app/index.dart';
Future<void> main() async {
Bloc.observer = AppBlocObserver();
CachedNetworkImage.logLevel = CacheManagerLogLevel.debug;
WidgetsBinding widgetsBinding = WidgetsFlutterBinding.ensureInitialized();
FlutterNativeSplash.preserve(widgetsBinding: widge... | 4 |
suprieya28/care-alert | 12e1614 | lib/myheaderdrawer.dart | Dart | www.github.com/suprieya28/care-alert/tree/main/lib/myheaderdrawer.dart | https://raw.githubusercontent.com/suprieya28/care-alert/12e1614/lib/myheaderdrawer.dart | suprieya28/care-alert 12e1614 lib/myheaderdrawer.dart | true | 200 | 1,047 | import 'package:flutter/material.dart';
class MyHeaderDrawer extends StatefulWidget {
const MyHeaderDrawer({super.key});
@override
State<MyHeaderDrawer> createState() => _MyHeaderDrawerState();
}
class _MyHeaderDrawerState extends State<MyHeaderDrawer> {
@override
Widget build(BuildContext context) {
r... | 6 |
mohamed-zakarya1/MediMed_flutter | d2e269a | lib/Nurses/nurse_info.dart | Dart | www.github.com/mohamed-zakarya1/MediMed_flutter/tree/main/lib/Nurses/nurse_info.dart | https://raw.githubusercontent.com/mohamed-zakarya1/MediMed_flutter/d2e269a/lib/Nurses/nurse_info.dart | mohamed-zakarya1/MediMed_flutter d2e269a lib/Nurses/nurse_info.dart | true | 200 | 6,165 | import 'package:flutter/material.dart';
class NurseInfoPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.white,
appBar: AppBar(
backgroundColor: Colors.white,
elevation: 0,
title: Text(
"Nurse Inf... | 2 |
nurlanabdyrakhman/techno_catalog | aa002dd | lib/pages/home_page.dart | Dart | www.github.com/nurlanabdyrakhman/techno_catalog/tree/main/lib/pages/home_page.dart | https://raw.githubusercontent.com/nurlanabdyrakhman/techno_catalog/aa002dd/lib/pages/home_page.dart | nurlanabdyrakhman/techno_catalog aa002dd lib/pages/home_page.dart | true | 200 | 2,191 | import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:techno_catalog/models/catalog.dart';
import 'package:techno_catalog/widgets/drawer.dart';
import 'package:techno_catalog/widgets/item_widget.dart';
class HomePage extends StatefulWidget {
HomePage... | 0 |
Reydner96/Curso-Dart | b9a3aed | Operadores/op-gerais.dart | Dart | www.github.com/Reydner96/Curso-Dart/tree/main/Operadores/op-gerais.dart | https://raw.githubusercontent.com/Reydner96/Curso-Dart/b9a3aed/Operadores/op-gerais.dart | Reydner96/Curso-Dart b9a3aed Operadores/op-gerais.dart | true | 200 | 569 | void main() {
final frase = StringBuffer()
..write('Operação ')
..write('em ')
..write('cascade. '); // cascade
print(frase);
final vogais = ['a', 'e', 'i', 'o', 'u'];
final consoantes = ['b', 'c', 'd', 'f'];
final alfabeto = [...vogais, ...consoantes]; // spread
print(alfabeto);
int numero ... | 5 |
OmarRamadan2000/chat_app | a90e253 | lib/features/login/data/repositories_impl/auth_repo_impl.dart | Dart | www.github.com/OmarRamadan2000/chat_app/tree/main/lib/features/login/data/repositories_impl/auth_repo_impl.dart | https://raw.githubusercontent.com/OmarRamadan2000/chat_app/a90e253/lib/features/login/data/repositories_impl/auth_repo_impl.dart | OmarRamadan2000/chat_app a90e253 lib/features/login/data/repositories_impl/auth_repo_impl.dart | true | 200 | 1,565 | import 'package:chat_app/core/errors/failure.dart';
import 'package:chat_app/features/login/data/data_sources/auth_remote_data_source.dart';
import 'package:chat_app/features/login/data/models/user.dart';
import 'package:chat_app/features/login/domain/entities/sign_in_entity.dart';
import 'package:chat_app/features/log... | 1 |
manpritsingh-mod/Travel-Companion-App | b5f0c4d | lib/presentation/second_screen/bloc/second_state.dart | Dart | www.github.com/manpritsingh-mod/Travel-Companion-App/tree/main/lib/presentation/second_screen/bloc/second_state.dart | https://raw.githubusercontent.com/manpritsingh-mod/Travel-Companion-App/b5f0c4d/lib/presentation/second_screen/bloc/second_state.dart | manpritsingh-mod/Travel-Companion-App b5f0c4d lib/presentation/second_screen/bloc/second_state.dart | true | 200 | 462 | // ignore_for_file: must_be_immutable
part of 'second_bloc.dart';
/// Represents the state of Second in the application.
class SecondState extends Equatable {
SecondState({this.secondModelObj});
SecondModel? secondModelObj;
@override
List<Object?> get props => [
secondModelObj,
];
SecondStat... | 7 |
vasylieev/petshare | 8998510 | lib/src/features/add_post/widgets/pet_name_text_field.dart | Dart | www.github.com/vasylieev/petshare/tree/main/lib/src/features/add_post/widgets/pet_name_text_field.dart | https://raw.githubusercontent.com/vasylieev/petshare/8998510/lib/src/features/add_post/widgets/pet_name_text_field.dart | vasylieev/petshare 8998510 lib/src/features/add_post/widgets/pet_name_text_field.dart | true | 200 | 477 | import 'package:flutter/material.dart';
import 'package:petshare/src/core/widgets/text_fields/app_text_field.dart';
class PetNameTextField extends StatelessWidget {
const PetNameTextField({
required this.onChanged,
super.key,
});
final void Function(String) onChanged;
@override
Widget build(BuildCo... | 4 |
jenis007/creconobe | 6e5b614 | lib/navigation/anan.dart | Dart | www.github.com/jenis007/creconobe/tree/main/lib/navigation/anan.dart | https://raw.githubusercontent.com/jenis007/creconobe/6e5b614/lib/navigation/anan.dart | jenis007/creconobe 6e5b614 lib/navigation/anan.dart | true | 200 | 5,531 | import 'package:audio_service/audio_service.dart';
import 'package:audio_video_progress_bar/audio_video_progress_bar.dart';
import 'package:cached_network_image/cached_network_image.dart';
import 'package:creconobe_transformation/models/audioDataModel.dart';
import 'package:flutter/material.dart';
import 'package:just_... | 3 |
gusentanan/todoapp | af5a03e | lib/presentation/widget/app_bar.dart | Dart | www.github.com/gusentanan/todoapp/tree/main/lib/presentation/widget/app_bar.dart | https://raw.githubusercontent.com/gusentanan/todoapp/af5a03e/lib/presentation/widget/app_bar.dart | gusentanan/todoapp af5a03e lib/presentation/widget/app_bar.dart | true | 200 | 1,932 | import 'package:flutter/material.dart';
import 'package:todoapp/presentation/themes/app_theme.dart';
import 'package:todoapp/presentation/widget/k_text.dart';
import 'package:todoapp/presentation/widget/popup_menu.dart';
class MyAppBar {
static PreferredSizeWidget AppBarr({
Color? bgColor,
required void Func... | 6 |
Ziad-AL-Saifi/Zaki | 4fcae3a | lib/presentation/onbordering/view/widgets/onbordering_body.dart | Dart | www.github.com/Ziad-AL-Saifi/Zaki/tree/main/lib/presentation/onbordering/view/widgets/onbordering_body.dart | https://raw.githubusercontent.com/Ziad-AL-Saifi/Zaki/4fcae3a/lib/presentation/onbordering/view/widgets/onbordering_body.dart | Ziad-AL-Saifi/Zaki 4fcae3a lib/presentation/onbordering/view/widgets/onbordering_body.dart | true | 200 | 442 | import 'package:flutter/material.dart';
import 'package:zaki/presentation/onbordering/view/widgets/pageview_onborder.dart';
import '../../../../app/utilities/manager/colors_maneger.dart';
class OnborderingBody extends StatelessWidget {
const OnborderingBody({
super.key,
});
@override
Widget build(BuildCo... | 2 |
rajoanrahman100/quickchat | 9af3a05 | lib/main.dart | Dart | www.github.com/rajoanrahman100/quickchat/tree/main/lib/main.dart | https://raw.githubusercontent.com/rajoanrahman100/quickchat/9af3a05/lib/main.dart | rajoanrahman100/quickchat 9af3a05 lib/main.dart | true | 200 | 2,454 | import 'package:firebase_auth/firebase_auth.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:firebase_messaging/firebase_messaging.dart';
import 'package:flutter/material.dart';
import 'package:flutter_local_notifications/flutter_local_notifications.dart';
import 'package:flutter_riverpod/flutt... | 0 |
Jpec57/enter_training_me | 962bb9f | lib/models/comment.dart | Dart | www.github.com/Jpec57/enter_training_me/tree/main/lib/models/comment.dart | https://raw.githubusercontent.com/Jpec57/enter_training_me/962bb9f/lib/models/comment.dart | Jpec57/enter_training_me 962bb9f lib/models/comment.dart | true | 200 | 281 | import 'package:enter_training_me/models/user.dart';
import 'package:json_annotation/json_annotation.dart';
part 'comment.g.dart';
@JsonSerializable()
class Comment {
final String comment;
final User author;
const Comment({required this.comment, required this.author});
}
| 1 |
rafia-10/flutter-todo-app | 218c686 | lib/task_model.dart | Dart | www.github.com/rafia-10/flutter-todo-app/tree/main/lib/task_model.dart | https://raw.githubusercontent.com/rafia-10/flutter-todo-app/218c686/lib/task_model.dart | rafia-10/flutter-todo-app 218c686 lib/task_model.dart | true | 200 | 846 | class Task {
final int? id;
final int userId; // Associate tasks with users
String title;
String description;
int isCompleted; // 0: Incomplete, 1: Completed
Task({
this.id,
required this.userId,
required this.title,
required this.description,
required this.isCompleted,
}... | 5 |
Ibrokihimbek/Ishonch-571 | 5832efa | lib/screens/drawer/sub_screens/about_screen.dart | Dart | www.github.com/Ibrokihimbek/Ishonch-571/tree/main/lib/screens/drawer/sub_screens/about_screen.dart | https://raw.githubusercontent.com/Ibrokihimbek/Ishonch-571/5832efa/lib/screens/drawer/sub_screens/about_screen.dart | Ibrokihimbek/Ishonch-571 5832efa lib/screens/drawer/sub_screens/about_screen.dart | true | 200 | 5,003 | import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:ishonch/screens/widgets/global_appbar.dart';
import 'package:ishonch/service/lat_long/lat_long.dart';
import 'package:ishonch/utils/app_image.da... | 7 |
Asl512/project02 | 0d373d8 | city_project/lib/ui/pages/my_tickets_navigation/ticket_card.dart | Dart | www.github.com/Asl512/project02/tree/main/city_project/lib/ui/pages/my_tickets_navigation/ticket_card.dart | https://raw.githubusercontent.com/Asl512/project02/0d373d8/city_project/lib/ui/pages/my_tickets_navigation/ticket_card.dart | Asl512/project02 0d373d8 city_project/lib/ui/pages/my_tickets_navigation/ticket_card.dart | true | 200 | 6,616 | import 'package:flutter/material.dart';
import 'package:lan_code/back-end/domain/entities/excursion_entity.dart';
import 'package:lan_code/back-end/domain/entities/ticket_entity.dart';
import 'package:lan_code/ui/common/colors.dart';
import 'package:lan_code/ui/common/images.dart';
import 'package:lan_code/ui/common/te... | 3 |
ajesh-n/flutter-learning | 4255e24 | flutter_intermediate_assignment_6/lib/another_page.dart | Dart | www.github.com/ajesh-n/flutter-learning/tree/main/flutter_intermediate_assignment_6/lib/another_page.dart | https://raw.githubusercontent.com/ajesh-n/flutter-learning/4255e24/flutter_intermediate_assignment_6/lib/another_page.dart | ajesh-n/flutter-learning 4255e24 flutter_intermediate_assignment_6/lib/another_page.dart | true | 200 | 476 | import 'package:flutter/material.dart';
import 'state/state.dart';
class AnotherPage extends StatelessWidget {
final int _value = GlobalState.instance.get("counter");
AnotherPage({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: Column(
... | 4 |
JHerrera458/marvelmobile | c190277 | lib/views/detail_heroe.dart | Dart | www.github.com/JHerrera458/marvelmobile/tree/main/lib/views/detail_heroe.dart | https://raw.githubusercontent.com/JHerrera458/marvelmobile/c190277/lib/views/detail_heroe.dart | JHerrera458/marvelmobile c190277 lib/views/detail_heroe.dart | true | 200 | 4,466 | import 'package:flutter/material.dart';
class DetailHeroe extends StatelessWidget {
Map<String, dynamic>? heroe;
DetailHeroe({super.key, this.heroe});
@override
Widget build(BuildContext context) {
String name = heroe!["name"];
return Scaffold(
appBar: AppBar(
title: Text("Información d... | 6 |
ulises1612/cinemapedia | 2b419db | lib/infrastructure/mappers/actor_mapper.dart | Dart | www.github.com/ulises1612/cinemapedia/tree/main/lib/infrastructure/mappers/actor_mapper.dart | https://raw.githubusercontent.com/ulises1612/cinemapedia/2b419db/lib/infrastructure/mappers/actor_mapper.dart | ulises1612/cinemapedia 2b419db lib/infrastructure/mappers/actor_mapper.dart | true | 200 | 461 | import 'package:cinemapedia/domain/entities/actor.dart';
import 'package:cinemapedia/infrastructure/models/moviedb/credits_response.dart';
class ActorMapper{
static Actor castToEntity(Cast cast) => Actor(
id: cast.id,
name: cast.name,
profilePath: cast.profilePath != null
? 'https://image.tmdb.org/... | 2 |
Ahmedhamadaawd/Map_It | 9008021 | lib/project/posts/presentation/widgets/create_post.dart | Dart | www.github.com/Ahmedhamadaawd/Map_It/tree/main/lib/project/posts/presentation/widgets/create_post.dart | https://raw.githubusercontent.com/Ahmedhamadaawd/Map_It/9008021/lib/project/posts/presentation/widgets/create_post.dart | Ahmedhamadaawd/Map_It 9008021 lib/project/posts/presentation/widgets/create_post.dart | true | 200 | 5,156 | // ignore_for_file: use_build_context_synchronously
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import '../../../../config/constants/app_constants/constants.dart';
import '../../../../core/services/location/location.dart';
import '../../../../core/validation/input_validatio... | 1 |
AndreyAnugrahPutra/flutter_coffee_shop | e321476 | lib/auth/auth.dart | Dart | www.github.com/AndreyAnugrahPutra/flutter_coffee_shop/tree/main/lib/auth/auth.dart | https://raw.githubusercontent.com/AndreyAnugrahPutra/flutter_coffee_shop/e321476/lib/auth/auth.dart | AndreyAnugrahPutra/flutter_coffee_shop e321476 lib/auth/auth.dart | true | 200 | 478 | import 'dart:ffi';
import 'package:firebase_auth/firebase_auth.dart';
class Auth
{
final FirebaseAuth _auth = FirebaseAuth.instance;
Future<void> registerWithEmailAndPassword(String email, String password) async
{
await _auth.createUserWithEmailAndPassword(email: email, password: password);
}
Future<... | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.