CustomFieldContextDefaultValueDate( {this.date, required this.type, bool? useCurrent}) : useCurrent = useCurrent ?? false;