permission property

ValueNotifier<PermissionState> permission
latefinal

Notifier for the current PermissionState. 当前 PermissionState 的监听

Implementation

late final ValueNotifier<PermissionState> permission =
    ValueNotifier<PermissionState>(
  initialPermission,
);