menu
flame package
documentation
extensions.dart
OffsetExtension
toRect method
toRect method
dark_mode
light_mode
toRect
method
Rect
toRect
(
)
Creates a
Rect
starting in origin and going the
Offset
Implementation
Rect toRect() => Rect.fromLTWH(0, 0, dx, dy);
flame package
documentation
extensions
OffsetExtension
toRect method
OffsetExtension extension on
Offset