MiniInput constructor

const MiniInput({
  1. Key? key,
  2. String? initialValue,
  3. TextEditingController? controller,
  4. FocusNode? focusNode,
  5. ValueChanged<String>? onChanged,
  6. ValueChanged<String>? onSubmitted,
  7. String? placeholder,
  8. TextInputType keyboardType = TextInputType.text,
  9. TextInputAction textInputAction = TextInputAction.done,
  10. bool enabled = true,
  11. bool autofocus = false,
  12. int? maxLength,
})

Implementation

const MiniInput({
  super.key,
  this.initialValue,
  this.controller,
  this.focusNode,
  this.onChanged,
  this.onSubmitted,
  this.placeholder,
  this.keyboardType = TextInputType.text,
  this.textInputAction = TextInputAction.done,
  this.enabled = true,
  this.autofocus = false,
  this.maxLength,
});