TimerWidgetBuilder typedef

TimerWidgetBuilder = Widget Function(BuildContext context, DateTime dateTime, int ticks, bool isFinished)

Implementation

typedef TimerWidgetBuilder = Widget Function(
    BuildContext context,

    /// The time of the current tick.
    DateTime dateTime,

    /// The number of ticks since the timer started.
    int ticks,

    /// This is false while the timer is on, and becomes true as soon as it ends.
    bool isFinished,
    );