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:
@@ -82,9 +82,7 @@ class AppTheme {
|
|||||||
),
|
),
|
||||||
colorScheme: const ColorScheme.dark(
|
colorScheme: const ColorScheme.dark(
|
||||||
primary: AppColors.blue200,
|
primary: AppColors.blue200,
|
||||||
primaryVariant: AppColors.blue300,
|
|
||||||
secondary: AppColors.orange300,
|
secondary: AppColors.orange300,
|
||||||
secondaryVariant: AppColors.orange300,
|
|
||||||
surface: AppColors.black800,
|
surface: AppColors.black800,
|
||||||
error: AppColors.red200,
|
error: AppColors.red200,
|
||||||
onPrimary: AppColors.black900,
|
onPrimary: AppColors.black900,
|
||||||
|
|||||||
@@ -7,21 +7,21 @@ packages:
|
|||||||
name: _fe_analyzer_shared
|
name: _fe_analyzer_shared
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "22.0.0"
|
version: "31.0.0"
|
||||||
adaptive_breakpoints:
|
adaptive_breakpoints:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: adaptive_breakpoints
|
name: adaptive_breakpoints
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.0.5"
|
version: "0.1.1"
|
||||||
analyzer:
|
analyzer:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: analyzer
|
name: analyzer
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.7.2"
|
version: "2.8.0"
|
||||||
args:
|
args:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@@ -386,21 +386,21 @@ packages:
|
|||||||
name: json2yaml
|
name: json2yaml
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.0.0"
|
version: "3.0.0"
|
||||||
json_annotation:
|
json_annotation:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: json_annotation
|
name: json_annotation
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "4.1.0"
|
version: "4.4.0"
|
||||||
json_serializable:
|
json_serializable:
|
||||||
dependency: "direct dev"
|
dependency: "direct dev"
|
||||||
description:
|
description:
|
||||||
name: json_serializable
|
name: json_serializable
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "4.1.4"
|
version: "6.1.3"
|
||||||
lints:
|
lints:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@@ -429,6 +429,13 @@ packages:
|
|||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.12.11"
|
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:
|
meta:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@@ -561,7 +568,7 @@ packages:
|
|||||||
name: provider
|
name: provider
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "5.0.0"
|
version: "6.0.2"
|
||||||
pub_semver:
|
pub_semver:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@@ -657,7 +664,7 @@ packages:
|
|||||||
name: test_api
|
name: test_api
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.4.3"
|
version: "0.4.8"
|
||||||
timing:
|
timing:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@@ -780,5 +787,5 @@ packages:
|
|||||||
source: hosted
|
source: hosted
|
||||||
version: "3.1.0"
|
version: "3.1.0"
|
||||||
sdks:
|
sdks:
|
||||||
dart: ">=2.14.0 <3.0.0"
|
dart: ">=2.15.0 <3.0.0"
|
||||||
flutter: ">=2.5.0"
|
flutter: ">=2.5.0"
|
||||||
|
|||||||
@@ -6,12 +6,12 @@ version: 1.0.0+1
|
|||||||
publish_to: 'none'
|
publish_to: 'none'
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.12.0 <3.0.0"
|
sdk: ">=2.15.0 <3.0.0"
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
flutter:
|
flutter:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
adaptive_breakpoints: ^0.0.4
|
adaptive_breakpoints: ^0.1.1
|
||||||
cupertino_icons: ^1.0.2
|
cupertino_icons: ^1.0.2
|
||||||
equatable: ^2.0.3
|
equatable: ^2.0.3
|
||||||
file_selector: ^0.8.2
|
file_selector: ^0.8.2
|
||||||
@@ -24,10 +24,10 @@ dependencies:
|
|||||||
hive: ^2.0.4
|
hive: ^2.0.4
|
||||||
hive_flutter: ^1.1.0
|
hive_flutter: ^1.1.0
|
||||||
http: ^0.13.3
|
http: ^0.13.3
|
||||||
json2yaml: ^2.0.0
|
json2yaml: ^3.0.0
|
||||||
json_annotation: ^4.0.1
|
json_annotation: ^4.0.1
|
||||||
mockito: ^5.0.13
|
mockito: ^5.0.13
|
||||||
provider: ^5.0.0
|
provider: ^6.0.2
|
||||||
yaml: ^3.1.0
|
yaml: ^3.1.0
|
||||||
context_menus: ^0.1.0+5
|
context_menus: ^0.1.0+5
|
||||||
window_size:
|
window_size:
|
||||||
@@ -42,7 +42,7 @@ dev_dependencies:
|
|||||||
build_runner: ^2.0.6
|
build_runner: ^2.0.6
|
||||||
flutter_lints: ^1.0.3
|
flutter_lints: ^1.0.3
|
||||||
hive_generator: ^1.1.0
|
hive_generator: ^1.1.0
|
||||||
json_serializable: ^4.1.4
|
json_serializable: ^6.1.3
|
||||||
|
|
||||||
flutter:
|
flutter:
|
||||||
uses-material-design: true
|
uses-material-design: true
|
||||||
|
|||||||
Reference in New Issue
Block a user