mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-18 05:51:34 +02:00
CAKE-304 | upgraded project to flutter 2.x.x, upgraded packages and resolved problems
This commit is contained in:
@@ -142,7 +142,7 @@ class AuthPageState extends State<AuthPage> {
|
||||
: Container(),
|
||||
backgroundColor: Theme.of(context).backgroundColor,
|
||||
border: null),
|
||||
resizeToAvoidBottomPadding: false,
|
||||
resizeToAvoidBottomInset: false,
|
||||
body: PinCode((pin, _) => widget.authViewModel.auth(password: pin),
|
||||
(_) => null, widget.authViewModel.pinLength, false, _pinCodeKey));
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ abstract class BasePage extends StatelessWidget {
|
||||
|
||||
Color get titleColor => null;
|
||||
|
||||
bool get resizeToAvoidBottomPadding => true;
|
||||
bool get resizeToAvoidBottomInset => true;
|
||||
|
||||
bool get extendBodyBehindAppBar => false;
|
||||
|
||||
@@ -138,7 +138,7 @@ abstract class BasePage extends StatelessWidget {
|
||||
final root = Scaffold(
|
||||
key: _scaffoldKey,
|
||||
backgroundColor: _backgroundColor,
|
||||
resizeToAvoidBottomPadding: resizeToAvoidBottomPadding,
|
||||
resizeToAvoidBottomInset: resizeToAvoidBottomInset,
|
||||
extendBodyBehindAppBar: extendBodyBehindAppBar,
|
||||
endDrawer: endDrawer,
|
||||
appBar: appBar(context),
|
||||
|
||||
@@ -101,7 +101,7 @@ class PinCodeState<T extends PinCodeWidget> extends State<T> {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) => Scaffold(
|
||||
key: _key, body: body(context), resizeToAvoidBottomPadding: false);
|
||||
key: _key, body: body(context), resizeToAvoidBottomInset: false);
|
||||
|
||||
Widget body(BuildContext context) {
|
||||
final deleteIconImage = Image.asset(
|
||||
|
||||
@@ -16,7 +16,7 @@ class WelcomePage extends BasePage {
|
||||
backgroundColor: Theme
|
||||
.of(context)
|
||||
.backgroundColor,
|
||||
resizeToAvoidBottomPadding: false,
|
||||
resizeToAvoidBottomInset: false,
|
||||
body: body(context));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user