InitFlags constructor

const InitFlags({
  1. bool timer = false,
  2. bool audio = false,
  3. bool video = false,
  4. bool joystick = false,
  5. bool haptic = false,
  6. bool gameController = false,
  7. bool events = false,
  8. bool sensor = false,
})

Create an instance.

By default, all flags are set to false. Instead of creating a new instance with all flags set to true, consider using the everything constant.

Implementation

const InitFlags({
  this.timer = false,
  this.audio = false,
  this.video = false,
  this.joystick = false,
  this.haptic = false,
  this.gameController = false,
  this.events = false,
  this.sensor = false,
});