borderTopRightRadius property

  1. @override
CSSBorderRadius get borderTopRightRadius
override

Implementation

@override
CSSBorderRadius get borderTopRightRadius => _borderTopRightRadius ?? CSSBorderRadius.zero;
set borderTopRightRadius (CSSBorderRadius? value)

Implementation

set borderTopRightRadius(CSSBorderRadius? value) {
  if (value == _borderTopRightRadius) return;
  _borderTopRightRadius = value;
  markNeedsPaint();
  resetBoxDecoration();
  _invalidateBorderRadiusCache();
  if (DebugFlags.enableBorderRadiusLogs) {
    try {
      final el = target;
      cssLogger.finer('[BorderRadius] set border-top-right-radius on <${el.tagName.toLowerCase()}> -> '
          '${value?.cssText() ?? 'unset'}');
    } catch (_) {}
  }
}