TickerMode constructor

const TickerMode({Key key, @required bool enabled, Widget child })

Creates a widget that enables or disables tickers.

The enabled argument must not be null.

Implementation

const TickerMode({
  Key key,
  @required this.enabled,
  Widget child
}) : assert(enabled != null),
     super(key: key, child: child);