onNewPressed property

VoidCallback? onNewPressed
final

Called when the new button is pressed or when the shortcut Ctrl + T is executed.

If null, the new button won't be displayed

Implementation

final VoidCallback? onNewPressed;