EditableDenseField constructor
const
EditableDenseField({
- Key? key,
- Color? cursorColor,
- double? cursorHeight,
- void onChanged()?,
- void onSubmit()?,
- bool enabled = true,
- TextEditingController? controller,
- TextStyle? textStyle,
- TextStyle? hintStyle,
- VoidCallback? onFocus,
- String hint = '',
- EdgeInsets? contentPadding,
- bool expands = false,
- TextAlign textAlign = TextAlign.left,
- TextInputType textInputType = const TextInputType.numberWithOptions(signed: true, decimal: true),
- TextInputAction textInputAction = TextInputAction.done,
- bool autoFocus = false,
- bool readOnly = false,
- 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,
});