startArea method

Widget startArea(
  1. DateInfo date,
  2. double width,
  3. int index
)

Implementation

Widget startArea(DateInfo date, double width, int index) {
  return sizedWidget(
    sizeFactor: betweenControllerList[index],
    condition: (date.isSelected == SelectType.start &&
        (datesRange.start != null && datesRange.end != null)),
    child: Align(
      alignment: Alignment.centerRight,
      child: Container(
        width: width / 14,
        height: width / 10,
        decoration: BoxDecoration(
          color: widget.selectedBetweenAreaColor,
          boxShadow: [
            BoxShadow(
              color: widget.selectedBetweenAreaColor,
              spreadRadius: 1,
            )
          ],
        ),
      ),
    ),
  );
}