CommonShortcuts constructor

const CommonShortcuts({
  1. required Widget child,
  2. VoidCallback? newCallback,
  3. VoidCallback? openCallback,
  4. VoidCallback? deleteCallback,
  5. VoidCallback? moveUpCallback,
  6. VoidCallback? moveDownCallback,
  7. VoidCallback? homeCallback,
  8. VoidCallback? endCallback,
  9. VoidCallback? pageUpCallback,
  10. VoidCallback? pageDownCallback,
  11. VoidCallback? testCallback,
  12. VoidCallback? backspaceCallback,
  13. String? copyText,
  14. Key? key,
})

Create an instance.

Implementation

const CommonShortcuts({
  required this.child,
  this.newCallback,
  this.openCallback,
  this.deleteCallback,
  this.moveUpCallback,
  this.moveDownCallback,
  this.homeCallback,
  this.endCallback,
  this.pageUpCallback,
  this.pageDownCallback,
  this.testCallback,
  this.backspaceCallback,
  this.copyText,
  super.key,
});