Skip to content

Commit

Permalink
remove unusude package + files / clean up code
Browse files Browse the repository at this point in the history
& bump to 0.1.0 instead of 0.0.5
  • Loading branch information
BrightDV committed Sep 23, 2022
1 parent e64baed commit 2866407
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 181 deletions.
10 changes: 1 addition & 9 deletions .packages
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
#
# For more info see: https://dart.dev/go/dot-packages-deprecation
#
# Generated by pub on 2022-09-21 17:52:57.292858.
archive:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/archive-3.3.1/lib/
# Generated by pub on 2022-09-23 18:42:42.811158.
args:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/args-2.3.1/lib/
async:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.8.2/lib/
boolean_selector:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0/lib/
Expand All @@ -26,7 +25,6 @@ fading_edge_scrollview:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cach
fake_async:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.3.0/lib/
ffi:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/
file:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/file-6.1.4/lib/
flutlab_logcat:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/git/flutlab-logcat-8ced3c72ad47e2b7e2651e5073cfc9e0a51e536b/lib/
flutter:file:///F:/flutter_windows_3.0.5-stable/flutter/packages/flutter/lib/
flutter_blurhash:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_blurhash-0.7.0/lib/
flutter_cache_manager:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_cache_manager-3.3.0/lib/
Expand Down Expand Up @@ -57,14 +55,11 @@ lazy_loading_list:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hos
lints:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/lints-2.0.0/lib/
lists:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/lists-1.0.1/lib/
loading_indicator:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/loading_indicator-3.1.0/lib/
logging:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/logging-1.0.2/lib/
lottie:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/lottie-1.4.2/lib/
map_controller:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/git/map_controller-bd69ff0d34d2bc9ba1d5c870dc819542d7ce27fd/lib/
markdown:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/markdown-6.0.1/lib/
marquee:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/marquee-2.2.3/lib/
matcher:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.11/lib/
material_color_utilities:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/material_color_utilities-0.1.4/lib/
message_pack_dart:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/message_pack_dart-2.0.1/lib/
meta:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.7.0/lib/
mgrs_dart:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/mgrs_dart-2.0.0/lib/
nested:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/nested-1.0.0/lib/
Expand Down Expand Up @@ -93,13 +88,11 @@ proj4dart:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.
provider:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/provider-6.0.3/lib/
quiver:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/quiver-3.1.0/lib/
rxdart:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/rxdart-0.27.5/lib/
signalr_netcore:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/signalr_netcore-1.3.2/lib/
sky_engine:file:///F:/flutter_windows_3.0.5-stable/flutter/bin/cache/pkg/sky_engine/lib/
slugify:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/slugify-2.0.0/lib/
source_span:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.2/lib/
sqflite:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-2.0.3+1/lib/
sqflite_common:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite_common-2.3.0/lib/
sse_client:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/sse_client-0.1.0/lib/
stack_trace:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0/lib/
stream_channel:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0/lib/
string_scanner:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0/lib/
Expand Down Expand Up @@ -132,7 +125,6 @@ wakelock_macos:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted
wakelock_platform_interface:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/wakelock_platform_interface-0.3.0/lib/
wakelock_web:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/wakelock_web-0.4.0/lib/
wakelock_windows:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/wakelock_windows-0.2.1/lib/
web_socket_channel:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/web_socket_channel-2.2.0/lib/
webview_flutter:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-3.0.4/lib/
webview_flutter_android:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter_android-2.10.1/lib/
webview_flutter_platform_interface:file:///F:/flutter_windows_3.0.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter_platform_interface-1.9.3/lib/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@
public final class GeneratedPluginRegistrant {
private static final String TAG = "GeneratedPluginRegistrant";
public static void registerWith(@NonNull FlutterEngine flutterEngine) {
try {
flutterEngine.getPlugins().add(new com.flutlab.logcat.FlutLabLogcatPlugin());
} catch(Exception e) {
Log.e(TAG, "Error registering plugin flutlab_logcat, com.flutlab.logcat.FlutLabLogcatPlugin", e);
}
try {
flutterEngine.getPlugins().add(new dev.fluttercommunity.plus.packageinfo.PackageInfoPlugin());
} catch(Exception e) {
Expand Down
88 changes: 0 additions & 88 deletions lib/Screens/signalr.dart

This file was deleted.

12 changes: 0 additions & 12 deletions lib/api/ergast.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,6 @@ import 'package:http/http.dart' as http;

class _ErgastApiCalls {
List<DriverResult> formatRaceStandings(Map raceStandings) {
//Map positionToPoints = {
// "1": "25",
// "2": "18",
// "3": "15",
// "4": "12",
// "5": "10",
// "6": "8",
// "7": "6",
// "8": "4",
// "9": "2",
// "10": "1",
//};
List<DriverResult> formatedRaceStandings = [];
List jsonResponse =
raceStandings['MRData']['RaceTable']['Races'][0]['Results'];
Expand Down
4 changes: 0 additions & 4 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,13 @@
* Copyright (c) 2022, BrightDV
*/

//import 'package:flutlab_logcat/flutlab_logcat.dart';

import 'package:boxbox/helpers/bottom_navigation_bar.dart';
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:hive_flutter/hive_flutter.dart';
import 'package:timeago/timeago.dart' as timeago;

void main() async {
//WidgetsFlutterBinding.ensureInitialized();
//await FlutLabLogcat.init();
await Hive.initFlutter();
// ignore: unused_local_variable
final settingsBox = await Hive.openBox('settings');
Expand Down
58 changes: 0 additions & 58 deletions pubspec.lock
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages:
archive:
dependency: transitive
description:
name: archive
url: "https://pub.dartlang.org"
source: hosted
version: "3.3.1"
args:
dependency: transitive
description:
Expand Down Expand Up @@ -155,15 +148,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "6.1.4"
flutlab_logcat:
dependency: "direct main"
description:
path: "."
ref: HEAD
resolved-ref: "8ced3c72ad47e2b7e2651e5073cfc9e0a51e536b"
url: "https://github.com/FlutLab/flutlab-logcat.git"
source: git
version: "0.0.2"
flutter:
dependency: "direct main"
description: flutter
Expand Down Expand Up @@ -366,20 +350,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "3.1.0"
logging:
dependency: transitive
description:
name: logging
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.2"
lottie:
dependency: "direct main"
description:
name: lottie
url: "https://pub.dartlang.org"
source: hosted
version: "1.4.2"
map_controller:
dependency: "direct main"
description:
Expand Down Expand Up @@ -417,13 +387,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.4"
message_pack_dart:
dependency: transitive
description:
name: message_pack_dart
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.1"
meta:
dependency: transitive
description:
Expand Down Expand Up @@ -620,13 +583,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "0.27.5"
signalr_netcore:
dependency: "direct main"
description:
name: signalr_netcore
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.2"
sky_engine:
dependency: transitive
description: flutter
Expand Down Expand Up @@ -660,13 +616,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "2.3.0"
sse_client:
dependency: transitive
description:
name: sse_client
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.0"
stack_trace:
dependency: transitive
description:
Expand Down Expand Up @@ -891,13 +840,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.1"
web_socket_channel:
dependency: transitive
description:
name: web_socket_channel
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.0"
webview_flutter:
dependency: "direct main"
description:
Expand Down
6 changes: 1 addition & 5 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ publish_to: none
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 0.0.5+5
version: 0.1.0+5

environment:
sdk: ">=2.10.0 <3.0.0"
Expand All @@ -27,8 +27,6 @@ dependencies:
dotted_line: ^3.1.0
flutter_localizations:
sdk: flutter
flutlab_logcat:
git: https://github.com/FlutLab/flutlab-logcat.git
flutter_map: ^0.13.1
flutter_markdown: ^0.6.10
flutter_timer_countdown: ^1.0.3
Expand All @@ -42,14 +40,12 @@ dependencies:
latlong2: ^0.8.1
lazy_loading_list: ^1.0.1
loading_indicator: ^3.0.3
lottie: ^1.4.2
map_controller: # version on pub.dev has flutter_map ^0.11.0 as requirement, using my fork
git:
url: https://github.com/BrightDV/map_controller.git
ref: master
marquee: ^2.2.0
package_info_plus: ^1.4.3+1
signalr_netcore: ^1.3.2
text_divider: ^1.0.0
timeago: ^3.3.0
url_launcher: ^6.0.13
Expand Down

0 comments on commit 2866407

Please sign in to comment.