m3eDialogTextAction function
Text button for dialog-built actions.
Styling comes from the action m3eDialogActionScope, the same as for buttons callers pass in, so every dialog action matches.
Implementation
M3EButton m3eDialogTextAction({
required String label,
required VoidCallback? onPressed,
}) {
return M3EButton(
style: M3EButtonStyle.text,
onPressed: onPressed,
child: Text(label),
);
}