From 0e1d51063282e37d19383ff5d84e71e385e2c720 Mon Sep 17 00:00:00 2001 From: Sumeet Balwade <41995680+sumeetbalwade@users.noreply.github.com> Date: Sat, 27 Jun 2020 11:53:06 +0530 Subject: [PATCH] body text upgrade body1 is 2014 flutter style now updated to bodytext1 --- lib/main.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/main.dart b/lib/main.dart index 6ea23d095c..a97abd52f5 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -12,7 +12,7 @@ class FlashChat extends StatelessWidget { return MaterialApp( theme: ThemeData.dark().copyWith( textTheme: TextTheme( - body1: TextStyle(color: Colors.black54), + bodyText1: TextStyle(color: Colors.black54), ), ), home: WelcomeScreen(),