CupertinoTimer constructor

CupertinoTimer(
  1. {Key key,
  2. @required Duration duration,
  3. void valueListener(
    1. Duration timeElapsed
    ),
  4. bool startOnInit: false,
  5. TextStyle timeStyle,
  6. Color ringColor: Colors.green,
  7. double ringStroke: 6.0}
)

Implementation

CupertinoTimer({
  Key key,
  @required this.duration,
  this.valueListener,
  this.startOnInit = false,
  this.timeStyle,
  this.ringColor = Colors.green,
  this.ringStroke = 6.0,
}) : super(key: key);