flipX property

Widget get flipX

Flips the widget horizontally.

Implementation

Widget get flipX => Transform(
  alignment: Alignment.center,
  transform: Matrix4.identity()..scaleByDouble(-1.0, 1.0, 1.0, 1.0),
  child: this,
);