MyoroTextConfiguration class
Generic text configuration.
- Annotations
-
- @immutable
- @myoroModel
Constructors
- MyoroTextConfiguration({required String text, int maxLines = maxLinesDefaultValue, TextOverflow overflow = overflowDefaultValue, TextAlign alignment = alignmentDefaultValue, TextStyle? style})
-
const
- MyoroTextConfiguration.fake()
Properties
- alignment → TextAlign
-
Text.textAlign
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxLines → int
-
Text.maxLines
final
- overflow → TextOverflow
-
Text.overflow
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- self → MyoroTextConfiguration
-
no setterinherited
- style → TextStyle?
-
Text.style
final
- text → String
-
Text.data
final
Methods
-
copyWith(
{String? text, int? maxLines, TextOverflow? overflow, TextAlign? alignment, TextStyle? style, bool styleProvided = true}) → MyoroTextConfiguration -
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
Static Methods
-
lerp(
MyoroTextConfiguration? primary, MyoroTextConfiguration? other, double t) → MyoroTextConfiguration?
Constants
- alignmentDefaultValue → const TextAlign
- maxLinesDefaultValue → const int
- overflowDefaultValue → const TextOverflow