textWithOptions method

String textWithOptions({
  1. TranslationButtonType type = TranslationButtonType.flagAndNameInEn,
  2. bool markAsDefault = false,
  3. TextureIcons selectedIcon = TextureIcons.none,
})

Implementation

String textWithOptions({
  TranslationButtonType type = TranslationButtonType.flagAndNameInEn,
  bool markAsDefault = false,
  TextureIcons selectedIcon = TextureIcons.none,
}) {
  return type.text(
    this,
    markAsDefault: markAsDefault,
    selectedIcon: selectedIcon,
  );
}