tabLabel method

  1. @override
String tabLabel({
  1. required int tabIndex,
  2. required int tabCount,
})
override

Where a tab stands among tabCount, tabIndex from 1 ("Tab 2 of 5"): a tab's, and a navigation destination's, place as a screen reader reads it.

Implementation

@override
String tabLabel({required int tabIndex, required int tabCount}) =>
    'Tab $tabIndex of $tabCount';