RCKTextStyleConfig constructor

RCKTextStyleConfig({
  1. TextStyle? senderTextStyle,
  2. TextStyle? receiverTextStyle,
  3. double? lineSpacing,
})

构造函数

Implementation

RCKTextStyleConfig({
  TextStyle? senderTextStyle,
  TextStyle? receiverTextStyle,
  this.lineSpacing,
})  : senderTextStyle = senderTextStyle ??
          TextStyle(
              color: RCKThemeProvider().themeColor.textInverse,
              fontSize: kBubbleTextFontSize),
      receiverTextStyle = receiverTextStyle ??
          TextStyle(
              color: RCKThemeProvider().themeColor.textPrimary,
              fontSize: kBubbleTextFontSize);