TextSpec class
Constructors
-
TextSpec({TextOverflow? overflow, StrutStyle? strutStyle, TextAlign? textAlign, double? textScaleFactor, int? maxLines, TextStyle? style, TextWidthBasis? textWidthBasis, TextHeightBehavior? textHeightBehavior, TextDirection? textDirection, bool? softWrap, TextDirective? directive, AnimatedData? animated})
-
const
-
TextSpec.exhaustive({required TextOverflow? overflow, required StrutStyle? strutStyle, required TextAlign? textAlign, required double? textScaleFactor, required int? maxLines, required TextStyle? style, required TextWidthBasis? textWidthBasis, required TextHeightBehavior? textHeightBehavior, required TextDirection? textDirection, required bool? softWrap, required TextDirective? directive, required AnimatedData? animated})
-
const
Methods
-
copyWith({bool? softWrap, TextOverflow? overflow, StrutStyle? strutStyle, TextAlign? textAlign, double? textScaleFactor, int? maxLines, TextStyle? style, TextWidthBasis? textWidthBasis, TextHeightBehavior? textHeightBehavior, TextDirection? textDirection, TextDirective? directive, AnimatedData? animated})
→ TextSpec
-
Creates a copy of this spec with the given fields
replaced by the non-null parameter values.
override
-
getDiff(EqualityMixin other)
→ Map<String, String>
-
inherited
-
lerp(covariant TextSpec? other, double t)
→ TextSpec
-
Linearly interpolate with another Spec object.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited