getTextStyle method

TextStyle getTextStyle(
  1. bool isSpeaker
)

Implementation

TextStyle getTextStyle(bool isSpeaker) {
  return TextStyle(
    color: Colors.white,
    fontWeight: FontWeight.bold,
    fontSize: isSpeaker ? 25.0 : 15.0,
  );
}