Select<T> constructor

const Select<T>({
  1. Key? key,
  2. required SelectController<T> controller,
  3. void onSelected(
    1. T?
    )?,
  4. List<Pair<T>> pairs = const [],
  5. String? placeholder,
  6. bool isResettable = false,
  7. SelectStyle selectStyle = SelectStyle.classic,
})

Implementation

const Select({
  super.key,
  required this.controller,
  this.onSelected,
  this.pairs = const [],
  this.placeholder,
  this.isResettable = false,
  this.selectStyle = SelectStyle.classic,
});