InitFlags class

Flags to pass to Sdl.init.

Constructors

InitFlags({bool timer = false, bool audio = false, bool video = false, bool joystick = false, bool haptic = false, bool gameController = false, bool events = false, bool sensor = false})
Create an instance.
const

Properties

audio bool
SDL_INIT_AUDIO.
final
events bool
SDL_INIT_EVENTS.
final
flags int
Get the flags as an integer.
no setter
gameController bool
SDL_INIT_GAMECONTROLLER.
final
haptic bool
SDL_INIT_HAPTIC.
final
hashCode int
The hash code for this object.
no setterinherited
joystick bool
SDL_INIT_JOYSTICK.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sensor bool
SDL_INIT_SENSOR.
final
timer bool
SDL_INIT_TIMER.
final
video bool
SDL_INIT_VIDEO.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

everything → const InitFlags
Initialise all flags to true.