rotate180 method

Widget rotate180({
  1. Key? key,
})

Extension method to rotate any widget by 180 degrees without wrapping or with dot operator.

Implementation

Widget rotate180({Key? key}) => Transform.rotate(
      key: key,
      angle: math.pi,
      child: this,
    );