BasicDateTimeTickFormatterSpec class

A DateTimeTickFormatterSpec that accepts a DateFormat or a DateTimeFormatterFunction.

Implemented types
Annotations

Constructors

BasicDateTimeTickFormatterSpec(DateTimeFormatterFunction formatter)
const
BasicDateTimeTickFormatterSpec.fromDateFormat(DateFormat dateFormat)
const

Properties

dateFormat → DateFormat?
final
formatter → DateTimeFormatterFunction?
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createTickFormatter(ChartContext context) DateTimeTickFormatter
A formatter will be created with the DateFormat if it is not null. Otherwise, it will create one with the provided DateTimeFormatterFunction.
override
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.
override