Skip to content

Remove support for configuring AppBar background color with ThemeData.primaryColor #70645

Description

@HansMuller

ThemeData.primaryColor is currently the default background color for AppBar. Apps should configure the default background color for AppBar's with AppBar.color, AppBarTheme.backgroundColor, or the theme's ColorScheme.primaryColor.

Support for ThemeData.primaryColor is being phased out because it's redundant with ColorScheme.primary and not as clear as AppBar.color or AppBarTheme.backgroundColor.

Support for ThemeData.primaryColor, when it's not the same as the ColorScheme's primary, has been temporarily enabled for AppBar in ... until old applications have had a chance to update.

Activity

  1. added
    p: material_uimaterial_ui package in flutter/packages
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Nov 16, 2020
  2. github-actions commented on Aug 9, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  3. locked as resolved and limited conversation to collaborators on Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    frameworkflutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packages

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions