endArea method

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

Implementation

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