widgets/src/form/form library
Classes
- DecoratorTextField
- DecoratorTextField is a class that helps in managing form text fields
- Field
- Represents a form field with configuration, validation, and state management capabilities.
-
FieldBaseState<
T extends StatefulWidget> - Abstract base class for form field widget states.
- FieldStyle
- Base class for defining styling options for form fields.
- FieldStyleCheckbox
- Style configuration for checkbox fields.
- FieldStyleChip
- Style configuration for chip-based selection fields.
- FieldStyleDateTimePicker
- Style configuration for date and time picker fields.
- FieldStylePicker
- FieldStylePicker is used to define the style for a picker field.
- FieldStyleRadio
- Style configuration for radio button fields.
- FieldStyleRangeSlider
- Style configuration for range slider fields.
- FieldStyleSlider
- Style configuration for slider fields.
- FieldStyleSwitchBox
- FieldStyleSwitchBox is used to define the style for a switch box field.
- FieldStyleTextField
- Comprehensive style configuration for text input fields.
- FormCheckboxStateActions
- Provides state management actions for NyFormCheckbox widgets.
- FormChipStateActions
- Provides state management actions for NyFormChip widgets.
- FormCollection
- A collection of form options that can be used with various form field widgets.
- FormDateTimePickerStateActions
- State actions for the NyFormDateTimePicker widget
- FormOption
- Represents a single option item for form components like dropdowns, radios, and chips.
- FormPickerStateActions
- Provides state management actions for NyFormPicker widgets.
- FormRadioStateActions
- Provides state management actions for NyFormRadio widgets.
- FormRule
- Base class for all form validation rules.
- FormRuleBeginsWith
- FormRuleBooleanFalse
- FormRuleBooleanTrue
- FormRuleCapitalized
- FormRuleContains
- FormRuleCustom
- FormRuleDate
- FormRuleDateAgeIsOlder
- FormRuleDateAgeIsYounger
- FormRuleDateInFuture
- FormRuleDateInPast
- FormRuleEmail
- FormRuleEndsWith
- FormRuleEquals
- FormRuleEquals This rule checks if the input data is equal to a specified data source.
- FormRuleLowercase
- FormRuleMaxLength
- FormRuleMaxSize
- FormRuleMaxValue
- FormRuleMinLength
- FormRuleMinSize
- FormRuleMinValue
- FormRuleNotEmpty
- FormRuleNumeric
- FormRulePassword
- FormRulePhoneNumberUk
- FormRulePhoneNumberUs
- FormRulePostcodeUk
- FormRuleRegex
- FormRuleUppercase
- FormRuleUrl
- FormRuleZipcodeUs
- FormStateActions
- The base class for form state actions This class is used to manage the state of the form fields
- FormSwitchBoxStateActions
- Provides state management actions for NyFormSwitchBox widgets.
- FormValidationError
- Represents a validation failure response.
- FormValidationResponse
- Represents the response of a form validation process. This class is used to encapsulate the result of a validation check, indicating whether the form is valid or not, along with an optional message.
- FormValidationResult
- FormValidationSuccess
- Represents a successful validation response
- FormValidator
- NyFieldStatefulWidget
- A stateful widget base class for creating form field widgets.
- NyFormActions
- Helper class for dispatching form actions by name.
- NyFormCheckbox
- A checkbox widget for forms that allows users to toggle a boolean value.
- NyFormChip
- A customizable chip selection widget for forms that allows users to select multiple options.
- NyFormData
- Base class for defining form structure, data, and behavior in Nylo applications.
- NyFormDateTimePicker
- A NyFormDateTimePicker widget for Form Fields
- NyFormPicker
- A dropdown/picker selection widget for forms that allows users to choose from a list of options.
- NyFormRadio
- A radio button group widget for forms that allows users to select a single option.
- NyFormSwitchBox
- A switch toggle widget for forms that allows users to toggle a boolean value.
- NyFormWidget
- NyFormWidget is an abstract StatefulWidget for building forms declaratively.
Mixins
- FormSubmittable
- Mixin for button widgets that can be wired to form submission.