CalendarSource class

One calendar in a multi-calendar app (Work, Personal, Holidays...).

Constructors

CalendarSource({required String id, required String name, int? color, bool isVisible = true, bool isReadOnly = false, String? timeZone, String? description})
Creates a calendar source.
const

Properties

color → int?
ARGB colour for its events.
final
description → String?
Notes.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Id referenced by CalendarEvent.calendarId.
final
isReadOnly → bool
Whether its events can be edited.
final
isVisible → bool
Whether its events are shown.
final
name → String
Display name.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeZone → String?
Default time zone.
final

Methods

copyWith({String? name, int? color, bool? isVisible, bool? isReadOnly, String? timeZone}) → CalendarSource
Copy with some fields replaced.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited