Answers for "flutter rotate icon"

2

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,
                 ),
               ),
Posted by: Guest on March-04-2021
1

transform widget in flutter

Transform.rotate(  angle: 1.0,  child: Container(    height: 200.0,    width: 200.0,    color: Colors.pink,  ),),
Posted by: Guest on November-05-2020

Browse Popular Code Answers by Language