smart_form_toolkit library
SmartForm Toolkit: An advanced, platform-aware form framework for Flutter.
This library provides a unified API for creating forms that adapt to Material and Cupertino styles automatically while maintaining a centralized state via SmartFormController.
Classes
-
ChoiceOption<
T extends Object> - Represents a single selectable option in a choice field or dropdown.
- FieldDecoration
- A class for customizing the visual appearance of SmartForm fields.
-
SmartChoiceField<
T extends Object> - A field that allows selecting a single value from a group of options.
- SmartCustomField
- A widget that allows developers to create completely custom form fields.
- SmartField
- A static factory class for creating various SmartForm fields with a clean API.
- SmartForm
- The main widget for creating smart, platform-aware forms.
- SmartFormBuilder
- A widget that builds a SmartForm automatically from a JSON-like schema.
- SmartFormController
- A controller that manages the state of a SmartForm.
- SmartFormProvider
- An InheritedWidget that provides SmartFormController and default SmartStyle to the form tree.
-
SmartSearchableDropdown<
T extends Object> - A dropdown menu that supports dynamic, asynchronous searching.
- SmartTextField
- A versatile text input widget that integrates with SmartFormController.
- SmartToggleField
- A platform-adaptive toggle field (Switch, Checkbox, or Radio) integrated with SmartFormController.
Enums
- ChoiceLayout
- The layout strategy for displaying choice options.
- SmartStyle
- Defines the visual language for SmartForm fields.
- ToggleType
- The type of toggle widget to display.