Scope constructor
const
Scope({
- required Widget child,
- required Dependencies scope,
- 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,
});