HorizontalCalendarStyle class
Contains all visual styling parameters for the calendar
Constructors
- HorizontalCalendarStyle({TextStyle monthHeaderStyle = const TextStyle(fontSize: 18, fontWeight: FontWeight.bold), TextStyle dayNameStyle = const TextStyle(fontSize: 12), TextStyle dayNumberStyle = const TextStyle(fontSize: 16), Color activeDayColor = Colors.blue, Color dayIndicatorColor = Colors.transparent, double dayIndicatorSize = 40, Border? dayIndicatorBorder, BoxShadow? dayIndicatorShadow, TextStyle selectedDayTextStyle = const TextStyle(fontSize: 16, fontWeight: FontWeight.bold), TextStyle inactiveDayTextStyle = const TextStyle(fontSize: 16), TextStyle disabledDayTextStyle = const TextStyle(fontSize: 16, color: Colors.grey), Color disabledDayColor = Colors.transparent, bool showParticles = false, Duration selectionAnimationDuration = const Duration(milliseconds: 300), Curve selectionAnimationCurve = Curves.easeOutBack})
-
Creates a style configuration for the calendar
const
Properties
- activeDayColor → Color
-
Primary color for selected states
final
- dayIndicatorBorder → Border?
-
Custom border for day indicators
final
- dayIndicatorColor → Color
-
Background color for day indicators
final
- dayIndicatorShadow → BoxShadow?
-
Shadow effect for elevated variants
final
- dayIndicatorSize → double
-
Diameter of day indicator circles
final
- dayNameStyle → TextStyle
-
Style for weekday abbreviation labels
final
- dayNumberStyle → TextStyle
-
Base style for day numbers
final
- disabledDayColor → Color
-
Background color for disabled day indicators
final
- disabledDayTextStyle → TextStyle
-
Style for disabled day numbers
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inactiveDayTextStyle → TextStyle
-
Style for non-selected days in current month
final
- monthHeaderStyle → TextStyle
-
Style for month/year header text
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedDayTextStyle → TextStyle
-
Style for selected day numbers
final
- selectionAnimationCurve → Curve
-
Curve for selection animations
final
- selectionAnimationDuration → Duration
-
Duration for selection animations
final
- showParticles → bool
-
Enables particle effects on selection (if implemented)
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited