Back to API Reference
Struct

FieldState

sealed

Editable-state snapshot pushed to a FieldDecorator whenever it changes.

[ctor]public FieldState()

Creates an immutable snapshot delivered to a field decorator.

public readonly bool IsEmpty

No committed text and no in-progress composition.

public readonly bool IsFocused

Whether the editable currently owns input focus.

public readonly bool IsComposing

Whether an IME composition is in progress.

public readonly LengthLimit LengthLimit

Length cap published by LengthLimitBehavior; zero means unlimited.

public readonly ValidationState Validation

The validation state currently published by the editable's validators.