NavigatorCubit constructor

NavigatorCubit({
  1. required Page root,
})

Constructs a NavigatorCubit with the given root page.

The root will be the first Page displayed.

Implementation

NavigatorCubit({required Page root}) : super([root]);