currentColor property

  1. @visibleForTesting
Color? currentColor
inherited

The default color applied to SVG elements that inherit the color property.

Implementation

@visibleForTesting
Color? get currentColor => _currentColor;
  1. @override
void currentColor=(Color? color)
override

Sets the _currentColor to color.

Implementation

@override
set currentColor(Color? color) {
  _currentColor = color;
  decoder = decoderBuilder(_currentColor);
}