TextLabelPannel constructor

const TextLabelPannel({
  1. Key? key,
  2. required List<String> textList,
  3. required String preforText,
  4. required dynamic onSelectLabel(
    1. String
    ),
  5. double fontSize = 14,
})

创建文本标签面板组件

@param textList 可选的文本标签列表 @param preforText 预设选中的文本 @param onSelectLabel 标签选择回调函数 @param fontSize 标签文字大小(默认14)

Implementation

const TextLabelPannel(
    {Key? key,
    required this.textList,
    required this.preforText,
    required this.onSelectLabel,
    this.fontSize = 14})
    : super(key: key);