rotate icon flutter code example
Example: 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,
),
),