From df5e8be77b3adc3fd2cfc62c03068f69be044d46 Mon Sep 17 00:00:00 2001 From: Renzo Olivares Date: Tue, 23 Jun 2020 10:35:49 -0700 Subject: [PATCH] Update textstyle in app.dart and login.dart --- mdc_100_series/lib/app.dart | 6 +++--- mdc_100_series/lib/login.dart | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mdc_100_series/lib/app.dart b/mdc_100_series/lib/app.dart index 72fe6cd0d0..8dae7098d5 100644 --- a/mdc_100_series/lib/app.dart +++ b/mdc_100_series/lib/app.dart @@ -85,17 +85,17 @@ ThemeData _buildShrineTheme() { TextTheme _buildShrineTextTheme(TextTheme base) { return base.copyWith( - headline: base.headline.copyWith( + headline5: base.headline5.copyWith( fontWeight: FontWeight.w500, ), - title: base.title.copyWith( + headline6: base.headline6.copyWith( fontSize: 18.0 ), caption: base.caption.copyWith( fontWeight: FontWeight.w400, fontSize: 14.0, ), - body2: base.body2.copyWith( + bodyText1: base.bodyText1.copyWith( fontWeight: FontWeight.w500, fontSize: 16.0, ), diff --git a/mdc_100_series/lib/login.dart b/mdc_100_series/lib/login.dart index 992e8db93a..d01d26d122 100644 --- a/mdc_100_series/lib/login.dart +++ b/mdc_100_series/lib/login.dart @@ -39,7 +39,7 @@ class _LoginPageState extends State { SizedBox(height: 16.0), Text( 'SHRINE', - style: Theme.of(context).textTheme.headline, + style: Theme.of(context).textTheme.headline5, ), ], ),