Skip to content

Commit

Permalink
fix: replace deprecated bodyText2 with bodyMedium (Idean#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
suojae committed Dec 6, 2024
1 parent 57f2b1f commit 6f971ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/widget/container.dart
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class _NeumorphicContainer extends StatelessWidget {
final shape = this.style.boxShape ?? NeumorphicBoxShape.rect();

return DefaultTextStyle(
style: this.textStyle ?? material.Theme.of(context).textTheme.bodyText2!,
style: this.textStyle ?? material.Theme.of(context).textTheme.bodyMedium!,
child: AnimatedContainer(
margin: this.margin,
duration: this.duration,
Expand Down

0 comments on commit 6f971ba

Please sign in to comment.