Skip to content

Bump to 0.4.0 #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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