theme property

The per-frame theme.

Implementation

ValueListenable<CalcThemeData> get theme => _theme;
set theme (ValueListenable<CalcThemeData> value)

Implementation

set theme(ValueListenable<CalcThemeData> value) {
  if (value == _theme) return;
  if (attached) _theme.removeListener(markNeedsPaint);
  _theme = value;
  if (attached) _theme.addListener(markNeedsPaint);
  markNeedsPaint();
}