Skip to content

Commit 5126bbb

Browse files
committed
verification screen added and ui fixes
1 parent eda1b88 commit 5126bbb

13 files changed

+474
-244
lines changed

lib/custom_widgets/button_solid_with_icon.dart

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,27 @@ class ButtonPlainWithIcon extends StatelessWidget {
99
final VoidCallback callback;
1010
final bool isPrefix;
1111
final bool isSuffix;
12+
final Color color;
13+
final Color textColor;
1214

13-
const ButtonPlainWithIcon({
14-
this.text,
15-
this.callback,
16-
this.isPrefix,
17-
this.isSuffix,
18-
this.iconPath,
19-
});
15+
const ButtonPlainWithIcon(
16+
{this.text,
17+
this.callback,
18+
this.isPrefix,
19+
this.isSuffix,
20+
this.iconPath,
21+
this.color,
22+
this.textColor});
2023

2124
@override
2225
Widget build(BuildContext context) {
2326
return ButtonTheme(
2427
minWidth: MediaQuery.of(context).size.width,
2528
child: RaisedButton(
2629
padding: EdgeInsets.all(16),
27-
color: wood_smoke,
30+
color: color,
2831
onPressed: callback,
29-
textColor: white,
32+
textColor: textColor,
3033
child: Row(
3134
mainAxisAlignment: MainAxisAlignment.center,
3235
children: <Widget>[

lib/login/contact_us_form.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ class ContactUsForm extends StatelessWidget {
7676
height: 24,
7777
),
7878
ButtonPlainWithIcon(
79+
color: wood_smoke,
80+
textColor: white,
7981
iconPath: "assets/icons/arrow_next.svg",
8082
isPrefix: false,
8183
isSuffix: true,

lib/login/input_text_box_bigger.dart

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ class InputTextBoxBigger extends StatelessWidget {
1313
Widget build(BuildContext context) {
1414
return Container(
1515
height: 150,
16+
alignment: Alignment.center,
1617
child: TextField(
1718
keyboardType: TextInputType.multiline,
1819
maxLines: 4,
20+
textAlign: TextAlign.start,
1921
textAlignVertical: TextAlignVertical.top,
2022
decoration: InputDecoration(
2123
hintText: text,
@@ -34,12 +36,18 @@ class InputTextBoxBigger extends StatelessWidget {
3436
border: OutlineInputBorder(
3537
borderSide: BorderSide(width: 2, color: black),
3638
borderRadius: BorderRadius.all(Radius.circular(16))),
37-
prefixIcon: Padding(
38-
padding: const EdgeInsets.all(16.0),
39-
child: SvgPicture.asset(
40-
iconPath,
41-
height: 24,
42-
width: 24,
39+
prefixIcon: Container(
40+
height: 128,
41+
width: 48,
42+
alignment: Alignment.topLeft,
43+
margin: EdgeInsets.all(4),
44+
child: Padding(
45+
padding: const EdgeInsets.only(left: 12.0, top: 16.0),
46+
child: SvgPicture.asset(
47+
iconPath,
48+
height: 24,
49+
width: 24,
50+
),
4351
),
4452
)),
4553
),

lib/login/login_form_one.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,16 @@ class LoginFormTypeOne extends StatelessWidget {
8080
height: 48,
8181
),
8282
ButtonPlainWithIcon(
83+
color: wood_smoke,
84+
textColor: white,
8385
iconPath: "assets/icons/arrow_next.svg",
8486
isPrefix: false,
8587
isSuffix: true,
8688
text: "Sign in",
8789
callback: () {},
8890
),
8991
SizedBox(
90-
height: 40,
92+
height: 36,
9193
),
9294
CustomRichText(
9395
alignment: Alignment.center,

lib/login/login_form_type_five.dart

Lines changed: 0 additions & 123 deletions
This file was deleted.

0 commit comments

Comments
 (0)