Member-only story

Flutter. Transform class in Examples

Artem Diashkin
LITSLINK
Published in
4 min readMay 1, 2020

Let’s take a deep-dive into the props and features of the Flutter Transform class with animation examples…

What will be covered in this article

  • Prerequisites. Create a screen template
  • 1. Rotation (with alignment and origin properties)
  • 1.1 Alignment “topCenter”
  • 1.2 Alignment “bottomCenter”
  • 1.3 Origin
  • 2. Scale
  • 3. Translate “transform”
  • 3.1 Matrix4.skew
  • 3.2. Matrix4.identity()

Prerequisites. Create a screen template

For testing different animations we will be using Android emulator, because of more smooth graphics …

This “Red box” container will be our test subject until the end of this story.

This will be our scaffold example:

--

--

LITSLINK
LITSLINK

Published in LITSLINK

Hands-on up to date experience sharing of the most skilled & talented software developers right here, right now. Subscribe to learn & understand more about the Software World.

No responses yet