perspective method

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

Implementation

Widget perspective({Key? key}) => Transform(
      key: key,
      transform: Matrix4.identity()..setEntry(3, 2, 0.001),
      child: this,
    );