Business Profile Form half design completed
This commit is contained in:
parent
d2ea8222a7
commit
e9176cf63d
Binary file not shown.
BIN
openclosenew/.gradle/7.0.2/fileChanges/last-build.bin
Normal file
BIN
openclosenew/.gradle/7.0.2/fileChanges/last-build.bin
Normal file
Binary file not shown.
BIN
openclosenew/.gradle/7.0.2/fileHashes/fileHashes.lock
Normal file
BIN
openclosenew/.gradle/7.0.2/fileHashes/fileHashes.lock
Normal file
Binary file not shown.
0
openclosenew/.gradle/7.0.2/gc.properties
Normal file
0
openclosenew/.gradle/7.0.2/gc.properties
Normal file
BIN
openclosenew/.gradle/checksums/checksums.lock
Normal file
BIN
openclosenew/.gradle/checksums/checksums.lock
Normal file
Binary file not shown.
0
openclosenew/.gradle/vcs-1/gc.properties
Normal file
0
openclosenew/.gradle/vcs-1/gc.properties
Normal file
@ -6,7 +6,7 @@ buildscript {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:4.1.0'
|
classpath 'com.android.tools.build:gradle:7.2.0'
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
|||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_switch/flutter_switch.dart';
|
import 'package:flutter_switch/flutter_switch.dart';
|
||||||
|
|
||||||
import '07_addbusiness.dart';
|
import '07_addbusiness.dart';
|
||||||
import 'businessdetail.dart';
|
import 'businessdetail.dart';
|
||||||
|
|
||||||
@ -298,9 +297,8 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Spacer(),
|
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(right: 5, 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,
|
||||||
@ -325,7 +323,7 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
Container(
|
Container(
|
||||||
height: 380,
|
height: 400,
|
||||||
child: ListView(
|
child: ListView(
|
||||||
scrollDirection: Axis.vertical,
|
scrollDirection: Axis.vertical,
|
||||||
children: [
|
children: [
|
||||||
@ -337,6 +335,8 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
MaterialPageRoute(builder: (_) => businessdetail()));
|
MaterialPageRoute(builder: (_) => businessdetail()));
|
||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
|
height: 200,
|
||||||
|
width: double.infinity,
|
||||||
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)),
|
||||||
@ -350,6 +350,7 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
children: [
|
children: [
|
||||||
Image.asset(
|
Image.asset(
|
||||||
'assets/images/bg.png',
|
'assets/images/bg.png',
|
||||||
|
height: 250,
|
||||||
),
|
),
|
||||||
Column(
|
Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
@ -397,7 +398,7 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: 5,
|
width: 35,
|
||||||
),
|
),
|
||||||
FlutterSwitch(
|
FlutterSwitch(
|
||||||
width: 105,
|
width: 105,
|
||||||
@ -468,7 +469,8 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
MaterialPageRoute(builder: (_) => businessdetail()));
|
MaterialPageRoute(builder: (_) => businessdetail()));
|
||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
margin: EdgeInsets.only(right: 15),
|
height: 200,
|
||||||
|
margin: EdgeInsets.only(right: 15, top: 10),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
borderRadius: BorderRadius.all(Radius.circular(5)),
|
borderRadius: BorderRadius.all(Radius.circular(5)),
|
||||||
),
|
),
|
||||||
@ -529,7 +531,7 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: 5,
|
width: 35,
|
||||||
),
|
),
|
||||||
FlutterSwitch(
|
FlutterSwitch(
|
||||||
width: 105,
|
width: 105,
|
||||||
@ -600,7 +602,8 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
MaterialPageRoute(builder: (_) => businessdetail()));
|
MaterialPageRoute(builder: (_) => businessdetail()));
|
||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
margin: EdgeInsets.only(right: 15),
|
height: 200,
|
||||||
|
margin: EdgeInsets.only(right: 15, top: 10),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
borderRadius: BorderRadius.all(Radius.circular(5)),
|
borderRadius: BorderRadius.all(Radius.circular(5)),
|
||||||
),
|
),
|
||||||
@ -661,7 +664,7 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: 5,
|
width: 35,
|
||||||
),
|
),
|
||||||
FlutterSwitch(
|
FlutterSwitch(
|
||||||
width: 105,
|
width: 105,
|
||||||
|
@ -8,6 +8,9 @@ class addbusinessdetails extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _addbusinessdetailsState extends State<addbusinessdetails> {
|
class _addbusinessdetailsState extends State<addbusinessdetails> {
|
||||||
|
final List<String> items = <String>['All Days', 'Specific days & timing'];
|
||||||
|
String selectedItem = 'All Days';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
@ -68,23 +71,43 @@ class _addbusinessdetailsState extends State<addbusinessdetails> {
|
|||||||
Text(
|
Text(
|
||||||
"Your working days & hours",
|
"Your working days & hours",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: "Manrope",
|
fontFamily: "Manrope",
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w300,
|
fontWeight: FontWeight.w300,
|
||||||
fontSize: 14,
|
fontSize: 14,
|
||||||
color: Color(0xFF333333)),
|
color: Color(0xFF333333),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
Row(
|
Row(
|
||||||
children: [
|
children: [
|
||||||
DropdownMenuItem(
|
Expanded(
|
||||||
child: Text("All Days"),
|
child: Container(
|
||||||
|
padding: EdgeInsets.all(10),
|
||||||
|
child: DropdownButtonHideUnderline(
|
||||||
|
child: Padding(
|
||||||
|
padding: const EdgeInsets.all(8.0),
|
||||||
|
child: DropdownButton(
|
||||||
|
icon: Icon(Icons.keyboard_arrow_down_rounded),
|
||||||
|
iconSize: 30,
|
||||||
|
value: selectedItem,
|
||||||
|
onChanged: (String? string) =>
|
||||||
|
setState(() => selectedItem = string!),
|
||||||
|
selectedItemBuilder: (BuildContext context) {
|
||||||
|
return items.map<Widget>((String item) {
|
||||||
|
return Text(item);
|
||||||
|
}).toList();
|
||||||
|
},
|
||||||
|
items: items.map((String item) {
|
||||||
|
return DropdownMenuItem<String>(
|
||||||
|
value: item,
|
||||||
|
child: Text('$item'),
|
||||||
|
);
|
||||||
|
}).toList(),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
Spacer(),
|
|
||||||
Icon(
|
|
||||||
Icons.keyboard_arrow_down_rounded,
|
|
||||||
color: Color(0xFF5C5C5C),
|
|
||||||
size: 35,
|
|
||||||
)
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user