Skip to content

Instantly share code, notes, and snippets.

@hnvn
Last active June 28, 2018 03:43
Show Gist options
  • Save hnvn/812c7fcf9d0ffa369ee77df20de880f6 to your computer and use it in GitHub Desktop.
Save hnvn/812c7fcf9d0ffa369ee77df20de880f6 to your computer and use it in GitHub Desktop.
...
Transform(
transform: Matrix4.identity()..setEntry(3, 2, 0.006)..rotateX(pi / 4),
alignment: Alignment.bottomCenter,
child: ClipRect(
child: Align(
alignment: Alignment.topCenter,
heightFactor: 0.5,
child: child,
)),
),
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment