DurationTitle class

Duration Title is a class that contains day, hour, minute, second properties. which will later show in the view if you assign a value of SeparatorType.title to the SeparatorType enum and you can change the title of the day, hour, minute, and second. For example, you change to Indonesian. By default this title will display in English DurationTitle.en()

Annotations

Constructors

DurationTitle({required String days, required String hours, required String minutes, required String seconds})
Duration Title is a class that contains day, hour, minute, second properties. which will later show in the view if you assign a value of SeparatorType.title to the SeparatorType enum and you can change the title of the day, hour, minute, and second. For example, you change to Indonesian. By default this title will display in English DurationTitle.en()
const

Properties

days String
The title for days
final
hashCode int
The hash code for this object.
no setteroverride
hours String
The title for hours
final
minutes String
The title for minutes
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seconds String
The title for seconds
final

Methods

copyWith({String? days, String? hours, String? minutes, String? seconds}) DurationTitle
The copyWith method creates a new instance of the DurationTitle class with any of the values modified, if specified. If a value is not specified, the existing value from the current instance is used.
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 ==(covariant DurationTitle other) bool
The equality operator.
override