This commit is contained in:
J. A. Messias 2024-10-10 09:23:10 -03:00
parent 8c5f6aed40
commit ab7348c073
2 changed files with 5 additions and 6 deletions

View File

@ -129,7 +129,6 @@ class _AppState extends State<App> {
return const Color(0xff1aab5f); return const Color(0xff1aab5f);
}), }),
), ),
bottomSheetTheme: BottomSheetThemeData(dragHandleColor: const Color(0xFF171717)),
); );
final ThemeData _theme = ThemeData( final ThemeData _theme = ThemeData(
brightness: Brightness.light, brightness: Brightness.light,
@ -146,8 +145,6 @@ class _AppState extends State<App> {
return const Color(0xff1aab5f); return const Color(0xff1aab5f);
}), }),
), ),
bottomSheetTheme: BottomSheetThemeData(
dragHandleColor: const Color(0xFFFFFFFF)),
); );
final Iterable<LocalizationsDelegate<dynamic>>? localizationsDelegates = const [ final Iterable<LocalizationsDelegate<dynamic>>? localizationsDelegates = const [
FFLocalizationsDelegate(), FFLocalizationsDelegate(),
@ -202,12 +199,10 @@ class _AppState extends State<App> {
context: context, context: context,
builder: (context) => SizedBox(height: height, child: builder(context)), builder: (context) => SizedBox(height: height, child: builder(context)),
isScrollControlled: true, isScrollControlled: true,
showDragHandle: true,
barrierColor: theme.primaryBackground.withOpacity(0.2), barrierColor: theme.primaryBackground.withOpacity(0.2),
backgroundColor: theme.primaryBackground, backgroundColor: theme.primaryBackground,
useSafeArea: true, useSafeArea: true,
enableDrag: true, enableDrag: true,
isDismissible: true, isDismissible: true,
).then((_) => StorageUtil().isRecovered = false); ).then((_) => StorageUtil().isRecovered = false);
} }

View File

@ -88,7 +88,11 @@ class _ForgotPasswordScreenState extends State<ForgotPasswordScreen> with Ticker
super.dispose(); super.dispose();
} }
@override Widget build(BuildContext context) => buildBody(context); @override Widget build(BuildContext context) => Scaffold(
appBar: buildAppBar(context),
body: buildBody(context),
);
AppBar buildAppBar(BuildContext context) { AppBar buildAppBar(BuildContext context) {
return AppBar( return AppBar(