ModernFormTextPicker<T> constructor

const ModernFormTextPicker<T>({
  1. Key? key,
  2. void onChanged(
    1. T
    )?,
  3. String? label,
  4. String? labelTextHelper,
  5. String? value,
  6. List<ModernFormBottomSheetModel<T>>? list,
  7. List<String>? listString,
  8. bool? forceMenu,
  9. bool? enabled,
  10. bool? sufixIconEnabled,
  11. void onClear(
    1. String
    )?,
  12. String? validator(
    1. dynamic
    )?,
  13. InputDecoration decoration(
    1. InputDecoration
    )?,
  14. TextStyle textStyle(
    1. TextStyle
    )?,
  15. TextStyle labelStyle(
    1. TextStyle
    )?,
  16. TextStyle errorStyle(
    1. TextStyle
    )?,
  17. Icon? prefixIcon,
  18. String? helperText,
  19. Widget? suffixIcon,
})

Implementation

const ModernFormTextPicker({
  Key? key,
  this.onChanged,
  this.label,
  this.labelTextHelper,
  this.value,
  this.list,
  this.listString,
  this.forceMenu,
  this.enabled,
  this.sufixIconEnabled,
  this.onClear,
  this.validator,
  this.decoration,
  this.textStyle,
  this.labelStyle,
  this.errorStyle,
  this.prefixIcon,
  this.helperText,
  this.suffixIcon,
}) : super(key: key);