dense:true
is used for smaller text and packs things in smaller space
is used for handling space between contentPadding
ListTile
border and other widgets like title, subtitle
, and leading
The default is 16.0 but here we will set it to 0.0:
ListTile( dense:true, title: Text("Your title"), subtitle: Text("subtitle", style: TextStyle(fontSize: 12.0),), contentPadding: EdgeInsets.symmetric(vertical: 0.0, horizontal: 0.0) );