91 lines
2.7 KiB
Dart
91 lines
2.7 KiB
Dart
import 'package:flutter/material.dart';
|
||
import 'package:openclosenew/07_addbusiness.dart';
|
||
import 'package:openclosenew/colors.dart';
|
||
|
||
import 'FontFamily.dart';
|
||
import 'businessempty.dart';
|
||
import 'fontsize.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(
|
||
fontFamily: Font,
|
||
fontSize: HeadText,
|
||
color: DarkGray,
|
||
),
|
||
),
|
||
Spacer(),
|
||
Row(
|
||
children: [
|
||
Expanded(
|
||
child: Padding(
|
||
padding: const EdgeInsets.only(left: 24, bottom: 24),
|
||
child: MaterialButton(
|
||
height: 50,
|
||
minWidth: double.infinity,
|
||
shape: RoundedRectangleBorder(
|
||
borderRadius: BorderRadius.circular(4)),
|
||
onPressed: () {
|
||
Navigator.push(context,
|
||
MaterialPageRoute(builder: (_) => businessempty()));
|
||
},
|
||
child: Text(
|
||
'Skip',
|
||
style: TextStyle(
|
||
color: Gray,
|
||
fontSize: HeadText,
|
||
fontFamily: Font,
|
||
),
|
||
),
|
||
),
|
||
),
|
||
),
|
||
Expanded(
|
||
child: Padding(
|
||
padding: const EdgeInsets.only(right: 24, bottom: 24),
|
||
child: MaterialButton(
|
||
height: 50,
|
||
minWidth: double.infinity,
|
||
color: primaryColor,
|
||
shape: RoundedRectangleBorder(
|
||
borderRadius: BorderRadius.circular(4)),
|
||
onPressed: () {
|
||
Navigator.push(context,
|
||
MaterialPageRoute(builder: (_) => addbusiness()));
|
||
},
|
||
child: Text(
|
||
'Add Now',
|
||
style: TextStyle(
|
||
color: White,
|
||
fontSize: HeadText,
|
||
fontFamily: Font,
|
||
),
|
||
),
|
||
),
|
||
),
|
||
),
|
||
],
|
||
),
|
||
],
|
||
),
|
||
);
|
||
}
|
||
}
|