This commit is contained in:
vignesh 2022-05-13 23:41:30 +05:30
commit b1a13c7169

View File

@ -1,118 +1,70 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:dotted_border/dotted_border.dart';
class businessempty extends StatelessWidget { class businessempty extends StatefulWidget {
const businessempty({Key? key}) : super(key: key); const businessempty({Key? key}) : super(key: key);
@override
State<businessempty> createState() => _businessemptyState();
}
class _businessemptyState extends State<businessempty> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Scaffold( return Scaffold(
backgroundColor: Colors.white, backgroundColor: Colors.white,
body: Column( body: SafeArea(
children: [ child: Row(
SafeArea( crossAxisAlignment: CrossAxisAlignment.start,
child: Row( mainAxisAlignment: MainAxisAlignment.center,
children: [
Container(
height: 50,
width: 50,
margin: EdgeInsets.all(20),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(50),
color: Colors.grey,
),
),
Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.center,
children: [ children: [
Container( SizedBox(
height: 50, height: 25,
width: 50, ),
margin: EdgeInsets.all(20), Text(
decoration: BoxDecoration( 'Hi, Sudharsan',
borderRadius: BorderRadius.circular(50), style: TextStyle(
color: Colors.grey, color: Colors.black,
fontSize: 16,
fontFamily: 'Manrope',
fontStyle: FontStyle.normal,
fontWeight: FontWeight.w600,
), ),
), ),
Column( Text(
crossAxisAlignment: CrossAxisAlignment.start, 'Mon, 02 May 2022',
children: [ style: TextStyle(
SizedBox( fontFamily: 'Manrope',
height: 25, fontStyle: FontStyle.normal,
), fontWeight: FontWeight.w500,
Text( fontSize: 11,
'Hi, Sudharsan',
style: TextStyle(
color: Colors.black,
fontSize: 16,
fontFamily: 'Manrope',
fontStyle: FontStyle.normal,
fontWeight: FontWeight.w600,
),
),
Text(
'Mon, 02 May 2022',
style: TextStyle(
fontFamily: 'Manrope',
fontStyle: FontStyle.normal,
fontWeight: FontWeight.w500,
fontSize: 11,
),
),
],
),
Spacer(),
Padding(
padding: const EdgeInsets.only(top: 20),
child: IconButton(
icon: Image.asset('assets/images/bell.png'),
onPressed: () {
Navigator.pop(context);
},
), ),
), ),
], ],
), ),
), Spacer(),
Spacer(), Padding(
Column( padding: const EdgeInsets.only(top: 20),
crossAxisAlignment: CrossAxisAlignment.center, child: IconButton(
mainAxisAlignment: MainAxisAlignment.center, icon: Image.asset('assets/images/bell.png'),
children: [ onPressed: () {
DottedBorder( Navigator.pop(context);
color: Color(0xff09CD99), },
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'),
onPressed: () {
Navigator.pop(context);
},
),
Text(
'Add your Business',
style: TextStyle(
fontFamily: 'Manrope',
fontStyle: FontStyle.normal,
fontWeight: FontWeight.w400,
fontSize: 14,
color: Color(0xff09CD99),
),
)
],
),
),
), ),
],
),
Spacer(),
MaterialButton(
height: 50,
minWidth: double.infinity,
color: Color(0xff12C193),
onPressed: () {},
child: Text(
'Save',
style: TextStyle(color: Colors.white, fontSize: 15),
), ),
), ],
], ),
), ),
); );
} }