autoRebuild property
When set to true, the build function will be called whenever the controller changes.
It is set to true
by default.
This can be useful for optimizing performance in complex widgets. When setting this to false, you can manage which part of the ui you want to rebuild, such as using the AnimationBuilder widget.
Implementation
@override
bool get autoRebuild => true;