Skip to content

How to use Font Weights with names? #28543

@feinstein

Description

@feinstein

I want to use Roboto Medium as my font, but I can only see options like FontWeight.bold for setting the font weight and it's not close to Roboto Medium.

Is it possible to access the name of a given Font Weight defined in a Font?

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: typographyText rendering, possibly libtxtd: api docsIssues with https://api.flutter.dev/frameworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework teamwaiting for PR to land (fixed)A fix is in flight

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions