betweenArea method

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

Implementation

Widget betweenArea(DateInfo date, double width, int index) {
  return sizedWidget(
    sizeFactor: betweenControllerList[index],
    condition: (date.isSelected == SelectType.between),
    child: Align(
      alignment: Alignment.center,
      child: Container(
        height: width * 0.1,
        decoration: BoxDecoration(
          color: widget.selectedBetweenAreaColor,
          boxShadow: [
            BoxShadow(
              color: widget.selectedBetweenAreaColor,
              spreadRadius: 1,
            )
          ],
        ),
      ),
    ),
  );
}