flipVertical method

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

Extension method to vertically flip any widget without wrapping or with dot operator.

Implementation

Widget flipVertical({Key? key}) => Transform(
      key: key,
      transform: Matrix4.rotationX(math.pi),
      child: this,
    );