Flutter ListTile Widget - A complete guide with example

Описание к видео Flutter ListTile Widget - A complete guide with example

Hello, folks.
Welcome back to my channel.
Please Subscribe to our channel:
   • Operators in Dart Programming - Basic...  

It is not easy no be programmer,
But don’t give up and keep working on it.
And you will be successful in the future.

If you find my channel useful, subscribe and share with your friends.

Thank you.



Below is the description of the widget.


A list tile contains one to three lines of text optionally flanked by icons or other widgets, such as check boxes. The icons (or other widgets) for the tile are defined with the leading and trailing parameters. The first line of text is not optional and is specified with title. 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. If dense is true then the overall height of this tile and the size of the DefaultTextStyles that wrap the title and subtitle widget are reduced.
It is the responsibility of the caller to ensure that title does not wrap, and to ensure that subtitle doesn't wrap (if isThreeLine is false) or wraps to two lines (if it is true).
The heights of the leading and trailing widgets are constrained according to the Material spec. An exception is made for one-line ListTiles for accessibility. Please see the example below to see how to adhere to both Material spec and accessibility requirements.
The leading and trailing widgets can expand as far as they wish horizontally, so ensure that they are properly constrained.
List tiles are typically used in ListViews, or arranged in Columns in Drawers and Cards.
This widget requires a Material widget ancestor in the tree to paint itself on, which is typically provided by the app's Scaffold. The tileColor, selectedTileColor, focusColor, and hoverColor are not painted by the ListTile itself but by the Material widget ancestor. In this case, one can wrap a Material widget around the ListTile


#FlutterDev ,#DartLang ,#FlutterUI ,#FlutterCommunity , #FlutterPlugin ,#FlutterWeb ,#FlutterTips , #FlutterWidgets, #FlutterAnimation , #FlutterStateManagement #coding #programming #googleflutter #appdevelopment #beginnercoding #list #codelikeapro #codingtutorial #tutorials #codingwithmobile

Thanks and Regards.
Davis Dev Channel

Комментарии

Информация по комментариям в разработке