StatusButton constructor
const
StatusButton({})
Creates a StatusButton.
When actionOnInit is true, the action starts as soon as the button is
built.
Implementation
const StatusButton({
required this.action,
required this.label,
this.actionOnInit = false,
super.key,
});