hive-db-tutorial icon indicating copy to clipboard operation
hive-db-tutorial copied to clipboard

fix error when plugin is called before runApp()

Open HemlockBane opened this issue 6 years ago • 1 comments

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.

HemlockBane avatar Nov 20 '19 21:11 HemlockBane

i agree on this

klvnco avatar Jun 14 '20 12:06 klvnco