dropdownButton<T> function
DropdownButton<T>
dropdownButton<T>(
- AppModel app,
- BuildContext context, {
- T? value,
- List<
DropdownMenuItem< ? items,T> > - Widget? hint,
- ValueChanged<
T?> ? onChanged, - bool isDense = false,
- bool isExpanded = false,
Implementation
DropdownButton<T> dropdownButton<T>(
AppModel app,
BuildContext context, {
T? value,
List<DropdownMenuItem<T>>? items,
Widget? hint,
ValueChanged<T?>? onChanged,
bool isDense = false,
bool isExpanded = false,
}) =>
StyleRegistry.registry()
.styleWithApp(app)
.frontEndStyle()
.buttonStyle()
.dropdownButton(app, context,
value: value,
items: items,
hint: hint,
onChanged: onChanged,
isDense: isDense,
isExpanded: isExpanded);