September 2019
Beginner
512 pages
12h 52m
English
The translate transformation is more likely to appear in animations (see Chapter 15, Animations). By using the Transform.translate() constructor, we move the widget around the screen:

And this is what the Transform.translate() factory constructor looks like:
Transform.translate({ Key key, @required Offset offset, bool transformHitTests: true, Widget child})
Here, we have even fewer properties compared to previous transformations. The differences are as follows:
Read now
Unlock full access