okCancelButtons static method

List<Widget> okCancelButtons(
  1. BuildContext context
)

Implementation

static List<Widget> okCancelButtons(BuildContext context) {
  return getButtons(context, {
    lang.cancel.toUpperCase(): false,
    lang.ok.toUpperCase(): true,
  });
}