ZwapFloatingPicker<T> constructor

const ZwapFloatingPicker<T>({
  1. required List<T> options,
  2. required String getItemString(
    1. T
    ),
  3. T? selectedOption,
  4. void onSelected(
    1. T?
    )?,
  5. String? label,
  6. String? placeholder,
  7. double borderRadius = 8,
  8. bool showClearButton = false,
  9. Key? key,
})

Implementation

const ZwapFloatingPicker({
  required this.options,
  required this.getItemString,
  this.selectedOption,
  this.onSelected,
  this.label,
  this.placeholder,
  this.borderRadius = 8,
  this.showClearButton = false,
  Key? key,
}) : super(key: key);