-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Export characters #59620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export characters #59620
Conversation
| library widgets; | ||
|
|
||
| export 'package:vector_math/vector_math_64.dart' show Matrix4; | ||
| export 'package:characters/characters.dart'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a better place to export this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like the best option in lib/*.dart
|
Exporting this lgtm from a Dart PoV! |
HansMuller
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| library widgets; | ||
|
|
||
| export 'package:vector_math/vector_math_64.dart' show Matrix4; | ||
| export 'package:characters/characters.dart'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like the best option in lib/*.dart
goderbauer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
I'm holding off on merging this PR while I fix some logistical problems that caused #53381 to be reverted. |
|
Google testing failed... |
|
This or #59778 appears to have broken google3 despite my CL to add characters to google3. I must be missing some step. |
Description
We recently landed support for Dart's characters package in #59267. In order to encourage developers to use it in their own projects, what if we export it as a part of Flutter?
Previously, users that wanted to properly handle emojis in Flutter had to install and import the characters package before they could do that. With this PR, they would automatically have access to
string.characterswherever they're using Flutter. This makes the barrier much lower for properly handling complex characters.Related Issues
Closes #55593
Tests
I tested that the characters package is available and works without importing/installing it.
Breaking Change
None