NativeCalendarPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • NativeCalendarPlatform
Implementers

Constructors

NativeCalendarPlatform.new()
Constructs a NativeCalendarPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addEventToCalendar(CalendarEvent event) Future<bool>
Adds an event directly to the calendar (requires calendar permissions).
getPlatformVersion() Future<String?>
hasCalendarPermissions() Future<bool>
Checks if calendar permissions are granted.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openCalendarWithEvent(CalendarEvent event) Future<bool>
Opens the native calendar app with pre-filled event details.
requestCalendarPermissions() Future<bool>
Requests calendar permissions from the user.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance NativeCalendarPlatform
The default instance of NativeCalendarPlatform to use.
getter/setter pair