spec constant
WidgetSpec
const spec
Implementation
static const spec = WidgetSpec('textField', hugs: true, props: [
initialValue, decoration, style, textAlign, textAlignVertical, keyboardType, keyboardDecimal, keyboardSigned, min, max, step, steppers, semanticLabel, //
textInputAction, textCapitalization, autocorrect, enableSuggestions, autofocus, enableInteractiveSelection, enabled, obscureText,
obscuringCharacter, readOnly, showCursor, cursorColor, cursorHeight, cursorWidth, cursorRadius, maxLength, otpLength, otpDigitsOnly,
maxLines, minLines, expands, selectionHeightStyle, selectionWidthStyle, autofillHints, autovalidateMode,
selectAllOnFocus, focusRingColor, focusRingWidth, inputFormatter, validator, markdown, runs,
], doc: 'Flutter `TextField`. Leave its height to hug: every input (text field, dropdown, date and time picker) is then the same control height (28); a fixed height picks another step of the control scale (24, 28, 32, 36, 44) and should be the same on the inputs beside it.');