Skip to content
This repository was archived by the owner on Jun 13, 2024. It is now read-only.

Conversation

@jason-simmons
Copy link
Member

This is needed in order to land flutter/flutter#80554,
which will deprecate AnimatedSize.vsync

Copy link
Contributor

@rami-a rami-a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but have a couple questions

key: _expandingBottomSheetKey,
duration: const Duration(milliseconds: 225),
curve: Curves.easeInOut,
vsync: this,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this class still need to be a TickerProviderStateMixin

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the TickerProviderStateMixin

);
} else {
section = AnimatedSize(
vsync: this,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this class still need to be a TickerProviderStateMixin?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is still needed because _GalleryDemoPageState is also creating an AnimationController that uses a TickerProvider

This is needed in order to land flutter/flutter#80554,
which will deprecate AnimatedSize.vsync
Copy link
Member

@goderbauer goderbauer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jason-simmons jason-simmons merged commit e06144f into flutter:master Apr 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants