SeniorCalendarHeader class

Inheritance

Constructors

SeniorCalendarHeader({required String headerTitle, bool? leftButtonActive = true, VoidCallback? onHeaderTitlePressed, required VoidCallback onLeftButtonPressed, required VoidCallback onRightButtonPressed, bool? rightButtonActive = true, required bool showHeader, bool showHeaderButtons = true, SeniorCalendarStyle? style})
Creates the calendar header, with title navigation buttons between the months and month identification. The parameters headerTitle, onLeftButtonPressed, onRightButtonPressed and showHeader are required.

Properties

hashCode int
The hash code for this object.
no setterinherited
headerTitle String
final
isTitleTouchable bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
leftButtonActive bool?
final
onHeaderTitlePressed VoidCallback?
final
onLeftButtonPressed VoidCallback
final
onRightButtonPressed VoidCallback
final
rightButtonActive bool?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showHeader bool
final
showHeaderButtons bool
final
style SeniorCalendarStyle?
The component's style definitions. Allows you to configure: SeniorCalendarStyle.activeHeaderButtonIconColor the icon color of the calendar header buttons when enabled. SeniorCalendarStyle.backgroundColor the background color of the calendar. SeniorCalendarStyle.dayColor the text color of the day. SeniorCalendarStyle.headerButtonBorderColor the border color of the calendar header buttons. SeniorCalendarStyle.headerTextColor the color of the calendar header text. SeniorCalendarStyle.inactiveHeaderButtonIconColor the icon color of calendar header buttons when they are disabled. SeniorCalendarStyle.nextMonthDaysBackgroundColor the background color of the day of the next month that is appearing on the calendar. SeniorCalendarStyle.nextMonthDaysColor the text color of the day of the next month that is appearing on the calendar. SeniorCalendarStyle.previousMonthDaysBackgroundColor the background color of the day of the previous month that is appearing on the calendar. SeniorCalendarStyle.previousMonthDaysColor the text color of the previous day of the month that is appearing on the calendar. SeniorCalendarStyle.selectedDayBackgroundColor the background color of the day selected in the calendar. SeniorCalendarStyle.selectedDayColor the text color of the day selected in the calendar. SeniorCalendarStyle.todayBackgroundColor today's background color. SeniorCalendarStyle.todayColor today's text color. SeniorCalendarStyle.topLineColor the color of the line that appears at the top of the calendar. SeniorCalendarStyle.topTextColor the color of the text that appears at the top of the calendar. SeniorCalendarStyle.weekDaysColor the text color of the weekday labels.
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
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
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