Skip to main content

Example

Properties

Required

List<Widget>
required
The list of widgets to display in the topbar area. While you have full flexibility, this typically contains navigation elements, branding, or action buttons.
Widget
required
The main content widget that will be displayed below the topbar. Typically const AutoRouter() when using Neo’s recommended routing approach, but can be any widget that represents your main content area.

Best Practices

  • Use child: const AutoRouter() for nested routing.
  • Wrap the page in Container(color: theme.colors.bgPrimary), then NeoSafeArea, then the page content.
Last modified on September 30, 2026