ArnaTabController constructor

ArnaTabController({
  1. int initialIndex = 0,
})

Creates an ArnaTabController to control the tab index of ArnaTabView.

The initialIndex must not be null and defaults to 0. The value must be greater than or equal to 0, and less than the total number of tabs.

Implementation

ArnaTabController({int initialIndex = 0})
    : _index = initialIndex,
      assert(initialIndex >= 0);