Skip to content

Commit

Permalink
changed depricated errors: caption to bodySmall
Browse files Browse the repository at this point in the history
  • Loading branch information
Ugocode committed Jul 3, 2023
1 parent e355be0 commit 77392b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/widgets/customWidgets.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Widget customIcon(
Color? iconColor,
double paddingIcon = 10,
}) {
iconColor = iconColor ?? Theme.of(context).textTheme.caption!.color;
iconColor = iconColor ?? Theme.of(context).textTheme.bodySmall!.color;
return Padding(
padding: EdgeInsets.only(bottom: isTwitterIcon ? paddingIcon : 0),
child: Icon(
Expand Down

0 comments on commit 77392b7

Please sign in to comment.