TextSegmentationDialogPage constructor

const TextSegmentationDialogPage(
  1. {required String sourceText,
  2. required List<String> segmentedText,
  3. dynamic onSelect(
    1. JidoujishoTextSelection
    )?,
  4. dynamic onSearch(
    1. JidoujishoTextSelection
    )?,
  5. Key? key}
)

Create an instance of this page.

Implementation

const TextSegmentationDialogPage({
  required this.sourceText,
  required this.segmentedText,
  this.onSelect,
  this.onSearch,
  super.key,
});