cancel static method

dynamic cancel(
  1. dynamic context,
  2. dynamic onPressed, {
  3. dynamic showLabel = true,
})

Implementation

static cancel(context, onPressed, {showLabel: true}) => CryButton(
    label: showLabel ? S.of(context).cancel : null,
    iconData: Icons.cancel,
    onPressed: onPressed);