TextSpecAttribute class
- Inheritance
-
- Object
- Attribute
- StyleAttribute
- SpecAttribute<
TextSpec> - TextSpecAttribute
Constructors
- TextSpecAttribute({TextOverflow? overflow, StrutStyleDto? strutStyle, TextAlign? textAlign, double? textScaleFactor, int? maxLines, TextStyleDto? style, TextWidthBasis? textWidthBasis, TextHeightBehavior? textHeightBehavior, TextDirection? textDirection, bool? softWrap, TextDirective? directive})
-
const
Properties
- directive → TextDirective?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxLines → int?
-
final
- mergeKey → Object
-
no setterinherited
- overflow → TextOverflow?
-
final
-
props
→ List<
Object?> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- softWrap → bool?
-
final
- stringify → bool
-
no setterinherited
- strutStyle → StrutStyleDto?
-
final
- style → TextStyleDto?
-
final
- textAlign → TextAlign?
-
final
- textDirection → TextDirection?
-
final
- textHeightBehavior → TextHeightBehavior?
-
final
- textScaleFactor → double?
-
final
- textWidthBasis → TextWidthBasis?
-
final
Methods
-
getDiff(
Comparable other) → Map< String, String> -
inherited
-
merge(
covariant TextSpecAttribute? other) → TextSpecAttribute -
Merges this object with
other
, returning a new object of typeT
.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
MixData mix) → TextSpec -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited