FDateFieldCalendarProperties class

A date picker calendar popover's properties.

Mixed-in types

Constructors

FDateFieldCalendarProperties({AlignmentGeometry anchor = .topLeft, AlignmentGeometry fieldAnchor = .bottomLeft, FPortalSpacing spacing = const .spacing(4), FPortalOverflow overflow = .flip, Offset offset = .zero, FPopoverHideRegion hideRegion = .excludeChild, Object? groupId, VoidCallback? onTapHide, ValueWidgetBuilder<FCalendarDayData> dayBuilder = FCalendar.defaultDayBuilder, DateTime? start, DateTime? end, DateTime? today, FCalendarPickerType initialType = .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
fieldAnchor AlignmentGeometry
The alignment point on the field. Defaults to Alignment.bottomLeft.
final
groupId Object?
An optional group ID that groups TapRegions together so that they operate as one region. If a tap occurs outside of all group members, then group members that are shown will be hidden.
final
hashCode int
The hash code for this object.
no setteroverride
hideRegion FPopoverHideRegion
The region that can be tapped to hide the popover.
final
initialType FCalendarPickerType
The initial view type (month/year).
final
offset Offset
Additional translation to apply to the popover's position.
final
onTapHide VoidCallback?
A callback that is called when the popover is hidden by tapping outside of it.
final
overflow FPortalOverflow
The callback used to shift a popover when it overflows out of the viewport.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spacing FPortalSpacing
The spacing between the popover and child anchors.
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