move method
Translates the component by offset
value.
Implementation
void move(Offset offset) {
position += offset;
notifyListeners();
}
Translates the component by offset
value.
void move(Offset offset) {
position += offset;
notifyListeners();
}