copyWithStyle property

StacCustomTextStyle? copyWithStyle
final

Optional style overrides applied on top of style.

Can be a string (e.g., "bodyMedium") for theme styles or an object (e.g., {"color": "#FF2196F3"}) for custom styles.

Any non-null fields in copyWithStyle override those from style.

Type: StacCustomTextStyle

Implementation

final StacCustomTextStyle? copyWithStyle;