animationDuration property

Duration? animationDuration
final

Creates an object that manages the state required by TabBar and a TabBarView.

The length must not be null or negative. Typically it's a value greater than one, i.e. typically there are two or more tabs. The length must match TabBar.tabs's and TabBarView.children's length.

The initialIndex must be valid given length and must not be null. If length is zero, then initialIndex must be 0 (the default).

Implementation

final Duration? animationDuration;