FCalendarStyle class final

The calendar's style.

Mixed-in types

Constructors

FCalendarStyle({required FCalendarHeaderStyle headerStyle, required FCalendarDayPickerStyle dayPickerStyle, required FCalendarYearMonthPickerStyle yearMonthPickerStyle, required BoxDecoration decoration, EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 12, vertical: 16), Duration pageAnimationDuration = const Duration(milliseconds: 200)})
Creates a new FCalendarStyle.
FCalendarStyle.inherit({required FColorScheme colorScheme, required FTypography typography, required FStyle style})
Creates a FCalendarStyle that inherits the color scheme and typography.

Properties

dayPickerStyle FCalendarDayPickerStyle
The day picker's style.
final
decoration BoxDecoration
The decoration surrounding the header & picker.
final
hashCode int
The hash code for this object.
no setteroverride
headerStyle FCalendarHeaderStyle
The header's style.
final
padding EdgeInsets
The padding surrounding the header & picker. Defaults to EdgeInsets.symmetric(horizontal: 12, vertical: 16).
final
pageAnimationDuration Duration
The duration of the page switch animation. Defaults to 200 milliseconds.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
yearMonthPickerStyle FCalendarYearMonthPickerStyle
The year/month picker's style.
final

Methods

copyWith({FCalendarHeaderStyle? headerStyle, FCalendarDayPickerStyle? dayPickerStyle, FCalendarYearMonthPickerStyle? yearMonthPickerStyle, BoxDecoration? decoration, EdgeInsets? padding, Duration? pageAnimationDuration}) FCalendarStyle
Returns a copy of this FCalendarStyle but with the given fields replaced with the new values.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
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
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

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