Skip to content

Conversation

Husnain-Asharf
Copy link

If the parent widget rebuilds , the framework will update the [widget] property of this [State] object to refer to the new widget and then call this method with the previous widget as an argument.

Override this method to respond when the [widget] changes.

The framework always calls [build] after calling [didUpdateWidget], which means setState not required in thi function.

I used this function update current date if it's change and animate to this date.

@iamvivekkaushik iamvivekkaushik force-pushed the master branch 3 times, most recently from 208d012 to 955a106 Compare June 17, 2023 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant