We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, if I need a link for the switch button to go to terms & conditions what should I use ?
The text was updated successfully, but these errors were encountered:
A link as an input sounds interesting. You can try this:
FormBuilderCheckbox( attribute: 'accept_terms', initialValue: false, leadingInput: true, label: RichText( text: TextSpan( children: [ TextSpan( text: 'I have read and agree to the ', style: TextStyle(color: Colors.black), ), TextSpan( text: 'Terms and Conditions', style: TextStyle(color: Colors.blue), recognizer: TapGestureRecognizer()..onTap = () {print("launch url");}, ), ], ), ), validators: [ FormBuilderValidators.requiredTrue( errorText: "You must accept terms and conditions to continue", ), ], ),
Sorry, something went wrong.
If you need a custom type of input then consider using a FormBuilderCustomField
FormBuilderCustomField
Thanks! I'll look.
No branches or pull requests
Hi, if I need a link for the switch button to go to terms & conditions what should I use ?
The text was updated successfully, but these errors were encountered: