September 2019
Beginner
512 pages
12h 52m
English
The Transform widget is one of the best examples of the Flutter framework's power and consistency. It's a single-purpose widget that simply applies a graphic transformation to its child and nothing more. Having widgets focused on one single purpose is fundamental to a better layout structure, and Flutter does it very well.
The Transform widget, as its name suggests, does a single task: it transforms its underlying child. Although its task is very complex, it abstracts most part of this complexity to the developer. Let's have a look at its constructor:
const Transform({ Key key, @required Matrix4 transform, Offset origin, AlignmentGeometry alignment, bool transformHitTests: true, Widget child})
As you can see, besides ...
Read now
Unlock full access