setBottomStartFormat method
Implementation
void setBottomStartFormat({int? yyyy, int? mm, int? dd}) {
setState(() {
startDateStr = (yyyy != null)
? widget.format
.replaceAll('yyyy', yyyy.toString())
.replaceAll(
'mm',
mm.toString().length == 1
? '0' + mm.toString()
: mm.toString())
.replaceAll(
'dd',
dd.toString().length == 1
? '0' + dd.toString()
: dd.toString())
: '';
});
}