Skip to content

Commit

Permalink
[flutter_local_notifications] update API docs for resolvePlatformSpec…
Browse files Browse the repository at this point in the history
…ificImplementation() method (#498)

* fix typo in API docs for resolvePlatformSpecificImplementation method

* add link to FlutterLocalNotificationsPlatform docs in API docs

* bump plugin version
  • Loading branch information
MaikuB authored Feb 24, 2020
1 parent 9796661 commit 3ff8714
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions flutter_local_notifications/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# [1.2.0+3]

* Updated API docs for `resolvePlatformSpecificImplementation()` method

# [1.2.0+2]

* Make the static `values` propeerty of the `Priority` class return `List<Priority>` instead of being dynamic and added API docs for the property.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ class FlutterLocalNotificationsPlugin {
final Platform _platform;

/// Returns the underlying platform-specific implementation of given type [T], which
/// must be the type of a concrete [FlutterLocalNotificationsPlatform] subclass.
/// must be the type of a concrete [FlutterLocalNotificationsPlatform](https://pub.dev/documentation/flutter_local_notifications_platform_interface/latest/flutter_local_notifications_platform_interface/FlutterLocalNotificationsPlatform-class.html) subclass.
///
/// Requires running on the appropriate platform that matches the specified type for a result to be returned.
/// For example, when the specified type argument is of type [AndroidFlutterLocalNotificatiosPlugin],
/// For example, when the specified type argument is of type [AndroidFlutterLocalNotificationsPlugin],
/// this will only return a result of that type when running on Android.
T resolvePlatformSpecificImplementation<
T extends FlutterLocalNotificationsPlatform>() {
Expand Down
2 changes: 1 addition & 1 deletion flutter_local_notifications/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_local_notifications
description: A cross platform plugin for displaying and scheduling local notifications for Flutter applications with the ability to customise for each platform.
version: 1.2.0+2
version: 1.2.0+3
homepage: https://github.com/MaikuB/flutter_local_notifications/tree/master/flutter_local_notifications

dependencies:
Expand Down

0 comments on commit 3ff8714

Please sign in to comment.