emowise
emowise

Reputation: 141

Flutter ModalBottomSheet visibility

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

Answers (1)

Karol Lisiewicz
Karol Lisiewicz

Reputation: 674

showModalBottomSheet(context: context, builder: (context) => Container())
        .then((value) => print('i am visible now!'));

Upvotes: 1

Related Questions