Skip to content

Conversation

@abarth
Copy link
Contributor

@abarth abarth commented Dec 3, 2015

This patch restructures how we handle drawer. The drawer is now a child of the
Scaffold, which wraps the Drawer in a DrawerController. The DrawerController
manages the interaction with the navigator as well as the edge swiping. The
DrawerController's state machine is driven almost entirely off its Performance,
which it now owns completely.

Fixes #90
Fixes #187
Fixes #192
Fixes #194
Fixes #604

@abarth
Copy link
Contributor Author

abarth commented Dec 3, 2015

@Hixie

Copy link
Contributor

Choose a reason for hiding this comment

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

I think you should assert that you have one, rather than silently doing nothing if you don't.

@Hixie
Copy link
Contributor

Hixie commented Dec 3, 2015

LGTM.

#187 is only fixed for Drawers, not popup menus. Filed #698 for the popup menu case. Filed #699 for the hamburger menu logic.

This patch restructures how we handle drawer. The drawer is now a child of the
Scaffold, which wraps the Drawer in a DrawerController. The DrawerController
manages the interaction with the navigator as well as the edge swiping. The
DrawerController's state machine is driven almost entirely off its Performance,
which it now owns completely.

Fixes flutter#90
Fixes flutter#187
Fixes flutter#192
Fixes flutter#194
Fixes flutter#604
abarth added a commit that referenced this pull request Dec 3, 2015
Fix a large number of Drawer bugs
@abarth abarth merged commit 85a60a1 into flutter:master Dec 3, 2015
@abarth abarth deleted the fix_drawer branch December 3, 2015 18:21
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

2 participants