127 lines
4.1 KiB
Dart
127 lines
4.1 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:dotted_border/dotted_border.dart';
|
|
import 'package:openclosenew/11_busiesshome.dart';
|
|
import 'package:openclosenew/fontsize.dart';
|
|
|
|
import 'FontFamily.dart';
|
|
import 'colors.dart';
|
|
|
|
class businessempty extends StatefulWidget {
|
|
const businessempty({Key? key}) : super(key: key);
|
|
|
|
@override
|
|
State<businessempty> createState() => _businessemptyState();
|
|
}
|
|
|
|
class _businessemptyState extends State<businessempty> {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
backgroundColor: Colors.white,
|
|
body: SafeArea(
|
|
child: Column(
|
|
children: [
|
|
Row(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
children: [
|
|
Container(
|
|
height: 50,
|
|
width: 50,
|
|
margin: EdgeInsets.all(20),
|
|
decoration: BoxDecoration(
|
|
borderRadius: BorderRadius.circular(50),
|
|
color: Gray,
|
|
),
|
|
),
|
|
Column(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
children: [
|
|
SizedBox(
|
|
height: 25,
|
|
),
|
|
Text(
|
|
'Hi, Sudharsan',
|
|
style: TextStyle(
|
|
color: DarkGray,
|
|
fontSize: HeadText,
|
|
fontFamily: Font,
|
|
fontStyle: FontStyle.normal,
|
|
fontWeight: FontWeight.w600,
|
|
),
|
|
),
|
|
Text(
|
|
'Mon, 02 May 2022',
|
|
style: TextStyle(
|
|
fontFamily: Font,
|
|
fontStyle: FontStyle.normal,
|
|
fontWeight: FontWeight.w500,
|
|
fontSize: SubText,
|
|
color: Gray,
|
|
),
|
|
),
|
|
],
|
|
),
|
|
Spacer(),
|
|
Padding(
|
|
padding: const EdgeInsets.only(top: 20),
|
|
child: IconButton(
|
|
icon: Image.asset('assets/images/bell.png'),
|
|
onPressed: () {
|
|
Navigator.pop(context);
|
|
},
|
|
),
|
|
),
|
|
],
|
|
),
|
|
Spacer(),
|
|
Column(
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
children: [
|
|
DottedBorder(
|
|
dashPattern: [5, 5, 5, 5],
|
|
color: primaryColor,
|
|
padding: EdgeInsets.all(5),
|
|
radius: Radius.circular(6),
|
|
child: Container(
|
|
height: 100,
|
|
width: 330,
|
|
child: Column(
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
children: [
|
|
IconButton(
|
|
icon: Image.asset(
|
|
'assets/images/shop.png',
|
|
color: primaryColor,
|
|
),
|
|
onPressed: () {
|
|
Navigator.push(
|
|
context,
|
|
MaterialPageRoute(
|
|
builder: (_) => businesshome()));
|
|
},
|
|
),
|
|
Text(
|
|
'Add your Business',
|
|
style: TextStyle(
|
|
fontFamily: Font,
|
|
fontStyle: FontStyle.normal,
|
|
fontWeight: FontWeight.w400,
|
|
fontSize: HeadText,
|
|
color: primaryColor,
|
|
),
|
|
)
|
|
],
|
|
),
|
|
),
|
|
),
|
|
],
|
|
),
|
|
Spacer(),
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|