Skip to content

Commit 749c94a

Browse files
Tomasz KądziołkaTomasz Kądziołka
authored andcommitted
Corrected packages
1 parent 471315d commit 749c94a

File tree

5 files changed

+2
-108
lines changed

5 files changed

+2
-108
lines changed

flutter_module/lib/utils/extensions/pigeon_extensions.dart

Lines changed: 0 additions & 24 deletions
This file was deleted.

flutter_module/lib/utils/extensions/text_extensions.dart

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import 'dart:convert';
22

3-
import 'package:time_elapsed/time_elapsed.dart';
4-
53
extension TextExtensions on String {
64
List<String> splitByIndices(List<int> splitters) {
75
List<String> result = [];
@@ -51,17 +49,4 @@ extension TextExtensions on String {
5149

5250
return split.join('\n');
5351
}
54-
55-
String toElapsedTime() {
56-
final customDate = CustomTimeElapsed(
57-
minutes: 'minutes',
58-
hours: 'hours',
59-
days: 'days',
60-
now: 'now',
61-
seconds: 'seconds',
62-
weeks: 'weeks',
63-
);
64-
65-
return TimeElapsed.fromDateStr(this).toCustomTimeElapsed(customDate);
66-
}
6752
}

flutter_module/lib/utils/mock/mock_page.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import 'package:flutter/material.dart';
2-
import 'package:flutter/widgets.dart';
32
import 'package:flutter_module/presentation/styles/padding_styles.dart';
43

54
class MockPage extends StatelessWidget {

flutter_module/pubspec.lock

Lines changed: 1 addition & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -148,13 +148,6 @@ packages:
148148
url: "https://pub.dartlang.org"
149149
source: hosted
150150
version: "3.0.2"
151-
cupertino_icons:
152-
dependency: "direct main"
153-
description:
154-
name: cupertino_icons
155-
url: "https://pub.dartlang.org"
156-
source: hosted
157-
version: "1.0.5"
158151
dart_style:
159152
dependency: transitive
160153
description:
@@ -214,20 +207,6 @@ packages:
214207
description: flutter
215208
source: sdk
216209
version: "0.0.0"
217-
freezed:
218-
dependency: "direct dev"
219-
description:
220-
name: freezed
221-
url: "https://pub.dartlang.org"
222-
source: hosted
223-
version: "2.2.0"
224-
freezed_annotation:
225-
dependency: "direct main"
226-
description:
227-
name: freezed_annotation
228-
url: "https://pub.dartlang.org"
229-
source: hosted
230-
version: "2.2.0"
231210
frontend_server_client:
232211
dependency: transitive
233212
description:
@@ -278,19 +257,12 @@ packages:
278257
source: hosted
279258
version: "0.6.5"
280259
json_annotation:
281-
dependency: "direct main"
260+
dependency: transitive
282261
description:
283262
name: json_annotation
284263
url: "https://pub.dartlang.org"
285264
source: hosted
286265
version: "4.7.0"
287-
json_serializable:
288-
dependency: "direct dev"
289-
description:
290-
name: json_serializable
291-
url: "https://pub.dartlang.org"
292-
source: hosted
293-
version: "6.5.3"
294266
lints:
295267
dependency: transitive
296268
description:
@@ -382,13 +354,6 @@ packages:
382354
url: "https://pub.dartlang.org"
383355
source: hosted
384356
version: "1.2.1"
385-
reflectable:
386-
dependency: "direct main"
387-
description:
388-
name: reflectable
389-
url: "https://pub.dartlang.org"
390-
source: hosted
391-
version: "3.0.10"
392357
shelf:
393358
dependency: transitive
394359
description:
@@ -422,20 +387,6 @@ packages:
422387
description: flutter
423388
source: sdk
424389
version: "0.0.99"
425-
source_gen:
426-
dependency: transitive
427-
description:
428-
name: source_gen
429-
url: "https://pub.dartlang.org"
430-
source: hosted
431-
version: "1.2.6"
432-
source_helper:
433-
dependency: transitive
434-
description:
435-
name: source_helper
436-
url: "https://pub.dartlang.org"
437-
source: hosted
438-
version: "1.3.3"
439390
source_map_stack_trace:
440391
dependency: transitive
441392
description:
@@ -513,13 +464,6 @@ packages:
513464
url: "https://pub.dartlang.org"
514465
source: hosted
515466
version: "0.4.16"
516-
time_elapsed:
517-
dependency: "direct main"
518-
description:
519-
name: time_elapsed
520-
url: "https://pub.dartlang.org"
521-
source: hosted
522-
version: "0.2.6"
523467
timing:
524468
dependency: transitive
525469
description:

flutter_module/pubspec.yaml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,16 @@ environment:
2323
dependencies:
2424
flutter:
2525
sdk: flutter
26-
27-
# The following adds the Cupertino Icons font to your application.
28-
# Use with the CupertinoIcons class for iOS style icons.
29-
cupertino_icons: ^1.0.5
30-
freezed_annotation: ^2.1.0
31-
json_annotation: ^4.7.0
32-
reflectable: ^3.0.10
26+
equatable: ^2.0.5
3327
flutter_hooks: ^0.18.5+1
3428
test: ^1.21.4
35-
equatable: ^2.0.5
36-
time_elapsed: ^0.2.6
3729

3830
dev_dependencies:
3931
flutter_test:
4032
sdk: flutter
4133
flutter_lints: ^2.0.1
4234
pigeon: ^4.2.2
43-
freezed: ^2.1.0+1
4435
build_runner: ^2.2.1
45-
json_serializable: ^6.5.0
4636

4737
# For information on the generic Dart part of this file, see the
4838
# following pages: https://dart.dev/tools/pub/pubspec

0 commit comments

Comments
 (0)