Dart2 doesn't like getters generated with noSuchMethod, says The getter isn't defined for the class · Issue #34183 · dart-lang/sdk · GitHub
![Try correcting the name to the name of an existing getter, or defining a getter or field named 'isInitialRoute' - Stack Overflow Try correcting the name to the name of an existing getter, or defining a getter or field named 'isInitialRoute' - Stack Overflow](https://i.stack.imgur.com/IDDs0.png)
Try correcting the name to the name of an existing getter, or defining a getter or field named 'isInitialRoute' - Stack Overflow
![How to resolve Error: The getter 'body1' isn't defined for the class 'TextTheme' in flutter? - Stack Overflow How to resolve Error: The getter 'body1' isn't defined for the class 'TextTheme' in flutter? - Stack Overflow](https://i.stack.imgur.com/GSZOh.png)