Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
malikdoksoz committed Apr 19, 2022
1 parent 4b99ceb commit 6d08666
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ class ConvexAppBar extends StatefulWidget {
Map<int, dynamic> badge, {
Key? key,
// config for badge
bool? showBadge = true,
bool? showBadge,
Color? badgeTextColor,
Color? badgeColor,
EdgeInsets? badgePadding,
Expand Down Expand Up @@ -323,7 +323,7 @@ class ConvexAppBar extends StatefulWidget {
if (badge.isNotEmpty) {
chipBuilder = DefaultChipBuilder(
badge,
showBadge: showBadge,
showBadge: showBadge ?? true,
textColor: badgeTextColor ?? Colors.white,
badgeColor: badgeColor ?? Colors.redAccent,
padding: badgePadding ?? EdgeInsets.only(left: 4, right: 4),
Expand Down

0 comments on commit 6d08666

Please sign in to comment.