bottomNavigationBarTabSemanticsLabel method

  1. @override
String bottomNavigationBarTabSemanticsLabel(
  1. int tabIndex,
  2. int tabCount
)
override

The semantic label announcing a bottom navigation bar item's position, e.g. 'Tab 1 of 3'.

In en, this message translates to: 'Tab {tabIndex} of {tabCount}'

Implementation

@override
String bottomNavigationBarTabSemanticsLabel(int tabIndex, int tabCount) => 'Tab $tabIndex of $tabCount';