You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package is amazing however I have came across a scenario where I wish setValue option would be available.
void main() {
FlavorConfig(
flavorName: 'prod',
bannerEnabled: false,
values: {
'apiBaseUrl': 'https://prod.example.com/api',
},
);
//Assume Some nested widgets tree here and value could not be added above
//Before runApp
FlavorConfig.instance.setValue('key','value');
//and then
runApp(MyApp());
};
The text was updated successfully, but these errors were encountered:
This package is amazing however I have came across a scenario where I wish
setValue
option would be available.The text was updated successfully, but these errors were encountered: