DatePickerTheme class
Theme configuration for DatePicker widget styling and behavior.
Defines the visual properties and default behaviors for date picker components including presentation modes, calendar views, and popover positioning. Applied globally through ComponentTheme or per-instance for customization.
Supports comprehensive customization of date picker appearance, initial views, and interaction modes to match application design requirements.
Constructors
- DatePickerTheme.new({PromptMode? mode, CalendarView? initialView, CalendarViewType? initialViewType, AlignmentGeometry? popoverAlignment, AlignmentGeometry? popoverAnchorAlignment, EdgeInsetsGeometry? popoverPadding})
-
Creates a DatePickerTheme.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- initialView → CalendarView?
-
Initial calendar view to display when date picker opens.
final
- initialViewType → CalendarViewType?
-
Initial calendar view type for date picker interface.
final
- mode → PromptMode?
-
Default interaction mode for date picker triggers.
final
- popoverAlignment → AlignmentGeometry?
-
Alignment point on the popover for anchor attachment.
final
- popoverAnchorAlignment → AlignmentGeometry?
-
Alignment point on the anchor widget for popover positioning.
final
- popoverPadding → EdgeInsetsGeometry?
-
Internal padding applied to the date picker popover content.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{ValueGetter< PromptMode?> ? mode, ValueGetter<CalendarView?> ? initialView, ValueGetter<CalendarViewType?> ? initialViewType, ValueGetter<AlignmentGeometry?> ? popoverAlignment, ValueGetter<AlignmentGeometry?> ? popoverAnchorAlignment, ValueGetter<EdgeInsetsGeometry?> ? popoverPadding}) → DatePickerTheme -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override