flutter 如何缩放
Transform(
// 需要缩放的子组件
child: Container(
width: 100.0,
height: 100.0,
color: Colors.red
),
alignment: Alignment.center,
transform: new Matrix4.scale(1.5),
)
Transform(
// 需要缩放的子组件
child: Container(
width: 100.0,
height: 100.0,
color: Colors.red
),
alignment: Alignment.center,
transform: new Matrix4.scale(1.5),
)