ScreenInjection<T extends ScreenController> constructor

const ScreenInjection<T extends ScreenController>({
  1. Key? key,
  2. required T controller,
  3. ScreenReceiveArgs receiveArgs = const ScreenReceiveArgs(identity: "", receive: false),
  4. required ScreenBridge<ScreenController, ScreenInjection<ScreenController>> child,
})

Implementation

const ScreenInjection({
  Key? key,
  required this.controller,
  this.receiveArgs = const ScreenReceiveArgs(identity: "", receive: false),
  required ScreenBridge child
}) : super(
  key: key,
  child: child
);