GSelectButton<T> constructor

const GSelectButton<T>({
  1. Key? key,
  2. SelectMode mode = SelectMode.single,
  3. SelectType type = SelectType.button,
  4. required ValueChanged<T>? onChanged,
  5. T? value,
  6. List<T>? values,
  7. required List<T> items,
  8. TitleBuilder? titleBuilder,
  9. String placeholder = '请选择',
  10. 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);