Error Fixing
This commit is contained in:
parent
b757eac099
commit
b7bcc82120
@ -149,7 +149,7 @@ class _addbusinessState extends State<addbusiness> {
|
|||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(
|
padding: const EdgeInsets.only(
|
||||||
left: 24,
|
left: 24,
|
||||||
top: 5,
|
top: 15,
|
||||||
right: 24,
|
right: 24,
|
||||||
),
|
),
|
||||||
child: Text(
|
child: Text(
|
||||||
@ -180,7 +180,7 @@ class _addbusinessState extends State<addbusiness> {
|
|||||||
),
|
),
|
||||||
Padding(
|
Padding(
|
||||||
padding:
|
padding:
|
||||||
const EdgeInsets.only(left: 24, top: 5, right: 24),
|
const EdgeInsets.only(left: 24, top: 15, right: 24),
|
||||||
child: Text(
|
child: Text(
|
||||||
'Tell about your business...',
|
'Tell about your business...',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
@ -209,7 +209,7 @@ class _addbusinessState extends State<addbusiness> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(top: 5),
|
padding: const EdgeInsets.only(top: 15),
|
||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
SizedBox(
|
SizedBox(
|
||||||
@ -310,7 +310,7 @@ class _addbusinessState extends State<addbusiness> {
|
|||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(left: 28),
|
padding: const EdgeInsets.only(left: 28, top: 15),
|
||||||
child: Text(
|
child: Text(
|
||||||
'Address',
|
'Address',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
@ -348,7 +348,7 @@ class _addbusinessState extends State<addbusiness> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
height: 50,
|
height: 45,
|
||||||
),
|
),
|
||||||
MaterialButton(
|
MaterialButton(
|
||||||
height: 50,
|
height: 50,
|
||||||
|
@ -345,6 +345,12 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
margin: EdgeInsets.only(right: 15),
|
margin: EdgeInsets.only(right: 15),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
borderRadius: BorderRadius.all(Radius.circular(5)),
|
borderRadius: BorderRadius.all(Radius.circular(5)),
|
||||||
|
image: new DecorationImage(
|
||||||
|
image: ExactAssetImage(
|
||||||
|
'assets/images/bg.png',
|
||||||
|
),
|
||||||
|
fit: BoxFit.cover,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
foregroundDecoration: BoxDecoration(
|
foregroundDecoration: BoxDecoration(
|
||||||
color: status ? null : Colors.white,
|
color: status ? null : Colors.white,
|
||||||
@ -353,10 +359,6 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
),
|
),
|
||||||
child: Stack(
|
child: Stack(
|
||||||
children: [
|
children: [
|
||||||
Image.asset(
|
|
||||||
'assets/images/bg.png',
|
|
||||||
height: 250,
|
|
||||||
),
|
|
||||||
Column(
|
Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
@ -378,7 +380,7 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
fontFamily: Font,
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
fontSize: TitleText,
|
fontSize: 16,
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
),
|
),
|
||||||
children: [
|
children: [
|
||||||
@ -388,7 +390,7 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
fontFamily: Font,
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: HeadText,
|
fontSize: SubText,
|
||||||
color: Color(0xFFFFBE3F),
|
color: Color(0xFFFFBE3F),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -403,17 +405,15 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
SizedBox(
|
Spacer(),
|
||||||
width: 35,
|
|
||||||
),
|
|
||||||
FlutterSwitch(
|
FlutterSwitch(
|
||||||
width: 105,
|
width: 95,
|
||||||
height: 40,
|
height: 40,
|
||||||
valueFontSize: HeadText,
|
valueFontSize: HeadText,
|
||||||
toggleSize: 25,
|
toggleSize: 20,
|
||||||
value: status,
|
value: status,
|
||||||
borderRadius: 30.0,
|
borderRadius: 20.0,
|
||||||
padding: 8.0,
|
padding: 5.0,
|
||||||
showOnOff: true,
|
showOnOff: true,
|
||||||
onToggle: (val) {
|
onToggle: (val) {
|
||||||
setState(() {
|
setState(() {
|
||||||
@ -478,8 +478,15 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
height: 200,
|
height: 200,
|
||||||
|
width: double.infinity,
|
||||||
margin: EdgeInsets.only(right: 15, top: 10),
|
margin: EdgeInsets.only(right: 15, top: 10),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
|
image: new DecorationImage(
|
||||||
|
image: ExactAssetImage(
|
||||||
|
'assets/images/bg.png',
|
||||||
|
),
|
||||||
|
fit: BoxFit.cover,
|
||||||
|
),
|
||||||
borderRadius: BorderRadius.all(Radius.circular(5)),
|
borderRadius: BorderRadius.all(Radius.circular(5)),
|
||||||
),
|
),
|
||||||
foregroundDecoration: BoxDecoration(
|
foregroundDecoration: BoxDecoration(
|
||||||
@ -489,10 +496,6 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
),
|
),
|
||||||
child: Stack(
|
child: Stack(
|
||||||
children: [
|
children: [
|
||||||
Image.asset(
|
|
||||||
'assets/images/bg.png',
|
|
||||||
height: 250,
|
|
||||||
),
|
|
||||||
Column(
|
Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
@ -514,7 +517,7 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
fontFamily: Font,
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
fontSize: TitleText,
|
fontSize: 15,
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
),
|
),
|
||||||
children: [
|
children: [
|
||||||
@ -524,7 +527,7 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
fontFamily: Font,
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: HeadText,
|
fontSize: 12,
|
||||||
color: Color(0xFFFFBE3F),
|
color: Color(0xFFFFBE3F),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -539,9 +542,7 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
SizedBox(
|
Spacer(),
|
||||||
width: 35,
|
|
||||||
),
|
|
||||||
FlutterSwitch(
|
FlutterSwitch(
|
||||||
width: 105,
|
width: 105,
|
||||||
height: 40,
|
height: 40,
|
||||||
@ -614,8 +615,15 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
height: 200,
|
height: 200,
|
||||||
|
width: double.infinity,
|
||||||
margin: EdgeInsets.only(right: 15, top: 10),
|
margin: EdgeInsets.only(right: 15, top: 10),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
|
image: new DecorationImage(
|
||||||
|
image: ExactAssetImage(
|
||||||
|
'assets/images/bg.png',
|
||||||
|
),
|
||||||
|
fit: BoxFit.cover,
|
||||||
|
),
|
||||||
borderRadius: BorderRadius.all(Radius.circular(5)),
|
borderRadius: BorderRadius.all(Radius.circular(5)),
|
||||||
),
|
),
|
||||||
foregroundDecoration: BoxDecoration(
|
foregroundDecoration: BoxDecoration(
|
||||||
@ -625,10 +633,6 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
),
|
),
|
||||||
child: Stack(
|
child: Stack(
|
||||||
children: [
|
children: [
|
||||||
Image.asset(
|
|
||||||
'assets/images/bg.png',
|
|
||||||
height: 250,
|
|
||||||
),
|
|
||||||
Column(
|
Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
@ -650,7 +654,7 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
fontFamily: Font,
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
fontSize: TitleText,
|
fontSize: 15,
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
),
|
),
|
||||||
children: [
|
children: [
|
||||||
@ -660,7 +664,7 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
fontFamily: Font,
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: HeadText,
|
fontSize: 12,
|
||||||
color: Color(0xFFFFBE3F),
|
color: Color(0xFFFFBE3F),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -675,9 +679,7 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
SizedBox(
|
Spacer(),
|
||||||
width: 35,
|
|
||||||
),
|
|
||||||
FlutterSwitch(
|
FlutterSwitch(
|
||||||
width: 105,
|
width: 105,
|
||||||
height: 40,
|
height: 40,
|
||||||
|
Loading…
Reference in New Issue
Block a user