0

I am using visibility detector in flutter to check for 100% visibility of a widget. But even when the widget is behind a fixed app bar the visibility detector considers it to be 100% visible. What is the solution for considering it to be visible only when its below navigation bar?

4
  • 1
    can you provide more context? Commented Dec 8, 2022 at 14:10
  • Sounds like a XY problem Commented Dec 8, 2022 at 14:27
  • @SuzZan The visibility detector considering visibility to be 100% even when the portion of it is hidden below a fixed app bar. But want I solution that visibility is considered only for portion that is outside nav bar i.e., less than 100%. Commented Dec 9, 2022 at 6:03
  • Can you share the code snippet? Commented Dec 9, 2022 at 6:35

0

Browse other questions tagged or ask your own question.