business details empty ui started
This commit is contained in:
parent
a0a6ba3860
commit
c9fda10ec9
BIN
openclosenew/assets/images/services_img1.png
Normal file
BIN
openclosenew/assets/images/services_img1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 322 KiB |
BIN
openclosenew/assets/images/services_img2.png
Normal file
BIN
openclosenew/assets/images/services_img2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 314 KiB |
BIN
openclosenew/assets/images/services_img3.png
Normal file
BIN
openclosenew/assets/images/services_img3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 201 KiB |
@ -285,7 +285,6 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Spacer(),
|
|
||||||
Row(
|
Row(
|
||||||
children: [
|
children: [
|
||||||
Padding(
|
Padding(
|
||||||
@ -462,7 +461,6 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Spacer(),
|
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(left: 15),
|
padding: const EdgeInsets.only(left: 15),
|
||||||
child: InkWell(
|
child: InkWell(
|
||||||
@ -594,7 +592,6 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Spacer(),
|
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(left: 15),
|
padding: const EdgeInsets.only(left: 15),
|
||||||
child: InkWell(
|
child: InkWell(
|
||||||
@ -729,7 +726,6 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Spacer(),
|
|
||||||
BottomNavigationBar(
|
BottomNavigationBar(
|
||||||
iconSize: 20,
|
iconSize: 20,
|
||||||
unselectedFontSize: 12,
|
unselectedFontSize: 12,
|
||||||
|
91
openclosenew/lib/14_businessdetailsempty.dart
Normal file
91
openclosenew/lib/14_businessdetailsempty.dart
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:flutter_switch/flutter_switch.dart';
|
||||||
|
|
||||||
|
class businessdetailsempty extends StatefulWidget {
|
||||||
|
const businessdetailsempty({Key? key}) : super(key: key);
|
||||||
|
|
||||||
|
@override
|
||||||
|
State<businessdetailsempty> createState() => _businessdetailsemptyState();
|
||||||
|
}
|
||||||
|
|
||||||
|
bool status = true;
|
||||||
|
|
||||||
|
class _businessdetailsemptyState extends State<businessdetailsempty> {
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return Scaffold(
|
||||||
|
body: SafeArea(
|
||||||
|
child: Column(
|
||||||
|
children: [
|
||||||
|
Container(
|
||||||
|
height: 400,
|
||||||
|
width: double.infinity,
|
||||||
|
alignment: Alignment.topCenter,
|
||||||
|
child: Stack(
|
||||||
|
children: [
|
||||||
|
Container(
|
||||||
|
height: 250,
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
image: DecorationImage(
|
||||||
|
image: AssetImage('assets/images/bg.png'),
|
||||||
|
fit: BoxFit.cover),
|
||||||
|
borderRadius: BorderRadius.only(
|
||||||
|
bottomLeft: Radius.circular(20),
|
||||||
|
bottomRight: Radius.circular(20),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Row(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: [
|
||||||
|
FloatingActionButton(
|
||||||
|
child: Icon(
|
||||||
|
Icons.arrow_back,
|
||||||
|
size: 24,
|
||||||
|
color: Color(0xFF3D3D3D),
|
||||||
|
),
|
||||||
|
mini: true,
|
||||||
|
backgroundColor: Colors.white,
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pop(context);
|
||||||
|
},
|
||||||
|
),
|
||||||
|
Spacer(),
|
||||||
|
FlutterSwitch(
|
||||||
|
width: 107,
|
||||||
|
height: 50,
|
||||||
|
valueFontSize: 12,
|
||||||
|
toggleSize: 20,
|
||||||
|
value: status,
|
||||||
|
borderRadius: 30.0,
|
||||||
|
padding: 5,
|
||||||
|
showOnOff: true,
|
||||||
|
onToggle: (val) {
|
||||||
|
setState(() {
|
||||||
|
status = val;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
activeText: "OPEN",
|
||||||
|
activeSwitchBorder:
|
||||||
|
Border.all(color: Colors.white, width: 10),
|
||||||
|
inactiveSwitchBorder:
|
||||||
|
Border.all(color: Colors.white, width: 10),
|
||||||
|
activeTextColor: Colors.white,
|
||||||
|
activeTextFontWeight: FontWeight.w600,
|
||||||
|
activeColor: Color(0xFF09CD99),
|
||||||
|
inactiveText: "CLOSED",
|
||||||
|
inactiveTextColor: Colors.white,
|
||||||
|
inactiveTextFontWeight: FontWeight.w600,
|
||||||
|
inactiveColor: Color(0xFFFF4B4C),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user