WebDatePicker constructor
const
WebDatePicker({
- Key? key,
- GlobalKey<
State< ? formKey,StatefulWidget> > - FormFieldValidator<
String> ? validator, - DateTime? initialDate,
- DateTime? firstDate,
- DateTime? lastDate,
- required ValueChanged<
DateTime?> onChange, - required Function onRemove,
- TextStyle? style,
- double width = 200,
- double height = 36,
- Widget? prefix,
- String dateformat = 'yyyy/MM/dd',
- double overlayVerticalPosition = 5.0,
- double overlayHorizontalPosiition = 0.0,
- 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);