Skip to content

Commit 6f971ba

Browse files
committed
fix: replace deprecated bodyText2 with bodyMedium (Idean#287)
1 parent 57f2b1f commit 6f971ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/widget/container.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class _NeumorphicContainer extends StatelessWidget {
118118
final shape = this.style.boxShape ?? NeumorphicBoxShape.rect();
119119

120120
return DefaultTextStyle(
121-
style: this.textStyle ?? material.Theme.of(context).textTheme.bodyText2!,
121+
style: this.textStyle ?? material.Theme.of(context).textTheme.bodyMedium!,
122122
child: AnimatedContainer(
123123
margin: this.margin,
124124
duration: this.duration,

0 commit comments

Comments
 (0)