BusinessAppFlutter/openclosenew/lib/home_screen.dart
vignesh 670cdb1499 Add Business (in progress)
add business design half UI design progress
2022-05-09 12:24:36 +05:30

87 lines
2.5 KiB
Dart

import 'package:flutter/material.dart';
import 'package:openclosenew/verification.dart';
class Register extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.white,
body: SafeArea(
child: Padding(
padding: EdgeInsets.only(left: 24, right: 24, bottom: 24),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.center,
children: [
Spacer(),
Image.asset(
'assets/images/login.png',
),
SizedBox(
height: 24,
),
Text(
"Welcome!",
style: TextStyle(
fontSize: 24,
color: Color(0xff12C193),
),
),
SizedBox(
height: 24,
),
Text(
"Enter your mobile number to verification ",
style: TextStyle(
fontSize: 12,
color: Colors.black,
),
),
SizedBox(
height: 24,
),
Row(
children: [
Image.asset('assets/images/india.png'),
SizedBox(
width: 8,
),
Text('+91'),
SizedBox(
width: 8,
),
Expanded(
child: TextField(
keyboardType: TextInputType.phone,
decoration: InputDecoration(
border: InputBorder.none,
hintText: 'Mobile Number',
),
),
),
],
),
Spacer(),
MaterialButton(
height: 50,
minWidth: double.infinity,
color: Color(0xff12C193),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(4)),
onPressed: () {
Navigator.push(context,
MaterialPageRoute(builder: (_) => verification()));
},
child: Text(
'Get OTP',
style: TextStyle(color: Colors.white, fontSize: 15),
),
),
],
),
),
),
);
}
}