delete static method

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

Implementation

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