ModelNotifier<T>.inherit constructor
const
ModelNotifier<T>.inherit (
- Symbol dataKey,
- ValueNotifier<
T> notifier, { - Key? key,
- required Widget? child,
Creates a single ModelNotifier widget.
Implementation
const ModelNotifier.inherit(this.dataKey, this.notifier,
{super.key, required this.child});