hive-db-tutorial
hive-db-tutorial copied to clipboard
fix error when plugin is called before runApp()
Called WidgetsFlutterBinding.ensureInitialized() before using the path_provider plugin in main.dart. By doing this, we prevent the following error: ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.
i agree on this