ArcaneDatePicker class

A date picker input with calendar dropdown.

Inheritance

Constructors

ArcaneDatePicker({String? id, DateTime? value, void onChanged(DateTime?)?, String? label, String? placeholder, String formatDate(DateTime)?, DateTime? minDate, DateTime? maxDate, bool disabledDates(DateTime)?, bool disabled = false, String? error, bool clearable = true, DatePickerSize size = DatePickerSize.md, CalendarMode mode = CalendarMode.single, DateRange? rangeValue, void onRangeChanged(DateRange?)?, ArcaneStyleData? styles, ArcaneDecoration? decoration, Key? key})
const
ArcaneDatePicker.range({String? id, DateRange? rangeValue, void onRangeChanged(DateRange?)?, String? label, String? placeholder, String formatDate(DateTime)?, DateTime? minDate, DateTime? maxDate, bool disabledDates(DateTime)?, bool disabled = false, String? error, bool clearable = true, DatePickerSize size = DatePickerSize.md, ArcaneStyleData? styles, ArcaneDecoration? decoration, Key? key})
const

Properties

clearable → bool
final
decoration → ArcaneDecoration?
Semantic, theme-interpreted decoration (elevation + theme-specific fields).
final
disabled → bool
final
disabledDates → bool Function(DateTime)?
final
error → String?
final
formatDate → String Function(DateTime)?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
final
key → Key?
Controls how one component replaces another component in the tree.
finalinherited
label → String?
final
maxDate → DateTime?
final
minDate → DateTime?
final
mode → CalendarMode
final
onChanged → void Function(DateTime?)?
final
onRangeChanged → void Function(DateRange?)?
final
placeholder → String?
final
rangeValue → DateRange?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → DatePickerSize
final
styles → ArcaneStyleData?
Literal, theme-permeable style override (always applied, wins over theme).
final
value → DateTime?
final

Methods

createElement() → Element
Creates a StatefulElement to manage this component's location in the tree.
inherited
createState() → State<ArcaneDatePicker>
Creates the mutable state for this component at a given location in the tree.
override
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