Scope constructor

const Scope({
  1. required Widget child,
  2. required Dependencies scope,
  3. Key? key,
})

Creates a Scope widget.

  • child: The widget that will be provided with the Dependencies instance.
  • scope: The Dependencies instance to be provided to the descendant widgets.
  • key: (Optional) A key that uniquely identifies the widget.

Implementation

const Scope({
  required super.child,
  required this.scope,
  super.key,
});