import 'dart:math' as math; // import this Transform( alignment: Alignment.center, transform: Matrix4.rotationY(math.pi), child: Icon(Icons.rotate_left, size: 100,), )