AutoDateTimeTickFormatterSpec constructor
const
AutoDateTimeTickFormatterSpec({
- TimeFormatterSpec? minute,
- TimeFormatterSpec? hour,
- TimeFormatterSpec? day,
- TimeFormatterSpec? month,
- TimeFormatterSpec? year,
Creates a TickFormatterSpec that automatically chooses the formatting given the individual TimeFormatterSpec formatters that are set.
There is a default formatter for each level that is configurable, but by specifying a level here it replaces the default for that particular granularity. This is useful for swapping out one or all of the formatters.
Implementation
const AutoDateTimeTickFormatterSpec(
{this.minute, this.hour, this.day, this.month, this.year});