LaunchpadLayout constructor
LaunchpadLayout({
- required LaunchpadController launchpad,
- dynamic pads,
- LaunchpadPad? upArrow,
- LaunchpadPad? downArrow,
- LaunchpadPad? leftArrow,
- LaunchpadPad? rightArrow,
- dynamic sceneButtons,
- LaunchpadPad? sessionButton,
- LaunchpadPad? drumsButton,
- LaunchpadPad? keysButton,
- LaunchpadPad? userButton,
- LaunchpadPad? stopSoloMuteButton,
- LaunchpadColor logo = LaunchpadColor.OFF,
Implementation
LaunchpadLayout({
required this.launchpad,
pads,
this.upArrow,
this.downArrow,
this.leftArrow,
this.rightArrow,
sceneButtons,
this.sessionButton,
this.drumsButton,
this.keysButton,
this.userButton,
this.stopSoloMuteButton,
this.logo = LaunchpadColor.OFF,
}) {
this.pads = pads ?? [];
this.sceneButtons = sceneButtons ?? [];
this._rxSubscription = this.launchpad.events().listen(this._handleEvent);
this._pushState();
}