AllSymbolsTapeStrategy class
Constructs symbol tapes that contain all the characters that are contained between two strings in alphabetical order.
eg: Interpolating between the letters a
and z
will result in
the creation of a tape containing the entire alphabet
abcdefghijklmnopqrstuvwxyz
.
Interpolating between `a` and `c` will result in the creation of
a tape containing `abc`.
- Inheritance
-
- Object
- SymbolTapeStrategy
- AllSymbolsTapeStrategy
Constructors
- AllSymbolsTapeStrategy([bool repeatCharacters = true])
-
Creates a new AllSymbolsTapeStrategy with the given repeatCharacters
property.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- repeatCharacters → bool
-
If repeatCharacters is true, it means that characters that are
repeated between interpolations in the tape of each character
will be repeated instead of optimized to only render once.
eg: Interpolating between World and Whale, the
W
andl
will both be rendered and animated to roll twice instead of just once.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
String a, String b) → String -
Builds the tape of characters to interpolate to and from.
inherited
-
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