borderTopLeftRadius property

  1. @override
CSSBorderRadius get borderTopLeftRadius
override

Implementation

@override
CSSBorderRadius get borderTopLeftRadius => _borderTopLeftRadius ?? CSSBorderRadius.zero;
set borderTopLeftRadius (CSSBorderRadius? value)

Implementation

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