WebDatePicker constructor

const WebDatePicker({
  1. Key? key,
  2. GlobalKey<State<StatefulWidget>>? formKey,
  3. FormFieldValidator<String>? validator,
  4. DateTime? initialDate,
  5. DateTime? firstDate,
  6. DateTime? lastDate,
  7. required ValueChanged<DateTime?> onChange,
  8. required Function onRemove,
  9. TextStyle? style,
  10. double width = 200,
  11. double height = 36,
  12. Widget? prefix,
  13. String dateformat = 'yyyy/MM/dd',
  14. double overlayVerticalPosition = 5.0,
  15. double overlayHorizontalPosiition = 0.0,
  16. InputDecoration? inputDecoration,
})

Implementation

const WebDatePicker({
  Key? key,
  this.formKey,
  this.validator,
  this.initialDate,
  this.firstDate,
  this.lastDate,
  required this.onChange,
  required this.onRemove,
  this.style,
  this.width = 200,
  this.height = 36,
  this.prefix,
  this.dateformat = 'yyyy/MM/dd',
  this.overlayVerticalPosition = 5.0,
  this.overlayHorizontalPosiition = 0.0,
  this.inputDecoration,
}) : super(key: key);