Open
Description
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());
};
Metadata
Metadata
Assignees
Labels
No labels