show static method
void
show(})
Implementation
static void show(BuildContext context,
{required DateTime initialDate,
required DateTime firstDate,
required DateTime lastDate,
Color bgColor = Colors.white,
Function(DateTime?)? onChanged}) {
DialogManager()
..context = context
..child = _CustomDatePicker(
initialDate: initialDate, firstDate: firstDate, lastDate: lastDate, onChanged: onChanged,backgroundColor: bgColor,)
..barrierDismissible = true
..showClose = true
..show();
}