Skip to content

Commit

Permalink
changed depricated error: caption to bodySmall
Browse files Browse the repository at this point in the history
  • Loading branch information
Ugocode committed Jul 3, 2023
1 parent 77392b7 commit e07df0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/widgets/bottomMenuBar/bottomMenuBar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class _BottomMenubarState extends State<BottomMenubar> {
iconData,
color: index == state.pageIndex
? Theme.of(context).primaryColor
: Theme.of(context).textTheme.caption!.color,
: Theme.of(context).textTheme.bodySmall!.color,
),
onPressed: () {
setState(() {
Expand Down

0 comments on commit e07df0d

Please sign in to comment.