Skip to content

Commit

Permalink
Merge pull request #5 from xMadKing/majed-branch
Browse files Browse the repository at this point in the history
Added back button and fixed keyboard
  • Loading branch information
xMadKing authored Dec 24, 2023
2 parents e359482 + 77c153a commit 95601e4
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion lib/pages/userinfopage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import 'package:restart_app/restart_app.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:smartspend/widgets/customtextfield.dart';
import 'package:smartspend/widgets/backbutton.dart';
import 'package:smartspend/backend/user.dart';
import 'package:smartspend/backend/wyrm/database.dart';

Expand Down Expand Up @@ -39,13 +40,19 @@ class _UserInfo extends State<UserInfo>{
}
return(
Scaffold(
resizeToAvoidBottomInset: false,
body: Stack(
children: [
Container(
decoration: BoxDecoration(
color: Color(0xFF1E2038),
),
),
Positioned(
top: 40,
left: 20,
child: CustomizedBackButton()
),
Container(
child: Align(
alignment: Alignment(-0.9, -0.8),
Expand All @@ -55,6 +62,7 @@ class _UserInfo extends State<UserInfo>{
fontFamily: 'Montserrat',
color: Colors.white,
fontSize: 50,
fontWeight: FontWeight.w800
),
),
),
Expand Down Expand Up @@ -121,7 +129,7 @@ class CardWidget extends StatelessWidget {
),
),
Container(
margin: EdgeInsets.only(top: 75),
margin: EdgeInsets.only(top: 50),
width: MediaQuery.of(context).size.width * 0.75,
child: CustomTextField(
topText: "Name",
Expand Down

0 comments on commit 95601e4

Please sign in to comment.