RawSlideCountdownBuilder typedef

RawSlideCountdownBuilder = Widget Function(BuildContext context, Duration duration, bool isCountUp)

Signature for a function that builds a widget for a raw slide countdown.

The context parameter is the BuildContext for the widget being built.

The duration parameter is the remaining duration for the countdown.

The isCountUp parameter is to know remaining duration is countdown or countup.

The function should return a Widget that represents the current state of the countdown.

This typedef is typically used in conjunction with raw slide countdown widgets to customize the appearance and behavior of the countdown display.

Implementation

typedef RawSlideCountdownBuilder = Widget Function(
  BuildContext context,
  Duration duration,
  // ignore: avoid_positional_boolean_parameters
  bool isCountUp,
);