titleStyle property

TextStyle? get titleStyle

Retrieves the title text style from the current theme's text theme, copying it and applying a color based on the onPrimary color.

Implementation

TextStyle? get titleStyle {
  return _theme.textTheme.titleMedium?.copyWith(
    color: onPrimaryColor,
    fontSize: 14,
  );
}