settings property

PainterSettings settings

The current painter settings directly from value.

Implementation

PainterSettings get settings => value.settings;
void settings=(PainterSettings settings)

The current painter settings directly from value.

Setting this will notify all the listeners of this PainterController that they need to update (it calls notifyListeners). For this reason, this value should only be set between frames, e.g. in response to user actions, not during the build, layout, or paint phases.

Implementation

set settings(PainterSettings settings) =>
    value = value.copyWith(settings: settings);