📜  颤振变换旋转 - Dart 代码示例

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

代码示例3
// This example rotates an orange box containing text around its center by fifteen degrees
Transform.rotate(
  angle: -math.pi / 12.0,
  child: Container(
    padding: const EdgeInsets.all(8.0),
    color: const Color(0xFFE8581C),
    child: const Text('Apartment for rent!'),
  ),
)