FLineCalendar class

A line calendar displays dates in a single horizontal, scrollable line.

Desktop and web note

As the dates scrolls on the horizontal axis (left to right or right to left), hold Shift while using the mouse scroll wheel to scroll the list.

See:

Inheritance

Constructors

FLineCalendar({required FCalendarController<DateTime?> controller, FLineCalendarStyle? style, AlignmentDirectional initialDateAlignment = AlignmentDirectional.center, double? cacheExtent, ValueWidgetBuilder<FLineCalendarItemData> builder = _builder, DateTime? start, DateTime? end, DateTime? initial, DateTime? today, Key? key})
Creates a FLineCalendar.

Properties

builder ValueWidgetBuilder<FLineCalendarItemData>
The builder used to build a line calendar item. Defaults to returning the given child.
final
cacheExtent double?
The menu's cache extent in logical pixels.
final
controller FCalendarController<DateTime?>
The controller.
final
hashCode int
The hash code for this object.
no setterinherited
initialDateAlignment AlignmentDirectional
The alignment to which the initial date will be aligned. Defaults to Alignment.center.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style FLineCalendarStyle?
The style.
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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.
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
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) 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