rotate method

Transform rotate(
  1. double angle
)

Creates a modifier that transforms its widget using a rotation around the center.

Example:

Text('I am crooked?!')
    .rotate(28);

Implementation

Transform rotate(double angle) {
  return Transform.rotate(child: this, angle: angle);
}