Specific days & timing page creation
This commit is contained in:
parent
b7bcc82120
commit
55bb876545
@ -30,8 +30,7 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
backgroundColor: Colors.white,
|
backgroundColor: Colors.white,
|
||||||
body: SingleChildScrollView(
|
body: Column(
|
||||||
child: Column(
|
|
||||||
children: [
|
children: [
|
||||||
SafeArea(
|
SafeArea(
|
||||||
child: Row(
|
child: Row(
|
||||||
@ -300,8 +299,7 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
),
|
),
|
||||||
Spacer(),
|
Spacer(),
|
||||||
Padding(
|
Padding(
|
||||||
padding:
|
padding: const EdgeInsets.only(right: 15, top: 10, bottom: 15),
|
||||||
const EdgeInsets.only(right: 15, top: 10, bottom: 15),
|
|
||||||
child: TextButton.icon(
|
child: TextButton.icon(
|
||||||
icon: Icon(
|
icon: Icon(
|
||||||
Icons.add,
|
Icons.add,
|
||||||
@ -326,7 +324,7 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
Container(
|
Container(
|
||||||
height: 400,
|
height: 390,
|
||||||
child: ListView(
|
child: ListView(
|
||||||
scrollDirection: Axis.vertical,
|
scrollDirection: Axis.vertical,
|
||||||
children: [
|
children: [
|
||||||
@ -334,13 +332,11 @@ 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(
|
Navigator.push(context,
|
||||||
context,
|
MaterialPageRoute(builder: (_) => businessdetail()));
|
||||||
MaterialPageRoute(
|
|
||||||
builder: (_) => businessdetail()));
|
|
||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
height: 200,
|
height: 150,
|
||||||
width: double.infinity,
|
width: double.infinity,
|
||||||
margin: EdgeInsets.only(right: 15),
|
margin: EdgeInsets.only(right: 15),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
@ -368,8 +364,7 @@ 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: CrossAxisAlignment.start,
|
||||||
CrossAxisAlignment.start,
|
|
||||||
children: [
|
children: [
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(),
|
padding: const EdgeInsets.only(),
|
||||||
@ -407,13 +402,13 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
),
|
),
|
||||||
Spacer(),
|
Spacer(),
|
||||||
FlutterSwitch(
|
FlutterSwitch(
|
||||||
width: 95,
|
width: 105,
|
||||||
height: 40,
|
height: 40,
|
||||||
valueFontSize: HeadText,
|
valueFontSize: HeadText,
|
||||||
toggleSize: 20,
|
toggleSize: 25,
|
||||||
value: status,
|
value: status,
|
||||||
borderRadius: 20.0,
|
borderRadius: 30.0,
|
||||||
padding: 5.0,
|
padding: 8.0,
|
||||||
showOnOff: true,
|
showOnOff: true,
|
||||||
onToggle: (val) {
|
onToggle: (val) {
|
||||||
setState(() {
|
setState(() {
|
||||||
@ -471,13 +466,11 @@ 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(
|
Navigator.push(context,
|
||||||
context,
|
MaterialPageRoute(builder: (_) => businessdetail()));
|
||||||
MaterialPageRoute(
|
|
||||||
builder: (_) => businessdetail()));
|
|
||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
height: 200,
|
height: 150,
|
||||||
width: double.infinity,
|
width: double.infinity,
|
||||||
margin: EdgeInsets.only(right: 15, top: 10),
|
margin: EdgeInsets.only(right: 15, top: 10),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
@ -505,8 +498,7 @@ 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: CrossAxisAlignment.start,
|
||||||
CrossAxisAlignment.start,
|
|
||||||
children: [
|
children: [
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(),
|
padding: const EdgeInsets.only(),
|
||||||
@ -608,13 +600,11 @@ 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(
|
Navigator.push(context,
|
||||||
context,
|
MaterialPageRoute(builder: (_) => businessdetail()));
|
||||||
MaterialPageRoute(
|
|
||||||
builder: (_) => businessdetail()));
|
|
||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
height: 200,
|
height: 150,
|
||||||
width: double.infinity,
|
width: double.infinity,
|
||||||
margin: EdgeInsets.only(right: 15, top: 10),
|
margin: EdgeInsets.only(right: 15, top: 10),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
@ -642,8 +632,7 @@ 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: CrossAxisAlignment.start,
|
||||||
CrossAxisAlignment.start,
|
|
||||||
children: [
|
children: [
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(),
|
padding: const EdgeInsets.only(),
|
||||||
@ -744,6 +733,7 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Spacer(),
|
||||||
BottomNavigationBar(
|
BottomNavigationBar(
|
||||||
iconSize: 20,
|
iconSize: 20,
|
||||||
unselectedFontSize: SubText,
|
unselectedFontSize: SubText,
|
||||||
@ -787,7 +777,6 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:openclosenew/businessdetail.dart';
|
|
||||||
import 'package:openclosenew/colors.dart';
|
import 'package:openclosenew/colors.dart';
|
||||||
|
import 'package:openclosenew/pages/page_1.dart';
|
||||||
|
|
||||||
import '17-BusinessProfileFormSuccess.dart';
|
import '17-BusinessProfileFormSuccess.dart';
|
||||||
import 'FontFamily.dart';
|
import 'FontFamily.dart';
|
||||||
@ -277,10 +277,8 @@ class _addbusinessdetailsState extends State<addbusinessdetails> {
|
|||||||
shape: RoundedRectangleBorder(
|
shape: RoundedRectangleBorder(
|
||||||
borderRadius: BorderRadius.circular(4)),
|
borderRadius: BorderRadius.circular(4)),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Navigator.push(
|
Navigator.push(context,
|
||||||
context,
|
MaterialPageRoute(builder: (_) => page1()));
|
||||||
MaterialPageRoute(
|
|
||||||
builder: (_) => profileformsuccess()));
|
|
||||||
},
|
},
|
||||||
child: Text(
|
child: Text(
|
||||||
'Save',
|
'Save',
|
||||||
|
@ -1,11 +1,31 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:flutter_switch/flutter_switch.dart';
|
||||||
|
import 'package:openclosenew/14_businessdetailsempty.dart';
|
||||||
|
|
||||||
class page1 extends StatelessWidget {
|
import '../FontFamily.dart';
|
||||||
|
import '../colors.dart';
|
||||||
|
import '../fontsize.dart';
|
||||||
|
|
||||||
|
class page1 extends StatefulWidget {
|
||||||
const page1({Key? key}) : super(key: key);
|
const page1({Key? key}) : super(key: key);
|
||||||
|
|
||||||
|
@override
|
||||||
|
State<page1> createState() => _page1State();
|
||||||
|
}
|
||||||
|
|
||||||
|
class _page1State extends State<page1> {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Row(
|
return Container(
|
||||||
|
height: 500,
|
||||||
|
decoration: BoxDecoration(color: Colors.white),
|
||||||
|
child: SafeArea(
|
||||||
|
child: Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: [
|
||||||
|
Padding(
|
||||||
|
padding: const EdgeInsets.only(left: 15, right: 24),
|
||||||
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(
|
||||||
"From",
|
"From",
|
||||||
@ -14,6 +34,7 @@ class page1 extends StatelessWidget {
|
|||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w300,
|
fontWeight: FontWeight.w300,
|
||||||
fontSize: 15,
|
fontSize: 15,
|
||||||
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
@ -26,9 +47,15 @@ class page1 extends StatelessWidget {
|
|||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w300,
|
fontWeight: FontWeight.w300,
|
||||||
fontSize: 15,
|
fontSize: 15,
|
||||||
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user