I want to know how many views are in the \'Navigator\', but Navigator().pages.length has no effect,
Navigator().pages.length
I found that: \'To use this API, an [onPopPage] callback