From 41bb9c0c4e52f3dd3c4b0e361bbaa51e09161f1d Mon Sep 17 00:00:00 2001 From: stonega Date: Sun, 3 Jan 2021 01:34:25 +0800 Subject: [PATCH] Change bottom sheet title font style. --- lib/widgets/general_dialog.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/widgets/general_dialog.dart b/lib/widgets/general_dialog.dart index 65d2c10..05465fd 100644 --- a/lib/widgets/general_dialog.dart +++ b/lib/widgets/general_dialog.dart @@ -60,10 +60,10 @@ Future generalSheet(BuildContext context, {Widget child, String title}) async => ), Padding( padding: EdgeInsets.only( - left: 50, right: 50, top: 6.0, bottom: 15), + left: 50, right: 50, top: 6.0, bottom: 10), child: Text( title, - style: context.textTheme.headline6, + style: context.textTheme.subtitle2, textAlign: TextAlign.center, maxLines: 1, overflow: TextOverflow.clip,