https://github.com/roundedinfinity/notification_shade
A flutter plugin for opening the notification shade on android.
https://github.com/roundedinfinity/notification_shade
android flutter flutter-plugin notification-shade
Last synced: about 2 months ago
JSON representation
A flutter plugin for opening the notification shade on android.
- Host: GitHub
- URL: https://github.com/roundedinfinity/notification_shade
- Owner: RoundedInfinity
- License: mit
- Created: 2020-10-18T17:40:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-24T21:23:55.000Z (over 5 years ago)
- Last Synced: 2025-02-17T02:19:21.728Z (over 1 year ago)
- Topics: android, flutter, flutter-plugin, notification-shade
- Language: Dart
- Homepage:
- Size: 32.2 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Notification Shade
A plug-in to open and close the notification shade on Android.
## Installing

First add `notification_shade` as a [dependency in your pubspec.yaml file](https://flutter.dev/docs/development/packages-and-plugins/using-packages)
```yaml
notification_shade:
```
Then import it.
```dart
import 'package:notification_shade/notification_shade.dart';
```
Now you have to add this permission to your _AndroidManifext.xml_.
```xml
```
## Usage
To open the notification shade
```dart
NotificationShade.openNotificationShade;
```
And to close it
```dart
NotificationShade.closeNotificationShade;
```
Have a nice day and stay hydrated.