build method

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

Build the widget.

Implementation

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