diff --git a/lib/src/widget/container.dart b/lib/src/widget/container.dart index 9e1e94fa..248768a0 100644 --- a/lib/src/widget/container.dart +++ b/lib/src/widget/container.dart @@ -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,