Skip to content

Removing use of the css_colors package which is no longer used#13225

Open
sfshaza2 wants to merge 5 commits intomainfrom
issue-12099-using-packages
Open

Removing use of the css_colors package which is no longer used#13225
sfshaza2 wants to merge 5 commits intomainfrom
issue-12099-using-packages

Conversation

@sfshaza2
Copy link
Copy Markdown
Contributor

Fixes #12099

@sfshaza2 sfshaza2 requested a review from khanhnwin March 26, 2026 23:43
@sfshaza2 sfshaza2 requested a review from a team as a code owner March 26, 2026 23:43
Fixes #11598

Note to reviewers: Do we still need/want this?

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request replaces the css_colors package with the english_words package across the documentation and example code. Key updates include modifying the pubspec.yaml dependencies, updating the example Dart implementation to display random word pairs, and revising the 'Using packages' guide to use english_words as the primary example. I have no feedback to provide.

@flutter-website-bot
Copy link
Copy Markdown
Collaborator

Visit the preview URL for this PR (updated for commit 088f89c):

https://flutter-docs-prod--pr13225-issue-12099-using-packages-cwo9rrvb.web.app

@flutter-website-bot
Copy link
Copy Markdown
Collaborator

flutter-website-bot commented Mar 26, 2026

Visit the preview URL for this PR (updated for commit 14ddb40):

https://flutter-docs-prod--pr13225-issue-12099-using-packages-cwo9rrvb.web.app

Copy link
Copy Markdown
Member

@parlough parlough left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

To use this package:

1. Create a new project called `cssdemo`.
1. Create a new project called `wordsdemo`.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
1. Create a new project called `wordsdemo`.
1. Create a new project called `words_demo`.

Comment on lines +394 to 404
1. Open `pubspec.yaml`, and add the `english_words` dependency:

```yaml
dependencies:
flutter:
sdk: flutter
css_colors: ^1.0.0
english_words: ^4.0.0
```

1. Run `flutter pub get` in the terminal,
or click **Get Packages** in VS Code.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider replacing these steps with a single one to just run dart pub add english_words. Simpler and easier to keep up to date.

Comment on lines +387 to +388
The [`english_words`][] package
contains a few thousand of the most used English words plus some utility functions.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The [`english_words`][] package
contains a few thousand of the most used English words plus some utility functions.
The [`english_words`][] package contains a
few thousand of the most used English words plus some utility functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate using-packages off of css_colors

3 participants