JoystickDirectional class

Constructors

JoystickDirectional({Future<Sprite>? spriteBackgroundDirectional, Future<Sprite>? spriteKnobDirectional, bool isFixed = true, EdgeInsets margin = const EdgeInsets.only(left: 100, bottom: 100), double size = 80, Color color = Colors.blueGrey})

Properties

color Color
final
hashCode int
The hash code for this object.
no setterinherited
isFixed bool
final
margin EdgeInsets
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size double
final

Methods

directionalDown(int pointer, Offset localPosition) → void
directionalMove(int pointer, Offset localPosition) → void
directionalUp(int pointer) → void
initialize(Vector2 _screenSize, JoystickController joystickController) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onLoad() Future<void>
render(Canvas canvas) → void
toString() String
A string representation of this object.
inherited
update(double dt) → void

Operators

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