dropdownButton<T> function

DropdownButton<T> dropdownButton<T>(
  1. AppModel app,
  2. BuildContext context, {
  3. T? value,
  4. List<DropdownMenuItem<T>>? items,
  5. Widget? hint,
  6. ValueChanged<T?>? onChanged,
  7. bool isDense = false,
  8. 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);