Skip to content

libtxt: Text shadow #3402

Description

@cooler-king

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.

Activity

  1. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Apr 19, 2016
  2. added
    c: new featureNothing broken; request for a new capability
    engineflutter/engine related. See also e: labels.
    on Apr 19, 2016
  3. added this to the Next milestone on Apr 24, 2016
  4. modified the milestones: , Next on Aug 1, 2016
  5. cooler-king commented on Sep 26, 2016

    @cooler-king
    Author

    So this won't be addressed any time soon?

  6. abarth commented on Sep 26, 2016

    @abarth
    Contributor

    Looks like this is currently prioritized as something we want in the intermediate term but not something we need immediately.

  7. changed the title [-]Text shadow[/-] [+]libtxt: Text shadow[/+] on Jan 10, 2018
  8. modified the milestones: , on Jan 10, 2018
  9. dvdwasibi commented on Jan 27, 2018

    @dvdwasibi

    Customer Pink requires this feature.

  10. Hixie commented on Jan 29, 2018

    @Hixie
    Contributor

    @dvdwasibi You can fake it for now by blurring one text widget at on offset, then putting another on top.

  11. 5 remaining items

  12. eseidelGoogle commented on Jun 26, 2018

    @eseidelGoogle
    Contributor

    customer: dream is also interested in this. We'll need to discuss their needs in more detail.

  13. denpalrius commented on Jul 10, 2018

    @denpalrius

    Eagerly hopeful for an easier way to achieve this, other than the BackdropFilter option

  14. sir-boformer commented on Jul 31, 2018

    @sir-boformer
    Contributor

    Also waiting for this!

  15. morfinismo commented on Aug 18, 2018

    @morfinismo

    This is indispensable!

  16. rockingdice commented on Aug 29, 2018

    @rockingdice

    Need this really. Not a workaround but a solid feature.

  17. self-assigned this
    on Sep 26, 2018
  18. GaryQian commented on Sep 28, 2018

    @GaryQian
    Contributor

    PR:
    #22449 (framework)
    flutter-team-archive/engine#6385 (engine)

  19. GaryQian commented on Oct 17, 2018

    @GaryQian
    Contributor

    Text shadows have landed with bdc3dda

    To enable shadows, provide a List<Shadow> to TextStyle.shadows:

    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),
          ),
        ],
      ),
    ),
    
    ...
  20. github-actions commented on Aug 31, 2021

    @github-actions

    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 flutter doctor -v and a minimal reproduction of the issue.

  21. locked as resolved and limited conversation to collaborators on Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

c: new featureNothing broken; request for a new capabilitycustomer: dream (g3)customer: fuchsiaengineflutter/engine related. See also e: labels.frameworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions