📜  颤振镜像反转小部件 - Dart 代码示例

📅  最后修改于: 2022-03-11 14:48:03.393000             🧑  作者: Mango

代码示例1
import 'dart:math' as math; // import this

Transform( //Wrap your widget with the Transform widget
  alignment: Alignment.center, //Default is left
  transform: Matrix4.rotationY(math.pi), //Mirror Widget
  child: Icon(Icons.rotate_left, size: 100,), //Your widget
)