Flutter is matching multiple routes with a single route.

I have registered 3 routes, and set the initial route to '/one'

MaterialApp( routes: { '/': (context) => RootPage(), '/one': (context) => OnePage(), '/one/two': (context) => TwoPage(), }, initialRoute: '/one', ),