dynamic_form library
Classes
- ButtonDecorationElement
- shapeButton : shape of the Button. | backgroundColorButton : background color of the button | size : customize size of the button elevation : elevation of the button(default:2.0)
- CardExpirationDateInputElement
- blueprint for card expiration date input
- CardNumberElement
- CountryElement
- CVVElement
- DateElement
- blueprint that open date picker to pick your date
- DateInputElement
- blueprint that date input to date
- DecorationElement
- Pre existing border, labels, icons, and styles used to decorate a Material text field. filledColor : the Color of text Field container
- DecorationLoginForm
- EmailElement
- EmailElement representation of email text field inside form
- EmailError
- FormController
- FormElement
- GroupElement
- directionGroup : Direction of form (Vertical/Horizontal) sizeElements : size of each textElement of form When direction Horizontal,sum of values should be egal a 1 textElements : group of textElement. padding : padding of groups. decoration : decoration of container groups. backgroundColor : color of the container groups.
- LoginForm
-
LoginForm:Pre-existing form ,make easy to build your login form
controller
decorationEmailElement
: input decoration of email/username fields of form directionGroup : Direction of form (Vertical/Horizontal) paddingFields : padding between fields onlyEmail : enable only email type fieldTextlogin
: label of username/email textFieldpassword
: label of the password field passwordError : messages errors to show when password field not validate usernameEmailError : messages errors to show when email/username not validate - LoginFormController
- LoginFormController : controller of login form use it to get email/username value or password value show error in email/password without validator use case use can show error in username/password if auth failed clear all values
- NumberElement
- OutlineDecorationElement
- borderColor : The border Color to display when the InputDecorator does not have the focus. errorBorderColor : The borwidthLineder Color to display when the InputDecorator does have the error. | focusBorderColor : The border Color to display when the InputDecorator does have the focus. | disabledBorderColor : The border Color to display when the InputDecorator is disabled. | radius : radius of the border. | widthSide : The width of this line of the border
- OutlinePasswordElementDecoration
- PasswordControls
- PasswordControls : validation rules for password input
- PasswordElement
- PasswordElementDecoration
- PasswordError
-
requiredErrorMsg : error message to show when password is Empty
minLengthErrorMsg : error message to show when password length is less then
minLength
uppercaseErrorMsg : error message to show when password doesn't contain uppercase character specialCharacterErrorMsg : error message to show when password doesn't contain special character digitsErrorMsg : error message to show when password doesn't contain number error : generale error message to show - Patterns
- PaymentController
- PaymentForm
- PaymentForm : Widget Form that illustrate payment form
- PhoneNumberElement
- RadioGroupElement
- RadioGroupElement
- RoundedDecorationElement
- radius : radius of the border.
- RoundedPasswordElementDecoration
- SelectChoiceElement
- SimpleDynamicForm
- SimpleDynamicForm: simple blueprint form generator
- TextAreaElement
- TextElement
- TextElement : base blueprint for TextFormField
- TextFieldError
- requiredErrorMsg : error message to show when textField is Empty patternErrorMsg : error message to show when TextField reqExp is not match error : general error message
- UnderlineDecorationElement
- borderColor : The border Color to display when the InputDecorator does not have the focus. errorBorderColor : The borwidthLineder Color to display when the InputDecorator does have the error. | focusBorderColor : The border Color to display when the InputDecorator does have the focus. | disabledBorderColor : The border Color to display when the InputDecorator is disabled. | widthSide : The width of this line of the border | filledColor : base fill color of the decoration | focusColor : focused fill color of the decoration
- UnderlinePasswordElementDecoration
- UsernameEmailError
Typedefs
- Validation = String? Function(String?)