The AppBar component has a settings property allowing you to define different theme colors. The themeColor configuration will be applied as background color inside the component.
The AppBar allows you to specify predefined theme colors.
themeColor values are:
light(Default)—Applies coloring based on light theme color.
dark—Applies coloring based on dark theme color.
inherit—Applies inherited coloring value.
You can define a custom AppBar background color by using the