Flutter Notification Settings

This plugin allows you to check if notifications are enabled on your device.

To learn more about the notifications, follow the link: for Android and for iOS.

Getting started

To check if notifications are enabled just copy this code or follow example:

bool isNotificationsEnabled = await FlutterNotificationSettings.notificationsEnabled;

For checking your Android Version just add to your code:

String androidVersion = await FlutterNotificationSettings.platformVersion;

Current issues

Current issues list is here.
Found a bug? Open the issue.

Libraries

flutter_notification_settings

Dart

VM

dart:ffi
Foreign Function Interface for interoperability with the C programming language. [...]

Web

dart:html
HTML elements and other resources for web-based applications that need to interact with the browser and the DOM (Document Object Model). [...]
dart:js
Low-level support for interoperating with JavaScript. [...]
dart:js_util
Utility methods to efficiently manipulate typed JSInterop objects in cases where the name to call is not known at runtime. You should only use these methods when the same effect cannot be achieved with @JS annotations. These methods would be extension methods on JSObject if Dart supported extension methods.