setState method
dynamic
setState({
- List<
LaunchpadPad> ? pads, - LaunchpadPad? upArrow,
- LaunchpadPad? downArrow,
- LaunchpadPad? leftArrow,
- LaunchpadPad? rightArrow,
- LaunchpadPad? sessionButton,
- LaunchpadPad? drumsButton,
- LaunchpadPad? keysButton,
- LaunchpadPad? userButton,
- List<
LaunchpadPad> ? sceneButtons, - LaunchpadPad? stopSoloMuteButton,
- LaunchpadColor? logo,
Implementation
setState({
List<LaunchpadPad>? pads,
LaunchpadPad? upArrow,
LaunchpadPad? downArrow,
LaunchpadPad? leftArrow,
LaunchpadPad? rightArrow,
LaunchpadPad? sessionButton,
LaunchpadPad? drumsButton,
LaunchpadPad? keysButton,
LaunchpadPad? userButton,
List<LaunchpadPad>? sceneButtons,
LaunchpadPad? stopSoloMuteButton,
LaunchpadColor? logo,
}) {
this.pads = pads ?? this.pads;
this.upArrow = upArrow ?? this.upArrow;
this.downArrow = downArrow ?? this.downArrow;
this.leftArrow = leftArrow ?? this.leftArrow;
this.rightArrow = rightArrow ?? this.rightArrow;
this.sessionButton = sessionButton ?? this.sessionButton;
this.drumsButton = drumsButton ?? this.drumsButton;
this.keysButton = keysButton ?? this.keysButton;
this.userButton = userButton ?? this.userButton;
this.sceneButtons = sceneButtons ?? this.sceneButtons;
this.stopSoloMuteButton = stopSoloMuteButton ?? this.stopSoloMuteButton;
this.logo = logo ?? this.logo;
this._pushState();
}