@@ -9,28 +9,38 @@ Rultor.com](https://www.rultor.com/b/dartoos-dev/flutter_brand_palettes)](https:
99
1010[ ![ pub] ( https://img.shields.io/pub/v/flutter_brand_palettes )] ( https://pub.dev/packages/flutter_brand_palettes )
1111[ ![ license] ( https://img.shields.io/badge/license-mit-green.svg )] ( https://github.com/dartoos-dev/flutter_brand_palettes/blob/master/LICENSE )
12- [ ![ style:
13- lint] ( https://img.shields.io/badge/style-lint-4BC0F5.svg )] ( https://pub.dev/packages/lint )
14- [ ![ PDD
15- status] ( https://www.0pdd.com/svg?name=dartoos-dev/flutter_brand_palettes )] ( https://www.0pdd.com/p?name=dartoos-dev/flutter_brand_palettes )
12+ [ ![ PDD status] ( https://www.0pdd.com/svg?name=dartoos-dev/flutter_brand_palettes )] ( https://www.0pdd.com/p?name=dartoos-dev/flutter_brand_palettes )
13+
1614[ ![ build] ( https://github.com/dartoos-dev/flutter_brand_palettes/actions/workflows/build.yml/badge.svg )] ( https://github.com/dartoos-dev/flutter_brand_palettes/actions/ )
1715[ ![ codecov] ( https://codecov.io/gh/dartoos-dev/flutter_brand_palettes/branch/master/graph/badge.svg?token=Hvpu48mfx1 )] ( https://codecov.io/gh/dartoos-dev/flutter_brand_palettes )
1816![ CodeFactor Grade] ( https://img.shields.io/codefactor/grade/github/rafamizes/flutter_brand_palettes )
17+ [ ![ style: lint] ( https://img.shields.io/badge/style-lint-4BC0F5.svg )] ( https://pub.dev/packages/lint )
1918[ ![ Hits-of-Code] ( https://hitsofcode.com/github/dartoos-dev/flutter_brand_palettes?branch=master )] ( https://hitsofcode.com/github/dartoos-dev/flutter_brand_palettes/view?branch=master )
2019
2120## Overview
2221
2322** Flutter Brand Palettes** is a collection of declarative and object-oriented
2423classes for the color palettes of popular brands and companies.
2524
26- In addition, this package is fully tested — 100% code coverage —, well
27- documented, and goes through a CI pipeline with rigorous quality gates.
25+ For example, to get all the Instagram's colors at once as a ` List<Color> `
26+ object, simply declare ` InstagramGrad.colors ` — the 'Grad' suffix is short for
27+ _ Gradient_ .
28+
29+ To get a single color, you just state which of the brand's colors you want. E.g.
30+ ` Instagram.royalBlue ` retrieves the Instagram's royal blue color;
31+ ` Instagram.yellow ` , the Instagram's yellow color; and so on.
32+
33+ In addition, each class is well-documented and fully unit-tested — this package
34+ has achieved 100% code coverage and goes through a CI pipeline with rigorous
35+ quality gates.
2836
2937## Contents
3038
3139- [ Overview] ( #overview )
3240- [ Getting Started] ( #getting-started )
3341- [ Color Palettes in action] ( #color-palettes-in-action )
42+ - [ Color Gradient in action] ( #color-gradient-in-action )
43+ - [ Color Gradients] ( #color-palettes-in-action )
3444- [ Demo application] ( #demo-application )
3545- [ I need the 'X' color palettes] ( #i-need-the-x-brand-color-palette )
3646- [ List of Color Palettes] ( #list-of-color-palettes-a-z )
@@ -62,6 +72,27 @@ class FacebookIsh extends StatelessWidget {
6272}
6373```
6474
75+ ## Color Gradient in Action
76+
77+ ``` dart
78+
79+ /// Rectangle filled with Google logo color gradient.
80+ class Googleish extends StatelessWidget {
81+
82+ @override
83+ Widget build(BuildContext context) {
84+ return Container(
85+ height: kToolbarHeight / 2,
86+ decoration: BoxDecoration(
87+ gradient: LinearGradient(
88+ colors: GoogleGrad().colors,
89+ ),
90+ ),
91+ );
92+ }
93+
94+ ```
95+
6596## Demo application
6697
6798The demo application provides a fully working example, focused on demonstrating
@@ -87,11 +118,15 @@ Do you need any brand that has not yet been implemented?
87118
88119- Just open an
89120 [ issue] ( https://github.com/dartoos-dev/flutter_brand_palettes/issues ) , enter
90- the brand or company name, and it will be implemented as soon as possible.
121+ the brand or company name, and the brand colors will be implemented as soon as
122+ possible.
123+
124+ ** Note:** It doesn't matter the size or relevance of the company, not even if it
125+ is a tech company.
91126
92127## List of Color Palettes (A-Z)
93128
94- For more in-depth details — the colors hex codes, classes, etc. —, check the
129+ For more in-depth details — such as the hex codes, classes, etc. —, check the
95130[ color-palettes] ( https://pub.dev/documentation/flutter_brand_palettes/latest/palettes/palettes-library.html )
96131API documentation.
97132
0 commit comments