initDecoratedBox function

Future<void> initDecoratedBox()

Implementation

Future<void> initDecoratedBox() async {
  L.d('开始初始化decorated专属存储持久层');
  await Hive.initFlutter();
  _box = await Hive.openBox('decorated_flutter_box');
  L.d('结束初始化decorated专属存储持久层');
}