Skip to content

[iOS 13] Support for Cupertino SF Symbols #33916

Closed

Description

@rodydavis

Use case

1500 Native Cupertino Symbols announced at WWDC
https://developer.apple.com/design/human-interface-guidelines/sf-symbols/

Proposal

Add to CupertinoIcons Class?

Activity

  1. rodydavis commented on Jun 5, 2019

    @rodydavis
    ContributorAuthor

    Screen Shot 2019-06-05 at 9 29 34 AM

  2. added
    p: cupertino_uicupertino_ui package in flutter/packages
    c: new featureNothing broken; request for a new capability
    on Jun 5, 2019
  3. changed the title [-]Support for Cupertino SF Symbols[/-] [+][iOS13] Support for Cupertino SF Symbols[/+] on Jun 19, 2019
  4. changed the title [-][iOS13] Support for Cupertino SF Symbols[/-] [+][iOS 13] Support for Cupertino SF Symbols[/+] on Jun 19, 2019
  5. kerberjg commented on Nov 25, 2019

    @kerberjg
    Contributor

    This guide seems like a good start.

    We can just extract the TTF and map all the Unicode symbols that way.

    If needed, this tool can be helpful to convert all of the symbols to SVG

  6. kerberjg commented on Nov 25, 2019

    @kerberjg
    Contributor

    UPDATE: all glyphs seem to be contained in SF Pro Display, and can be visualized with an app like Typeface, with all the Unicode values exposed

    image

    A good range to start could be 0x2190~0x1007BF (suggesting a total of 1041967 symbols)

  7. kerberjg commented on Nov 25, 2019

    @kerberjg
    Contributor

    UPDATE 2: seems actual SF Symbols glyphs start at 0x100000 but from this value on Flutter on iOS 13 (Simulator) renders them like this:

    image

  8. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Nov 26, 2019
  9. delef commented on Jan 3, 2020

    @delef

    Is there progress?

  10. edeuss commented on Jan 5, 2020

    @edeuss

    @kerberjg How do you find the 0x100000 icon numbers? I just manually imported the font to my project.

  11. virskor commented on Jan 9, 2020

    @virskor

    https://github.com/virskor/flutter_sfsymbols

    Hope this can help you guys.😊

  12. kerberjg commented on Jan 9, 2020

    @kerberjg
    Contributor

    @EliasDeuss I just took the font file mentioned in one of the links I posted, and opened it with Typeface, like shown in the screenshot

    @virskor This does seem helpful, thank you! Can you elaborate on how you obtained the font file in your library?

  13. virskor commented on Jan 10, 2020

    @virskor

    @EliasDeuss I just took the font file mentioned in one of the links I posted, and opened it with Typeface, like shown in the screenshot

    @virskor This does seem helpful, thank you! Can you elaborate on how you obtained the font file in your library?

    I am just using font forge modified Framework7's icons. I am using this to simulate a sf symbol. Hope it can help. Thanks

  14. added
    customer: crowdAffects or could affect many people, though not necessarily a specific customer.
    on Apr 6, 2020
  15. xster commented on Sep 4, 2020

    @xster
    Member

    This is now available on master channel if you upgrade the cupertino_icons package to 1.0.0. It will roll to stable at some point in the next month.

    The list of available icons is at http://flutter.github.io/cupertino_icons.

  16. RyanRamchandar commented on Sep 4, 2020

    @RyanRamchandar

    @xster simply adding 1.0.0 to pubspec on stable won't give access to the new icons?

  17. xster commented on Sep 4, 2020

    @xster
    Member

    If you update to 1.0.0 on stable, many of the existing icon references will update to the new look, but you won't be able to access any of the new icons (unless you use RichText and reference their glyph codepoints in the icon font specifically which isn't ergonomic).

  18. Hannnes1 commented on Apr 6, 2021

    @Hannnes1
    Contributor

    Are all icons that are available in the SF Display Pro font supposed to be available in Flutter? I tried to to use the icon with the code U+1007BD (Heart with a bolt), but I can't find it. I tried to find it using the code as well, but I can't figure out how the codePoint in icons.dart relates to the code shown when hovering over an icon in the typeface app.

  19. github-actions commented on Aug 3, 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.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: new featureNothing broken; request for a new capabilitycustomer: crowdAffects or could affect many people, though not necessarily a specific customer.frameworkflutter/packages/flutter repository. See also f: labels.p: cupertino_uicupertino_ui package in flutter/packages

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions