response design error completed
This commit is contained in:
parent
e47bcdc39b
commit
cb8b0f588a
@ -27,12 +27,12 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
backgroundColor: Colors.white,
|
backgroundColor: Colors.white,
|
||||||
body: Column(
|
body: SingleChildScrollView(
|
||||||
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
SafeArea(
|
SafeArea(
|
||||||
child: Row(
|
child: Row(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
|
||||||
children: [
|
children: [
|
||||||
Container(
|
Container(
|
||||||
height: 50,
|
height: 50,
|
||||||
@ -45,10 +45,8 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
),
|
),
|
||||||
Column(
|
Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
SizedBox(
|
|
||||||
height: 25,
|
|
||||||
),
|
|
||||||
Text(
|
Text(
|
||||||
'Hi, Sudharsan',
|
'Hi, Sudharsan',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
@ -71,15 +69,13 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
Spacer(),
|
Spacer(),
|
||||||
Padding(
|
IconButton(
|
||||||
padding: const EdgeInsets.only(top: 20),
|
padding: EdgeInsets.only(right: 15),
|
||||||
child: IconButton(
|
|
||||||
icon: Image.asset('assets/images/bell.png'),
|
icon: Image.asset('assets/images/bell.png'),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Navigator.pop(context);
|
Navigator.pop(context);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -297,8 +293,10 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Spacer(),
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(right: 15, top: 10, bottom: 15),
|
padding:
|
||||||
|
const EdgeInsets.only(right: 15, top: 10, bottom: 15),
|
||||||
child: TextButton.icon(
|
child: TextButton.icon(
|
||||||
icon: Icon(
|
icon: Icon(
|
||||||
Icons.add,
|
Icons.add,
|
||||||
@ -310,7 +308,7 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
fontFamily: 'Manrope',
|
fontFamily: 'Manrope',
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
fontSize: 12,
|
fontSize: 15,
|
||||||
color: Color(0xFF09CD99),
|
color: Color(0xFF09CD99),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -331,8 +329,10 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
padding: const EdgeInsets.only(left: 15),
|
padding: const EdgeInsets.only(left: 15),
|
||||||
child: InkWell(
|
child: InkWell(
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Navigator.push(context,
|
Navigator.push(
|
||||||
MaterialPageRoute(builder: (_) => businessdetail()));
|
context,
|
||||||
|
MaterialPageRoute(
|
||||||
|
builder: (_) => businessdetail()));
|
||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
height: 200,
|
height: 200,
|
||||||
@ -361,7 +361,8 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
left: 15, right: 10, top: 75),
|
left: 15, right: 10, top: 75),
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.start,
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment:
|
||||||
|
CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(),
|
padding: const EdgeInsets.only(),
|
||||||
@ -465,8 +466,10 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
padding: const EdgeInsets.only(left: 15),
|
padding: const EdgeInsets.only(left: 15),
|
||||||
child: InkWell(
|
child: InkWell(
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Navigator.push(context,
|
Navigator.push(
|
||||||
MaterialPageRoute(builder: (_) => businessdetail()));
|
context,
|
||||||
|
MaterialPageRoute(
|
||||||
|
builder: (_) => businessdetail()));
|
||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
height: 200,
|
height: 200,
|
||||||
@ -494,7 +497,8 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
left: 15, right: 10, top: 75),
|
left: 15, right: 10, top: 75),
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.start,
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment:
|
||||||
|
CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(),
|
padding: const EdgeInsets.only(),
|
||||||
@ -598,8 +602,10 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
padding: const EdgeInsets.only(left: 15),
|
padding: const EdgeInsets.only(left: 15),
|
||||||
child: InkWell(
|
child: InkWell(
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Navigator.push(context,
|
Navigator.push(
|
||||||
MaterialPageRoute(builder: (_) => businessdetail()));
|
context,
|
||||||
|
MaterialPageRoute(
|
||||||
|
builder: (_) => businessdetail()));
|
||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
height: 200,
|
height: 200,
|
||||||
@ -627,7 +633,8 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
left: 15, right: 10, top: 75),
|
left: 15, right: 10, top: 75),
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.start,
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment:
|
||||||
|
CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(),
|
padding: const EdgeInsets.only(),
|
||||||
@ -730,7 +737,6 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Spacer(),
|
|
||||||
BottomNavigationBar(
|
BottomNavigationBar(
|
||||||
iconSize: 20,
|
iconSize: 20,
|
||||||
unselectedFontSize: 12,
|
unselectedFontSize: 12,
|
||||||
@ -774,6 +780,7 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -104,6 +104,7 @@ class _businessemptyState extends State<businessempty> {
|
|||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
DottedBorder(
|
DottedBorder(
|
||||||
|
dashPattern: [5, 5, 5, 5],
|
||||||
color: Color(0xff09CD99),
|
color: Color(0xff09CD99),
|
||||||
padding: EdgeInsets.all(5),
|
padding: EdgeInsets.all(5),
|
||||||
radius: Radius.circular(6),
|
radius: Radius.circular(6),
|
||||||
|
@ -30,26 +30,29 @@ class _businessState extends State<business> {
|
|||||||
Spacer(),
|
Spacer(),
|
||||||
Row(
|
Row(
|
||||||
children: [
|
children: [
|
||||||
Padding(
|
Expanded(
|
||||||
padding: const EdgeInsets.only(left: 55, right: 20, bottom: 24),
|
child: Padding(
|
||||||
child: TextButton(
|
padding: const EdgeInsets.only(left: 24, bottom: 24),
|
||||||
|
child: MaterialButton(
|
||||||
|
height: 50,
|
||||||
|
minWidth: double.infinity,
|
||||||
|
shape: RoundedRectangleBorder(
|
||||||
|
borderRadius: BorderRadius.circular(4)),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Navigator.push(context,
|
Navigator.push(context,
|
||||||
MaterialPageRoute(builder: (_) => businessempty()));
|
MaterialPageRoute(builder: (_) => businessempty()));
|
||||||
},
|
},
|
||||||
child: Text(
|
child: Text(
|
||||||
"Skip",
|
'Skip',
|
||||||
style: TextStyle(color: Colors.grey.shade600),
|
style:
|
||||||
|
TextStyle(color: Colors.grey.shade600, fontSize: 15),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
SizedBox(
|
|
||||||
width: 50,
|
|
||||||
),
|
),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding:
|
padding: const EdgeInsets.only(right: 24, bottom: 24),
|
||||||
const EdgeInsets.only(left: 0, right: 24, bottom: 24),
|
|
||||||
child: MaterialButton(
|
child: MaterialButton(
|
||||||
height: 50,
|
height: 50,
|
||||||
minWidth: double.infinity,
|
minWidth: double.infinity,
|
||||||
|
Loading…
Reference in New Issue
Block a user