From 63fefd7c5b200391d4c4a8c71c69f048105f32e3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 05:11:17 +0000 Subject: [PATCH 1/2] Bump the pub-dependencies group across 1 directory with 3 updates Bumps the pub-dependencies group with 2 updates in the /packages/dynamic_color directory: [cider](https://github.com/f3ath/cider) and [flutter_lints](https://github.com/flutter/packages/tree/main/packages). Updates `cider` from 0.2.6 to 0.2.8 - [Release notes](https://github.com/f3ath/cider/releases) - [Changelog](https://github.com/f3ath/cider/blob/master/CHANGELOG.md) - [Commits](https://github.com/f3ath/cider/compare/0.2.6...0.2.8) Updates `flutter_lints` from 3.0.1 to 4.0.0 - [Release notes](https://github.com/flutter/packages/releases) - [Commits](https://github.com/flutter/packages/commits/flutter_lints-v4.0.0/packages) Updates `meta` from 1.11.0 to 1.12.0 - [Changelog](https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md) - [Commits](https://github.com/dart-lang/sdk/commits/1.12.0/pkg) --- updated-dependencies: - dependency-name: cider dependency-type: direct:production update-type: version-update:semver-patch dependency-group: pub-dependencies - dependency-name: flutter_lints dependency-type: direct:production update-type: version-update:semver-major dependency-group: pub-dependencies - dependency-name: meta dependency-type: direct:production update-type: version-update:semver-minor dependency-group: pub-dependencies ... Signed-off-by: dependabot[bot] --- packages/dynamic_color/pubspec.lock | 32 ++++++++++++++--------------- packages/dynamic_color/pubspec.yaml | 2 +- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/packages/dynamic_color/pubspec.lock b/packages/dynamic_color/pubspec.lock index ab9e7187..b89b2493 100644 --- a/packages/dynamic_color/pubspec.lock +++ b/packages/dynamic_color/pubspec.lock @@ -53,10 +53,10 @@ packages: dependency: "direct dev" description: name: cider - sha256: "8e147719af74ca3df4864ba0bf1674606dfa691d659d05b93884487d96f09ede" + sha256: dfff70e9324f99e315857c596c31f54cb7380cfa20dfdfdca11a3631e05b7d3e url: "https://pub.dev" source: hosted - version: "0.2.6" + version: "0.2.8" clock: dependency: transitive description: @@ -90,10 +90,10 @@ packages: dependency: "direct dev" description: name: flutter_lints - sha256: e2a421b7e59244faef694ba7b30562e489c2b489866e505074eb005cd7060db7 + sha256: "3f41d009ba7172d5ff9be5f6e6e6abb4300e263aab8866d2a0842ed2a70f8f0c" url: "https://pub.dev" source: hosted - version: "3.0.1" + version: "4.0.0" flutter_test: dependency: "direct main" description: flutter @@ -119,34 +119,34 @@ packages: dependency: transitive description: name: leak_tracker - sha256: cdd14e3836065a1f6302a236ec8b5f700695c803c57ae11a1c84df31e6bcf831 + sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a" url: "https://pub.dev" source: hosted - version: "10.0.3" + version: "10.0.4" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing - sha256: "9b2ef90589911d665277464e0482b209d39882dffaaf4ef69a3561a3354b2ebc" + sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8" url: "https://pub.dev" source: hosted - version: "3.0.2" + version: "3.0.3" leak_tracker_testing: dependency: transitive description: name: leak_tracker_testing - sha256: fd3cd66cb2bcd7b50dcd3b413af49d78051f809c8b3f6e047962765c15a0d23d + sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" url: "https://pub.dev" source: hosted - version: "3.0.0" + version: "3.0.1" lints: dependency: transitive description: name: lints - sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290 + sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235" url: "https://pub.dev" source: hosted - version: "3.0.0" + version: "4.0.0" markdown: dependency: transitive description: @@ -183,10 +183,10 @@ packages: dependency: "direct dev" description: name: meta - sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04 + sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136" url: "https://pub.dev" source: hosted - version: "1.11.0" + version: "1.12.0" path: dependency: transitive description: @@ -292,10 +292,10 @@ packages: dependency: transitive description: name: vm_service - sha256: a2662fb1f114f4296cf3f5a50786a2d888268d7776cf681aa17d660ffa23b246 + sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec" url: "https://pub.dev" source: hosted - version: "14.0.0" + version: "14.2.1" yaml: dependency: transitive description: diff --git a/packages/dynamic_color/pubspec.yaml b/packages/dynamic_color/pubspec.yaml index 82d9aa2b..8fce5062 100644 --- a/packages/dynamic_color/pubspec.yaml +++ b/packages/dynamic_color/pubspec.yaml @@ -25,7 +25,7 @@ dependencies: dev_dependencies: cider: ">=0.1.3 <0.3.0" - flutter_lints: ">=2.0.0 <4.0.0" + flutter_lints: ">=2.0.0 <5.0.0" meta: ^1.3.0 flutter: From 5c5b469dd1f4406737c546d794348a1de3b8192c Mon Sep 17 00:00:00 2001 From: Pierre-Louis Date: Tue, 2 Jul 2024 13:38:58 +0200 Subject: [PATCH 2/2] fix analysis --- packages/dynamic_color/example/lib/accent_color.dart | 2 +- packages/dynamic_color/example/lib/complete_example.dart | 4 ++-- .../example/lib/core_palette_visualization.dart | 4 ++-- .../example/lib/dynamic_color_builder_example.dart | 2 +- .../dynamic_color/example/lib/get_core_palette_example.dart | 2 +- .../dynamic_color/example/lib/harmonization_example.dart | 2 +- packages/dynamic_color/example/lib/main.dart | 5 ++--- 7 files changed, 10 insertions(+), 11 deletions(-) diff --git a/packages/dynamic_color/example/lib/accent_color.dart b/packages/dynamic_color/example/lib/accent_color.dart index a0853460..e4aa16a5 100644 --- a/packages/dynamic_color/example/lib/accent_color.dart +++ b/packages/dynamic_color/example/lib/accent_color.dart @@ -3,7 +3,7 @@ import 'package:dynamic_color_example/common.dart'; import 'package:flutter/material.dart'; class AccentColorExample extends StatelessWidget { - const AccentColorExample({Key? key}) : super(key: key); + const AccentColorExample({super.key}); static const title = 'Accent color (desktop)'; diff --git a/packages/dynamic_color/example/lib/complete_example.dart b/packages/dynamic_color/example/lib/complete_example.dart index 60dcf964..3f25639f 100644 --- a/packages/dynamic_color/example/lib/complete_example.dart +++ b/packages/dynamic_color/example/lib/complete_example.dart @@ -12,7 +12,7 @@ CustomColors lightCustomColors = const CustomColors(danger: Color(0xFFE53935)); CustomColors darkCustomColors = const CustomColors(danger: Color(0xFFEF9A9A)); class CompleteExample extends StatelessWidget { - const CompleteExample({Key? key}) : super(key: key); + const CompleteExample({super.key}); static const title = 'Complete example'; @@ -99,7 +99,7 @@ class CustomColors extends ThemeExtension { } class Home extends StatefulWidget { - const Home({Key? key}) : super(key: key); + const Home({super.key}); @override HomeState createState() => HomeState(); diff --git a/packages/dynamic_color/example/lib/core_palette_visualization.dart b/packages/dynamic_color/example/lib/core_palette_visualization.dart index 59b0e9d9..a0163f44 100644 --- a/packages/dynamic_color/example/lib/core_palette_visualization.dart +++ b/packages/dynamic_color/example/lib/core_palette_visualization.dart @@ -81,7 +81,7 @@ final sampleCorePalette = CorePalette.fromList([ ]); class CorePaletteVisualization extends StatefulWidget { - const CorePaletteVisualization({Key? key}) : super(key: key); + const CorePaletteVisualization({super.key}); static const title = 'CorePalette visualization'; @@ -135,7 +135,7 @@ class _CorePaletteVisualizationState extends State { } class _RenderCorePalette extends StatelessWidget { - const _RenderCorePalette(this.corePalette, {Key? key}) : super(key: key); + const _RenderCorePalette(this.corePalette); final CorePalette corePalette; diff --git a/packages/dynamic_color/example/lib/dynamic_color_builder_example.dart b/packages/dynamic_color/example/lib/dynamic_color_builder_example.dart index dfc4bc66..54f8f6f6 100644 --- a/packages/dynamic_color/example/lib/dynamic_color_builder_example.dart +++ b/packages/dynamic_color/example/lib/dynamic_color_builder_example.dart @@ -3,7 +3,7 @@ import 'package:dynamic_color_example/common.dart'; import 'package:flutter/material.dart'; class AdvancedExample1 extends StatelessWidget { - const AdvancedExample1({Key? key}) : super(key: key); + const AdvancedExample1({super.key}); static const title = 'DynamicColorBuilder'; diff --git a/packages/dynamic_color/example/lib/get_core_palette_example.dart b/packages/dynamic_color/example/lib/get_core_palette_example.dart index ddeb2aee..2b7aa80d 100644 --- a/packages/dynamic_color/example/lib/get_core_palette_example.dart +++ b/packages/dynamic_color/example/lib/get_core_palette_example.dart @@ -5,7 +5,7 @@ import 'package:material_color_utilities/material_color_utilities.dart'; import 'common.dart'; class AdvancedExample2 extends StatelessWidget { - const AdvancedExample2({Key? key}) : super(key: key); + const AdvancedExample2({super.key}); static const title = 'DynamicColorPlugin.getCorePalette()'; diff --git a/packages/dynamic_color/example/lib/harmonization_example.dart b/packages/dynamic_color/example/lib/harmonization_example.dart index 7c31972d..183409c8 100644 --- a/packages/dynamic_color/example/lib/harmonization_example.dart +++ b/packages/dynamic_color/example/lib/harmonization_example.dart @@ -3,7 +3,7 @@ import 'package:dynamic_color_example/common.dart'; import 'package:flutter/material.dart'; class HarmonizationExample extends StatelessWidget { - const HarmonizationExample({Key? key}) : super(key: key); + const HarmonizationExample({super.key}); static const title = 'Color harmonization'; diff --git a/packages/dynamic_color/example/lib/main.dart b/packages/dynamic_color/example/lib/main.dart index 18cc774b..6605665e 100644 --- a/packages/dynamic_color/example/lib/main.dart +++ b/packages/dynamic_color/example/lib/main.dart @@ -13,7 +13,7 @@ void main() { } class ExampleApp extends StatelessWidget { - const ExampleApp({Key? key}) : super(key: key); + const ExampleApp({super.key}); @override Widget build(BuildContext context) { @@ -71,10 +71,9 @@ class ExampleApp extends StatelessWidget { class _ExampleAppButton extends StatelessWidget { const _ExampleAppButton({ - Key? key, required this.title, required this.widget, - }) : super(key: key); + }); final String title; final Widget widget;