WeekIcon class

Model for weeks that should have leading icons.

Should use either both year and weekNumber or firstDayOfWeek.

Constructors

WeekIcon({required Widget child, int? year, int? weekNumber, DateTime? firstDayOfWeek, String? semanticLabel})
Constructs a WeekIcon.

Properties

child Widget
Widget to be displayed on the calendar.
final
firstDayOfWeek DateTime?
The first day of the week for the icon to show.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
semanticLabel String?
Semantic label for icon.
final
weekNumber int?
Week number in year.
final
year int?
Year of week.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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