didChangeDependencies method
- BuildContext context
A didChangeDependencies method like in State.didChangeDependencies, necessary to update the tickers correctly when the "muted" attribute changes.
Implementation
void didChangeDependencies(final BuildContext context) {
final muted = !TickerMode.of(context);
if (_tickers != null) {
for (final ticker in _tickers) {
ticker.muted = muted;
}
}
}