CalendarWeekRow class

A row of a week that starts from the Monday and ends on the Sunday

The calendarWidget is made from using this widget in a column creating a month view

initalDateTime will be required to filter out of the month days from the week view

weekStartDateTime will be the starting point of the week which would be Monday and then the rest days would follow along

Inheritance

Constructors

CalendarWeekRow({required DateTime initalDateTime, bool showOutOfMonthCells = true, required DateTime weekStartDateTime, double cellbetweenPadding = 0, Key? key, bool isExpanded = false, DateTime? selectedDate, required dynamic onTap(DateTime)?, DateTime? startDateLimit, DateTime? endDateLimit, dynamic onDisabledCellTap(DateTime)?, bool isEmptyonStart = false, List<String>? showOnlyFields, bool isDarkMode = false, EdgeInsets? cellMargin, EdgeInsets? cellPadding, Color? cellColors, Color? cellContentColor, CalendarCellDecorator? cellDecorator, CalendarCellDecorator? currentDayDecorator, bool showCurrentDay = false})
const

Properties

cellbetweenPadding double
final
cellColors Color?
final
cellContentColor Color?
final
cellDecorator CalendarCellDecorator?
final
cellMargin EdgeInsets?
final
cellPadding EdgeInsets?
final
currentDayDecorator CalendarCellDecorator?
final
endDateLimit DateTime?
final
hashCode int
The hash code for this object.
no setterinherited
initalDateTime DateTime
final
isDarkMode bool
final
isEmptyonStart bool
final
isExpanded bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onDisabledCellTap → dynamic Function(DateTime)?
final
onTap → dynamic Function(DateTime)?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedDate DateTime?
final
showCurrentDay bool
final
showOnlyFields List<String>?
final
showOutOfMonthCells bool
final
startDateLimit DateTime?
final
weekStartDateTime DateTime
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<CalendarWeekRow>
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
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