Import
import 'package:flutter/widgets.dart';
import 'package:fluttyui/fluttyui.dart' as ui;API Reference
The declarations below match the current FluttyUI source. Types are shown without the optional ui. import prefix.
Select
const Select({
super.key,
this.size,
required this.options,
this.onChanged,
this.value,
this.multiple = false,
this.values = const {},
this.onValuesChanged,
String? placeholder,
this.backgroundColor,
this.foregroundColor,
this.placeholderColor,
this.borderColor,
this.focusColor,
this.selectedColor,
this.borderRadius,
this.menuBorderRadius,
this.padding,
this.optionPadding,
this.menuPadding,
this.fontSize,
this.optionFontSize,
this.maxMenuHeight = 280,
this.enabled = true,
this.width,
this.height,
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
size | ComponentSize? | No | null |
options | List<SelectOption<T>> | Yes | — |
onChanged | ValueChanged<T>? | No | null |
value | T? | No | null |
multiple | bool | No | false |
values | Set<T> | No | const {} |
onValuesChanged | ValueChanged<Set<T>>? | No | null |
placeholder | String? | No | null |
backgroundColor | Color? | No | null |
foregroundColor | Color? | No | null |
placeholderColor | Color? | No | null |
borderColor | Color? | No | null |
focusColor | Color? | No | null |
selectedColor | Color? | No | null |
borderRadius | double? | No | null |
menuBorderRadius | double? | No | null |
padding | EdgeInsetsGeometry? | No | null |
optionPadding | EdgeInsetsGeometry? | No | null |
menuPadding | EdgeInsetsGeometry? | No | null |
fontSize | double? | No | null |
optionFontSize | double? | No | null |
maxMenuHeight | double | No | 280 |
enabled | bool | No | true |
width | double? | No | null |
height | double? | No | null |
Application Setup
Place components under FluttyApp to provide theme, navigation, localization, and overlay defaults. Use theme tokens for shared appearance settings.
Source
lib/src/widgets/forms/select/select.dart
This reference is generated from the Select declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

