FieldStyleDateTimePicker constructor
FieldStyleDateTimePicker({
- TextStyle? style,
- VoidCallback? onTap,
- FocusNode? focusNode,
- bool autofocus = false,
- bool? enableFeedback,
- EdgeInsetsGeometry? padding,
- bool hideDefaultSuffixIcon = false,
- DateTime? initialPickerDateTime,
- CupertinoDatePickerOptions? cupertinoDatePickerOptions,
- MaterialDatePickerOptions? materialDatePickerOptions,
- MaterialTimePickerOptions? materialTimePickerOptions,
- InputDecoration? decoration,
- DateFormat? dateFormat,
- DateTime? firstDate,
- DateTime? lastDate,
- DateTimeFieldPickerMode mode = DateTimeFieldPickerMode.dateAndTime,
- DateTimeFieldPickerPlatform pickerPlatform = DateTimeFieldPickerPlatform.adaptive,
Implementation
FieldStyleDateTimePicker({
this.style,
this.onTap,
this.focusNode,
this.autofocus = false,
this.enableFeedback,
this.padding,
this.hideDefaultSuffixIcon = false,
this.initialPickerDateTime,
this.cupertinoDatePickerOptions,
this.materialDatePickerOptions,
this.materialTimePickerOptions,
this.decoration,
this.dateFormat,
this.firstDate,
this.lastDate,
this.mode = DateTimeFieldPickerMode.dateAndTime,
this.pickerPlatform = DateTimeFieldPickerPlatform.adaptive,
});