DayCellStyle class Appearance
The style of a day cell in the month body and of a day column in the multi-day body.
- Mixed-in types
Constructors
- DayCellStyle({Color? selectedColor})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedColor → Color?
-
The color of a selected day, drawn by the default cell of the month and multi-day bodies. Null draws nothing.
final
Methods
-
copyWith(
{Color? selectedColor}) → DayCellStyle - Creates a copy of this style with the given fields replaced with the new values.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
merge(
DayCellStyle? other) → DayCellStyle -
Returns a copy of this style where the non-null fields of
otherreplace the matching fields. -
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
lerp(
DayCellStyle? a, DayCellStyle? b, double t) → DayCellStyle? -
Linearly interpolates between
aandb.