button static method
Implementation
static Tooltip button({
required String title,
String? tooltip,
Color? color,
Color? borderColor,
required void Function() onPressed,
}) {
return Tooltip(
message: tooltip ?? '',
child: ElevatedButton(
style: buttonStyle(color: color, borderColor: borderColor),
child: Text(title),
onPressed: onPressed,
),
);
}