From 0933f2a8b5bb19d6011c1c86b3fb2d2626f99ac3 Mon Sep 17 00:00:00 2001 From: kishan06 Date: Fri, 5 Jul 2024 15:20:18 +0530 Subject: [PATCH] signup button dropdown fixes --- ios/Flutter/AppFrameworkInfo.plist | 2 +- ios/Runner.xcodeproj/project.pbxproj | 6 +++--- lib/Utils/Common/CommonDropdown.dart | 10 ++++++---- lib/main.dart | 10 ++++++++-- 4 files changed, 18 insertions(+), 10 deletions(-) diff --git a/ios/Flutter/AppFrameworkInfo.plist b/ios/Flutter/AppFrameworkInfo.plist index 9625e10..7c56964 100644 --- a/ios/Flutter/AppFrameworkInfo.plist +++ b/ios/Flutter/AppFrameworkInfo.plist @@ -21,6 +21,6 @@ CFBundleVersion 1.0 MinimumOSVersion - 11.0 + 12.0 diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 1e00913..0577cba 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -375,7 +375,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + CURRENT_PROJECT_VERSION = 8; DEVELOPMENT_TEAM = A89AY6VY4F; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; @@ -508,7 +508,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + CURRENT_PROJECT_VERSION = 8; DEVELOPMENT_TEAM = A89AY6VY4F; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; @@ -535,7 +535,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + CURRENT_PROJECT_VERSION = 8; DEVELOPMENT_TEAM = A89AY6VY4F; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; diff --git a/lib/Utils/Common/CommonDropdown.dart b/lib/Utils/Common/CommonDropdown.dart index d7d02da..67fc4b4 100644 --- a/lib/Utils/Common/CommonDropdown.dart +++ b/lib/Utils/Common/CommonDropdown.dart @@ -494,6 +494,7 @@ class _CustomDropDownRadioState extends State { widget.onItemSelected(item); }, child: Column( + mainAxisAlignment: MainAxisAlignment.start, children: [ Row( children: [ @@ -522,7 +523,7 @@ class _CustomDropDownRadioState extends State { ), ], ), - SizedBox(height: 5.h), + // SizedBox(height: 5.h), if (index != widget.listData.length - 1) Divider(thickness: 1, color: const Color(0xFF434A53)), ], @@ -671,7 +672,7 @@ class _CustomDropDownRadioState extends State { // thumbVisibility: true, child: Container( width: double.infinity, - height: widget.listData.length > 4 ? 250.h : null, + //height: widget.listData.length > 4 ? 250.h : null, decoration: BoxDecoration( color: Color(0xFFFFFFFF).withOpacity(0.10), borderRadius: BorderRadius.vertical( @@ -687,8 +688,9 @@ class _CustomDropDownRadioState extends State { ], ), ), - child: ListView( - shrinkWrap: true, + child: Column( + // shrinkWrap: true, + // reverse: true, children: _buildDropdownMenuItems(), ), ), diff --git a/lib/main.dart b/lib/main.dart index 2e52474..6298410 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -18,8 +18,14 @@ Future main() async { SystemChrome.setPreferredOrientations([ DeviceOrientation.portraitUp, - ]).then((value) => runApp(StatsFl( - align: Alignment.center, width: 200, height: 100, child: const MyApp()))); + ]).then((value) => runApp( + + //const MyApp() + StatsFl( + align: Alignment.center, + width: 200, + height: 100, + child: const MyApp()))); } // runApp(