valueOn property

PositionComponent get valueOn

Gets the visual component for the enabled state.

Implementation

PositionComponent get valueOn => _valueOn;
set valueOn (PositionComponent component)

Sets the visual component for the enabled state and rebuilds the visual state.

Implementation

set valueOn(PositionComponent component) {
  _valueOn = component;
  _rebuild();
}