Skip to content

Commit

Permalink
made colorKey accessible in event
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Wolf committed Aug 12, 2024
1 parent cd0c652 commit 75ee949
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/src/models/event.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,13 @@ class Event {
/// Read-only. Color of the event
int? get color=> _color;

/// The color of this event
/// Read-only. Color of the event
int? get colorKey=> _colorKey;

/// Only updatable for Android calendars where [DeviceCalendarPlugin.retrieveEventColors] returns an empty list.
int? _color;

/// The color key of this event. This is needed to change the event color
/// Only updatable for colors of [DeviceCalendarPlugin.retrieveEventColors].
int? _colorKey;

///Note for development:
Expand Down

0 comments on commit 75ee949

Please sign in to comment.