FDateFieldCalendarProperties class

A date picker calendar popover's properties.

Mixed-in types

Constructors

FDateFieldCalendarProperties.new({AlignmentGeometry anchor = Alignment.topLeft, AlignmentGeometry inputAnchor = Alignment.bottomLeft, FPortalSpacing spacing = const FPortalSpacing(4), Offset shift(Size, FPortalChildBox, FPortalBox) = FPortalShift.flip, Offset offset = Offset.zero, FHidePopoverRegion hideOnTapOutside = FHidePopoverRegion.excludeTarget, ValueWidgetBuilder<FCalendarDayData> dayBuilder = FCalendar.defaultDayBuilder, DateTime? start, DateTime? end, DateTime? today, FCalendarPickerType initialType = FCalendarPickerType.day, bool autoHide = true})
Creates calendar properties for a date picker.
const

Properties

anchor AlignmentGeometry
The alignment point on the calendar popover. Defaults to Alignment.topLeft.
final
autoHide bool
True if the calendar popover should be automatically hidden after a date is selected. Defaults to true.
final
dayBuilder ValueWidgetBuilder<FCalendarDayData>
Customizes the appearance of calendar days.
final
end DateTime?
The latest selectable date, doesn't affect validation.
final
hashCode int
The hash code for this object.
no setteroverride
hideOnTapOutside FHidePopoverRegion
The region that can be tapped to hide the popover.
final
initialType FCalendarPickerType
The initial view type (month/year).
final
inputAnchor AlignmentGeometry
The alignment point on the input field. Defaults to Alignment.bottomLeft.
final
offset Offset
The offset to adjust the popover by. Defaults to Offset.zero.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shift Offset Function(Size, FPortalChildBox, FPortalBox)
The shifting strategy used to shift a popover when it overflows out of the viewport. Defaults to FPortalShift.flip.
final
spacing FPortalSpacing
The spacing between the child's anchor and popover's anchor. Defaults to FPortalSpacing(4).
final
start DateTime?
The earliest selectable date, doesn't affect validation.
final
today DateTime?
The date considered as "today".
final

Methods

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override