chore: update fontFamily in button theme (#4251)

This commit is contained in:
Yijing Huang
2023-12-30 00:48:20 -07:00
committed by GitHub
parent 36cf653d64
commit ca50e56474
2 changed files with 7 additions and 2 deletions

View File

@ -119,8 +119,9 @@ class MobileAppearance extends BaseAppearance {
fixedSize: MaterialStateProperty.all(const Size.fromHeight(48)),
elevation: MaterialStateProperty.all(0),
textStyle: MaterialStateProperty.all(
const TextStyle(
TextStyle(
fontSize: 14,
fontFamily: fontStyle.fontFamily,
fontWeight: FontWeight.w600,
),
),
@ -139,8 +140,9 @@ class MobileAppearance extends BaseAppearance {
outlinedButtonTheme: OutlinedButtonThemeData(
style: ButtonStyle(
textStyle: MaterialStateProperty.all(
const TextStyle(
TextStyle(
fontSize: 14,
fontFamily: fontStyle.fontFamily,
fontWeight: FontWeight.w500,
),
),