Transform

This widget motivated by Transform in Flutter.

A widget that applies a transformation before painting its child.

Unlike RotatedBox, which applies a rotation prior to layout, this object applies its transformation just prior to painting, which means the transformation is not taken into account when calculating how much space this widget’s child (and thus this widget) consumes.

See: https://api.flutter.dev/flutter/widgets/Transform-class.html

Props

transform

Value: Matrix4

child

Value: Widget | undefined

origin

Value: Offset | undefined

alignment

Value: Alignment | undefined