FlutterFlowDropDown<T> constructor

const FlutterFlowDropDown<T>({
  1. required FormFieldController<T> controller,
  2. String? hintText,
  3. String? searchHintText,
  4. required List<T> options,
  5. List<String>? optionLabels,
  6. required dynamic onChanged(
    1. T?
    ),
  7. Widget? icon,
  8. double? width,
  9. double? height,
  10. Color? fillColor,
  11. TextStyle? searchHintTextStyle,
  12. required TextStyle textStyle,
  13. required double elevation,
  14. required double borderWidth,
  15. required double borderRadius,
  16. required Color borderColor,
  17. required EdgeInsetsGeometry margin,
  18. bool hidesUnderline = false,
  19. bool disabled = false,
  20. bool isSearchable = false,
})

Implementation

const FlutterFlowDropDown({
  required this.controller,
  this.hintText,
  this.searchHintText,
  required this.options,
  this.optionLabels,
  required this.onChanged,
  this.icon,
  this.width,
  this.height,
  this.fillColor,
  this.searchHintTextStyle,
  required this.textStyle,
  required this.elevation,
  required this.borderWidth,
  required this.borderRadius,
  required this.borderColor,
  required this.margin,
  this.hidesUnderline = false,
  this.disabled = false,
  this.isSearchable = false,
});