ScrollableCleanCalendar class

Inheritance

Constructors

ScrollableCleanCalendar({String locale = 'en', ScrollController? scrollController, bool showWeekdays = true, Layout? layout, double calendarCrossAxisSpacing = 4, double calendarMainAxisSpacing = 4, double spaceBetweenCalendars = 24, double spaceBetweenMonthAndCalendar = 24, EdgeInsets? padding, Widget monthBuilder(BuildContext context, String month)?, Widget weekdayBuilder(BuildContext context, String weekday)?, Widget dayBuilder(BuildContext context, DayValues values)?, TextAlign? monthTextAlign, TextStyle? monthTextStyle, TextStyle? weekdayTextStyle, double? weekdayAspectRatio, Color? daySelectedBackgroundColor, Color? dayBackgroundColor, Color? daySelectedBackgroundColorBetween, Color? dayDisableBackgroundColor, Color? dayDisableColor, TextStyle? dayTextStyle, double? dayAspectRatio, double dayRadius = 6, required CleanCalendarController calendarController})
const

Properties

calendarController CleanCalendarController
The controller of ScrollableCleanCalendar
final
calendarCrossAxisSpacing double
The horizontal space in the calendar dates
final
calendarMainAxisSpacing double
The vertical space in the calendar dates
final
dayAspectRatio double?
The aspect ratio of day items
final
dayBackgroundColor Color?
The day background color
final
dayBuilder → (Widget Function(BuildContext context, DayValues values)?)
A builder to make a customized day of calendar
final
dayDisableBackgroundColor Color?
The day disable background color
final
dayDisableColor Color?
The day disable color
final
dayRadius double
The radius of day items
final
daySelectedBackgroundColor Color?
The day selected background color
final
daySelectedBackgroundColorBetween Color?
The day selected background color that is between day selected edges
final
dayTextStyle TextStyle?
The label text style of day
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
layout Layout?
What layout (design) is going to be used
final
locale String
The language locale
final
monthBuilder → (Widget Function(BuildContext context, String month)?)
A builder to make a customized month
final
monthTextAlign TextAlign?
The label text align of month
final
monthTextStyle TextStyle?
The label text style of month
final
padding EdgeInsets?
The parent padding
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollController ScrollController?
Scroll controller
final
showWeekdays bool
If is to show or not the weekdays in calendar
final
spaceBetweenCalendars double
The space between calendars
final
spaceBetweenMonthAndCalendar double
The space between month and calendar
final
weekdayAspectRatio double?
The aspect ratio of weekday items
final
weekdayBuilder → (Widget Function(BuildContext context, String weekday)?)
A builder to make a customized weekday
final
weekdayTextStyle TextStyle?
The label text align of month
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<ScrollableCleanCalendar>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
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
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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