We will look at these properties in detail below. The value of subtitle, which is optional, will occupy the space allocated for an additional line of text, or two lines if isThreeLine is true. The first line of text is not optional and is specified with title. The icons (or other widgets) for the tile are defined with the leading and trailing parameters. “A single fixed-height row that typically contains some text as well as a leading or trailing icon”Ī list tile contains one to three lines of text optionally flanked by icons or other widgets, such as checkboxes.
You can create a ListWidget and make use of ListTile as its children. These widgets are much more flexible and often used along with a List in Flutter. ListTile in Flutter is similar to the concept of Cards in Android.
ListTile in Flutter with Example in Android Studio