FlutterTimer constructor

const FlutterTimer({
  1. Key? key,
  2. required Duration duration,
  3. required dynamic onFinished(),
})

Implementation

const FlutterTimer({Key? key, required this.duration, required this.onFinished}) : super(key: key);