diff --git a/openclosenew/lib/11_busiesshome.dart b/openclosenew/lib/11_busiesshome.dart index b1ef52e..16c9129 100644 --- a/openclosenew/lib/11_busiesshome.dart +++ b/openclosenew/lib/11_busiesshome.dart @@ -84,18 +84,20 @@ class _businesshomeState extends State { ], ), ), - Spacer(), + SizedBox( + height: 20, + ), Container( height: 100, child: ListView( scrollDirection: Axis.horizontal, children: [ Padding( - padding: const EdgeInsets.only(left: 22), + padding: const EdgeInsets.only(left: 18), child: InkWell( onTap: () {}, child: Container( - width: 350, + width: 360, margin: EdgeInsets.only(right: 10), decoration: BoxDecoration( image: const DecorationImage( @@ -154,19 +156,17 @@ class _businesshomeState extends State { ), ), Padding( - padding: const EdgeInsets.only(left: 10), + padding: const EdgeInsets.only(left: 18), child: InkWell( onTap: () {}, child: Container( - alignment: Alignment.center, - width: 350, + width: 360, margin: EdgeInsets.only(right: 10), decoration: BoxDecoration( image: const DecorationImage( alignment: Alignment.centerRight, image: AssetImage('assets/images/status.png'), ), - color: Color(0xFF09CD99), borderRadius: BorderRadius.all( Radius.circular(10), ), @@ -193,7 +193,7 @@ class _businesshomeState extends State { ), ), Text( - "43", + "42", style: TextStyle( fontFamily: 'Manrope', fontStyle: FontStyle.normal, @@ -219,18 +219,17 @@ class _businesshomeState extends State { ), ), Padding( - padding: const EdgeInsets.only(left: 10), + padding: const EdgeInsets.only(left: 18), child: InkWell( onTap: () {}, child: Container( - width: 350, + width: 360, margin: EdgeInsets.only(right: 10), decoration: BoxDecoration( image: const DecorationImage( alignment: Alignment.centerRight, image: AssetImage('assets/images/status.png'), ), - color: Color(0xFF09CD99), borderRadius: BorderRadius.all( Radius.circular(10), ), @@ -257,7 +256,7 @@ class _businesshomeState extends State { ), ), Text( - "44", + "42", style: TextStyle( fontFamily: 'Manrope', fontStyle: FontStyle.normal, @@ -299,9 +298,8 @@ class _businesshomeState extends State { ), ), ), - Spacer(), Padding( - padding: const EdgeInsets.only(right: 15), + padding: const EdgeInsets.only(right: 15, top: 10, bottom: 15), child: TextButton.icon( icon: Icon( Icons.add, @@ -338,13 +336,14 @@ class _businesshomeState extends State { MaterialPageRoute(builder: (_) => businessdetail())); }, child: Container( - height: 180, + height: 200, + width: double.infinity, margin: EdgeInsets.only(right: 15), decoration: BoxDecoration( borderRadius: BorderRadius.all(Radius.circular(5)), ), foregroundDecoration: BoxDecoration( - color: status ? null : Colors.grey, + color: status ? null : Colors.white, backgroundBlendMode: status ? null : BlendMode.saturation, ), @@ -399,7 +398,9 @@ class _businesshomeState extends State { ), ), ), - Spacer(), + SizedBox( + width: 35, + ), FlutterSwitch( width: 105, height: 40, @@ -469,7 +470,7 @@ class _businesshomeState extends State { MaterialPageRoute(builder: (_) => businessdetail())); }, child: Container( - height: 185, + height: 200, margin: EdgeInsets.only(right: 15, top: 10), decoration: BoxDecoration( borderRadius: BorderRadius.all(Radius.circular(5)), @@ -530,7 +531,9 @@ class _businesshomeState extends State { ), ), ), - Spacer(), + SizedBox( + width: 35, + ), FlutterSwitch( width: 105, height: 40, @@ -600,7 +603,7 @@ class _businesshomeState extends State { MaterialPageRoute(builder: (_) => businessdetail())); }, child: Container( - height: 180, + height: 200, margin: EdgeInsets.only(right: 15, top: 10), decoration: BoxDecoration( borderRadius: BorderRadius.all(Radius.circular(5)), @@ -661,7 +664,9 @@ class _businesshomeState extends State { ), ), ), - Spacer(), + SizedBox( + width: 35, + ), FlutterSwitch( width: 105, height: 40, @@ -726,6 +731,7 @@ class _businesshomeState extends State { ], ), ), + Spacer(), BottomNavigationBar( iconSize: 20, unselectedFontSize: 12, diff --git a/openclosenew/pubspec.lock b/openclosenew/pubspec.lock index 89e7a34..24a9538 100644 --- a/openclosenew/pubspec.lock +++ b/openclosenew/pubspec.lock @@ -56,7 +56,7 @@ packages: name: collection url: "https://pub.dartlang.org" source: hosted - version: "1.15.0" + version: "1.16.0" cross_file: dependency: transitive description: @@ -98,7 +98,7 @@ packages: name: fake_async url: "https://pub.dartlang.org" source: hosted - version: "1.2.0" + version: "1.3.0" ffi: dependency: transitive description: @@ -239,7 +239,7 @@ packages: name: js url: "https://pub.dartlang.org" source: hosted - version: "0.6.3" + version: "0.6.4" libphonenumber: dependency: transitive description: @@ -288,7 +288,7 @@ packages: name: material_color_utilities url: "https://pub.dartlang.org" source: hosted - version: "0.1.3" + version: "0.1.4" meta: dependency: transitive description: @@ -302,7 +302,7 @@ packages: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.8.0" + version: "1.8.1" path_drawing: dependency: transitive description: @@ -475,7 +475,7 @@ packages: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.8.1" + version: "1.8.2" stack_trace: dependency: transitive description: @@ -510,7 +510,7 @@ packages: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.4.8" + version: "0.4.9" typed_data: dependency: transitive description: @@ -531,7 +531,7 @@ packages: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.1.1" + version: "2.1.2" win32: dependency: transitive description: @@ -561,5 +561,5 @@ packages: source: hosted version: "3.1.0" sdks: - dart: ">=2.16.2 <3.0.0" + dart: ">=2.17.0-0 <3.0.0" flutter: ">=2.10.0-0"