business home design crr updated

This commit is contained in:
vignesh 2022-05-26 01:17:31 +05:30
parent c9fda10ec9
commit 0778328068
2 changed files with 36 additions and 30 deletions

View File

@ -84,18 +84,20 @@ class _businesshomeState extends State<businesshome> {
], ],
), ),
), ),
Spacer(), SizedBox(
height: 20,
),
Container( Container(
height: 100, height: 100,
child: ListView( child: ListView(
scrollDirection: Axis.horizontal, scrollDirection: Axis.horizontal,
children: [ children: [
Padding( Padding(
padding: const EdgeInsets.only(left: 22), padding: const EdgeInsets.only(left: 18),
child: InkWell( child: InkWell(
onTap: () {}, onTap: () {},
child: Container( child: Container(
width: 350, width: 360,
margin: EdgeInsets.only(right: 10), margin: EdgeInsets.only(right: 10),
decoration: BoxDecoration( decoration: BoxDecoration(
image: const DecorationImage( image: const DecorationImage(
@ -154,19 +156,17 @@ class _businesshomeState extends State<businesshome> {
), ),
), ),
Padding( Padding(
padding: const EdgeInsets.only(left: 10), padding: const EdgeInsets.only(left: 18),
child: InkWell( child: InkWell(
onTap: () {}, onTap: () {},
child: Container( child: Container(
alignment: Alignment.center, width: 360,
width: 350,
margin: EdgeInsets.only(right: 10), margin: EdgeInsets.only(right: 10),
decoration: BoxDecoration( decoration: BoxDecoration(
image: const DecorationImage( image: const DecorationImage(
alignment: Alignment.centerRight, alignment: Alignment.centerRight,
image: AssetImage('assets/images/status.png'), image: AssetImage('assets/images/status.png'),
), ),
color: Color(0xFF09CD99),
borderRadius: BorderRadius.all( borderRadius: BorderRadius.all(
Radius.circular(10), Radius.circular(10),
), ),
@ -193,7 +193,7 @@ class _businesshomeState extends State<businesshome> {
), ),
), ),
Text( Text(
"43", "42",
style: TextStyle( style: TextStyle(
fontFamily: 'Manrope', fontFamily: 'Manrope',
fontStyle: FontStyle.normal, fontStyle: FontStyle.normal,
@ -219,18 +219,17 @@ class _businesshomeState extends State<businesshome> {
), ),
), ),
Padding( Padding(
padding: const EdgeInsets.only(left: 10), padding: const EdgeInsets.only(left: 18),
child: InkWell( child: InkWell(
onTap: () {}, onTap: () {},
child: Container( child: Container(
width: 350, width: 360,
margin: EdgeInsets.only(right: 10), margin: EdgeInsets.only(right: 10),
decoration: BoxDecoration( decoration: BoxDecoration(
image: const DecorationImage( image: const DecorationImage(
alignment: Alignment.centerRight, alignment: Alignment.centerRight,
image: AssetImage('assets/images/status.png'), image: AssetImage('assets/images/status.png'),
), ),
color: Color(0xFF09CD99),
borderRadius: BorderRadius.all( borderRadius: BorderRadius.all(
Radius.circular(10), Radius.circular(10),
), ),
@ -257,7 +256,7 @@ class _businesshomeState extends State<businesshome> {
), ),
), ),
Text( Text(
"44", "42",
style: TextStyle( style: TextStyle(
fontFamily: 'Manrope', fontFamily: 'Manrope',
fontStyle: FontStyle.normal, fontStyle: FontStyle.normal,
@ -299,9 +298,8 @@ class _businesshomeState extends State<businesshome> {
), ),
), ),
), ),
Spacer(),
Padding( Padding(
padding: const EdgeInsets.only(right: 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,
@ -338,13 +336,14 @@ class _businesshomeState extends State<businesshome> {
MaterialPageRoute(builder: (_) => businessdetail())); MaterialPageRoute(builder: (_) => businessdetail()));
}, },
child: Container( child: Container(
height: 180, 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)),
), ),
foregroundDecoration: BoxDecoration( foregroundDecoration: BoxDecoration(
color: status ? null : Colors.grey, color: status ? null : Colors.white,
backgroundBlendMode: backgroundBlendMode:
status ? null : BlendMode.saturation, status ? null : BlendMode.saturation,
), ),
@ -399,7 +398,9 @@ class _businesshomeState extends State<businesshome> {
), ),
), ),
), ),
Spacer(), SizedBox(
width: 35,
),
FlutterSwitch( FlutterSwitch(
width: 105, width: 105,
height: 40, height: 40,
@ -469,7 +470,7 @@ class _businesshomeState extends State<businesshome> {
MaterialPageRoute(builder: (_) => businessdetail())); MaterialPageRoute(builder: (_) => businessdetail()));
}, },
child: Container( child: Container(
height: 185, height: 200,
margin: EdgeInsets.only(right: 15, top: 10), margin: EdgeInsets.only(right: 15, top: 10),
decoration: BoxDecoration( decoration: BoxDecoration(
borderRadius: BorderRadius.all(Radius.circular(5)), borderRadius: BorderRadius.all(Radius.circular(5)),
@ -530,7 +531,9 @@ class _businesshomeState extends State<businesshome> {
), ),
), ),
), ),
Spacer(), SizedBox(
width: 35,
),
FlutterSwitch( FlutterSwitch(
width: 105, width: 105,
height: 40, height: 40,
@ -600,7 +603,7 @@ class _businesshomeState extends State<businesshome> {
MaterialPageRoute(builder: (_) => businessdetail())); MaterialPageRoute(builder: (_) => businessdetail()));
}, },
child: Container( child: Container(
height: 180, height: 200,
margin: EdgeInsets.only(right: 15, top: 10), 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,9 @@ class _businesshomeState extends State<businesshome> {
), ),
), ),
), ),
Spacer(), SizedBox(
width: 35,
),
FlutterSwitch( FlutterSwitch(
width: 105, width: 105,
height: 40, height: 40,
@ -726,6 +731,7 @@ class _businesshomeState extends State<businesshome> {
], ],
), ),
), ),
Spacer(),
BottomNavigationBar( BottomNavigationBar(
iconSize: 20, iconSize: 20,
unselectedFontSize: 12, unselectedFontSize: 12,

View File

@ -56,7 +56,7 @@ packages:
name: collection name: collection
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.15.0" version: "1.16.0"
cross_file: cross_file:
dependency: transitive dependency: transitive
description: description:
@ -98,7 +98,7 @@ packages:
name: fake_async name: fake_async
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.2.0" version: "1.3.0"
ffi: ffi:
dependency: transitive dependency: transitive
description: description:
@ -239,7 +239,7 @@ packages:
name: js name: js
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.6.3" version: "0.6.4"
libphonenumber: libphonenumber:
dependency: transitive dependency: transitive
description: description:
@ -288,7 +288,7 @@ packages:
name: material_color_utilities name: material_color_utilities
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.1.3" version: "0.1.4"
meta: meta:
dependency: transitive dependency: transitive
description: description:
@ -302,7 +302,7 @@ packages:
name: path name: path
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.8.0" version: "1.8.1"
path_drawing: path_drawing:
dependency: transitive dependency: transitive
description: description:
@ -475,7 +475,7 @@ packages:
name: source_span name: source_span
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.8.1" version: "1.8.2"
stack_trace: stack_trace:
dependency: transitive dependency: transitive
description: description:
@ -510,7 +510,7 @@ packages:
name: test_api name: test_api
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.4.8" version: "0.4.9"
typed_data: typed_data:
dependency: transitive dependency: transitive
description: description:
@ -531,7 +531,7 @@ packages:
name: vector_math name: vector_math
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.1" version: "2.1.2"
win32: win32:
dependency: transitive dependency: transitive
description: description:
@ -561,5 +561,5 @@ packages:
source: hosted source: hosted
version: "3.1.0" version: "3.1.0"
sdks: sdks:
dart: ">=2.16.2 <3.0.0" dart: ">=2.17.0-0 <3.0.0"
flutter: ">=2.10.0-0" flutter: ">=2.10.0-0"