getLocaleCancel static method

String getLocaleCancel(
  1. DateTimePickerLocale locale
)

Get cancel button text

Implementation

static String getLocaleCancel(DateTimePickerLocale locale) {
  _StringsI18n i18n = datePickerI18n[locale] ??
      datePickerI18n[DATETIME_PICKER_LOCALE_DEFAULT]!;
  return i18n.getCancelText();
}