Recently, I learned a cross-platform solution based on an APP that wants to implement a collection of commonly used personal functions. Then began to study Flutter, through the article to record the learning gains.
The main content of this article is to introduce the way of state management in Flutter and the choice of different ways.
Problems encountered When using the Repository interface, if the query result of the findBy method is empty, a null pointer exception java.lang.NullPointerException will be reported, and if the query result is not empty, you can pass the test.