-
Notifications
You must be signed in to change notification settings - Fork 1.1k
ChewieController #99
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
Merged
cbenhagen
merged 24 commits into
fluttercommunity:master
from
cbenhagen:ChewieController
Jan 24, 2019
Merged
ChewieController #99
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
990d839
Remove new statement
cbenhagen ef4cfeb
Run dartfmt
cbenhagen 5ee6608
ChewieController accessed by an InheritedWidget
cbenhagen 5961f50
Add myself to the authors
cbenhagen b578b47
Remove comments
cbenhagen 79abb08
Shorten API by adding getters
cbenhagen 79011c7
Remove setter for videoPlayerController
cbenhagen 40e8700
Push version to 1.0.0 -> breaking changes
cbenhagen 5b33793
Pause and rewind video when switching
cbenhagen e9d84e0
Allow replacing the ChewieController
cbenhagen bc12686
Switch to using ChangeNotifier
cbenhagen 4b96ceb
Remove todo
cbenhagen f3fa335
Pass through all methods of VideoPlayerController
cbenhagen aeac812
Allow customising controls
cbenhagen a16cabd
Do not initialize twice
cbenhagen f2e66aa
Sort constructor declarations before other members
cbenhagen bdb0278
Add analysis options
cbenhagen b41d83d
Update README and CHANGELOG
cbenhagen 333cb2f
Version 0.9.0
cbenhagen bf58a0d
Add documentation
cbenhagen 2bd06b7
Allow ChewieController.of
cbenhagen fc1bc16
Only reinitialize if ChewieController changed
cbenhagen cd20458
Properly set full screen state when exiting.
cbenhagen c553696
Be consistent when naming methods and variables
cbenhagen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Shorten API by adding getters
- Loading branch information
commit 79abb082af1e910c46ad56a64c0f5a3607cea770
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unlike
initState,didChangeDependenciescan run multiple times throughout the lifecycle of the Widget. Therefore, we may want to add some logic around this_dispose/initializecode: Only run that dispose and init IF thecontrollerhas changed.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, it was also reinitializing when the theme changed. fc1bc16 fixes that.