Change Flutter App Bar Background Color and text color
Closed this issue · 1 comments
nathanbaleeta commented
Consultation with the U-Reporters testing team(WAGGGS) revealed they would prefer a silver app bar background and a contrasting dark text color(e.g black or dark blue)
Follow the steps below:
- Create a new branch from
develop
calledchange-appbar-background
. Hint:git checkout -b <new-branch> <existing-branch>
- To change color of Application Bar in
MaterialApp
class, you can set theprimarySwatch
in theme or you can also change color of Application Bar usingScaffold
by setting thebackgroundColor
inappBar
of yourScaffold
. - Write a test for your improvement and add it to
test/bottom_navigation_widget_test.dart
- Commit the changes (as a single commit).
- Push changes to github. Hint:
git push --set-upstream origin change-appbar-background
- Open a pull-request.
nathanbaleeta commented
@alee8599 your tests are failing. Run flutter test
on your machine to verify your tests pass before opening another pull request.