callWidgetDispose static method
Implementation
static void callWidgetDispose(BuilderEx widget, State state) {
try {
widget.dispose?.call(state);
} catch (e, s) {
Journal.d('[$state] ${widget.name} dismissCallBack exception: ${e.toString()}');
Journal.d(e is Error ? e.stackTrace?.toString() ?? 'No stackTrace' : 'No stackTrace');
Journal.d(s.toString());
}
assert(() {
Journal.d('[$state] ${widget.name} >>>>> dispose');
return true;
}());
}