menu
flame package
documentation
extensions.dart
OffsetExtension extension
OffsetExtension extension
dark_mode
light_mode
OffsetExtension
extension
on
Offset
Methods
toPoint
(
)
→
Point
<
num
>
Creates a
Point
from the
Offset
toRect
(
)
→
Rect
Creates a
Rect
starting in origin and going the
Offset
toSize
(
)
→
Size
Creates a
Size
from the
Offset
toVector2
(
)
→
Vector2
Creates an
Vector2
from the
Offset
flame package
documentation
extensions
OffsetExtension extension
extensions library