Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/github_actions/actions/setup-ja…
Browse files Browse the repository at this point in the history
…va-4
  • Loading branch information
Frezyx authored Jan 9, 2024
2 parents 09d5d69 + 2719e8a commit 8dc0e30
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: Run flutter test and analyze
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: "12.x"
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 5.3.4
- Fix deprecated member 'primary'

Thanks to [NeroThroN](https://github.com/NeroThroN)

# 5.3.3
- Remove self linter with **flutter_lints**
- Fix linter issues
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Follow these steps to use this package

```yaml
dependencies:
group_button: ^5.3.3
group_button: ^5.3.4
```
### Add import package
Expand Down
3 changes: 1 addition & 2 deletions lib/src/group_button_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ class GroupButtonItem extends StatelessWidget {
onPressed: onPressed,
style: ElevatedButton.styleFrom(
elevation: elevation ?? 0.0,
// ignore: deprecated_member_use
primary: _getBackgroundColor(theme),
backgroundColor: _getBackgroundColor(theme),
shape: _buildShape(),
padding: (width != null || height != null) ? EdgeInsets.zero : null,
alignment: (width != null || height != null) ? alignment : null,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: group_button
description: Flutter custom widget to make a group buttons. Included Radio and CheckBox buttons.
version: 5.3.3
version: 5.3.4
homepage: https://github.com/Frezyx/group_button
repository: https://github.com/Frezyx/group_button
issue_tracker: https://github.com/Frezyx/group_button
Expand Down

0 comments on commit 8dc0e30

Please sign in to comment.