response design error completed

This commit is contained in:
vignesh 2022-05-30 21:00:50 +05:30
parent e47bcdc39b
commit cb8b0f588a
3 changed files with 742 additions and 731 deletions

View File

@ -27,12 +27,12 @@ class _businesshomeState extends State<businesshome> {
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.white,
body: Column(
body: SingleChildScrollView(
child: Column(
children: [
SafeArea(
child: Row(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.start,
children: [
Container(
height: 50,
@ -45,10 +45,8 @@ class _businesshomeState extends State<businesshome> {
),
Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.center,
children: [
SizedBox(
height: 25,
),
Text(
'Hi, Sudharsan',
style: TextStyle(
@ -71,15 +69,13 @@ class _businesshomeState extends State<businesshome> {
],
),
Spacer(),
Padding(
padding: const EdgeInsets.only(top: 20),
child: IconButton(
IconButton(
padding: EdgeInsets.only(right: 15),
icon: Image.asset('assets/images/bell.png'),
onPressed: () {
Navigator.pop(context);
},
),
),
],
),
),
@ -297,8 +293,10 @@ class _businesshomeState extends State<businesshome> {
),
),
),
Spacer(),
Padding(
padding: const EdgeInsets.only(right: 15, top: 10, bottom: 15),
padding:
const EdgeInsets.only(right: 15, top: 10, bottom: 15),
child: TextButton.icon(
icon: Icon(
Icons.add,
@ -310,7 +308,7 @@ class _businesshomeState extends State<businesshome> {
fontFamily: 'Manrope',
fontStyle: FontStyle.normal,
fontWeight: FontWeight.w600,
fontSize: 12,
fontSize: 15,
color: Color(0xFF09CD99),
),
),
@ -331,8 +329,10 @@ class _businesshomeState extends State<businesshome> {
padding: const EdgeInsets.only(left: 15),
child: InkWell(
onTap: () {
Navigator.push(context,
MaterialPageRoute(builder: (_) => businessdetail()));
Navigator.push(
context,
MaterialPageRoute(
builder: (_) => businessdetail()));
},
child: Container(
height: 200,
@ -361,7 +361,8 @@ class _businesshomeState extends State<businesshome> {
left: 15, right: 10, top: 75),
child: Row(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
crossAxisAlignment:
CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.only(),
@ -465,8 +466,10 @@ class _businesshomeState extends State<businesshome> {
padding: const EdgeInsets.only(left: 15),
child: InkWell(
onTap: () {
Navigator.push(context,
MaterialPageRoute(builder: (_) => businessdetail()));
Navigator.push(
context,
MaterialPageRoute(
builder: (_) => businessdetail()));
},
child: Container(
height: 200,
@ -494,7 +497,8 @@ class _businesshomeState extends State<businesshome> {
left: 15, right: 10, top: 75),
child: Row(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
crossAxisAlignment:
CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.only(),
@ -598,8 +602,10 @@ class _businesshomeState extends State<businesshome> {
padding: const EdgeInsets.only(left: 15),
child: InkWell(
onTap: () {
Navigator.push(context,
MaterialPageRoute(builder: (_) => businessdetail()));
Navigator.push(
context,
MaterialPageRoute(
builder: (_) => businessdetail()));
},
child: Container(
height: 200,
@ -627,7 +633,8 @@ class _businesshomeState extends State<businesshome> {
left: 15, right: 10, top: 75),
child: Row(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
crossAxisAlignment:
CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.only(),
@ -730,7 +737,6 @@ class _businesshomeState extends State<businesshome> {
],
),
),
Spacer(),
BottomNavigationBar(
iconSize: 20,
unselectedFontSize: 12,
@ -774,6 +780,7 @@ class _businesshomeState extends State<businesshome> {
),
],
),
),
);
}
}

View File

@ -104,6 +104,7 @@ class _businessemptyState extends State<businessempty> {
mainAxisAlignment: MainAxisAlignment.center,
children: [
DottedBorder(
dashPattern: [5, 5, 5, 5],
color: Color(0xff09CD99),
padding: EdgeInsets.all(5),
radius: Radius.circular(6),

View File

@ -30,26 +30,29 @@ class _businessState extends State<business> {
Spacer(),
Row(
children: [
Padding(
padding: const EdgeInsets.only(left: 55, right: 20, bottom: 24),
child: TextButton(
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: Colors.grey.shade600),
'Skip',
style:
TextStyle(color: Colors.grey.shade600, fontSize: 15),
),
),
),
SizedBox(
width: 50,
),
Expanded(
child: Padding(
padding:
const EdgeInsets.only(left: 0, right: 24, bottom: 24),
padding: const EdgeInsets.only(right: 24, bottom: 24),
child: MaterialButton(
height: 50,
minWidth: double.infinity,