setOffset method
Updates the translation offset and triggers a rebuild of the transform. This does not rebuild the child widget, making it efficient for animations and dynamic position changes.
value
- The new translation offset.
Implementation
void setOffset(Offset value) {
setState(() {
offset = value;
});
}