-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathForgotPassword1.dart
More file actions
156 lines (152 loc) · 5.48 KB
/
ForgotPassword1.dart
File metadata and controls
156 lines (152 loc) · 5.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
import 'package:flutter/material.dart';
class ForgotPassword extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Color(0xffffffff),
appBar: AppBar(
elevation: 0,
centerTitle: false,
automaticallyImplyLeading: false,
backgroundColor: Color(0xffffffff),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.zero,
),
title: Text(
"Forgot Password",
style: TextStyle(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
fontSize: 20,
color: Color(0xff000000),
),
),
leading: Icon(
Icons.arrow_back_ios,
color: Color(0xff212435),
size: 24,
),
),
body: Padding(
padding: EdgeInsets.symmetric(vertical: 0, horizontal: 16),
child: SingleChildScrollView(
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisSize: MainAxisSize.max,
children: [
Padding(
padding: EdgeInsets.fromLTRB(0, 16, 0, 0),
child:
///***If you have exported images you must have to copy those images in assets/images directory.
Image(
image: NetworkImage(
"https://pbs.twimg.com/media/Dq6yj5QXQAAmLOQ.jpg"),
height: 250,
width: 250,
fit: BoxFit.fill,
),
),
Padding(
padding: EdgeInsets.fromLTRB(0, 30, 0, 0),
child: Text(
"Forgot Password?",
textAlign: TextAlign.start,
overflow: TextOverflow.clip,
style: TextStyle(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
fontSize: 20,
color: Color(0xff000000),
),
),
),
Padding(
padding: EdgeInsets.all(16),
child: Text(
"Please write your email to receive a confirmation code to set a new password.",
textAlign: TextAlign.center,
overflow: TextOverflow.clip,
style: TextStyle(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
fontSize: 14,
color: Color(0xff545252),
),
),
),
TextField(
controller: TextEditingController(text: "john@test.com"),
obscureText: false,
textAlign: TextAlign.start,
maxLines: 1,
style: TextStyle(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
fontSize: 14,
color: Color(0xff000000),
),
decoration: InputDecoration(
disabledBorder: OutlineInputBorder(
borderRadius: BorderRadius.circular(4.0),
borderSide: BorderSide(color: Color(0xff000000), width: 1),
),
focusedBorder: OutlineInputBorder(
borderRadius: BorderRadius.circular(4.0),
borderSide: BorderSide(color: Color(0xff000000), width: 1),
),
enabledBorder: OutlineInputBorder(
borderRadius: BorderRadius.circular(4.0),
borderSide: BorderSide(color: Color(0xff000000), width: 1),
),
labelText: "Enter Email",
labelStyle: TextStyle(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
fontSize: 16,
color: Color(0xff000000),
),
hintText: "Enter Text",
hintStyle: TextStyle(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
fontSize: 14,
color: Color(0xff000000),
),
filled: true,
fillColor: Color(0xffffffff),
isDense: false,
contentPadding:
EdgeInsets.symmetric(vertical: 8, horizontal: 12),
),
),
Padding(
padding: EdgeInsets.fromLTRB(0, 30, 0, 0),
child: MaterialButton(
onPressed: () {},
color: Color(0xff3a57e8),
elevation: 0,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.zero,
),
padding: EdgeInsets.all(16),
child: Text(
"Confirm Mail",
style: TextStyle(
fontSize: 16,
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
),
),
textColor: Color(0xffffffff),
height: 45,
minWidth: MediaQuery.of(context).size.width,
),
),
],
),
),
),
);
}
}