The Flutter docs show an example of rotating a \"div\" by 15 degrees, both for HTML/CSS and Flutter code:
The Flutter code is:
var container = new Contai
You can use Transform.rotate to rotate your widget. I used Text and rotated it with 45˚ (π/4)
Transform.rotate
Text
Example:
import 'dart:math' as math; Transform.rotate( angle: -math.pi / 4, child: Text('Text'), )