MaterialPage#

MaterialPage(

  1. key:
    • A widget key used to preserve state.

  2. name:
    • The name of the page used for navigation history.

  3. arguments:
    • Data passed to the page (similar to Navigator arguments).

  4. restorationId:
    • Used for state restoration.

  5. child:
    • The widget content of the page. ⭐ Most important parameter β€” this is your screen/page widget.

  6. maintainState:
    • Whether to keep the state of the page alive when it’s not visible. Default: true.

  7. fullscreenDialog:
    • Whether the page should appear as a fullscreen dialog (iOS-style modal).

)

βœ…1.key:#

βœ…2.name:#

βœ…3.arguments:#

βœ…4.restorationId:#

βœ…5.child:#

βœ…6.maintainState:#

βœ…7.fullscreenDialog:#