JxDateField class

A labelled date or time input, on the native picker of the browser and the system: keyboard, screen readers and phones handled for you.

Values are strings in the HTML formats: 2026-11-14, 14:30, 2026-11-14T14:30, 2026-11, 2026-W46.

Constructors

JxDateField({required String id, required String label, JxDateType type = JxDateType.date, String? name, String? value, String? min, String? max, String? hint, String? error, bool required = false, bool disabled = false, ValueChanged<String>? onInput, String? classes, Key? key})
const

Properties

classes → String?
final
disabled → bool
final
error → String?
final
hashCode → int
The hash code for this object.
no setterinherited
hint → String?
final
id → String
final
key → Key?
Controls how one component replaces another component in the tree.
finalinherited
label → String
final
max → String?
final
min → String?
Earliest and latest accepted values, in the same format as value.
final
name → String?
final
onInput → ValueChanged<String>?
Called with the new value, or an empty string when cleared.
final
required → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → JxDateType
final
value → String?
final

Methods

build(BuildContext context) → Component
Describes the part of the user interface represented by this component.
createElement() → Element
Creates a StatelessElement to manage this component's location in the tree.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldRebuild(covariant Component newComponent) → bool
Implement this method to determine whether a rebuild can be skipped.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited