WIP
This commit is contained in:
parent
8c5f6aed40
commit
ab7348c073
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue