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