【发布时间】:2019-12-27 00:33:58
【问题描述】:
我有一个AnimatedContainer,我想将它旋转 180 度,并且原点应该在它的中心。
它有一个transform 参数,不幸的是,它要求Matrix4。
Flutter 文档中没有对Matrix4 的解释:
https://api.flutter.dev/flutter/vector_math_64/Matrix4-class.html
我必须使用什么 Matrix4 来按中心旋转它?
【问题讨论】: