notification_shade 1.0.0 notification_shade: ^1.0.0 copied to clipboard
A plugin to open and close the notification shade on android.
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
notification_shade: <Newest Version>
Then import it.
import 'package:notification_shade/notification_shade.dart';
Now you have to add this permission to your AndroidManifext.xml.
<uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
Usage #
To open the notification shade
NotificationShade.openNotificationShade;
And to close it
NotificationShade.closeNotificationShade;
Have a nice day and stay hydrated.