Skip to content

Commit

Permalink
Fixed Keyboard Covering Login and SignUp Layout (#1412)
Browse files Browse the repository at this point in the history
* Fixed Keyboard Covering Login and SignUp Layout

* Fixed Formatting Problem

* Resolved Pubspec.lock issue
  • Loading branch information
ALIRAZA17 authored Jan 26, 2023
1 parent 5b28a77 commit b8960ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/views/pre_auth_screens/login.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class _LoginState extends State<Login> {
onModelReady: (model) => model.initialize(),
builder: (context, model, child) {
return Scaffold(
resizeToAvoidBottomInset: true,
appBar: AppBar(
elevation: 0.0,
backgroundColor: Colors.transparent,
Expand Down
2 changes: 2 additions & 0 deletions lib/views/pre_auth_screens/signup_details.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ class _SignUpDetailsState extends State<SignUpDetails> {
onModelReady: (model) => model.initialise(widget.selectedOrg),
builder: (context, model, child) {
return Scaffold(
resizeToAvoidBottomInset:
true, // To allow the keyboard to not overlap the form
extendBodyBehindAppBar: true,
appBar: AppBar(
elevation: 0.0,
Expand Down

0 comments on commit b8960ac

Please sign in to comment.