September 2019
Beginner
512 pages
12h 52m
English
The rotation transformation appears in situations where we want to simply make our widget rotate. By using the Transform.rotate() constructor, we can get effects like this:

The Transform.rotate constructor variant can be used to achieve this, so let's see what it looks like:
Transform.rotate({ Key key, @required double angle, Offset origin, AlignmentGeometry alignment: Alignment.center, bool transformHitTests: true, Widget child})
As you can see, it does not differ too much from the default Transform constructor. The differences are as follows:
Read now
Unlock full access