defaultTextFieldProperties top-level property

TextFieldProperties defaultTextFieldProperties

Implementation

TextFieldProperties get defaultTextFieldProperties => TextFieldProperties(
      autoCorrect: TextFieldDefaults.autoCorrect,
      autoFocus: TextFieldDefaults.autoFocus,
      enableInteractiveSelection: TextFieldDefaults.enableInteractiveSelection,
      enabled: TextFieldDefaults.enabled,
      obscureText: TextFieldDefaults.obscureText,
      readOnly: TextFieldDefaults.readOnly,
      showCursor: TextFieldDefaults.showCursor,
      keyboardType: TextFieldDefaults.keyboardType,
      selectionHeightStyle: TextFieldDefaults.selectionHeightStyle,
      selectionWidthStyle: TextFieldDefaults.selectionWidthStyle,
      textAlign: TextFieldDefaults.textAlign,
      textAlignVertical: TextFieldDefaults.textAlignVertical,
      cursorColor: TextFieldDefaults.cursorColor.toColorRGB(),
      cursorHeight: TextFieldDefaults.cursorHeight,
      cursorWidth: TextFieldDefaults.cursorWidth,
      cursorRadius: TextFieldDefaults.cursorRadius,
      maxLines: TextFieldDefaults.maxLines,
      obscuringCharacter: TextFieldDefaults.obscuringCharacter,
      inputStyle: TextFieldDefaults.style,
      decoration: TextFieldDefaults.decoration,
      expands: false,
    );