OnScreenControls constructor

const OnScreenControls({
  1. Key? key,
  2. required InputService input,
  3. List<OnScreenControlDef>? controls,
  4. OnScreenVisibility visibility = OnScreenVisibility.touchPlatforms,
  5. Color color = const Color(0xFFFFFFFF),
  6. String labelFor(
    1. OnScreenControlDef def
    )?,
})

Implementation

const OnScreenControls({
  super.key,
  required this.input,
  this.controls,
  this.visibility = OnScreenVisibility.touchPlatforms,
  this.color = const Color(0xFFFFFFFF),
  this.labelFor,
});