MutableText constructor
const
MutableText(
- String value, {
- Key? key,
- MainAxisSize mainAxisSize = MainAxisSize.min,
- ValueChanged<
String> ? onChanged, - bool autoCorrect = true,
- int? minLines,
- TextStyle? style,
- int? maxLines,
- Locale? locale,
- Color? selectionColor,
- TextOverflow? overflow,
- String? semanticsLabel,
- List<
TextInputFormatter> ? inputFormatters, - bool? softWrap,
- StrutStyle? strutStyle,
- TextAlign? textAlign,
- TextDirection? textDirection,
- TextHeightBehavior? textHeightBehavior,
- TextScaler? textScaler,
- TextWidthBasis? textWidthBasis,
- int? maxLength,
- Widget? placeholder,
- Widget? overrideButtonContent,
- double buttonGapWidth = 4,
- VoidCallback? onEditingComplete,
- VoidCallback? onEditingStarted,
- EditButtonType buttonType = EditButtonType.pencil,
- String labelBuilder()?,
- bool border = false,
Implementation
const MutableText(this.value,
{super.key,
this.mainAxisSize = MainAxisSize.min,
this.onChanged,
this.autoCorrect = true,
this.minLines,
this.style,
this.maxLines,
this.locale,
this.selectionColor,
this.overflow,
this.semanticsLabel,
this.inputFormatters,
this.softWrap,
this.strutStyle,
this.textAlign,
this.textDirection,
this.textHeightBehavior,
this.textScaler,
this.textWidthBasis,
this.maxLength,
this.placeholder,
this.overrideButtonContent,
this.buttonGapWidth = 4,
this.onEditingComplete,
this.onEditingStarted,
this.buttonType = EditButtonType.pencil,
this.labelBuilder,
this.border = false});