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