FlatSelection constructor

FlatSelection({
  1. Key? key,
  2. required List<SelectionEntity> entityDataList,
  3. dynamic confirmCallback(
    1. Map<String, String>
    )?,
  4. OnCustomFloatingLayerClick? onCustomFloatingLayerClick,
  5. int preLineTagSize = 3,
  6. bool isNeedConfigChild = true,
  7. FlatSelectionController? controller,
  8. SelectionConfig? themeData,
})

Implementation

FlatSelection(
    {Key? key,
    required this.entityDataList,
    this.confirmCallback,
    this.onCustomFloatingLayerClick,
    this.preLineTagSize = 3,
    this.isNeedConfigChild = true,
    this.controller,
    this.themeData})
    : super(key: key) {
  themeData ??= SelectionConfig();
  themeData = BaseThemeConfig.instance
      .getConfig(configId: themeData!.configId)
      .selectionConfig
      .merge(themeData!);
}