Skip to content

Commit

Permalink
Merge pull request #61 from VictorUvarov/master
Browse files Browse the repository at this point in the history
don't use specific widgets
  • Loading branch information
pedromassango authored Jul 18, 2020
2 parents 6ee94c7 + 69d58b3 commit 68e2958
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/bottom_navy_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ class _ItemWidget extends StatelessWidget {
}

class BottomNavyBarItem {
final Icon icon;
final Text title;
final Widget icon;
final Widget title;
final Color activeColor;
final Color inactiveColor;
final TextAlign textAlign;
Expand Down

1 comment on commit 68e2958

@MustafaAdam
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was about to add this to my local files.
I wanted to show badges on an item, and didn't like that it forces to use an Icon instead of Stack or any other widget.
Great addition. Thank you

Please sign in to comment.