Legacy modules refactor: auth, control panel, location module, and session persistence
This commit is contained in:
@@ -14,6 +14,7 @@ class CustomDropdown extends StatelessWidget {
|
||||
final double width;
|
||||
final Color? color;
|
||||
final EdgeInsets? padding;
|
||||
final bool showIcon;
|
||||
|
||||
const CustomDropdown({
|
||||
super.key,
|
||||
@@ -28,6 +29,7 @@ class CustomDropdown extends StatelessWidget {
|
||||
this.height = 70,
|
||||
this.color,
|
||||
this.padding,
|
||||
this.showIcon = true,
|
||||
});
|
||||
|
||||
@override
|
||||
@@ -55,6 +57,7 @@ class CustomDropdown extends StatelessWidget {
|
||||
height: height,
|
||||
child: Center(
|
||||
child: DropdownButtonFormField<dynamic>(
|
||||
icon: showIcon ? null : const SizedBox.shrink(),
|
||||
dropdownColor: Colors.white,
|
||||
decoration: InputDecoration(
|
||||
enabledBorder: border(borderColor),
|
||||
|
||||
Reference in New Issue
Block a user