children property Null safety

List<Widget>? children
final

The list of rows in the section. Usually a list of CupertinoListTiles.

This takes a list, as opposed to a more efficient builder function that lazy builds, because such lists are intended to be short in row count. It is recommended that only CupertinoListTile widget be included in the children list in order to retain the iOS look.

Implementation

final List<Widget>? children;