VooAdvancedDateTimePicker class
Advanced Material 3 date/time picker
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- VooAdvancedDateTimePicker
Constructors
-
VooAdvancedDateTimePicker({Key? key, VooDateTimeSelectionMode mode = VooDateTimeSelectionMode.yearMonthDay, VooDateTimeComponents? components, DateTime? initialValue, DateTimeRange<
DateTime> ? initialRange, DateTime? firstDate, DateTime? lastDate, void onChanged(DateTime? value)?, void onRangeChanged(DateTimeRange<DateTime> ? range)?, bool isInline = false, InputDecoration? decoration, VooCalendarTheme? calendarTheme, int minuteInterval = 1, bool use24HourFormat = false, String? dateFormat, String? timeFormat, bool enabled = true, String? hintText, String? labelText, String? helperText, String? errorText, bool showSeconds = false, int? yearRangeStart, int? yearRangeEnd}) -
const
Properties
- calendarTheme → VooCalendarTheme?
-
Calendar theme
final
- components → VooDateTimeComponents?
-
Components that are selectable
final
- dateFormat → String?
-
Custom date format
final
- decoration → InputDecoration?
-
Field decoration
final
- enabled → bool
-
Enable field
final
- errorText → String?
-
Field error text
final
- firstDate → DateTime?
-
First selectable date
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- helperText → String?
-
Field helper text
final
- hintText → String?
-
Field hint text
final
-
initialRange
→ DateTimeRange<
DateTime> ? -
Initial range value
final
- initialValue → DateTime?
-
Initial value
final
- isInline → bool
-
Whether to show as inline or field
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- labelText → String?
-
Field label text
final
- lastDate → DateTime?
-
Last selectable date
final
- minuteInterval → int
-
Time picker interval in minutes
final
- mode → VooDateTimeSelectionMode
-
Selection mode
final
- onChanged → void Function(DateTime? value)?
-
Value changed callback
final
-
onRangeChanged
→ void Function(DateTimeRange<
DateTime> ? range)? -
Range changed callback
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showSeconds → bool
-
Whether to show seconds in time picker
final
- timeFormat → String?
-
Custom time format
final
- use24HourFormat → bool
-
Use 24 hour format
final
- yearRangeEnd → int?
-
final
- yearRangeStart → int?
-
Custom year range (if not specified, uses current year ± 50)
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< VooAdvancedDateTimePicker> -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
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
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited