add static method

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

Implementation

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