-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from splashbyte/version0.8.0
version 0.8.0-beta.6
- Loading branch information
Showing
15 changed files
with
236 additions
and
89 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
part of 'package:animated_toggle_switch/animated_toggle_switch.dart'; | ||
|
||
// this Animation is not covered because it does not contain logic but | ||
// forwards all methods to its parent Animation. | ||
// coverage:ignore-start | ||
/// This class is a proxy for another animation. | ||
/// | ||
/// It is used for passing animations in builders without exposing the real | ||
/// animation to the user. | ||
class _PrivateAnimation<T> extends Animation<T> { | ||
final Animation<T> _parent; | ||
|
||
_PrivateAnimation(this._parent); | ||
|
||
@override | ||
void addListener(VoidCallback listener) => _parent.addListener(listener); | ||
|
||
@override | ||
void addStatusListener(AnimationStatusListener listener) => | ||
_parent.addStatusListener(listener); | ||
|
||
@override | ||
void removeListener(VoidCallback listener) => | ||
_parent.removeListener(listener); | ||
|
||
@override | ||
void removeStatusListener(AnimationStatusListener listener) => | ||
_parent.removeStatusListener(listener); | ||
|
||
@override | ||
AnimationStatus get status => _parent.status; | ||
|
||
@override | ||
T get value => _parent.value; | ||
} | ||
// coverage:ignore-end |
This file contains 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 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 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
Oops, something went wrong.