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
This works: FormBuilderSwitch( attribute: 'theme', initialValue: userPreferences.darkTheme, activeColor: SecondaryColor, label: Text("Thème sombre"), decoration: InputDecoration( icon: Icon(FontAwesome.getIconData('moon-o')), border: InputBorder.none, ))
FormBuilderSwitch( attribute: 'theme', initialValue: userPreferences.darkTheme, activeColor: SecondaryColor, label: Text("Thème sombre"), decoration: InputDecoration( icon: Icon(FontAwesome.getIconData('moon-o')), border: InputBorder.none, ))
But this don't: FormBuilder( key: _fbKey, initialValue: { 'theme': userPreferences.darkTheme, }, autovalidate: false, FormBuilderSwitch( attribute: 'theme', activeColor: SecondaryColor, label: Text("Thème sombre"), decoration: InputDecoration( icon: Icon(FontAwesome.getIconData('moon-o')), border: InputBorder.none, ))
FormBuilder( key: _fbKey, initialValue: { 'theme': userPreferences.darkTheme, }, autovalidate: false, FormBuilderSwitch( attribute: 'theme', activeColor: SecondaryColor, label: Text("Thème sombre"), decoration: InputDecoration( icon: Icon(FontAwesome.getIconData('moon-o')), border: InputBorder.none, ))
The text was updated successfully, but these errors were encountered:
Hi @Sigfrodr, Thanks for bringing this to my attention. I'm working on a fix.
Sorry, something went wrong.
Kindly have a look at v3.6.0 from pub, it contains a fix for this.
Cheers!
No branches or pull requests
This works:
FormBuilderSwitch( attribute: 'theme', initialValue: userPreferences.darkTheme, activeColor: SecondaryColor, label: Text("Thème sombre"), decoration: InputDecoration( icon: Icon(FontAwesome.getIconData('moon-o')), border: InputBorder.none, ))
But this don't:
FormBuilder( key: _fbKey, initialValue: { 'theme': userPreferences.darkTheme, }, autovalidate: false, FormBuilderSwitch( attribute: 'theme', activeColor: SecondaryColor, label: Text("Thème sombre"), decoration: InputDecoration( icon: Icon(FontAwesome.getIconData('moon-o')), border: InputBorder.none, ))
The text was updated successfully, but these errors were encountered: