Skip to content

Commit 77392b7

Browse files
committed
changed depricated errors: caption to bodySmall
1 parent e355be0 commit 77392b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/widgets/customWidgets.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Widget customIcon(
2626
Color? iconColor,
2727
double paddingIcon = 10,
2828
}) {
29-
iconColor = iconColor ?? Theme.of(context).textTheme.caption!.color;
29+
iconColor = iconColor ?? Theme.of(context).textTheme.bodySmall!.color;
3030
return Padding(
3131
padding: EdgeInsets.only(bottom: isTwitterIcon ? paddingIcon : 0),
3232
child: Icon(

0 commit comments

Comments
 (0)