buildDateRow method

dynamic buildDateRow ()

Implementation

buildDateRow() {
  List<Widget> currentWeekRow = [];
  for (var eachDay = 0; eachDay < 7; eachDay++) {
    var index = eachDay;
    currentWeekRow.add(dateTileBuilder(rowStartingDate.add(Duration(days: eachDay)), selectedDate, index));
  }
  monthLabel = getMonthLabel();
  return Column(children: [
    monthLabelWidget(monthLabel),
    Container(
        padding: EdgeInsets.all(0),
        child: GestureDetector(
          onHorizontalDragEnd: (DragEndDetails details) => onStripDrag(details),
          child: Row(children: [leftIconWidget(), Expanded(child: Row(children: currentWeekRow)), rightIconWidget()]),
        ))
  ]);
}