form_field_adapter library

An interactive, focus-aware FormField wrapper that adds state-based decorations, shake animations, haptic feedback and optional scroll-to-error to any custom widget.

The main entry point is FormFieldAdapter. DecorationPlacement and ErrorPosition configure where the decoration and the error text are drawn.

Classes

FormFieldAdapter<T>
A highly interactive, focus-aware custom FormField wrapper designed for Flutter.

Enums

DecorationPlacement
Defines where the state-based Decoration is drawn relative to the child widget.
ErrorPosition
Defines where the validation error text is displayed relative to the input widget.