BasicEvent class

A basic implementation of Event to get you started.

See also:

Inheritance
Available Extensions

Constructors

BasicEvent({required Object id, required String title, required Color backgroundColor, required DateTime start, required DateTime end})
const

Properties

backgroundColor Color
The background color used for displaying this event.
final
end DateTime
End of the event; exclusive.
finalinherited
hashCode int
The hash code for this object.
no setteroverride
id Object
An ID for this event.
final
isAllDay bool
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start DateTime
Start of the event; inclusive.
finalinherited
title String
A title displayed to the user.
final

Methods

copyWith({Object? id, String? title, Color? backgroundColor, DateTime? start, DateTime? end}) BasicEvent
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

operator ==(dynamic other) bool
The equality operator.
override