Visitar URL original
Adds animations package with open container transition by goderbauer · Pull Request #30 · flutter/packages · GitHub
Skip to content
Merged
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
Next Next commit
formatting fixes
  • Loading branch information
goderbauer committed Aug 28, 2019
commit 877b6fc273b5b1d4e22e0bb6122851dcde022783
8 changes: 4 additions & 4 deletions packages/animations/lib/open_container.dart
Original file line number Diff line number Diff line change
Expand Up @@ -387,9 +387,9 @@ class _OpenContainerRoute extends ModalRoute<void> {

@override
Widget buildPage(
BuildContext context,
Animation<double> animation,
Animation<double> secondaryAnimation,
BuildContext context,
Animation<double> animation,
Animation<double> secondaryAnimation,
) {
return Align(
alignment: Alignment.topLeft,
Expand Down Expand Up @@ -462,7 +462,7 @@ class _OpenContainerRoute extends ModalRoute<void> {
child: SizedBox(
width: _sizeTween.begin.width,
height: _sizeTween.begin.height,
child: Opacity(
child: Opacity(
opacity: closedChildOpacityTween.evaluate(animation),
child: Builder(
builder: (BuildContext context) {
Expand Down