SmartTextStyle constructor

const SmartTextStyle({
  1. String? symbol,
  2. required TextStyle style,
})

A wrapper for a TextStyle that can optionally be associated with a symbol identifier.

The symbol can be used to categorize or select a style, while style holds the actual text appearance configuration.

Implementation

const SmartTextStyle({this.symbol, required this.style});