useBorder method
void
useBorder({
- InputBorder? all,
- InputBorder? base,
- InputBorder? enabled,
- InputBorder? disabled,
- InputBorder? focused,
- InputBorder? focusedError,
- InputBorder? error,
Implementation
void useBorder({
InputBorder? all,
InputBorder? base,
InputBorder? enabled,
InputBorder? disabled,
InputBorder? focused,
InputBorder? focusedError,
InputBorder? error,
}) {
baseBorder = all?.asNiku ?? baseBorder;
enabledBorder = enabled?.asNiku ?? enabledBorder;
disabledBorder = disabled?.asNiku ?? disabledBorder;
focusedBorder = focused?.asNiku ?? focusedBorder;
focusedErrorBorder = focusedError?.asNiku ?? focusedErrorBorder;
errorBorder = error?.asNiku ?? errorBorder;
}