Skip to content
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

Add materialTheme field to ThemeData #153

Closed

Commits on Feb 4, 2022

  1. Add materialTheme field to ThemeData

    Commit 2e94931 automatically adds a Material theme to the widget tree.
    However, this overrides any custom Material theme that might have been
    specified above the widget tree. Many apps might still use a mix of
    material and fluent_ui widgets. Now that a Material theme is always
    automatically added, allow a custom Material theme to be specified as
    part of fluent_ui.ThemeData with the optional materialTheme field.
    If this field is not specified, the behavior is the same as before (it
    will generate a Material theme with the appropriate brightness based
    on the brightness of the fluent_ui theme).
    klondikedragon committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    4d066f7 View commit details
    Browse the repository at this point in the history