NiceDateRangeBox constructor
const
NiceDateRangeBox({ - Key? key,
- required DateTime? start,
- required DateTime? end,
- required void onChanged(
- DateTime? start,
- DateTime? end
),
- String? label,
- String? errorText,
- bool enabled = true,
- DateTime? firstDate,
- DateTime? lastDate,
- String dateFormat = 'yyyy-MM-dd',
- String startLabel = 'Od',
- String endLabel = 'Do',
})
Implementation
const NiceDateRangeBox({
super.key,
required this.start,
required this.end,
required this.onChanged,
this.label,
this.errorText,
this.enabled = true,
this.firstDate,
this.lastDate,
this.dateFormat = 'yyyy-MM-dd',
this.startLabel = 'Od',
this.endLabel = 'Do',
});