getSelectedTextStyle method

TextStyle getSelectedTextStyle(
  1. BuildContext context
)

The textStyle for selected card texts.

Implementation

TextStyle getSelectedTextStyle(BuildContext context) {
  ColorScheme _colorScheme = Theme.of(context).colorScheme;
  return selectedTextStyle == null
      ? TextStyle(
          color: _colorScheme.onPrimary,
        )
      : TextStyle(color: _colorScheme.onPrimary).merge(selectedTextStyle);
}