Skip to content

Commit 4b1f75e

Browse files
author
Jack
committed
Fixed extra height in signup page 9 and fixed bottom card space
1 parent a50673f commit 4b1f75e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/page/signup/SignPageNine.dart

+4-2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ class SignPageNineState extends State<SignPageNine> {
2424

2525
@override
2626
Widget build(BuildContext context) {
27+
final double statusbarHeight = MediaQuery.of(context).padding.top;
28+
2729
// TODO: implement build
2830
return Scaffold(
2931
appBar: SignupApbar(
@@ -32,7 +34,7 @@ class SignPageNineState extends State<SignPageNine> {
3234
body: SingleChildScrollView(
3335
physics: BouncingScrollPhysics(),
3436
child: Container(
35-
height: MediaQuery.of(context).size.height,
37+
height: MediaQuery.of(context).size.height - kToolbarHeight - statusbarHeight,
3638
decoration: BoxDecoration(gradient: SIGNUP_BACKGROUND),
3739
child: Align(
3840
alignment: Alignment.topCenter,
@@ -64,7 +66,7 @@ class SignPageNineState extends State<SignPageNine> {
6466
])),
6567
child: Container(
6668
margin:
67-
EdgeInsets.only(top: 180.0, left: 24.0, right: 24.0),
69+
EdgeInsets.only(top: 180.0, left: 24.0, right: 24.0, bottom: 16.0),
6870
child: ListView(
6971
shrinkWrap: true,
7072
children: <Widget>[

0 commit comments

Comments
 (0)