NewButton constructor
const
NewButton({
- required VoidCallback onPressed,
- String tooltip = 'new',
- Key? key,
Create an instance.
Implementation
const NewButton({
required this.onPressed,
this.tooltip = 'new',
super.key,
});