Skip to content

Commit

Permalink
fix: Using bodyMedium instead of bodyText2
Browse files Browse the repository at this point in the history
  • Loading branch information
MMMzq committed Sep 12, 2023
1 parent db791fa commit 59496cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/toast.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1272,7 +1272,7 @@ class BotToast {
onClose?.call();
unRegisterFunc?.call();
}, child: Builder(builder: (BuildContext context) {
final TextStyle textStyle = Theme.of(context).textTheme.bodyText2!;
final TextStyle textStyle = Theme.of(context).textTheme.bodyMedium!;
Widget child = DefaultTextStyle(
style: textStyle,
child: Stack(children: <Widget>[
Expand Down

0 comments on commit 59496cd

Please sign in to comment.