InputDecoratorModifier constructor
const
InputDecoratorModifier({
- Key? key,
- Key? modifierKey,
- required InputDecoration decoration,
- TextStyle? baseStyle,
- TextAlign? textAlign,
- TextAlignVertical? textAlignVertical,
- bool isFocused = false,
- bool isHovering = false,
- bool expands = false,
- 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,
});