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

72 lines
2.1 KiB
Dart
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import 'package:flutter/material.dart';
import 'package:openclosenew/07_addbusiness.dart';
class business extends StatefulWidget {
const business({Key? key}) : super(key: key);
@override
State<business> createState() => _businessState();
}
class _businessState extends State<business> {
@override
Widget build(BuildContext context) {
return Scaffold(
body: Column(
children: [
Spacer(),
Expanded(
child: Image.asset('assets/images/businessstart.png'),
),
Text(
'Lets add your business...',
style: TextStyle(
fontSize: 15,
color: Colors.black,
),
),
Spacer(),
Row(
children: [
Padding(
padding: const EdgeInsets.only(left: 55, right: 20, bottom: 24),
child: TextButton(
onPressed: () {},
child: Text(
"Skip",
style: TextStyle(color: Colors.grey.shade600),
),
),
),
SizedBox(
width: 50,
),
Expanded(
child: Padding(
padding:
const EdgeInsets.only(left: 0, right: 24, bottom: 24),
child: MaterialButton(
height: 50,
minWidth: double.infinity,
color: Color(0xff12C193),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(4)),
onPressed: () {
Navigator.push(context,
MaterialPageRoute(builder: (_) => addbusiness()));
},
child: Text(
'Add Now',
style: TextStyle(color: Colors.white, fontSize: 15),
),
),
),
),
],
),
],
),
);
}
}