FLineCalendarStyle class final
FLineCalendar's style.
- Mixed-in types
Constructors
- FLineCalendarStyle({required FLineCalendarItemStyle selectedItemStyle, required FLineCalendarItemStyle selectedHoveredItemStyle, required FLineCalendarItemStyle unselectedItemStyle, required FLineCalendarItemStyle unselectedHoveredItemStyle, EdgeInsets itemPadding = const EdgeInsets.symmetric(horizontal: 6.5), double itemContentEdgeSpacing = 15.5, double itemContentSpacing = 2})
- Creates a FLineCalendarStyle.
- FLineCalendarStyle.inherit({required FColorScheme colorScheme, required FTypography typography, required FStyle style})
-
Creates a FLineCalendarStyle that inherits its properties from
colorScheme
andtypography
.factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- itemContentEdgeSpacing → double
-
The vertical height between the content and the edges. Defaults to 15.5.
final
- itemContentSpacing → double
-
The vertical height between the date and weekday. Defaults to 2.
final
- itemPadding → EdgeInsets
-
The horizontal padding around each calendar item. Defaults to
EdgeInsets.symmetric(horizontal: 6.5)
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedHoveredItemStyle → FLineCalendarItemStyle
-
The selected item's hovered style.
final
- selectedItemStyle → FLineCalendarItemStyle
-
The selected item's style.
final
- unselectedHoveredItemStyle → FLineCalendarItemStyle
-
The unselected item's hovered style.
final
- unselectedItemStyle → FLineCalendarItemStyle
-
The unselected item's style.
final
Methods
-
copyWith(
{EdgeInsets? itemPadding, double? itemContentEdgeSpacing, double? itemContentSpacing, FLineCalendarItemStyle? selectedItemStyle, FLineCalendarItemStyle? selectedHoveredItemStyle, FLineCalendarItemStyle? unselectedItemStyle, FLineCalendarItemStyle? unselectedHoveredItemStyle}) → FLineCalendarStyle - Returns a copy of this FLineCalendarStyle with the given properties replaced.
-
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