useNikuBorder method

void useNikuBorder({
  1. NikuInputBorder? all,
  2. NikuInputBorder? base,
  3. NikuInputBorder? enabled,
  4. NikuInputBorder? disabled,
  5. NikuInputBorder? focused,
  6. NikuInputBorder? focusedError,
  7. NikuInputBorder? error,
})

Implementation

void useNikuBorder({
  NikuInputBorder? all,
  NikuInputBorder? base,
  NikuInputBorder? enabled,
  NikuInputBorder? disabled,
  NikuInputBorder? focused,
  NikuInputBorder? focusedError,
  NikuInputBorder? error,
}) {
  baseBorder = all ?? baseBorder!;
  enabledBorder = enabled ?? enabledBorder!;
  disabledBorder = disabled ?? disabledBorder!;
  focusedBorder = focused ?? focusedBorder!;
  focusedErrorBorder = focusedError ?? focusedErrorBorder!;
  errorBorder = error ?? errorBorder!;
}