Skip to content

Simplify drawer scrimColor defaults, update tests - #31947

Merged
HansMuller merged 3 commits into
flutter:masterfrom
HansMuller:scrim_color
May 2, 2019
Merged

HansMuller merged 3 commits into
flutter:masterfrom
HansMuller:scrim_color

Conversation

@HansMuller

Copy link
Copy Markdown
Contributor

Fix a small bug introduced by #31025: changing the DrawerController's scrimColor didn't update the DrawerControllerState's cached color Tween.

Simplified the defaulting a little: DrawerController provides the default scrimColor; all scrim color parameters default to null.

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM with one small suggestion

Comment thread packages/flutter/lib/src/material/drawer.dart Outdated
@HansMuller
HansMuller merged commit 4230e96 into flutter:master May 2, 2019
@HansMuller
HansMuller deleted the scrim_color branch May 2, 2019 18:57
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 6, 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