PinyinMarkWidget constructor

const PinyinMarkWidget({
  1. Key? key,
  2. required String text,
  3. String? pinyin,
  4. TextStyle? textStyle,
  5. TextStyle pinyinStyle = const TextStyle(color: Color(0xff333333), fontSize: 10),
  6. double? lineSpacing = 2,
})

Implementation

const PinyinMarkWidget({
  Key? key,
  required this.text,
  this.pinyin,
  this.textStyle,
  this.pinyinStyle = const TextStyle(color: Color(0xff333333), fontSize: 10),
  this.lineSpacing = 2,
}) : super(key: key);