Container(
color: Colors.black,
child: Transform(
alignment: Alignment.topRight,
transform: Matrix4.skewY(0.3)..rotateZ(-math.pi / 12.0),
child: Container(
padding: const EdgeInsets.all(8.0),
color: const Color(0xFFE8581C),
child: const Text('Apartment for rent!'),
),
),
)
Transform.translate(
offset: const Offset(10.0,10.0),
child: const Text('Transform'),
),
Transform.scale( scale: 0.5, origin: Offset(50.0, 50.0), child: Container( height: 100.0, width: 100.0, color: Colors.blue, ),),