SharedAppDataModifier constructor

const SharedAppDataModifier({
  1. Key? key,
  2. 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 SharedAppDataModifier({super.key, super.child});