repo_id
stringlengths
21
168
file_path
stringlengths
36
210
content
stringlengths
1
9.98M
__index_level_0__
int64
0
0
mirrored_repositories/Shopping-Store-App/lib
mirrored_repositories/Shopping-Store-App/lib/widgets/badge.dart
import 'package:flutter/material.dart'; class Badge extends StatelessWidget { const Badge({ Key? key, required this.child, required this.value, this.color = Colors.black, }) : super(key: key); final Widget child; final String value; final Color color; @override Widget build(BuildContext...
0
mirrored_repositories/Shopping-Store-App/lib
mirrored_repositories/Shopping-Store-App/lib/widgets/app_drawer.dart
import 'package:flutter/material.dart'; import '../screens/orders_screen.dart'; import '../screens/user_products_screen.dart'; class AppDrawer extends StatelessWidget { const AppDrawer({super.key}); @override Widget build(BuildContext context) { return Drawer( child: Column( children: <Widget...
0
mirrored_repositories/Shopping-Store-App/lib
mirrored_repositories/Shopping-Store-App/lib/widgets/product_item.dart
import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; import '../screens/product_detail_screen.dart'; import '../providers/product.dart'; import '../providers/cart.dart'; class ProductItem extends StatelessWidget { const ProductItem({super.key, required this.product}); final Product pro...
0
mirrored_repositories/Shopping-Store-App/lib
mirrored_repositories/Shopping-Store-App/lib/models/items.dart
import '../providers/product.dart'; final itemsData = [ Product( id: 'p1', title: 'Red Shirt', description: 'A red shirt - it is pretty red!', price: 29.99, imageUrl: 'https://cdn.pixabay.com/photo/2016/10/02/22/17/red-t-shirt-1710578_1280.jpg', ), Product( id: 'p2', title: 'T...
0
mirrored_repositories/Shopping-Store-App/lib
mirrored_repositories/Shopping-Store-App/lib/utils/color_scheme.dart
import 'dart:ui'; class AppColors { static const Color kLightPurple = Color.fromARGB(255, 170, 150, 218); static const Color kLightGreen = Color.fromARGB(255, 198, 250, 214); static const Color kLightYellow = Color.fromARGB(255, 255, 254, 210); static const Color kDarkBlue = Color.fromARGB(255, 20, 33, 61); ...
0
mirrored_repositories/Shopping-Store-App/lib
mirrored_repositories/Shopping-Store-App/lib/utils/constants.dart
class Constants { static const String appName = "Shopezy"; static const double kTitleFontSize = 24; static const double kSubTitleFontSize = 18; static const double kTextFontSize = 20; static const double kHeaderFontSize = 30; static const double kIconSize = 40; static const double kBigIconSize = 120; ...
0
mirrored_repositories/Shopping-Store-App/lib
mirrored_repositories/Shopping-Store-App/lib/utils/size_config.dart
import 'package:flutter/material.dart'; class SizeConfig { static MediaQueryData? _mediaQueryData; static double? screenWidth; static double? screenHeight; static double? blockSizeHorizontal; static double? blockSizeVertical; static double? _safeAreaHorizontal; static double? _safeAreaVertical; static ...
0
mirrored_repositories/Shopping-Store-App/lib
mirrored_repositories/Shopping-Store-App/lib/screens/cart_screen.dart
import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; import '../providers/cart.dart' show Cart; import '../widgets/cart_item.dart'; import '../providers/orders.dart'; class CartScreen extends StatelessWidget { static const routeName = '/cart'; const CartScreen({super.key}); @overri...
0
mirrored_repositories/Shopping-Store-App/lib
mirrored_repositories/Shopping-Store-App/lib/screens/products_overview_screen.dart
import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; import '../widgets/app_drawer.dart'; import '../widgets/products_grid.dart'; import '../widgets/badge.dart'; import '../providers/cart.dart'; import './cart_screen.dart'; enum FilterOptions { Favorites, All, } class ProductsOverview...
0
mirrored_repositories/Shopping-Store-App/lib
mirrored_repositories/Shopping-Store-App/lib/screens/user_products_screen.dart
import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; import '../providers/products.dart'; import '../widgets/user_product_item.dart'; import '../widgets/app_drawer.dart'; import './edit_product_screen.dart'; class UserProductsScreen extends StatelessWidget { static const routeName = '/us...
0
mirrored_repositories/Shopping-Store-App/lib
mirrored_repositories/Shopping-Store-App/lib/screens/edit_product_screen.dart
import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; import '../providers/product.dart'; import '../providers/products.dart'; class EditProductScreen extends StatefulWidget { static const routeName = '/edit-product'; const EditProductScreen({super.key}); @override _EditProductScr...
0
mirrored_repositories/Shopping-Store-App/lib
mirrored_repositories/Shopping-Store-App/lib/screens/product_detail_screen.dart
import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; import '../providers/products.dart'; class ProductDetailScreen extends StatelessWidget { static const routeName = '/product-detail'; const ProductDetailScreen({super.key}); @override Widget build(BuildContext context) { fin...
0
mirrored_repositories/Shopping-Store-App/lib
mirrored_repositories/Shopping-Store-App/lib/screens/orders_screen.dart
import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; import '../providers/orders.dart' show Orders; import '../widgets/order_item.dart'; import '../widgets/app_drawer.dart'; class OrdersScreen extends StatelessWidget { static const routeName = '/orders'; const OrdersScreen({super.key}...
0
mirrored_repositories/Shopping-Store-App/lib
mirrored_repositories/Shopping-Store-App/lib/providers/cart.dart
import 'package:flutter/foundation.dart'; class CartItem { final String id; final String title; final int quantity; final double price; CartItem({ required this.id, required this.title, required this.quantity, required this.price, }); } class Cart with ChangeNotifier { Map<String, CartI...
0
mirrored_repositories/Shopping-Store-App/lib
mirrored_repositories/Shopping-Store-App/lib/providers/orders.dart
import 'package:flutter/foundation.dart'; import './cart.dart'; class OrderItem { final String id; final double amount; final List<CartItem> products; final DateTime dateTime; OrderItem({ required this.id, required this.amount, required this.products, required this.dateTime, }); } class ...
0
mirrored_repositories/Shopping-Store-App/lib
mirrored_repositories/Shopping-Store-App/lib/providers/product.dart
import 'package:flutter/foundation.dart'; class Product with ChangeNotifier { final String? id; final String title; final String description; final double price; final String imageUrl; bool isFavorite; Product({ required this.id, required this.title, required this.description, required t...
0
mirrored_repositories/Shopping-Store-App/lib
mirrored_repositories/Shopping-Store-App/lib/providers/products.dart
import 'package:flutter/foundation.dart'; import 'package:shopping_store_app/models/items.dart'; import './product.dart'; class Products with ChangeNotifier { final List<Product> _items = itemsData; List<Product> get items { return [..._items]; } List<Product> get favoriteItems { return _items.where...
0
mirrored_repositories/Shopping-Store-App
mirrored_repositories/Shopping-Store-App/test/widget_test.dart
// This is a basic Flutter widget test. // // To perform an interaction with a widget in your test, use the WidgetTester // utility in the flutter_test package. For example, you can send tap and scroll // gestures. You can also use WidgetTester to find child widgets in the widget // tree, read text, and verify that the...
0
mirrored_repositories/titactoe
mirrored_repositories/titactoe/lib/main.dart
import 'package:flutter/material.dart'; import 'package:titactoe/Screen/FirstScreen.dart'; import 'package:titactoe/Screen/SecoundScreen.dart'; void main() => runApp(MaterialApp( onGenerateRoute: buildRoute, home: FirstScreen(), )); Route buildRoute(RouteSettings settings) { var routes = <String, WidgetBuilder>...
0
mirrored_repositories/titactoe/lib
mirrored_repositories/titactoe/lib/Screen/FirstScreen.dart
import 'dart:ui'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:titactoe/model/player.dart'; class FirstScreen extends StatelessWidget { @override Widget build(BuildContext context) { var player1 = TextEditingController(); var player2 = TextEditingControl...
0
mirrored_repositories/titactoe/lib
mirrored_repositories/titactoe/lib/Screen/SecoundScreen.dart
import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; import 'package:titactoe/model/player.dart'; class SecoundScreen extends StatefulWidget { var Player; SecoundScreen({this.Player}); @override SecoundScreenState createState() => SecoundSc...
0
mirrored_repositories/titactoe/lib
mirrored_repositories/titactoe/lib/model/player.dart
class Player{ String player1; String player2; Player(this.player1, this.player2); }
0
mirrored_repositories/titactoe
mirrored_repositories/titactoe/test/widget_test.dart
// This is a basic Flutter widget test. // // To perform an interaction with a widget in your test, use the WidgetTester // utility that Flutter provides. For example, you can send tap and scroll // gestures. You can also use WidgetTester to find child widgets in the widget // tree, read text, and verify that the value...
0
mirrored_repositories/covid_tracker
mirrored_repositories/covid_tracker/lib/main.dart
import 'package:covid_tracker/components/bottom_nav_bar.dart'; import 'package:covid_tracker/di/service_locator.dart'; import 'package:covid_tracker/features/country-stats/country_view_detail_view_model.dart'; import 'package:covid_tracker/nav_view_model.dart'; import 'package:covid_tracker/utils/constants.dart'; impor...
0
mirrored_repositories/covid_tracker
mirrored_repositories/covid_tracker/lib/nav_view_model.dart
import 'package:flutter/material.dart'; class NavViewModel extends ChangeNotifier { int _selectedIndex = 0; int get selectedIndex => _selectedIndex; void onItemTapped(int index) { _selectedIndex = index; notifyListeners(); } }
0
mirrored_repositories/covid_tracker/lib/features
mirrored_repositories/covid_tracker/lib/features/country-stats/country_view_detail_repository.impl.dart
import 'package:covid_tracker/di/service_locator.dart'; import 'package:covid_tracker/features/country-stats/country_view_detail_service.dart'; import 'package:covid_tracker/models/covid_country_response.dart'; import 'package:covid_tracker/models/covid_history_country_response.dart'; class CountryViewDetailRepository...
0
mirrored_repositories/covid_tracker/lib/features
mirrored_repositories/covid_tracker/lib/features/country-stats/country_view_model.dart
import 'package:covid_tracker/base/base_view_model.dart'; import 'package:covid_tracker/models/countries.dart'; import 'package:covid_tracker/utils/constants.dart'; import 'package:flutter/services.dart' show rootBundle; class CountryViewModel extends BaseViewModel { String resultJson = ""; List<Countries> _countr...
0
mirrored_repositories/covid_tracker/lib/features
mirrored_repositories/covid_tracker/lib/features/country-stats/country_view_detail_view_model.dart
import 'package:covid_tracker/base/base_view_model.dart'; import 'package:covid_tracker/di/service_locator.dart'; import 'package:covid_tracker/features/country-stats/country_view_detail_repository.impl.dart'; import 'package:covid_tracker/models/covid_country_response.dart'; import 'package:covid_tracker/models/covid_...
0
mirrored_repositories/covid_tracker/lib/features
mirrored_repositories/covid_tracker/lib/features/country-stats/country_view.dart
import 'package:covid_tracker/base/base_view_model.dart'; import 'package:covid_tracker/features/country-stats/country_view_detail.dart'; import 'package:covid_tracker/features/country-stats/country_view_detail_view_model.dart'; import 'package:covid_tracker/features/country-stats/country_view_model.dart'; import 'pack...
0
mirrored_repositories/covid_tracker/lib/features
mirrored_repositories/covid_tracker/lib/features/country-stats/country_view_detail.dart
import 'package:covid_tracker/base/base_view_model.dart'; import 'package:covid_tracker/components/chart_comp.dart'; import 'package:covid_tracker/components/container_comp.dart'; import 'package:covid_tracker/components/pie_chart_comp.dart'; import 'package:covid_tracker/utils/constants.dart'; import 'package:flutter/...
0
mirrored_repositories/covid_tracker/lib/features
mirrored_repositories/covid_tracker/lib/features/country-stats/country_view_detail_service.dart
import 'package:covid_tracker/models/covid_country_response.dart'; import 'package:covid_tracker/models/covid_history_country_response.dart'; import 'package:dio/dio.dart'; import 'package:retrofit/retrofit.dart'; import 'package:covid_tracker/utils/constants.dart'; part 'country_view_detail_service.g.dart'; @RestA...
0
mirrored_repositories/covid_tracker/lib/features
mirrored_repositories/covid_tracker/lib/features/country-stats/country_view_detail_service.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'country_view_detail_service.dart'; // ************************************************************************** // RetrofitGenerator // ************************************************************************** class _CountryViewDetailService implements CountryView...
0
mirrored_repositories/covid_tracker/lib/features
mirrored_repositories/covid_tracker/lib/features/vaccination-stats/vaccination_view_repository_impl.dart
import 'package:covid_tracker/di/service_locator.dart'; import 'package:covid_tracker/features/vaccination-stats/vaccination_view_service.dart'; import 'package:covid_tracker/models/vaccination_response.dart'; class VaccinationViewRepositoryImpl implements VaccinationViewRepository { VaccinationViewService service ...
0
mirrored_repositories/covid_tracker/lib/features
mirrored_repositories/covid_tracker/lib/features/vaccination-stats/vaccination_view_model.dart
import 'package:covid_tracker/base/base_view_model.dart'; import 'package:covid_tracker/di/service_locator.dart'; import 'package:covid_tracker/features/vaccination-stats/vaccination_view_repository_impl.dart'; import 'package:covid_tracker/models/vaccination_response.dart'; import 'package:covid_tracker/utils/constant...
0
mirrored_repositories/covid_tracker/lib/features
mirrored_repositories/covid_tracker/lib/features/vaccination-stats/vaccination_view_service.dart
import 'package:covid_tracker/models/vaccination_response.dart'; import 'package:dio/dio.dart'; import 'package:retrofit/retrofit.dart'; import 'package:covid_tracker/utils/constants.dart'; part 'vaccination_view_service.g.dart'; @RestApi(baseUrl: Constants.covidURL) abstract class VaccinationViewService { factor...
0
mirrored_repositories/covid_tracker/lib/features
mirrored_repositories/covid_tracker/lib/features/vaccination-stats/vaccination_view_service.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'vaccination_view_service.dart'; // ************************************************************************** // RetrofitGenerator // ************************************************************************** class _VaccinationViewService implements VaccinationViewS...
0
mirrored_repositories/covid_tracker/lib/features
mirrored_repositories/covid_tracker/lib/features/vaccination-stats/vaccination_view.dart
import 'package:covid_tracker/components/stats_container_comp.dart'; import 'package:covid_tracker/features/vaccination-stats/vaccination_view_model.dart'; import 'package:covid_tracker/utils/constants.dart'; import 'package:flutter/material.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart'; import '...
0
mirrored_repositories/covid_tracker/lib/features
mirrored_repositories/covid_tracker/lib/features/world-stats/world_view_service.dart
import 'package:covid_tracker/models/covid_history_response.dart'; import 'package:dio/dio.dart'; import 'package:retrofit/retrofit.dart'; import 'package:covid_tracker/models/covid_all_response.dart'; import 'package:covid_tracker/utils/constants.dart'; part 'world_view_service.g.dart'; @RestApi(baseUrl: Constants...
0
mirrored_repositories/covid_tracker/lib/features
mirrored_repositories/covid_tracker/lib/features/world-stats/world_view_service.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'world_view_service.dart'; // ************************************************************************** // RetrofitGenerator // ************************************************************************** class _WorldViewService implements WorldViewService { _WorldV...
0
mirrored_repositories/covid_tracker/lib/features
mirrored_repositories/covid_tracker/lib/features/world-stats/world_view.dart
import 'package:covid_tracker/base/base_view_model.dart'; import 'package:covid_tracker/components/chart_comp.dart'; import 'package:covid_tracker/components/container_comp.dart'; import 'package:covid_tracker/components/pie_chart_comp.dart'; import 'package:covid_tracker/features/world-stats/world_view_model.dart'; im...
0
mirrored_repositories/covid_tracker/lib/features
mirrored_repositories/covid_tracker/lib/features/world-stats/world_view_model.dart
import 'package:covid_tracker/base/base_view_model.dart'; import 'package:covid_tracker/di/service_locator.dart'; import 'package:covid_tracker/features/world-stats/world_view_repository_impl.dart'; import 'package:covid_tracker/models/covid_all_response.dart'; import 'package:covid_tracker/models/covid_history_respon...
0
mirrored_repositories/covid_tracker/lib/features
mirrored_repositories/covid_tracker/lib/features/world-stats/world_view_repository_impl.dart
import 'package:covid_tracker/di/service_locator.dart'; import 'package:covid_tracker/features/world-stats/world_view_service.dart'; import 'package:covid_tracker/models/covid_all_response.dart'; import 'package:covid_tracker/models/covid_history_response.dart'; class WorldViewRepositoryImpl implements WorldViewReposi...
0
mirrored_repositories/covid_tracker/lib
mirrored_repositories/covid_tracker/lib/components/pie_chart_comp.dart
import 'package:covid_tracker/utils/constants.dart'; import 'package:fl_chart/fl_chart.dart'; import 'package:flutter/material.dart'; class Indicator extends StatelessWidget { final Color color; final String text; final bool isSquare; final double size; final Color textColor; const Indicator({ Key? ke...
0
mirrored_repositories/covid_tracker/lib
mirrored_repositories/covid_tracker/lib/components/container_comp.dart
import 'package:flutter/material.dart'; import 'package:intl/intl.dart'; class ContainerComp extends StatelessWidget { final Color color; final Color textColor; final String placeholder; final int value; const ContainerComp( {Key? key, required this.placeholder, required this.color, r...
0
mirrored_repositories/covid_tracker/lib
mirrored_repositories/covid_tracker/lib/components/bottom_nav_bar.dart
import 'package:covid_tracker/features/country-stats/country_view.dart'; import 'package:covid_tracker/features/vaccination-stats/vaccination_view.dart'; import 'package:covid_tracker/features/world-stats/world_view.dart'; import 'package:covid_tracker/nav_view_model.dart'; import 'package:covid_tracker/utils/constants...
0
mirrored_repositories/covid_tracker/lib
mirrored_repositories/covid_tracker/lib/components/stats_container_comp.dart
import 'package:flutter/material.dart'; import 'package:intl/intl.dart'; class StatsContainerComp extends StatelessWidget { final Color boxColor; final Color textColor; final String placeholder; final double value; const StatsContainerComp( {Key? key, required this.placeholder, required thi...
0
mirrored_repositories/covid_tracker/lib
mirrored_repositories/covid_tracker/lib/components/chart_comp.dart
// ignore_for_file: must_be_immutable //TODO: fix immutability later on import 'package:covid_tracker/utils/constants.dart'; import 'package:fl_chart/fl_chart.dart'; import 'package:flutter/material.dart'; class _LineChart extends StatelessWidget { double _maxX = 0; double _maxY = 0; final List<FlSpot> _spots...
0
mirrored_repositories/covid_tracker/lib
mirrored_repositories/covid_tracker/lib/models/vaccination_timeline.dart
import 'package:json_annotation/json_annotation.dart'; part 'vaccination_timeline.g.dart'; @JsonSerializable() class VaccinationTimeline { final double total; final double daily; final double totalPerHundred; final double dailyPerMillion; final String date; VaccinationTimeline({required this.total,requir...
0
mirrored_repositories/covid_tracker/lib
mirrored_repositories/covid_tracker/lib/models/covid_country_response.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'covid_country_response.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** CovidCountryResponse _$CovidCountryResponseFromJson...
0
mirrored_repositories/covid_tracker/lib
mirrored_repositories/covid_tracker/lib/models/covid_history_response.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'covid_history_response.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** CovidHistoryResponse _$CovidHistoryResponseFromJson...
0
mirrored_repositories/covid_tracker/lib
mirrored_repositories/covid_tracker/lib/models/vaccination_timeline.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'vaccination_timeline.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** VaccinationTimeline _$VaccinationTimelineFromJson(Map...
0
mirrored_repositories/covid_tracker/lib
mirrored_repositories/covid_tracker/lib/models/covid_timeline.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'covid_timeline.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** CovidTimeline _$CovidTimelineFromJson(Map<String, dynamic> ...
0
mirrored_repositories/covid_tracker/lib
mirrored_repositories/covid_tracker/lib/models/covid_history_country_response.dart
import 'package:json_annotation/json_annotation.dart'; import 'covid_timeline.dart'; part 'covid_history_country_response.g.dart'; @JsonSerializable(explicitToJson: true) class CovidHistoryCountryResponse { final String country; final List<String> province; final CovidTimeline timeline; CovidHistoryCountry...
0
mirrored_repositories/covid_tracker/lib
mirrored_repositories/covid_tracker/lib/models/covid_all_response.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'covid_all_response.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** CovidAllResponse _$CovidAllResponseFromJson(Map<String,...
0
mirrored_repositories/covid_tracker/lib
mirrored_repositories/covid_tracker/lib/models/vaccination_response.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'vaccination_response.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** VaccinationResponse _$VaccinationResponseFromJson(Map...
0
mirrored_repositories/covid_tracker/lib
mirrored_repositories/covid_tracker/lib/models/covid_country_response.dart
import 'package:json_annotation/json_annotation.dart'; part 'covid_country_response.g.dart'; @JsonSerializable() class CovidCountryResponse { final int updated; final String continent; final Map<String,dynamic> countryInfo; final String country; final int cases; final int todayDeaths; final int todayCa...
0
mirrored_repositories/covid_tracker/lib
mirrored_repositories/covid_tracker/lib/models/countries.dart
import 'package:json_annotation/json_annotation.dart'; part 'countries.g.dart'; @JsonSerializable() class Countries { final String name; final String code; final String image; final String emoji; Countries({required this.name,required this.code,required this.emoji,required this.image}); factory Countri...
0
mirrored_repositories/covid_tracker/lib
mirrored_repositories/covid_tracker/lib/models/covid_all_response.dart
import 'package:json_annotation/json_annotation.dart'; part 'covid_all_response.g.dart'; @JsonSerializable() class CovidAllResponse { final int updated; final int cases; final int todayDeaths; final int todayCases; final int deaths; final int recovered; final int todayRecovered; final int active; f...
0
mirrored_repositories/covid_tracker/lib
mirrored_repositories/covid_tracker/lib/models/covid_history_country_response.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'covid_history_country_response.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** CovidHistoryCountryResponse _$CovidHistoryC...
0
mirrored_repositories/covid_tracker/lib
mirrored_repositories/covid_tracker/lib/models/covid_history_response.dart
import 'package:json_annotation/json_annotation.dart'; part 'covid_history_response.g.dart'; @JsonSerializable() class CovidHistoryResponse { final Map<String,dynamic> cases; final Map<String,dynamic> deaths; final Map<String,dynamic> recovered; CovidHistoryResponse({required this.cases,required this.deaths...
0
mirrored_repositories/covid_tracker/lib
mirrored_repositories/covid_tracker/lib/models/countries.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'countries.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** Countries _$CountriesFromJson(Map<String, dynamic> json) { ret...
0
mirrored_repositories/covid_tracker/lib
mirrored_repositories/covid_tracker/lib/models/covid_timeline.dart
import 'package:json_annotation/json_annotation.dart'; part 'covid_timeline.g.dart'; @JsonSerializable() class CovidTimeline { final Map<String,dynamic> cases; final Map<String,dynamic> deaths; final Map<String,dynamic> recovered; CovidTimeline({required this.cases,required this.deaths,required this.recovere...
0
mirrored_repositories/covid_tracker/lib
mirrored_repositories/covid_tracker/lib/models/vaccination_response.dart
import 'package:covid_tracker/models/vaccination_timeline.dart'; import 'package:json_annotation/json_annotation.dart'; part 'vaccination_response.g.dart'; @JsonSerializable() class VaccinationResponse { final String country; final List<VaccinationTimeline> timeline; VaccinationResponse({required this.country...
0
mirrored_repositories/covid_tracker/lib
mirrored_repositories/covid_tracker/lib/di/service_locator.dart
import 'package:covid_tracker/features/country-stats/country_view_detail_repository.impl.dart'; import 'package:covid_tracker/features/country-stats/country_view_detail_service.dart'; import 'package:covid_tracker/features/vaccination-stats/vaccination_view_repository_impl.dart'; import 'package:covid_tracker/features/...
0
mirrored_repositories/covid_tracker/lib
mirrored_repositories/covid_tracker/lib/utils/constants.dart
import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; class Constants { ///bottom nav bar items static const bottomNavWorld = "World"; static const bottomNavStats = "Stats"; static const bottomNavVaccine = "Vaccine"; //pages title static const titleWorldStatistics = "World Sta...
0
mirrored_repositories/covid_tracker/lib
mirrored_repositories/covid_tracker/lib/base/base_view_model.dart
import 'package:flutter/material.dart'; enum NotifierState { loading, loaded } class BaseViewModel with ChangeNotifier { NotifierState _state = NotifierState.loading; NotifierState get state => _state; void setState(NotifierState state) { _state = state; notifyListeners(); } }
0
mirrored_repositories/covid_tracker
mirrored_repositories/covid_tracker/test/widget_test.dart
// This is a basic Flutter widget test. // // To perform an interaction with a widget in your test, use the WidgetTester // utility that Flutter provides. For example, you can send tap and scroll // gestures. You can also use WidgetTester to find child widgets in the widget // tree, read text, and verify that the value...
0
mirrored_repositories/BlackHole
mirrored_repositories/BlackHole/lib/main.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/Search/albums.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/Search/artists.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/Search/search.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/YouTube/youtube_search.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/YouTube/youtube_home.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/YouTube/youtube_playlist.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/Common/song_list.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/Player/audioplayer.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/Settings/setting.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/Settings/player_gradient.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/Library/downloads.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/Library/nowplaying.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/Library/library.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your opti...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/Library/playlists.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/Library/import.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/Library/liked.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/Library/recent.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/Library/show_songs.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/About/about.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/Home/home.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/Home/saavn.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/Login/auth.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/Login/pref.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/Top Charts/top.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/LocalMusic/downed_songs_desktop.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/LocalMusic/localplaylists.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib/Screens
mirrored_repositories/BlackHole/lib/Screens/LocalMusic/downed_songs.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib
mirrored_repositories/BlackHole/lib/Services/youtube_services.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib
mirrored_repositories/BlackHole/lib/Services/download.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib
mirrored_repositories/BlackHole/lib/Services/audio_service.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib
mirrored_repositories/BlackHole/lib/Services/ext_storage_provider.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0
mirrored_repositories/BlackHole/lib
mirrored_repositories/BlackHole/lib/theme/app_theme.dart
/* * This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole). * * BlackHole is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
0