setWillChange method
Updates the willChange property and triggers a rebuild. This does not rebuild the child widget.
value
- The new value for willChange.
Implementation
void setWillChange(bool value) {
setState(() {
willChange = value;
});
}