3e4fe64b63
Business Empty Design Almost Finished (design 10)
120 lines
3.8 KiB
Dart
120 lines
3.8 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:dotted_border/dotted_border.dart';
|
|
|
|
class businessempty extends StatelessWidget {
|
|
const businessempty({Key? key}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
backgroundColor: Colors.white,
|
|
body: Column(
|
|
children: [
|
|
SafeArea(
|
|
child: Row(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
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,
|
|
children: [
|
|
SizedBox(
|
|
height: 25,
|
|
),
|
|
Text(
|
|
'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(),
|
|
Column(
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
children: [
|
|
DottedBorder(
|
|
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),
|
|
),
|
|
),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|