position property
Offset
position
The position of the SceneElement as an Offset from the origin of the Scene coordinates system.
This Offset is not necessarily located at the top-left corner of the bounds of the SceneElement. An implementation of SceneElementLayoutDelegate could, for example, align position with the center of the SceneElement.
Implementation
Offset get position => _position;
Implementation
set position(Offset position) {
if (_position != position) {
_position = position;
notifyListeners();
}
}