From 6f971ba358ea8e0688f01a0e7c2d68abcd602a1e Mon Sep 17 00:00:00 2001 From: suojae Date: Fri, 6 Dec 2024 16:45:34 +0900 Subject: [PATCH] fix: replace deprecated `bodyText2` with `bodyMedium` (#287) --- lib/src/widget/container.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,