Skip to content

Repository files navigation

Dynamic Color Example

This example demonstrates the use of the ColorScheme.fromImageProvider API in Flutter to dynamically generate a color scheme based on the content of selected images. Users can switch between light and dark themes and view how the color scheme adapts based on the chosen image.

Dynamic Color Example Output

Features

  • Dynamic color scheme generation from image content.
  • Toggle between light and dark themes.
  • Responsive UI for both small and large screens.

Installation & Usage

To run this Flutter project locally, follow these steps:

  1. Clone the repository:
  2. git clone https://github.com/Madhan-Rkv-10/Image-Based-Color-Example.git
  3. Navigate to the project directory and install dependencies:
  4. flutter pub get
  5. Run the app on a connected device or emulator:
  6. flutter run

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

how to get Color Scheme from an Image

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages