InputDecoratorModifier constructor

const InputDecoratorModifier({
  1. Key? key,
  2. Key? modifierKey,
  3. required InputDecoration decoration,
  4. TextStyle? baseStyle,
  5. TextAlign? textAlign,
  6. TextAlignVertical? textAlignVertical,
  7. bool isFocused = false,
  8. bool isHovering = false,
  9. bool expands = false,
  10. bool isEmpty = false,
})

Creates a widget that displays a border, labels, and icons, for a TextField.

The isFocused, isHovering, expands, and isEmpty arguments must not be null.

Implementation

const InputDecoratorModifier({
  super.key,
  super.modifierKey,
  required this.decoration,
  this.baseStyle,
  this.textAlign,
  this.textAlignVertical,
  this.isFocused = false,
  this.isHovering = false,
  this.expands = false,
  this.isEmpty = false,
});