CustomOutlineInputBorder constructor
- BorderSide borderSide = const BorderSide(),
- BorderRadius? borderRadius = BorderRadius.zero,
Creates an underline border for an InputDecorator.
The borderSide
parameter defaults to BorderSide.none (it must not be
null). Applications typically do not specify a borderSide
parameter
because the input decorator substitutes its own, using copyWith, based
on the current theme and InputDecorator.isFocused.
The borderRadius parameter defaults to a value where the top left and right corners have a circular radius of 4.0. The borderRadius parameter must not be null.
Implementation
const CustomOutlineInputBorder(
{BorderSide borderSide = const BorderSide(),
this.borderRadius = BorderRadius.zero})
: assert(borderRadius != null),
super(borderSide: borderSide);