RDropdownMenu<T> constructor
const
RDropdownMenu<T> ({
- Key? key,
- bool enabled = true,
- double? width,
- Widget? leadingIcon,
- Widget? trailingIcon,
- Widget? label,
- String? hintText,
- String? helperText,
- String? errorText,
- Widget? selectedTrailingIcon,
- bool enableFilter = false,
- bool enableSearch = true,
- TextInputType? keyboardType,
- TextStyle? textStyle,
- TextAlign textAlign = TextAlign.start,
- InputDecorationTheme? inputDecorationTheme,
- TextEditingController? controller,
- T? initialSelection,
- void onSelected(
- T?
- FocusNode? focusNode,
- bool? requestFocusOnTap,
- EdgeInsetsGeometry? expandedInsets,
- List<
DropdownMenuEntry< filterCallback(T> >- List<
DropdownMenuEntry< ,T> > - String
- List<
- int? searchCallback(
- List<
DropdownMenuEntry< ,T> > - String
- List<
- Offset? alignmentOffset,
- required List<
DropdownMenuEntry< dropdownMenuEntries,T> > - List<
TextInputFormatter> ? inputFormatters, - TextInputAction? textInputAction,
Implementation
const RDropdownMenu({
Key? key,
this.enabled = true,
this.width,
this.menuHeight,
this.leadingIcon,
this.trailingIcon,
this.label,
this.hintText,
this.helperText,
this.errorText,
this.selectedTrailingIcon,
this.enableFilter = false,
this.enableSearch = true,
this.keyboardType,
this.textStyle,
this.textAlign = TextAlign.start,
this.inputDecorationTheme,
this.menuStyle,
this.controller,
this.initialSelection,
this.onSelected,
this.focusNode,
this.requestFocusOnTap,
this.expandedInsets,
this.filterCallback,
this.searchCallback,
this.alignmentOffset,
required this.dropdownMenuEntries,
this.inputFormatters,
this.textInputAction,
}) : super(key: key);