flutter rotate icon code example
Example 1: how to rotate icon or text in flutter
Transform.rotate(
angle: 50, //set the angel
child: Icon(Icons.format_bold,size: 50,
color: Colors.white,
),
),
Example 2: transform widget in flutter
Transform.rotate( angle: 1.0, child: Container( height: 200.0, width: 200.0, color: Colors.pink, ),),