Scene constructor

const Scene({
  1. Key? key,
  2. required List<SceneElement> elements,
  3. Widget? layout,
  4. required Widget child,
})

Creates a new Scene, which defines a coordinate system to position SceneElements on and a scope in which child Windows can find the SceneElements to present.

Implementation

const Scene({
  Key? key,
  required this.elements,
  this.layout,
  required this.child,
}) : super(key: key);