我收到此错误:
I/flutter (29346): ??? EXCEPTION CAUGHT BY WIDGETS LIBRARY ????????????????????????????????????????????????????????????
I/flutter (29346): The following assertion was thrown building MainLogic(dirty, state: _MainLogic#9c794):
I/flutter (29346): setState() or markNeedsBuild() called during build.
I/flutter (29346): This InhWidget widget cannot be marked as needing to build because the framework is already in the
I/flutter (29346): process of building widgets. A widget can be marked as needing to be built during the build phase
I/flutter (29346): only if one of its ancestors is currently building. This …Run Code Online (Sandbox Code Playgroud) 我正在学习状态管理,flutter大部分时间遇到单词business logic ui logic,有一段时间presentation logic,我在互联网上搜索它,人们用不同的语言解释它,我无法更好地理解,有人可以展示这三种类型logic以一个例子的形式解释它很干净和容易吗?