getButton method
Button
getButton(
- TaskFunction func
Get a button with the proper activate sound.
Implementation
Button getButton(final TaskFunction func) =>
Button(func, activateSound: world.menuActivateSound);