getOptionsViewLandscape function

dynamic getOptionsViewLandscape()

Implementation

getOptionsViewLandscape() {
  final logsByLanguage = {
    Languages.english: enOptionsViewLandscape,
    Languages.hindi: hiOptionsViewLandscape,
    Languages.arabic: arOptionsViewLandscape,
    Languages.spanish: esOptionsViewLandscape,
    Languages.mandarin: zhOptionsViewLandscape,
    Languages.french: frOptionsViewLandscape,
    Languages.bengali: bnOptionsViewLandscape,
    Languages.portuguese: ptOptionsViewLandscape,
    Languages.russian: ruOptionsViewLandscape,
    Languages.japanese: jaOptionsViewLandscape,
    Languages.german: deOptionsViewLandscape,
    Languages.punjabi: paOptionsViewLandscape,
    Languages.javanese: jvOptionsViewLandscape,
    Languages.wuChinese: wuuOptionsViewLandscape,
    Languages.korean: koOptionsViewLandscape,
    Languages.tamil: taOptionsViewLandscape,
    Languages.turkish: trOptionsViewLandscape,
    Languages.urdu: urOptionsViewLandscape,
    Languages.vietnamese: viOptionsViewLandscape,
    Languages.italian: itOptionsViewLandscape,
  };

  return logsByLanguage[MenstrualCycleWidget.currentLanguage];
}