FDateFieldCalendarProperties constructor

const FDateFieldCalendarProperties({
  1. AlignmentGeometry anchor = Alignment.topLeft,
  2. AlignmentGeometry inputAnchor = Alignment.bottomLeft,
  3. FPortalSpacing spacing = const FPortalSpacing(4),
  4. Offset shift(
    1. Size size,
    2. FPortalChildBox childBox,
    3. FPortalBox portalBox
    ) = FPortalShift.flip,
  5. Offset offset = Offset.zero,
  6. FPopoverHideRegion hideRegion = FPopoverHideRegion.excludeChild,
  7. VoidCallback? onTapHide,
  8. ValueWidgetBuilder<FCalendarDayData> dayBuilder = FCalendar.defaultDayBuilder,
  9. DateTime? start,
  10. DateTime? end,
  11. DateTime? today,
  12. FCalendarPickerType initialType = FCalendarPickerType.day,
  13. bool autoHide = true,
})

Creates calendar properties for a date picker.

Implementation

const FDateFieldCalendarProperties({
  this.anchor = Alignment.topLeft,
  this.inputAnchor = Alignment.bottomLeft,
  this.spacing = const FPortalSpacing(4),
  this.shift = FPortalShift.flip,
  this.offset = Offset.zero,
  this.hideRegion = FPopoverHideRegion.excludeChild,
  this.onTapHide,
  this.dayBuilder = FCalendar.defaultDayBuilder,
  this.start,
  this.end,
  this.today,
  this.initialType = FCalendarPickerType.day,
  this.autoHide = true,
});