scheduled_notifications

Creator: coderz1093

Last updated:

0 purchases

scheduled_notifications Image
scheduled_notifications Images
Add to Cart

Description:

scheduled notifications

scheduled_notifications #
A flutter plugin for scheduling notifications on Android.
Usage #
To use this plugin, add scheduled_notifications as a dependency in your pubspec.yaml file. Note you have to specify minSdkVersion on 23 in your AndroidManifest.xml to use this plugin.
Example #
import 'package:scheduled_notifications/scheduled_notifications.dart';

void main() {
runApp(new Scaffold(
body: new Center(
child: new RaisedButton(
onPressed: _scheduleNotification,
child: new Text('Schedule notification in 5 seconds'),
),
),
));
}

_scheduleNotification() async {
int notificationId = await ScheduledNotifications.scheduleNotification(
new DateTime.now().add(new Duration(seconds: 5)).millisecondsSinceEpoch,
"Ticker text",
"Content title",
"Content");
}
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.

Related Products

More From This Creator