3e4fe64b63
Business Empty Design Almost Finished (design 10)
77 lines
2.2 KiB
Dart
77 lines
2.2 KiB
Dart
import 'package:flutter/material.dart';
|
||
import 'package:openclosenew/07_addbusiness.dart';
|
||
|
||
import 'businessempty.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(
|
||
'Let’s 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: () {
|
||
Navigator.push(context,
|
||
MaterialPageRoute(builder: (_) => businessempty()));
|
||
},
|
||
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),
|
||
),
|
||
),
|
||
),
|
||
),
|
||
],
|
||
),
|
||
],
|
||
),
|
||
);
|
||
}
|
||
}
|