-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.dart
82 lines (79 loc) · 2.43 KB
/
main.dart
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
import 'package:flutter/material.dart';
import 'package:mob/signUp.dart';
void main() {
runApp(
MaterialApp(
home: SignUP(),
),
);
}
class signInPage extends StatefulWidget {
@override
State<signInPage> createState() => _signInPageState();
}
class _signInPageState extends State<signInPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: const Color(0xffE7F2F8),
appBar: AppBar(
title: const Center(
child: Text(
"AAiT Stack Overflow",
),
),
backgroundColor: const Color(0xff74BDCB)),
body: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
const CircleAvatar(
child: Image(
image: AssetImage('assets/stack1.jpg'),
),
radius: 70.0,
backgroundColor: Colors.white,
),
const SizedBox(
height: 30.0,
),
const Card(
child: Padding(
padding: EdgeInsets.only(left: 10),
child: TextField(
// controller: _namecontrller,
decoration: InputDecoration(
hintText: "Enter your Email",
icon: Icon(
Icons.email,
),
iconColor: Colors.black,
border: InputBorder.none),
keyboardType: TextInputType.emailAddress,
obscureText: true,
),
),
color: Color(0xff74BDCB),
margin: EdgeInsets.symmetric(vertical: 10.0, horizontal: 20.0),
),
const Card(
child: Padding(
padding: EdgeInsets.fromLTRB(10, 0, 0, 0),
child: TextField(
decoration: InputDecoration(
hintText: "Enter your Password",
icon: Icon(Icons.lock),
iconColor: Colors.black,
border: InputBorder.none),
keyboardType: TextInputType.visiblePassword,
obscureText: true,
),
),
color: Color(0xff74BDCB),
margin: EdgeInsets.symmetric(vertical: 10.0, horizontal: 20.0),
),
const SizedBox(height: 20.0),
],
),
);
}
}