Skip to content

Commit

Permalink
Merge pull request #22 from fujidaiti/v0.4.0
Browse files Browse the repository at this point in the history
Bump to 0.4.1
  • Loading branch information
fujidaiti authored Dec 14, 2023
2 parents 4a379f5 + e7e07c2 commit 88e67fa
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ 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"
flutter: ">=3.16.0"

dependencies:
device_frame: ^1.1.0
Expand Down
7 changes: 3 additions & 4 deletions lib/src/legend_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ enum LegendItemBehavior {
both,
}


/// An immutable style that can be applied to [LegendItem]s.
@immutable
class LegendItemStyle {
Expand All @@ -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.
Expand All @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
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:
sdk: ">=2.19.0 <4.0.0"
flutter: ">=1.17.0"
flutter: ">=3.16.0"

dependencies:
flutter:
Expand Down

0 comments on commit 88e67fa

Please sign in to comment.