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