useBorderWidth method

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

Implementation

void useBorderWidth({
  double? all,
  double? base,
  double? enabled,
  double? disabled,
  double? focused,
  double? focusedError,
  double? error,
}) {
  _baseBorder.width = all ?? baseBorder?.width;
  _enabledBorder.width = enabled ?? enabledBorder?.width;
  _disabledBorder.width = disabled ?? disabledBorder?.width;
  _focusedBorder.width = focused ?? focusedBorder?.width;
  _focusedErrorBorder.width = focusedError ?? focusedErrorBorder?.width;
  _errorBorder.width = error ?? errorBorder?.width;
}