Skip to content

Commit 8dc0e30

Browse files
authored
Merge branch 'master' into dependabot/github_actions/actions/setup-java-4
2 parents 09d5d69 + 2719e8a commit 8dc0e30

5 files changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/dart.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
name: Run flutter test and analyze
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020
- uses: actions/setup-java@v4
2121
with:
2222
java-version: "12.x"

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 5.3.4
2+
- Fix deprecated member 'primary'
3+
4+
Thanks to [NeroThroN](https://github.com/NeroThroN)
5+
16
# 5.3.3
27
- Remove self linter with **flutter_lints**
38
- Fix linter issues

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Follow these steps to use this package
4040

4141
```yaml
4242
dependencies:
43-
group_button: ^5.3.3
43+
group_button: ^5.3.4
4444
```
4545
4646
### Add import package

lib/src/group_button_item.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ class GroupButtonItem extends StatelessWidget {
8888
onPressed: onPressed,
8989
style: ElevatedButton.styleFrom(
9090
elevation: elevation ?? 0.0,
91-
// ignore: deprecated_member_use
92-
primary: _getBackgroundColor(theme),
91+
backgroundColor: _getBackgroundColor(theme),
9392
shape: _buildShape(),
9493
padding: (width != null || height != null) ? EdgeInsets.zero : null,
9594
alignment: (width != null || height != null) ? alignment : null,

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: group_button
22
description: Flutter custom widget to make a group buttons. Included Radio and CheckBox buttons.
3-
version: 5.3.3
3+
version: 5.3.4
44
homepage: https://github.com/Frezyx/group_button
55
repository: https://github.com/Frezyx/group_button
66
issue_tracker: https://github.com/Frezyx/group_button

0 commit comments

Comments
 (0)