button function
Widget
button(
- AppModel app,
- BuildContext context, {
- Icon? icon,
- required String label,
- String? tooltip,
- VoidCallback? onPressed,
Implementation
Widget button(AppModel app, BuildContext context,
{Icon? icon,
required String label,
String? tooltip,
VoidCallback? onPressed}) =>
StyleRegistry.registry()
.styleWithApp(app)
.frontEndStyle()
.buttonStyle()
.button(app, context,
icon: icon, label: label, tooltip: tooltip, onPressed: onPressed);