Did you know?
By overriding ThemeData.platform
inside MaterialApp
, you can quickly test all your adaptive UI code, such as:
- all adaptive widgets
- any conditional code that checks the platform
Much faster than choosing a different emulator/device and running from scratch 👍
Happy coding!