From 4616a5f37049f817145aaf7c1526781284f4ab7e Mon Sep 17 00:00:00 2001 From: fujidaiti Date: Thu, 14 Dec 2023 21:42:40 +0900 Subject: [PATCH 1/3] chore: Bump minimum flutter version to 3.16.0 --- example/pubspec.yaml | 1 + pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/example/pubspec.yaml b/example/pubspec.yaml index b98fd57..8b2d1bb 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -6,6 +6,7 @@ version: 0.2.1 environment: sdk: ">=3.0.5 <4.0.0" + flutter: ">=3.16.0" dependencies: device_frame: ^1.1.0 diff --git a/pubspec.yaml b/pubspec.yaml index 65858b9..f86ad32 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -5,7 +5,7 @@ repository: https://github.com/fujidaiti/primer_progress_bar.git environment: sdk: ">=2.19.0 <4.0.0" - flutter: ">=1.17.0" + flutter: ">=3.16.0" dependencies: flutter: From 6b758415d896058df62ca20ffd0195ac48392a31 Mon Sep 17 00:00:00 2001 From: fujidaiti Date: Thu, 14 Dec 2023 21:47:19 +0900 Subject: [PATCH 2/3] chore: Bump to 0.4.1 --- CHANGELOG.md | 4 ++++ README.md | 2 +- example/pubspec.yaml | 2 +- pubspec.yaml | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 95524ef..412290e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 0.4.0 December 14, 2023 + +- Bump the minimum flutter version to 3.16.0 ([#21](https://github.com/fujidaiti/primer_progress_bar/issues/21)) + ## 0.3.1 December 10, 2023 - Fix: `TextPainter.textScaleFactor` is deprecated diff --git a/README.md b/README.md index 024aa0c..d07e892 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Add this package to your `pubspec.yaml`. ```yaml dependencies: - primer_progress_bar: ^0.3.0 + primer_progress_bar: ^0.4.0 ``` Alternatively, you can use `flutter` command like: diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 8b2d1bb..e391d2a 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -2,7 +2,7 @@ name: example description: An example usage of primer_progress_bar. publish_to: "none" -version: 0.2.1 +version: 0.4.0 environment: sdk: ">=3.0.5 <4.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index f86ad32..70e7c90 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: primer_progress_bar description: Unofficial Flutter implementation of the progress bar defined in GitHub Primer Design System. -version: 0.3.1 +version: 0.4.0 repository: https://github.com/fujidaiti/primer_progress_bar.git environment: From e7e07c2693a6818fe872188c710c0e5461b48d16 Mon Sep 17 00:00:00 2001 From: fujidaiti Date: Thu, 14 Dec 2023 21:59:28 +0900 Subject: [PATCH 3/3] format --- lib/src/legend_item.dart | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/src/legend_item.dart b/lib/src/legend_item.dart index 72ab8f8..0bf1cf5 100644 --- a/lib/src/legend_item.dart +++ b/lib/src/legend_item.dart @@ -124,7 +124,6 @@ enum LegendItemBehavior { both, } - /// An immutable style that can be applied to [LegendItem]s. @immutable class LegendItemStyle { @@ -149,7 +148,7 @@ class LegendItemStyle { /// The maximum width of the label. final double maxLabelSize; - /// The decoration applied to the handle. + /// The decoration applied to the handle. final BoxDecoration handleDecoration; /// The padding around the handle. @@ -168,13 +167,13 @@ class LegendItemStyle { final LegendItemBehavior behavior; /// The fallback style for the [Segment.label]. - /// + /// /// If the label of [LegendItem.segment] has no [TextStyle], /// this style is used instead. final TextStyle? labelStyle; /// The fallback style for the [Segment.valueLabel]. - /// + /// /// If the value label of [LegendItem.segment] has no [TextStyle], /// this style is used instead. final TextStyle? valueLabelStyle;