Skip to content

Commit

Permalink
Added example.
Browse files Browse the repository at this point in the history
  • Loading branch information
signmotion committed Mar 30, 2024
1 parent 997ab95 commit 94f2612
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,19 @@ Share some ❤️ and star repo to support the project.
## Usage

```dart
TODO
final c = 0x1805db.rgbInt8Color;
print(c.int24Hex);
print(c.hasAlpha);
print('Red channel: #${c.r.hex()}');
```

```text
TODO
1805db
false
Red channel: #18
```

See also [uni_color_palette](https://github.com/signmotion/uni_color_palette) `example/all_palettes` forlder with Flutter example that visualize palette.
See also [UniColorPalette](https://github.com/signmotion/uni_color_palette) `example/all_palettes` folder with Flutter example that visualize palette.

## Color Palettes

Expand Down
2 changes: 1 addition & 1 deletion example/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Example

See also `all_palettes` forlder with Flutter example.
See also the package [UniColorPalette](https://github.com/signmotion/uni_color_palette) `example/all_palettes` folder with Flutter example that visualize palette.

## Getting Started

Expand Down

0 comments on commit 94f2612

Please sign in to comment.