MediaFlightSurface constructor

const MediaFlightSurface({
  1. Key? key,
  2. required Widget child,
  3. Rect? contentRect(
    1. Size size
    )?,
  4. bool enabled = true,
  5. bool ready = true,
})

contentRect is local to child, before ancestor drag/zoom transforms.

Implementation

const MediaFlightSurface({
  super.key,
  required this.child,
  this.contentRect,
  this.enabled = true,
  this.ready = true,
});