button function

Widget button(
  1. AppModel app,
  2. BuildContext context, {
  3. Icon? icon,
  4. required String label,
  5. String? tooltip,
  6. 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);