MaterialPage#
MaterialPage(
- key:
A widget key used to preserve state.
- name:
The name of the page used for navigation history.
- arguments:
Data passed to the page (similar to Navigator arguments).
- restorationId:
Used for state restoration.
- child:
The widget content of the page. β Most important parameter β this is your screen/page widget.
- maintainState:
Whether to keep the state of the page alive when itβs not visible. Default: true.
- fullscreenDialog:
Whether the page should appear as a fullscreen dialog (iOS-style modal).
)