Skip to content

Commit bce9735

Browse files
[palette_generator] Remove unmanaged code snippet (#7962)
Simplifies the README so that it no longer uses a code snippet, as the snippet was not adding any value over pub.dev instructions, and removes it from the code-excerpt exclusion list. Part of flutter/flutter#102679
1 parent a4c7bf5 commit bce9735

File tree

4 files changed

+5
-11
lines changed

4 files changed

+5
-11
lines changed

packages/palette_generator/CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
## NEXT
1+
## 0.3.3+5
22

3+
* Updates README to link to the published example.
34
* Updates minimum supported SDK version to Flutter 3.19/Dart 3.3.
45

56
## 0.3.3+4

packages/palette_generator/README.md

+2-8
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,5 @@ find colors for a user interface.
77

88
## Example
99

10-
Import the library via
11-
12-
```dart
13-
import 'package:palette_generator/palette_generator.dart';
14-
```
15-
16-
Then use the `PaletteGenerator` Dart class in your code. To see how this is done,
17-
check out the [image_colors example app](example/).
10+
To see how to use the `PaletteGenerator` class in your code, see
11+
[the example app](https://pub.dev/packages/palette_generator/example).

packages/palette_generator/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: palette_generator
22
description: Flutter package for generating palette colors from a source image.
33
repository: https://github.com./flutter/packages/tree/main/packages/palette_generator
44
issue_tracker: https://github.com./flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+palette_generator%22
5-
version: 0.3.3+4
5+
version: 0.3.3+5
66

77
environment:
88
sdk: ^3.3.0

script/configs/temp_exclude_excerpt.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@
77
# https://github.com./flutter/flutter/issues/102679
88
- espresso
99
- in_app_purchase/in_app_purchase
10-
- palette_generator
1110
- pointer_interceptor
1211
- quick_actions/quick_actions

0 commit comments

Comments
 (0)