FCalendarDayPickerStyle class final
A day picker's style.
- Mixed-in types
Constructors
- FCalendarDayPickerStyle({required TextStyle headerTextStyle, required ({FCalendarDayStyle current, FCalendarDayStyle enclosing}) selectableStyles, required ({FCalendarDayStyle current, FCalendarDayStyle enclosing}) unselectableStyles, int? startDayOfWeek, double tileSize = 42})
-
Creates a FCalendarDayPickerStyle.
const
- FCalendarDayPickerStyle.inherit({required FColorScheme colorScheme, required FTypography typography})
-
Creates a FCalendarDayPickerStyle that inherits from the given
colorScheme
andtypography
.factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- headerTextStyle → TextStyle
-
The text style for the day of th week headers.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectableStyles → ({FCalendarDayStyle current, FCalendarDayStyle enclosing})
-
The styles of selectable dates in the current month on display and the enclosing months.
final
- startDayOfWeek → int?
-
The starting day of the week. Defaults to the current locale's preferred starting day of the week if null.
final
- tileSize → double
-
The tile's size. Defaults to 42.
final
- unselectableStyles → ({FCalendarDayStyle current, FCalendarDayStyle enclosing})
-
The styles of unselectable dates in the current month on display and the enclosing months.
final
Methods
-
copyWith(
{TextStyle? headerTextStyle, FCalendarDayStyle? selectableCurrent, FCalendarDayStyle? selectableEnclosing, FCalendarDayStyle? unselectableCurrent, FCalendarDayStyle? unselectableEnclosing, double? tileSize, int? startDayOfWeek}) → FCalendarDayPickerStyle - Returns a copy of this FCalendarDayPickerStyle 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