Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tab Animation Sample Video #32177

Merged
merged 13 commits into from May 13, 2019

Update length doc to follow formatting guidelines

  • Loading branch information...
shihaohong committed May 7, 2019
commit e44d547060bb41e47f624632cdba8f8dc4ecea75
@@ -113,8 +113,10 @@ class TabController extends ChangeNotifier {
Animation<double> get animation => _animationController?.view ?? kAlwaysCompleteAnimation;
final AnimationController _animationController;

/// The total number of tabs. Typically greater than one. Must match
/// [TabBar.tabs]'s and [TabBarView.children]'s length.
/// The total number of tabs.
///
/// Typically greater than one. Must match [TabBar.tabs]'s and
/// [TabBarView.children]'s length.
final int length;

void _changeIndex(int value, { Duration duration, Curve curve }) {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.