TabController constructor
Creates a TabController with the given length and initialIndex.
Implementation
TabController({required this.length, int initialIndex = 0})
: _index = initialIndex.clamp(0, length - 1);
Creates a TabController with the given length and initialIndex.
TabController({required this.length, int initialIndex = 0})
: _index = initialIndex.clamp(0, length - 1);