Flutter Listtile Shape

[Solved] Flutter Listtile Shape | Dart - Code Explorer | yomemimo.com
Question : flutter listtile shape

Answered by : sore-serval-d2a40v4h8jp2

ListTile( shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(20.0)), selected: true, selectedTileColor: Colors.grey[300], leading: FlutterLogo(), title: Text('ListTile'), ),

Source : | Last Update : Wed, 01 Sep 21

Question : listtile shape flutter

Answered by : sainfain

Container( margin: const EdgeInsets.symmetric(vertical: 7.0, horizontal: 2.0), decoration: BoxDecoration( borderRadius: BorderRadius.circular(12.0), color: white, border: Border.all( color: blackTrans, ), boxShadow: [ BoxShadow( color: Colors.purple[100]!, offset: const Offset( 5.0, 5.0, ), blurRadius: 10.0, spreadRadius: 2.0, ), //BoxShadow const BoxShadow( color: Colors.white, offset: Offset(0.0, 0.0), blurRadius: 0.0, spreadRadius: 0.0, ), //BoxShadow ], ), child: ListTile( onTap: () { print('${articles[index].titreArticle}'); }, title: Text('${articles[index].titreArticle}'), subtitle: Text( '${articles[index].description}', overflow: TextOverflow.ellipsis, ), isThreeLine: true, leading: CircleAvatar( radius: 22.sp, foregroundImage: NetworkImage('${articles[index].photo}'), ), trailing: Text('${articles[index].price} FCFA'), ), );

Source : | Last Update : Fri, 28 Jan 22

Answers related to flutter listtile shape

Code Explorer Popular Question For Dart