widgets/src/form/ny_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.
FormCollection
A collection of form options that can be used with various form field widgets.
FormOption
Represents a single option item for form components like dropdowns, radios, and chips.
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
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
NyFormActions
Helper class for dispatching form actions by name.
NyFormData
Base class for defining form structure, data, and behavior in Nylo applications.
NyFormWidget
NyFormWidget is an abstract StatefulWidget for building forms declaratively.

Mixins

FormSubmittable
Mixin for button widgets that can be wired to form submission.