transform: rotate(15deg);
}

Transform(
      alignment: Alignment.center,
      transform: Matrix4.identity()..rotateZ(15 * 3.1415927 / 180),
      child: Container(
        // red box
        padding: const EdgeInsets.all(16),
        decoration: BoxDecoration(
          color: Colors.red[400],
        ),
        child: Text(
          'Lorem ipsum',
          style: bold24Roboto,
          textAlign: TextAlign.center,
        ),
      ),
    ),
  ),
);

Scaling components

To scale a widget up or down, nest it in a Transform widget.
Use the Transform widget’s alignment and origin properties
to specify the transform origin (fulcrum) in relative or absolute terms,
respectively.