CalendarBody class

Inheritance
Mixed in types

Constructors

CalendarBody({required List<CalendarContent> data, required BodySettings bodySettings, Color? sundayColor})

Properties

bodySettings BodySettings
Instance of BodySettings
final
data List<CalendarContent>
Data to check and display
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sundayColor Color?
Color choice for sunday color, leave it null if you want to highlight sunday as well.
final

Methods

bodyTitleText(String text, {Color color = Colors.black}) Text
inherited
build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
calculateTextColor(Color color) Color
inherited
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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
getLayout({LeftChildData? leftChild, required Widget rightChild}) Widget
inherited
headerLabelText(String text, {Color color = Colors.black}) Text
inherited
headerText(String text, {Color color = Colors.black54}) Text
inherited
inRange(DateTime from, DateTime to, DateTime comp) bool
check if dates are in range
inherited
inRangePlus(DateTime from, DateTime to, DateTime compare) bool
check if dates are in range and is the same month and year of the current date displayed in the calendar
inherited
isSameDate(DateTime d1, DateTime d2) bool
check if two dates are the same
inherited
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
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) 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