update ui
This commit is contained in:
@@ -12,14 +12,13 @@ class LocalDropdown<T> extends StatelessWidget {
|
||||
final String? labelKey;
|
||||
|
||||
const LocalDropdown(
|
||||
{Key? key,
|
||||
{super.key,
|
||||
this.callback,
|
||||
this.iconData,
|
||||
this.selectedValue,
|
||||
this.values,
|
||||
this.labelKey,
|
||||
this.display})
|
||||
: super(key: key);
|
||||
this.display});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -50,10 +49,7 @@ class LocalDropdown<T> extends StatelessWidget {
|
||||
isDense: true,
|
||||
value: selectedValue,
|
||||
style: TextStyle(color: Colors.black, fontSize: 14),
|
||||
underline: Container(
|
||||
height: 1,
|
||||
color: Colors.grey,
|
||||
),
|
||||
underline: Container(height: 1, color: primaryColor),
|
||||
onChanged: (T? newValue) {
|
||||
callback!(newValue!);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user