Open
Description
Use case
When displaying file-paths, I'd prefer to show the file-name and clip the file-path.
In this example, it's not possible to see the filenames:
Text(
'/root/sdcard/storage/camera/2019-11-20 12:12:11 a-file-with-a-long-path.png',
overflow: TextOverflow.ellipsis,
)
Proposal
Allow TextOverflow to clip text on the leading edge rather than the trailing edge.
Internal bug - b/180975303
Metadata
Metadata
Assignees
Labels
Important issues not at the top of the work listText rendering, possibly libtxtNothing broken; request for a new capabilityA detailed proposal for a change to FlutterAffects or could affect many people, though not necessarily a specific customer.Various Google teamsflutter/packages/flutter repository. See also f: labels.Owned by Framework teamTriaged by Framework team
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
feinstein commentedon Dec 22, 2019
As I said in #47543 I suggest
TextOverflow.ellipsisStart
,TextOverflow.ellipsisMiddle
andTextOverflow.ellipsisEnd
.[-]TextOverflow on leading edge[/-][+]Add TextOverflow "ellipsisStart" , "ellipsisMiddle" and "ellipsisEnd" [/+]trqalothman commentedon Mar 22, 2020
feinstein commentedon Mar 22, 2020
trqalothman commentedon Mar 29, 2020
feinstein commentedon Mar 29, 2020
Give it a 👍🏻 (as they prioritize based on thumbs up count) and hope someone will get to fix it.
trqalothman commentedon Apr 1, 2020
57 remaining items