InputDecorator constructor
Creates a widget that displays a border, labels, and icons, for a TextField.
The isFocused
and isEmpty
arguments must not be null.
Implementation
const InputDecorator({
Key key,
this.decoration,
this.baseStyle,
this.textAlign,
this.isFocused = false,
this.isEmpty = false,
this.child,
}) : assert(isFocused != null),
assert(isEmpty != null),
super(key: key);