button property

Sprite get button

Implementation

Sprite get button => _button!;
set button (Sprite value)

Implementation

set button(Sprite value) {
  _button = value;
  if (isLoaded) {
    updateSprite(ButtonState.up, value);
  }
}