FlutterFlowDropDown<T> constructor
const
FlutterFlowDropDown<T> ({
- required FormFieldController<
T> controller, - String? hintText,
- String? searchHintText,
- required List<
T> options, - List<
String> ? optionLabels, - required dynamic onChanged(
- T?
- Widget? icon,
- double? width,
- double? height,
- Color? fillColor,
- TextStyle? searchHintTextStyle,
- required TextStyle textStyle,
- required double elevation,
- required double borderWidth,
- required double borderRadius,
- required Color borderColor,
- required EdgeInsetsGeometry margin,
- bool hidesUnderline = false,
- bool disabled = false,
- 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,
});