JidoujishoTextSelectionControls constructor

JidoujishoTextSelectionControls(
  1. {required dynamic stashAction(
    1. String
    ),
  2. required dynamic shareAction(
    1. String
    ),
  3. required bool allowCopy,
  4. required bool allowCut,
  5. required bool allowPaste,
  6. required bool allowSelectAll,
  7. dynamic searchAction(
    1. String
    )?,
  8. Color? handleColor,
  9. dynamic creatorAction(
    1. String
    )?,
  10. dynamic sentenceAction(
    1. JidoujishoTextSelection
    )?}
)

Define text selection controls with custom behaviour.

Implementation

JidoujishoTextSelectionControls({
  required this.stashAction,
  required this.shareAction,
  required this.allowCopy,
  required this.allowCut,
  required this.allowPaste,
  required this.allowSelectAll,
  this.searchAction,
  this.handleColor,
  this.creatorAction,
  this.sentenceAction,
});