getLocaleDone static method

String getLocaleDone(
  1. DateTimePickerLocale locale
)

Get done button text

Implementation

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