TranslatedDurationFormatter class
Duration(seconds:100).format(
formatter: TranslatedDurationFormatter(context),
)
- Implemented types
Constructors
- TranslatedDurationFormatter(ReadyExtensionLocalizations messages)
-
const
- TranslatedDurationFormatter.of(BuildContext context)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- messages → ReadyExtensionLocalizations
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getDays(
int days) → String -
override
-
getHours(
int hours) → String -
override
-
getMinutes(
int minutes) → String -
override
-
getMonths(
int months) → String -
override
-
getNow(
) → String -
override
-
getSeconds(
int seconds) → String -
override
-
getSeparator(
) → String -
override
-
getWeeks(
int weeks) → String -
override
-
getYears(
int years) → String -
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.
inherited