import 'dart:math' as math; Transform.rotate( angle: -math.pi / 4, child: Card( child: Text("FlutterCampus.com") ), ). This will rotate widget in 45 o (π/4).
確定! 回上一頁