bindChild<T extends ChangeNotifier> method
T
bindChild<T extends ChangeNotifier>(
- T child
inherited
Binds the ChangeNotifier child
to this (the parent) so that the child
will be disposed when this is disposed.
Implementation
T bindChild<T extends ChangeNotifier>(T child) {
$children.add(child);
return child;
}