Visitar URL original
Shared Axis Transition Fix by shihaohong · Pull Request #66 · flutter/packages · GitHub
Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove flip code from shared axis transition
  • Loading branch information
shihaohong committed Jan 18, 2020
commit fad9ead8dbf7c5dbfb06882d60f681b352e7fad6
8 changes: 0 additions & 8 deletions packages/animations/lib/src/shared_axis_transition.dart
Original file line number Diff line number Diff line change
Expand Up @@ -314,14 +314,6 @@ class _SharedAxisTransitionState extends State<SharedAxisTransition> {
super.dispose();
}

static final Tween<double> _flippedTween = Tween<double>(
begin: 1.0,
end: 0.0,
);
static Animation<double> _flip(Animation<double> animation) {
return _flippedTween.animate(animation);
}

@override
Widget build(BuildContext context) {
return AnimatedBuilder(
Expand Down