FlipWidget constructor

FlipWidget({
  1. Key? key,
  2. Widget? child,
  3. Size textureSize = const Size(512, 512),
  4. bool leftToRight = false,
  5. double rollSize = 12,
})

child is the widget you want to flip. textureSize is the pixel size of effect layer.

Implementation

FlipWidget({
  Key? key,
  this.child,
  this.textureSize = const Size(512, 512),
  this.leftToRight = false,
  this.rollSize = 12,
}) : super(key: key);