CanvasObject<T> constructor
const
CanvasObject<T> ({})
Implementation
const CanvasObject({
required double dx,
required double dy,
required double width,
required double height,
required T child,
}) : _dx = dx,
_dy = dy,
_width = width,
_height = height,
_child = child;