business details button and logo fixed
This commit is contained in:
parent
fe34f7ac20
commit
17e46c8490
@ -46,18 +46,19 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
size: 24,
|
size: 24,
|
||||||
color: Color(0xFF3D3D3D),
|
color: Color(0xFF3D3D3D),
|
||||||
),
|
),
|
||||||
|
mini: true,
|
||||||
backgroundColor: Colors.white,
|
backgroundColor: Colors.white,
|
||||||
onPressed: () {},
|
onPressed: () {},
|
||||||
),
|
),
|
||||||
Spacer(),
|
Spacer(),
|
||||||
FlutterSwitch(
|
FlutterSwitch(
|
||||||
width: 130,
|
width: 107,
|
||||||
height: 60,
|
height: 50,
|
||||||
valueFontSize: 15,
|
valueFontSize: 12,
|
||||||
toggleSize: 25,
|
toggleSize: 20,
|
||||||
value: status,
|
value: status,
|
||||||
borderRadius: 30.0,
|
borderRadius: 30.0,
|
||||||
padding: 8,
|
padding: 5,
|
||||||
showOnOff: true,
|
showOnOff: true,
|
||||||
onToggle: (val) {
|
onToggle: (val) {
|
||||||
setState(() {
|
setState(() {
|
||||||
@ -66,9 +67,9 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
},
|
},
|
||||||
activeText: "OPEN",
|
activeText: "OPEN",
|
||||||
activeSwitchBorder:
|
activeSwitchBorder:
|
||||||
Border.all(color: Colors.white, width: 13),
|
Border.all(color: Colors.white, width: 10),
|
||||||
inactiveSwitchBorder:
|
inactiveSwitchBorder:
|
||||||
Border.all(color: Colors.white, width: 13),
|
Border.all(color: Colors.white, width: 10),
|
||||||
activeTextColor: Colors.white,
|
activeTextColor: Colors.white,
|
||||||
activeTextFontWeight: FontWeight.w600,
|
activeTextFontWeight: FontWeight.w600,
|
||||||
activeColor: Color(0xFF09CD99),
|
activeColor: Color(0xFF09CD99),
|
||||||
@ -93,23 +94,65 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
borderRadius: BorderRadius.all(Radius.circular(10)),
|
borderRadius: BorderRadius.all(Radius.circular(10)),
|
||||||
),
|
),
|
||||||
child: Row(
|
child: Row(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
Align(
|
Image.asset(
|
||||||
alignment: Alignment.topCenter,
|
'assets/images/store_logo.png',
|
||||||
child: Image.asset(
|
width: 60,
|
||||||
'assets/images/store_logo.png',
|
height: 60,
|
||||||
width: 55,
|
),
|
||||||
height: 55,
|
Padding(
|
||||||
|
padding: const EdgeInsets.only(top: 10, left: 5),
|
||||||
|
child: Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: [
|
||||||
|
RichText(
|
||||||
|
text: TextSpan(
|
||||||
|
text: "Barbeque Nation ",
|
||||||
|
style: TextStyle(
|
||||||
|
fontFamily: 'Manrope',
|
||||||
|
fontStyle: FontStyle.normal,
|
||||||
|
fontWeight: FontWeight.w600,
|
||||||
|
fontSize: 18,
|
||||||
|
color: Colors.black,
|
||||||
|
),
|
||||||
|
children: [],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
RichText(
|
||||||
|
text: TextSpan(
|
||||||
|
children: [
|
||||||
|
TextSpan(
|
||||||
|
text: "42 ",
|
||||||
|
style: TextStyle(
|
||||||
|
fontFamily: 'Manrope',
|
||||||
|
fontStyle: FontStyle.normal,
|
||||||
|
fontWeight: FontWeight.w400,
|
||||||
|
fontSize: 15,
|
||||||
|
color: Color(0xFFFFBE3F),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
WidgetSpan(
|
||||||
|
child: Icon(
|
||||||
|
Icons.star,
|
||||||
|
color: Color(0xFFFFBE3F),
|
||||||
|
size: 18,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
)
|
||||||
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Spacer(),
|
Spacer(),
|
||||||
Column(
|
IconButton(
|
||||||
children: [
|
icon: Image.asset('assets/images/bell.png'),
|
||||||
Text('data'),
|
onPressed: () {
|
||||||
Text('data'),
|
Navigator.pop(context);
|
||||||
],
|
},
|
||||||
),
|
),
|
||||||
Icon(Icons.arrow_back),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user