JoystickBase constructor

const JoystickBase({
  1. JoystickMode mode = JoystickMode.all,
  2. double size = 200,
  3. JoystickBaseDecoration? decoration,
  4. Widget? joystickArrows,
  5. JoystickArrowsDecoration? arrowsDecoration,
  6. Key? key,
})

Implementation

const JoystickBase({
  this.mode = JoystickMode.all,
  this.size = 200,
  this.decoration,
  this.joystickArrows,
  this.arrowsDecoration,
  super.key,
}) : assert(joystickArrows == null || arrowsDecoration == null);