MinSelect<T> constructor

const MinSelect<T>({
  1. Key? key,
  2. required List<MinSelectItem<T>> options,
  3. required T? value,
  4. required ValueChanged<T?> onChanged,
  5. String? placeholder,
  6. MinSelectSize size = MinSelectSize.md,
  7. bool disabled = false,
  8. FocusNode? focusNode,
  9. bool autofocus = false,
  10. String? semanticLabel,
  11. MinUiAnchorSide? side,
  12. double? maxMenuHeight,
  13. double? menuWidth,
  14. Widget? icon,
  15. bool searchable = false,
  16. String? searchPlaceholder,
})

Implementation

const MinSelect({
  super.key,
  required this.options,
  required this.value,
  required this.onChanged,
  this.placeholder,
  this.size = MinSelectSize.md,
  this.disabled = false,
  this.focusNode,
  this.autofocus = false,
  this.semanticLabel,
  this.side,
  this.maxMenuHeight,
  this.menuWidth,
  this.icon,
  this.searchable = false,
  this.searchPlaceholder,
});