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 {
|
||||
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"
|
||||
}
|
||||
}
|
||||
|
@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
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_switch/flutter_switch.dart';
|
||||
|
||||
import '07_addbusiness.dart';
|
||||
import 'businessdetail.dart';
|
||||
|
||||
@ -298,9 +297,8 @@ class _businesshomeState extends State<businesshome> {
|
||||
),
|
||||
),
|
||||
),
|
||||
Spacer(),
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(right: 5, top: 10, bottom: 15),
|
||||
padding: const EdgeInsets.only(right: 15, top: 10, bottom: 15),
|
||||
child: TextButton.icon(
|
||||
icon: Icon(
|
||||
Icons.add,
|
||||
@ -325,7 +323,7 @@ class _businesshomeState extends State<businesshome> {
|
||||
],
|
||||
),
|
||||
Container(
|
||||
height: 380,
|
||||
height: 400,
|
||||
child: ListView(
|
||||
scrollDirection: Axis.vertical,
|
||||
children: [
|
||||
@ -337,6 +335,8 @@ class _businesshomeState extends State<businesshome> {
|
||||
MaterialPageRoute(builder: (_) => businessdetail()));
|
||||
},
|
||||
child: Container(
|
||||
height: 200,
|
||||
width: double.infinity,
|
||||
margin: EdgeInsets.only(right: 15),
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.all(Radius.circular(5)),
|
||||
@ -350,6 +350,7 @@ class _businesshomeState extends State<businesshome> {
|
||||
children: [
|
||||
Image.asset(
|
||||
'assets/images/bg.png',
|
||||
height: 250,
|
||||
),
|
||||
Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
@ -397,7 +398,7 @@ class _businesshomeState extends State<businesshome> {
|
||||
),
|
||||
),
|
||||
SizedBox(
|
||||
width: 5,
|
||||
width: 35,
|
||||
),
|
||||
FlutterSwitch(
|
||||
width: 105,
|
||||
@ -468,7 +469,8 @@ class _businesshomeState extends State<businesshome> {
|
||||
MaterialPageRoute(builder: (_) => businessdetail()));
|
||||
},
|
||||
child: Container(
|
||||
margin: EdgeInsets.only(right: 15),
|
||||
height: 200,
|
||||
margin: EdgeInsets.only(right: 15, top: 10),
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.all(Radius.circular(5)),
|
||||
),
|
||||
@ -529,7 +531,7 @@ class _businesshomeState extends State<businesshome> {
|
||||
),
|
||||
),
|
||||
SizedBox(
|
||||
width: 5,
|
||||
width: 35,
|
||||
),
|
||||
FlutterSwitch(
|
||||
width: 105,
|
||||
@ -600,7 +602,8 @@ class _businesshomeState extends State<businesshome> {
|
||||
MaterialPageRoute(builder: (_) => businessdetail()));
|
||||
},
|
||||
child: Container(
|
||||
margin: EdgeInsets.only(right: 15),
|
||||
height: 200,
|
||||
margin: EdgeInsets.only(right: 15, top: 10),
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.all(Radius.circular(5)),
|
||||
),
|
||||
@ -661,7 +664,7 @@ class _businesshomeState extends State<businesshome> {
|
||||
),
|
||||
),
|
||||
SizedBox(
|
||||
width: 5,
|
||||
width: 35,
|
||||
),
|
||||
FlutterSwitch(
|
||||
width: 105,
|
||||
|
@ -8,6 +8,9 @@ class addbusinessdetails extends StatefulWidget {
|
||||
}
|
||||
|
||||
class _addbusinessdetailsState extends State<addbusinessdetails> {
|
||||
final List<String> items = <String>['All Days', 'Specific days & timing'];
|
||||
String selectedItem = 'All Days';
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
@ -68,23 +71,43 @@ class _addbusinessdetailsState extends State<addbusinessdetails> {
|
||||
Text(
|
||||
"Your working days & hours",
|
||||
style: TextStyle(
|
||||
fontFamily: "Manrope",
|
||||
fontStyle: FontStyle.normal,
|
||||
fontWeight: FontWeight.w300,
|
||||
fontSize: 14,
|
||||
color: Color(0xFF333333)),
|
||||
fontFamily: "Manrope",
|
||||
fontStyle: FontStyle.normal,
|
||||
fontWeight: FontWeight.w300,
|
||||
fontSize: 14,
|
||||
color: Color(0xFF333333),
|
||||
),
|
||||
),
|
||||
Row(
|
||||
children: [
|
||||
DropdownMenuItem(
|
||||
child: Text("All Days"),
|
||||
Expanded(
|
||||
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