scope method

Widget scope(
  1. BuildContext context, {
  2. Key? key,
  3. required Widget child,
})

Returns a widget that once inserted into the tree will provide the feature to all the children of the widget. The widget from the scope method must be the parent of any FeatureContainer within which this feature's UI will be surfaced. The same applies even if the feature service required is not UI related.

Implementation

Widget scope(
  BuildContext context, {
  Key? key,
  required Widget child,
}) {
  return child;
}