copyWith method
- {double height,
- int maxLines,
- TextStyleHtml parent,
- TextStyle style,
- TextAlign textAlign,
- TextDirection textDirection,
- TextOverflow textOverflow}
Creates a copy with the given fields replaced with the new values.
Implementation
TextStyleHtml copyWith({
double height,
int maxLines,
TextStyleHtml parent,
TextStyle style,
TextAlign textAlign,
TextDirection textDirection,
TextOverflow textOverflow,
}) =>
TextStyleHtml(
deps: _deps,
height: height ?? this.height,
maxLines: maxLines ?? this.maxLines,
parent: parent ?? this.parent,
style: style ?? this.style,
textAlign: textAlign ?? this.textAlign,
textDirection: textDirection ?? this.textDirection,
textOverflow: textOverflow ?? this.textOverflow,
);