Portal constructor

const Portal({
  1. Key? key,
  2. String? debugName,
  3. List<PortalLabel> labels = const [PortalLabel.main],
  4. required Widget child,
})

Implementation

const Portal({
  Key? key,
  this.debugName,
  this.labels = const [PortalLabel.main],
  required this.child,
}) : super(key: key);