totalTimeWidget method

Widget totalTimeWidget(
  1. DurationState? durationState
)

Implementation

Widget totalTimeWidget(DurationState? durationState) {
  final time = TimeUtils.formatDurationCount(
      durationState?.total?.inMilliseconds ?? 0);
  return Container(
    padding: const EdgeInsets.only(left: 10),
    alignment: Alignment.centerRight,
    height: 50,
    constraints: const BoxConstraints(minWidth: 45),
    child: textView(time),
  );
}