children property

List<Widget> children
final

The list of pages to display.

Each page corresponds to a button in the navigation rail. The number of children should match the number of buttons.

The preferred type is NavPage.

Implementation

final List<Widget> children;