SaveButton constructor

const SaveButton({
  1. required VoidCallback onPressed,
  2. String tooltip = 'Save',
  3. Key? key,
})

Create an instance.

Implementation

const SaveButton({
  required this.onPressed,
  this.tooltip = 'Save',
  super.key,
});