HudButtonComponent constructor

HudButtonComponent({
  1. PositionComponent? button,
  2. PositionComponent? buttonDown,
  3. EdgeInsets? margin,
  4. dynamic onPressed()?,
  5. dynamic onReleased()?,
  6. dynamic onCancelled()?,
  7. Vector2? position,
  8. Vector2? size,
  9. Vector2? scale,
  10. double? angle,
  11. Anchor? anchor,
  12. Iterable<Component>? children,
  13. int? priority,
})