activout_firebase_options_selector library
When you have multiple Firebase projects for production, test and development, use this library to make it easier to switch between environments without building separate apps!
Classes
- FirebaseOptionsBanner
- Widget that shows a banner with the environment name, unless the app is using the production environment
- FirebaseOptionsSelector
-
Main class for persisting a Firebase environment in
SharedPreferences
Functions
-
showFirebaseOptionsSelectorDialog(
BuildContext context, String titleText, {String okText = 'OK'}) → Future< void> - Show dialog that allows selecting environment for the next time the app starts