KntSimplePicker constructor

const KntSimplePicker({
  1. Key? key,
  2. required Widget presentOption,
  3. List<String> options = const [],
  4. void onPickedOption(
    1. int,
    2. String
    )?,
  5. double? menuMaxHeight,
  6. EdgeInsets? menuOptionPadding,
  7. bool needAnimate = false,
})

Implementation

const KntSimplePicker({
  super.key,
  required this.presentOption,
  this.options = const [],
  this.onPickedOption,
  this.menuMaxHeight,
  this.menuOptionPadding,
  this.needAnimate = false,
});