Skip to content

Commit

Permalink
[flutter_local_notifications] update Priority's values property (#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaikuB authored Feb 23, 2020
1 parent 8316c5a commit 9796661
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 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+2]

* Make the static `values` propeerty of the `Priority` class return `List<Priority>` instead of being dynamic and added API docs for the property.

# [1.2.0+1]

* The static `values` properties for the `Day` and `Importance` classes now return `List<Day>` and `List<Importance>` respectively instead of being dynamic
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ class Priority {
static const High = Priority(1);
static const Max = Priority(2);

static get values => [Min, Low, Default, High, Max];
/// All the possible values for the [Priority] enumeration.
static List<Priority> get values => [Min, Low, Default, High, Max];

final int value;

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+1
version: 1.2.0+2
homepage: https://github.com/MaikuB/flutter_local_notifications/tree/master/flutter_local_notifications

dependencies:
Expand Down

0 comments on commit 9796661

Please sign in to comment.