childButtonSecondary method

Widget childButtonSecondary({
  1. AFWidgetID? wid,
  2. required Widget child,
  3. required AFPressedDelegate onPressed,
})
inherited

Create a button that the user is most likely to click.

Implementation

Widget childButtonSecondary({
  AFWidgetID? wid,
  required Widget child,
  required AFPressedDelegate onPressed,
}) {
  return childButton(
    wid: wid,
    child: child,
    color: colorSecondary,
    textColor: colorOnSecondary,
    onPressed: onPressed
  );
}