HoursColumnStyle class

Allows to configure the hours column style.

Constructors

HoursColumnStyle({TimeFormatter? timeFormatter, TextStyle? textStyle, double? width, Color? color, Decoration? decoration, Alignment? textAlignment, Duration? interval})
Creates a new hour column style instance.
const

Properties

color Color?
The hours column background color. Defaults to Colors.white.
final
decoration Decoration?
The hours column decoration. Defaults to null.
final
hashCode int
The hash code for this object.
no setterinherited
interval Duration
The interval between two durations displayed on the hours column. Defaults to Duration(hours: 1).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textAlignment Alignment
The hours text alignment. Defaults to Alignment.center.
final
textStyle TextStyle
The hours column text style. Defaults to light gray text.
final
timeFormatter TimeFormatter
The hour formatter. Defaults to 24-hour HH:MM, e.g., 15:00.
final
width double
The hours column width. Defaults to 60.
final

Methods

copyWith({TimeFormatter? timeFormatter, TextStyle? textStyle, double? width, Color? color, Decoration? decoration, Alignment? textAlignment, Duration? interval}) HoursColumnStyle
Allows to copy the current style instance with your own properties.
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