FLUTTER ECOSYSTEM

gradients

Implementations of Flutter's linear, radial, and sweep gradients with support for the CMYK, HSI, HSL, HSP, HSB, LAB, Oklab, RGB, and XYZ color spaces.

Latest version
0.1.1+2
30-day downloads
17
Likes
26
Pub points
60

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

The gradients package provides enhanced implementations of Flutter's linear, radial, and sweep gradients with support for multiple color spaces including CMYK, HSI, HSL, HSP, HSB, LAB, Oklab, RGB, and XYZ. It enables developers to create rich, customizable gradient effects using advanced color models beyond standard RGB. Ideal for design-focused applications requiring precise color control, the package extends Flutter’s native capabilities without adding runtime overhead. The library is lightweight and integrates seamlessly into existing Flutter projects.

Use cases
  • Creating visually rich UIs with custom gradient backgrounds
  • Designing color-themed interfaces using non-RGB color spaces
  • Implementing gradient animations in mobile apps
  • Building design tools with advanced color blending
  • Enhancing accessibility through perceptually uniform gradients
Key features
  • Support for 9 color spaces including LAB and Oklab
  • Extensible gradient builders for linear, radial, and sweep types
  • Seamless integration with Flutter's painting system
  • Precise color interpolation across diverse color models
  • Lightweight and dependency-free
Suitable for
  • UI/UX designers building custom themes
  • Developers working on creative or artistic apps
  • Apps requiring advanced color manipulation
  • Projects focused on visual aesthetics and branding
  • Accessibility-conscious application development
Considerations
  • Requires understanding of non-RGB color spaces
  • May increase build complexity for beginners
  • Limited platform-specific optimizations
  • Best suited for apps where color precision matters
  • Not intended for performance-critical rendering loops
Supported platformsNot available

Install package

flutter pub add gradients

Categories

Source repository

Related projects

No data available yet.