Skip to content

Remove parameter shadowThemeOnly from ThemeData #202

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 15, 2021

Conversation

sirajulhudalabs
Copy link
Contributor

static ThemeData of BuildContext doesn't contain named parameter shadowThemeOnly:tre. From the latest version of Flutter we gets the error:
Error: No named parameter with the name 'shadowThemeOnly'.
ThemeData inheritTheme = Theme.of(context, shadowThemeOnly: true);

static ThemeData of BuildContext doesn't contain named parameter shadowThemeOnly:tre. From the latest version of Flutter we gets the error:
Error: No named parameter with the name 'shadowThemeOnly'.
    ThemeData inheritTheme = Theme.of(context, shadowThemeOnly: true);
@nstrelow
Copy link

Please merge this.

Or do you need help with maintaining this package @Realank ?

@awhitford
Copy link
Contributor

This should resolve #206

@awhitford
Copy link
Contributor

Duplicates #197

@awhitford
Copy link
Contributor

And duplicates #199. 😕

@nstrelow
Copy link

Just merge please

@espresso3389
Copy link
Contributor

The changes in the PR is not correct (it breaks the consistency of the code) because it loses the original concept of extracting just shadowing theme differentials; I have another PR #199 and it keeps the concept of the original code.

@Realank Realank merged commit 22cfd57 into Realank:master Jan 15, 2021
@espresso3389
Copy link
Contributor

@Realank Please revert the merge of the PR. I think PR #199 is better fix for the problem.

@Realank
Copy link
Owner

Realank commented Jan 15, 2021

yes, I've merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants