SharedAppData constructor

const SharedAppData({
  1. Key? key,
  2. required Widget child,
})

Creates a widget based on InheritedModel that supports build dependencies qualified by keywords. Descendant widgets create such dependencies with SharedAppData.getValue and they trigger rebuilds with SharedAppData.setValue.

This widget is automatically created by the WidgetsApp.

Implementation

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