Skip to content

[Proposal] TextButton.icon missing Alignment of icon  #89564

@parmarravi

Description

@parmarravi

Please Add the position of the icon to change in TextButton.icon by default is on the left and side and there is no way to change it.

Usecase

Suppose we have a view pager with two buttons on the bottom. One with the Previous button and One with the Next Button aligned in a row

image

TextButton.icon(
    onPressed: () {},
    style: ButtonStyle(),
    label: Text("Next"),
    icon: Icon(Icons.arrow_forward_ios_rounded),
)

Metadata

Metadata

Assignees

Labels

P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions