Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
4f185ecd
Unverified
Commit
4f185ecd
authored
Mar 01, 2019
by
Hans Muller
Committed by
GitHub
Mar 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update TabController.indexIsChanging doc (#28663)
parent
cccf44fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
tab_controller.dart
packages/flutter/lib/src/material/tab_controller.dart
+6
-1
No files found.
packages/flutter/lib/src/material/tab_controller.dart
View file @
4f185ecd
...
@@ -150,7 +150,12 @@ class TabController extends ChangeNotifier {
...
@@ -150,7 +150,12 @@ class TabController extends ChangeNotifier {
int
get
previousIndex
=>
_previousIndex
;
int
get
previousIndex
=>
_previousIndex
;
int
_previousIndex
;
int
_previousIndex
;
/// True while we're animating from [previousIndex] to [index].
/// True while we're animating from [previousIndex] to [index] as a
/// consequence of calling [animateTo].
///
/// This value is true during the [animateTo] animation that's triggered when
/// the user taps a [TabBar] tab. It is false when [offset] is changing as a
/// consequence of the user dragging (and "flinging") the [TabBarView].
bool
get
indexIsChanging
=>
_indexIsChangingCount
!=
0
;
bool
get
indexIsChanging
=>
_indexIsChangingCount
!=
0
;
int
_indexIsChangingCount
=
0
;
int
_indexIsChangingCount
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment