buildPicker method
Implementation
@override
Widget buildPicker(BuildContext context, TableFilterState state) {
return _DateTimePicker(
firstDate: firstDate,
lastDate: lastDate,
dateFormat: dateFormat,
initialDate: state.value,
decoration: decoration ?? InputDecoration(labelText: title),
onSaved: (newValue) {
if (newValue != null) {
state.value = newValue;
}
},
);
}