copyWith method
Creates a copy of this TextTileStyle but with the given fields replaced with the new values.
Implementation
TextTileStyle copyWith({
double? spacing,
EdgeInsetsGeometry? margin,
TextTileAlign? align,
}) {
return TextTileStyle(
spacing: spacing ?? this.spacing,
margin: margin ?? this.margin,
align: align ?? this.align,
);
}