EditableDenseField constructor

const EditableDenseField({
  1. Key? key,
  2. Color? cursorColor,
  3. double? cursorHeight,
  4. void onChanged(
    1. String
    )?,
  5. void onSubmit(
    1. String
    )?,
  6. bool enabled = true,
  7. TextEditingController? controller,
  8. TextStyle? textStyle,
  9. TextStyle? hintStyle,
  10. VoidCallback? onFocus,
  11. String hint = '',
  12. EdgeInsets? contentPadding,
  13. bool expands = false,
  14. TextAlign textAlign = TextAlign.left,
  15. TextInputType textInputType = const TextInputType.numberWithOptions(signed: true, decimal: true),
  16. TextInputAction textInputAction = TextInputAction.done,
  17. bool autoFocus = false,
  18. bool readOnly = false,
  19. bool showCursor = true,
})

Implementation

const EditableDenseField({
  super.key,
  this.cursorColor,
  this.cursorHeight,
  this.onChanged,
  this.onSubmit,
  this.enabled = true,
  this.controller,
  this.textStyle,
  this.hintStyle,
  this.onFocus,
  this.hint = '',
  this.contentPadding,
  this.expands = false,
  this.textAlign = TextAlign.left,
  this.textInputType =
      const TextInputType.numberWithOptions(signed: true, decimal: true),
  this.textInputAction = TextInputAction.done,
  this.autoFocus = false,
  this.readOnly = false,
  this.showCursor = true,
});