HudButtonComponent constructor
HudButtonComponent({
- PositionComponent? button,
- PositionComponent? buttonDown,
- EdgeInsets? margin,
- dynamic onPressed()?,
- dynamic onReleased()?,
- dynamic onCancelled()?,
- Vector2? position,
- Vector2? size,
- Vector2? scale,
- double? angle,
- Anchor? anchor,
- Iterable<
Component> ? children, - int? priority,