InputDecoration.collapsed constructor

const InputDecoration.collapsed({
  1. required String? hintText,
  2. Widget? hint,
  3. TextStyle? hintStyle,
  4. int? hintMaxLines,
  5. bool? filled,
  6. Color? fillColor,
  7. Color? hoverColor,
  8. InputBorder? border = const NoInputBorder(),
  9. bool enabled = true,
})

Implementation

const InputDecoration.collapsed({
  required this.hintText,
  this.hint,
  this.hintStyle,
  this.hintMaxLines,
  this.filled,
  this.fillColor,
  this.hoverColor,
  this.border = const NoInputBorder(),
  this.enabled = true,
}) : helperText = null,
     error = null,
     errorText = null,
     errorStyle = null,
     errorMaxLines = null,
     counter = null,
     counterText = null,
     counterStyle = null,
     prefix = null,
     prefixText = null,
     prefixStyle = null,
     suffix = null,
     suffixText = null,
     suffixStyle = null,
     prefixIcon = null,
     suffixIcon = null,
     prefixIconConstraints = null,
     suffixIconConstraints = null,
     constraints = null,
     contentPadding = EdgeInsets.zero,
     isDense = false,
     isCollapsed = true,
     enabledBorder = null,
     disabledBorder = null,
     focusedBorder = null,
     errorBorder = null,
     focusedErrorBorder = null;