Reputation: 141
I want to call a function after modal bottom sheet built. But i could not check bottom sheet build. How can i check modal bottom sheet visibility and it is build?
Upvotes: 0
Views: 569
Reputation: 674
showModalBottomSheet(context: context, builder: (context) => Container())
.then((value) => print('i am visible now!'));
Upvotes: 1