iconButton function

Widget iconButton(
  1. AppModel app,
  2. BuildContext context, {
  3. VoidCallback? onPressed,
  4. Color? color,
  5. String? tooltip,
  6. required Widget icon,
})

Implementation

Widget iconButton(AppModel app, BuildContext context,
        {VoidCallback? onPressed,
        Color? color,
        String? tooltip,
        required Widget icon}) =>
    StyleRegistry.registry()
        .styleWithApp(app)
        .frontEndStyle()
        .buttonStyle()
        .iconButton(app, context,
            onPressed: onPressed, color: color, tooltip: tooltip, icon: icon);