FLineCalendarStyle class
FLineCalendar's style.
- Implemented types
- Mixed-in types
- Available extensions
Constructors
-
FLineCalendarStyle.new({required FWidgetStateMap<
BoxDecoration> decoration, required FWidgetStateMap<Color> todayIndicatorColor, required FWidgetStateMap<TextStyle> dateTextStyle, required FWidgetStateMap<TextStyle> weekdayTextStyle, required FTappableStyle tappableStyle, EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 6.5), double contentEdgeSpacing = 15.5, double contentSpacing = 2}) - Creates a FLineCalendarStyle.
- FLineCalendarStyle.inherit({required FColors colors, required FTypography typography, required FStyle style})
-
Creates a FLineCalendarStyle that inherits its properties.
factory
Properties
- contentEdgeSpacing → double
-
The vertical height between the content and the edges. Defaults to 15.5.
final
- contentSpacing → double
-
The vertical height between the date and weekday. Defaults to 2.
final
-
dateTextStyle
→ FWidgetStateMap<
TextStyle> -
The text style for the date.
final
-
decoration
→ FWidgetStateMap<
BoxDecoration> -
The decoration.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- padding → EdgeInsetsGeometry
-
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
- tappableStyle → FTappableStyle
-
The tappable style.
final
-
todayIndicatorColor
→ FWidgetStateMap<
Color> -
The color of the today indicator.
final
-
weekdayTextStyle
→ FWidgetStateMap<
TextStyle> -
The text style for the day of the week.
final
Methods
-
copyWith(
{EdgeInsetsGeometry? padding, double? contentEdgeSpacing, double? contentSpacing, FWidgetStateMap< BoxDecoration> ? decoration, FWidgetStateMap<Color> ? todayIndicatorColor, FWidgetStateMap<TextStyle> ? dateTextStyle, FWidgetStateMap<TextStyle> ? weekdayTextStyle, FTappableStyle? tappableStyle}) → FLineCalendarStyle -
Returns a copy of this FLineCalendarStyle with the given properties replaced.
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
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
-
transform(
T function(T)) → T -
Available on T, provided by the FTransformables extension
Transform thisT
using the givenfunction
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited