Skip to main content

How to Change App Color?

To customize the color scheme of your News App:

  1. Navigate to the colors definition file:

    lib > ui > styles > colors.dart
  2. In Flutter, color codes start with 0xff followed by the hex color code. You can change the primary, secondary, and font colors as shown in the image below.

    App Colors

  3. Additionally, you can set these colors in the appTheme.dart file according to Light and Dark Theme preferences.

    App Theme Colors

This will update the color scheme throughout your application.

note

You can use tools like Material Color Tool to create a consistent color scheme for your app.