ActiveState<T extends ActiveView<ActiveController> , E extends ActiveController> constructor
ActiveState<T extends ActiveView<ActiveController> , E extends ActiveController> (
- E activeController
Implementation
ActiveState(this.activeController) {
activeController.addOnStateChangedListener((events) {
if (widget.developerMode && kDebugMode) {
// ignore: avoid_print
events.forEach(print);
}
if (mounted) {
setState(() {});
}
});
}