Copy & pasting the example in readme actually doesn't work. No MediaQuery ancestor could be found starting from the context that was passed to MediaQuery.of().