commit static method

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

Implementation

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