Skip to content

painting and widgets libraries should export FontFeature #87235

Closed

Description

@Hixie

Since FontFeature is part of the TextStyle API in painting, and TextStyle is part of the Text API in widgets, both should export FontFeature.

Ideally we'd have a lint that catches this kind of thing. A library should export all the types in the APIs it exposes.

cc @a14n

Activity

  1. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    a: qualityA truly polished experience
    P3Issues that are less important to the Flutter project
    on Jul 28, 2021
  2. Hixie commented on Jul 28, 2021

    @Hixie
    ContributorAuthor

    Similar problem with ImageFilter.

  3. Hixie commented on Aug 5, 2021

    @Hixie
    ContributorAuthor

    Similarly material should expose SystemUiOverlayStyle since it's used in AppBar.

  4. Hixie commented on Aug 6, 2021

    @Hixie
    ContributorAuthor

    DragStartBehavior is used by a bunch of things in widgets but not re-exported.

  5. Hixie commented on Sep 7, 2021

    @Hixie
    ContributorAuthor

    LogicalKeyboardKey and a number of related types are exposed by Focus but not re-exported.

  6. self-assigned this
    on Nov 24, 2023
  7. Hixie commented on Nov 29, 2023

    @Hixie
    ContributorAuthor

    i'm going to close this one and fix it on a case-by-case basis when i run into it.

  8. github-actions commented on Dec 13, 2023

    @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.

  9. locked as resolved and limited conversation to collaborators on Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3Issues that are less important to the Flutter projecta: qualityA truly polished experienceframeworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions