taskData method

dynamic taskData(
  1. dynamic context,
  2. dynamic task,
  3. dynamic ref
)

Implementation

Widget taskData(BuildContext context, Task task, WidgetRef ref) {
  return SingleChildScrollView(
    child: Padding(
      padding: const EdgeInsets.symmetric(horizontal: 20.0),
      child: Column(
        children: [
          const SizedBox(height: 10),
          _widgetDescription(context, task, ref),
          const SizedBox(height: 10),
          _widgetTaskDate(context, task),
          _widgetTaskAssignment(context, task, ref),
          const SizedBox(height: 20),
          AttachmentSectionWidget(manager: task.attachments()),
          const SizedBox(height: 20),
          CommentsSection(manager: task.comments()),
          const SizedBox(height: 20),
        ],
      ),
    ),
  );
}