PlexCalendar class

Scheduling calendar (month, week, day, agenda).

This is not a replacement for PlexFormFieldDate.

Inheritance
Available extensions

Constructors

PlexCalendar({Key? key, DateTime? selected, ValueChanged<DateTime>? onSelected, DateTime? focusedMonth, PlexCalendarView view = PlexCalendarView.month, List<PlexCalendarEvent> events = const <PlexCalendarEvent>[], ValueChanged<PlexCalendarEvent>? onEventTap, ValueChanged<PlexCalendarEvent>? onEventMoved, ValueChanged<PlexCalendarEvent>? onEventResized, bool expandRecurrence = true})
const

Properties

events → List<PlexCalendarEvent>
Items plotted on the calendar. Day membership uses start (year/month/day).
final
expandRecurrence → bool
When true (default), recurring events are expanded for the visible range.
final
focusedMonth → DateTime?
Month to display. Falls back to selected, then DateTime.now().
final
hashCode → int
The hash code for this object.
no setterinherited
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onEventMoved → ValueChanged<PlexCalendarEvent>?
Fired when an event is dropped on another day or hour slot. PlexCalendarEvent.start is the drop time; PlexCalendarEvent.end is shifted by the same duration. Null keeps tap-only behavior.
final
onEventResized → ValueChanged<PlexCalendarEvent>?
Fired when the bottom resize handle changes PlexCalendarEvent.end in 15-minute steps. Start is unchanged. Null hides the handle.
final
onEventTap → ValueChanged<PlexCalendarEvent>?
Fired when an event row is tapped (week, day, and agenda lists).
final
onSelected → ValueChanged<DateTime>?
Fired with DateTime(year, month, day) when a current-month cell is tapped.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selected → DateTime?
Highlighted day. Compared by calendar date (year/month/day).
final
view → PlexCalendarView
Visible layout. Defaults to PlexCalendarView.month.
final

Methods

createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → State<PlexCalendar>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
plexRxWidget(PlexRx rx) → PlexRxWidget

Available on Widget, provided by the PlexRxWidgetExt extension

scaleAnim({int durationMillis = 500, bool repeat = false}) → Widget

Available on Widget, provided by the WidgetsUtils extension

scaleAnim2({int durationMillis = 500, bool repeat = false}) → Widget

Available on Widget, provided by the WidgetsUtils extension

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
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
inherited
toStringShort() → String
A short, textual description of this widget.
inherited

Operators

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