build method

  1. @override
Widget build(
  1. BuildContext context
)
override

Build the widget.

Implementation

@override
Widget build(final BuildContext context) => RandomTasks(
  tasks: tasks
      .map(
        (final e) =>
            RandomTask(getDuration: () => e.duration, onTick: e.onTick),
      )
      .toList(),
  child: child,
);