children property Null safety

List<Widget> children
final

The list of rows in the section.

This takes a list, as opposed to a more efficient builder function that lazy builds, because forms are intended to be short in row count. It is recommended that only CupertinoFormRow and CupertinoTextFormFieldRow widgets be included in the children list in order to retain the iOS look.

Implementation

final List<Widget> children;