GSelectButton<T> constructor
const
GSelectButton<T> ({
- Key? key,
- SelectMode mode = SelectMode.single,
- SelectType type = SelectType.button,
- required ValueChanged<
T> ? onChanged, - T? value,
- List<
T> ? values, - required List<
T> items, - TitleBuilder? titleBuilder,
- String placeholder = '请选择',
- FocusNode? focusNode,
Implementation
const GSelectButton({
Key? key,
this.mode = SelectMode.single,
this.type = SelectType.button,
required this.onChanged,
this.value,
this.values,
required this.items,
this.titleBuilder,
this.placeholder = '请选择',
this.focusNode,
}) : super(key: key);