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