OnScreenControls constructor
const
OnScreenControls({
- Key? key,
- required InputService input,
- List<
OnScreenControlDef> ? controls, - OnScreenVisibility visibility = OnScreenVisibility.touchPlatforms,
- Color color = const Color(0xFFFFFFFF),
- String labelFor(
- OnScreenControlDef def
Implementation
const OnScreenControls({
super.key,
required this.input,
this.controls,
this.visibility = OnScreenVisibility.touchPlatforms,
this.color = const Color(0xFFFFFFFF),
this.labelFor,
});