-
Notifications
You must be signed in to change notification settings - Fork 27.2k
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
libtxt: Text shadow #3402
Comments
So this won't be addressed any time soon? |
Looks like this is currently prioritized as something we want in the intermediate term but not something we need immediately. |
Customer Pink requires this feature. |
@dvdwasibi You can fake it for now by blurring one text widget at on offset, then putting another on top. |
Here's an example of the workaround Ian mentioned. |
The example uses BackdropFilter, which is likely quite slow. We should ideally implement ImageFilter (#13489) and then use that. |
customer: dream is also interested in this. We'll need to discuss their needs in more detail. |
Eagerly hopeful for an easier way to achieve this, other than the BackdropFilter option |
Also waiting for this! |
This is indispensable! |
Need this really. Not a workaround but a solid feature. |
PR: |
Text shadows have landed with bdc3dda To enable shadows, provide a import 'dart:ui';
...
Text(
'Hello, world!',
style: TextStyle(
shadows: <Shadow>[
Shadow(
offset: Offset(10.0, 10.0),
blurRadius: 3.0,
color: Color.fromARGB(255, 0, 0, 0),
),
Shadow(
offset: Offset(10.0, 10.0),
blurRadius: 8.0,
color: Color.fromARGB(125, 0, 0, 255),
),
],
),
),
... |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Add support for text shadowing as in CSS.
Or point me to it if it already exists; doesn't seem to be in TextStyle or TextDecoration.
The text was updated successfully, but these errors were encountered: