FluentTimePickerState class

A time picker's fully resolved state, including the design axes.

Inheritance
Annotations

Constructors

FluentTimePickerState({required bool enabled, required bool readOnly, required bool error, required bool focused, required bool open, required TextEditingController controller, required FocusNode focusNode, required GlobalKey<EditableTextState> editableTextKey, required FluentTimePickerAppearance appearance, required FluentTimePickerSize size, Widget? placeholder, Widget? expandIcon, Widget? clearIcon, ValueChanged<String>? onChanged, ValueChanged<String>? onSubmitted, bool autofocus = false, String? semanticLabel})
Creates a state.
const

Properties

appearance → FluentTimePickerAppearance
Colours and borders of the faceplate.
final
autofocus → bool
Whether to take focus on mount.
finalinherited
clearIcon → Widget?
The glyph that clears the value, or null when there is nothing to clear.
finalinherited
controller → TextEditingController
The field's text.
finalinherited
editableTextKey → GlobalKey<EditableTextState>
Key of the underlying EditableText.
finalinherited
enabled → bool
Whether the picker accepts input.
finalinherited
error → bool
Whether to paint the danger ramp.
finalinherited
expandIcon → Widget?
The chevron that opens the listbox.
finalinherited
focused → bool
Whether the field holds focus.
finalinherited
focusNode → FocusNode
The field's focus node.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
onChanged → ValueChanged<String>?
Called on every keystroke.
finalinherited
onSubmitted → ValueChanged<String>?
Called when the field is submitted.
finalinherited
open → bool
Whether the listbox is showing.
finalinherited
placeholder → Widget?
Shown while the field is empty.
finalinherited
readOnly → bool
Whether the field refuses edits.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
semanticLabel → String?
Accessible name of the picker.
finalinherited
size → FluentTimePickerSize
Height and type ramp of the faceplate.
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