Align ListTile Icon to Left

10,813

leading property is what you are looking for:

  ListTile(
        leading: Icon(Icons.access_alarm),
         ...
      )

Refer to this documentation ListTile-leading

Share:
10,813
Joseph Arriaza
Author by

Joseph Arriaza

I am a full stack developer that have knowledge in a lot of technologies, like front end frameworks, like Angular, AngularJS, ReactJS, etc, also I have a knowledge using back end technologies, building APIs using Java, PHP & C#. In my current work, we give services to companies in the US, so far, I have worked for Telecom Service Bureau building APIs and Front End interfaces, and also I work for Front Stream giving support to its system.

Updated on June 07, 2022

Comments

  • Joseph Arriaza
    Joseph Arriaza 6 months

    Is there a way to align an icon before the title using a ListTile? I know that trailing aligns the icon after the title. Is there a reverse way?

  • sgelves almost 4 years
    There is one issue about this solution, it is that the margin of the title to the leading is assigned automatically. How could it be changed?