stepsFirstMinute top-level constant
Twitter-style steps that produce no output before one minute.
Implementation
const stepsFirstMinute = <TimeAgoStep>[
TimeAgoStep.unit(TimeAgoUnit.minute, minTime: _minute),
TimeAgoStep.unit(TimeAgoUnit.hour),
TimeAgoStep.custom(
minTimeResolver: _monthDayMin,
formatter: _monthDay,
),
TimeAgoStep.custom(
minTimeResolver: _yearMonthDayMin,
formatter: _yearMonthDay,
nextUpdate: _dateNeverUpdates,
),
];