📜  在初始化绑定之前访问了 ServicesBinding.defaultBinaryMessenger. - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:37.596000             🧑  作者: Mango

代码示例1
// add this, and it should be the first line in main method
  WidgetsFlutterBinding.ensureInitialized();