Skip to content

Commit

Permalink
bump dependencies and fix linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekpacia committed Apr 9, 2024
1 parent 6eb6cba commit c02eb6a
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/prepare.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
flutter-version: ["3.19.x"]
flutter-version: ["3.10.x", "3.13.x", "3.16.x", "3.19.x"]

steps:
- name: Clone repository
Expand Down
2 changes: 1 addition & 1 deletion example/lib/data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class DownloadItems {
name: 'Spitfire',
url:
'https://github.com/bartekpacia/spitfire/releases/download/v1.2.0/spitfire.apk',
)
),
];
}

Expand Down
8 changes: 4 additions & 4 deletions example/lib/download_list_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class DownloadListItem extends StatelessWidget {
constraints: const BoxConstraints(minHeight: 32, minWidth: 32),
icon: const Icon(Icons.delete),
tooltip: 'Delete',
)
),
],
);
} else if (task.status == DownloadTaskStatus.canceled) {
Expand All @@ -81,7 +81,7 @@ class DownloadListItem extends StatelessWidget {
constraints: const BoxConstraints(minHeight: 32, minWidth: 32),
icon: const Icon(Icons.cancel),
tooltip: 'Cancel',
)
),
],
);
} else if (task.status == DownloadTaskStatus.failed) {
Expand All @@ -95,7 +95,7 @@ class DownloadListItem extends StatelessWidget {
constraints: const BoxConstraints(minHeight: 32, minWidth: 32),
icon: const Icon(Icons.refresh, color: Colors.green),
tooltip: 'Refresh',
)
),
],
);
} else if (task.status == DownloadTaskStatus.enqueued) {
Expand Down Expand Up @@ -147,7 +147,7 @@ class DownloadListItem extends StatelessWidget {
child: LinearProgressIndicator(
value: data!.task!.progress! / 100,
),
)
),
],
),
),
Expand Down
4 changes: 2 additions & 2 deletions example/lib/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ class _MyHomePageState extends State<MyHomePage> {
fontSize: 20,
),
),
)
),
],
),
);
Expand Down Expand Up @@ -391,7 +391,7 @@ class _MyHomePageState extends State<MyHomePage> {
),
),
],
)
),
],
),
body: Builder(
Expand Down
12 changes: 6 additions & 6 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@ version: 1.0.0+1
publish_to: none

environment:
sdk: '>=3.0.0 <4.0.0'
flutter: '>=3.10.0'
sdk: ">=3.0.0 <4.0.0"
flutter: ">=3.10.0"

dependencies:
android_path_provider: ^0.3.0
device_info_plus: ^8.0.0
device_info_plus: ^8.2.2
flutter:
sdk: flutter
flutter_downloader:
path: ../
path_provider: ^2.0.11
permission_handler: ^10.0.0
path_provider: ^2.1.2
permission_handler: ^11.3.1

dev_dependencies:
flutter_test:
sdk: flutter
leancode_lint: ^4.0.0+2
leancode_lint: ^12.0.0

flutter:
uses-material-design: true
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
leancode_lint: ^4.0.0+2
leancode_lint: ^12.0.0

0 comments on commit c02eb6a

Please sign in to comment.