DatePickerProps class

Date picker component properties.

Constructors

DatePickerProps({String? id, DateTime? value, String? label, String? placeholder, DateTime? minDate, DateTime? maxDate, bool disabled = false, String? error, bool clearable = true, DatePickerSizeVariant size = DatePickerSizeVariant.md, CalendarModeVariant mode = CalendarModeVariant.single, DateRangeValue? rangeValue, bool isOpen = false, String displayText = 'Select date...', void onToggle()?, void onSelect(DateTime date)?, void onRangeSelect(DateRangeValue range)?, void onClear()?, CalendarProps? calendarProps, ArcaneStyleData? styles, ArcaneDecoration? decoration})
const

Properties

calendarProps → CalendarProps?
final
clearable → bool
final
decoration → ArcaneDecoration?
Semantic, theme-interpreted decoration (elevation intent + theme-specific fields honored-or-ignored per theme).
final
disabled → bool
final
displayText → String
final
error → String?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
final
isOpen → bool
final
label → String?
final
maxDate → DateTime?
final
minDate → DateTime?
final
mode → CalendarModeVariant
final
onClear → void Function()?
final
onRangeSelect → void Function(DateRangeValue range)?
final
onSelect → void Function(DateTime date)?
final
onToggle → void Function()?
final
placeholder → String?
final
rangeValue → DateRangeValue?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → DatePickerSizeVariant
final
styles → ArcaneStyleData?
Literal, theme-permeable style override (always applied, wins over theme).
final
value → DateTime?
final

Methods

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.
inherited