transform widget in flutter

Code Example - transform widget in flutter

                
                        Transform.rotate(  angle: 1.0,  child: Container(    height: 200.0,    width: 200.0,    color: Colors.pink,  ),),
                    
                
 

transform widget flutter

                        
                                Transform.rotate(
  angle: -math.pi / 12.0,
  child: Container(
    padding: const EdgeInsets.all(8.0),
    color: const Color(0xFFE8581C),
    child: const Text('Apartment for rent!'),
  ),
)
                            
                        
 

Related code examples