useBorder method

void useBorder({
  1. InputBorder? all,
  2. InputBorder? base,
  3. InputBorder? enabled,
  4. InputBorder? disabled,
  5. InputBorder? focused,
  6. InputBorder? focusedError,
  7. 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;
}