Sequence class

A class that represents a sequence of text to be styled.

Constructors

Sequence(String sequence, {TextStyle? style})
Creates a new instance of Sequence.
const
Sequence.fromJson(Map<String, dynamic> json)
Converts a JSON object to a Sequence instance.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sequence → String
The sequence of text to be styled. e.g. '₦', 'USD', 'EUR', 'GBP', 'The quick brown fox jumped over the lazy dog', etc.
final
style → TextStyle?
The style to apply to the sequence of text.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts a Sequence instance to a JSON object.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited