Skip to content

Commit

Permalink
Merge pull request #97 from Frezyx/compatibility-old-flutter-version
Browse files Browse the repository at this point in the history
Update README badages
  • Loading branch information
Frezyx committed Sep 18, 2022
2 parents 8a446cb + 3f80135 commit f6400cb
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 5.2.2
- **INFO** Update README badages
## 5.2.1
- **INFO** Compatibility with flutter version under 3.3.0

## 5.2.0
- **INFO**: Make the package compatible with the 3.3.0 Flutter version
- **FIX**: Analyser issues
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ Included Radio and CheckBox buttons models with custom groping types 🤤

<p align="center">
<a href="https://pub.dev/packages/group_button"><img src="https://img.shields.io/pub/v/group_button.svg" alt="Pub"></a>
<a href="https://github.com/Frezyx/group_button"><img src="https://img.shields.io/github/stars/Frezyx/group_button.svg?style=flat&logo=github&label=stars" alt="Star on Github"></a>
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License: MIT"></a>
<a href="https://github.com/Frezyx/group_button"><img src="https://hits.dwyl.com/Frezyx/group_button.svg?style=flat" alt="Repository views"></a>
<a href="https://github.com/Frezyx/group_button"><img src="https://img.shields.io/github/stars/Frezyx/group_button?style=social" alt="Pub"></a>
</p>
<p align="center">
<a href="https://pub.dev/packages/group_button/score"><img src="https://badges.bar/group_button/likes" alt="Pub likes"></a>
<a href="https://pub.dev/packages/group_button/score"><img src="https://badges.bar/group_button/popularity" alt="Pub popularity"></a>
<a href="https://pub.dev/packages/group_button/score"><img src="https://badges.bar/group_button/pub%20points" alt="Pub points"></a>
<a href="https://pub.dev/packages/group_button/score"><img src="https://img.shields.io/pub/likes/group_button?logo=flutter" alt="Pub likes"></a>
<a href="https://pub.dev/packages/group_button/score"><img src="https://img.shields.io/pub/popularity/group_button?logo=flutter" alt="Pub popularity"></a>
<a href="https://pub.dev/packages/group_button/score"><img src="https://img.shields.io/pub/points/group_button?logo=flutter" alt="Pub points"></a>
</p>

<br>
Expand All @@ -40,7 +40,7 @@ Follow these steps to use this package

```yaml
dependencies:
group_button: ^5.2.0
group_button: ^5.2.2
```
### Add import package
Expand Down
3 changes: 2 additions & 1 deletion lib/src/group_button_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ class GroupButtonItem extends StatelessWidget {
onPressed: onPressed,
style: ElevatedButton.styleFrom(
elevation: elevation ?? 0.0,
backgroundColor: _getBackgroundColor(theme),
// ignore: deprecated_member_use
primary: _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.2.0
version: 5.2.2
homepage: https://github.com/Frezyx/group_button

environment:
Expand Down

0 comments on commit f6400cb

Please sign in to comment.