Flutter provides callback(WidgetsBinding.instance.addPostFrameCallback), with help of this, we can call method after build method.
Here we use addPostFrameCallback and define our custom function which we want to run after build method.
Output:
Work with our skilled Flutter developers to accelerate your project and boost its performance.
Hire Flutter Developers