MDropDown<T> constructor

const MDropDown<T>({
  1. TextEditingController? controller,
  2. String? label,
  3. required List<T> items,
  4. T? value,
  5. String? hint,
  6. Key? key,
  7. dynamic onChanged(
    1. T?
    )?,
  8. Widget? suffixIcon,
  9. Widget? prefixIcon,
  10. bool required = true,
})

Implementation

const MDropDown({this.controller,this.label, required this.items, this.value, this.hint, Key? key, this.onChanged, this.suffixIcon, this.prefixIcon, this.required = true}) : super(key: key);