Skip to content

Commit 07174f6

Browse files
committed
Update minimal dart sdk version
1 parent 0c73ad3 commit 07174f6

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

flutter_cache_manager/example/lib/plugin_example/file_info_widget.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@ class FileInfoWidget extends StatelessWidget {
2020
children: <Widget>[
2121
ListTile(
2222
title: const Text('Original URL'),
23-
subtitle: Text(fileInfo.originalUrl ?? ''),
23+
subtitle: Text(fileInfo.originalUrl),
2424
),
2525
ListTile(
2626
title: const Text('Local file path'),
27-
subtitle: Text(fileInfo.file.path ?? ''),
27+
subtitle: Text(fileInfo.file.path),
2828
),
2929
ListTile(
3030
title: const Text('Loaded from'),
31-
subtitle: Text(fileInfo.source.toString() ?? ''),
31+
subtitle: Text(fileInfo.source.toString()),
3232
),
3333
ListTile(
3434
title: const Text('Valid Until'),
35-
subtitle: Text(fileInfo.validTill.toIso8601String() ?? ''),
35+
subtitle: Text(fileInfo.validTill.toIso8601String()),
3636
),
3737
Padding(
3838
padding: const EdgeInsets.all(10),

flutter_cache_manager/example/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: A project that showcases usage of flutter_cache_manager
33
publish_to: none
44
version: 1.0.0+1
55
environment:
6-
sdk: ^3.0.0
6+
sdk: '>=2.17.0 <4.0.0'
77

88
dependencies:
99
baseflow_plugin_template: ^2.1.2
@@ -12,12 +12,12 @@ dependencies:
1212
sdk: flutter
1313
flutter_cache_manager:
1414
path: ../
15-
url_launcher: ^6.1.11
15+
url_launcher: ^6.1.10
1616

1717
dev_dependencies:
1818
flutter_test:
1919
sdk: flutter
20-
flutter_lints: ^2.0.2
20+
flutter_lints: ^2.0.1
2121

2222
flutter:
2323
uses-material-design: true

flutter_cache_manager/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ topics:
66
- cache
77
- cache-manager
88
environment:
9-
sdk: '>=2.12.0 <4.0.0'
9+
sdk: '>=2.17.0 <4.0.0'
1010

1111
dependencies:
1212
clock: ^1.1.0
@@ -23,7 +23,7 @@ dependencies:
2323

2424
dev_dependencies:
2525
build_runner: ^2.0.0
26-
flutter_lints: ^2.0.2
26+
flutter_lints: ^2.0.1
2727
flutter_test:
2828
sdk: flutter
2929
mockito: ^5.0.0

0 commit comments

Comments
 (0)