1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

linting_tool: Fix warnings and update dependencies (#981)

This commit is contained in:
Brett Morgan
2022-01-06 16:16:23 +11:00
committed by GitHub
parent 0cb331f7a7
commit a5203b071c
3 changed files with 21 additions and 16 deletions

View File

@@ -82,9 +82,7 @@ class AppTheme {
),
colorScheme: const ColorScheme.dark(
primary: AppColors.blue200,
primaryVariant: AppColors.blue300,
secondary: AppColors.orange300,
secondaryVariant: AppColors.orange300,
surface: AppColors.black800,
error: AppColors.red200,
onPrimary: AppColors.black900,

View File

@@ -7,21 +7,21 @@ packages:
name: _fe_analyzer_shared
url: "https://pub.dartlang.org"
source: hosted
version: "22.0.0"
version: "31.0.0"
adaptive_breakpoints:
dependency: "direct main"
description:
name: adaptive_breakpoints
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.5"
version: "0.1.1"
analyzer:
dependency: transitive
description:
name: analyzer
url: "https://pub.dartlang.org"
source: hosted
version: "1.7.2"
version: "2.8.0"
args:
dependency: transitive
description:
@@ -386,21 +386,21 @@ packages:
name: json2yaml
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0"
version: "3.0.0"
json_annotation:
dependency: "direct main"
description:
name: json_annotation
url: "https://pub.dartlang.org"
source: hosted
version: "4.1.0"
version: "4.4.0"
json_serializable:
dependency: "direct dev"
description:
name: json_serializable
url: "https://pub.dartlang.org"
source: hosted
version: "4.1.4"
version: "6.1.3"
lints:
dependency: transitive
description:
@@ -429,6 +429,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.11"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.2"
meta:
dependency: transitive
description:
@@ -561,7 +568,7 @@ packages:
name: provider
url: "https://pub.dartlang.org"
source: hosted
version: "5.0.0"
version: "6.0.2"
pub_semver:
dependency: transitive
description:
@@ -657,7 +664,7 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.3"
version: "0.4.8"
timing:
dependency: transitive
description:
@@ -780,5 +787,5 @@ packages:
source: hosted
version: "3.1.0"
sdks:
dart: ">=2.14.0 <3.0.0"
dart: ">=2.15.0 <3.0.0"
flutter: ">=2.5.0"

View File

@@ -6,12 +6,12 @@ version: 1.0.0+1
publish_to: 'none'
environment:
sdk: ">=2.12.0 <3.0.0"
sdk: ">=2.15.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
adaptive_breakpoints: ^0.0.4
adaptive_breakpoints: ^0.1.1
cupertino_icons: ^1.0.2
equatable: ^2.0.3
file_selector: ^0.8.2
@@ -24,10 +24,10 @@ dependencies:
hive: ^2.0.4
hive_flutter: ^1.1.0
http: ^0.13.3
json2yaml: ^2.0.0
json2yaml: ^3.0.0
json_annotation: ^4.0.1
mockito: ^5.0.13
provider: ^5.0.0
provider: ^6.0.2
yaml: ^3.1.0
context_menus: ^0.1.0+5
window_size:
@@ -42,7 +42,7 @@ dev_dependencies:
build_runner: ^2.0.6
flutter_lints: ^1.0.3
hive_generator: ^1.1.0
json_serializable: ^4.1.4
json_serializable: ^6.1.3
flutter:
uses-material-design: true