You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the percentage observer won't work well because it'll always lag by one frame.
To resolve this:
You could create a kind of RenderObject that takes the percentage as one of the constraints. Maybe its constraints could be a class with a double (the percentage) and a BoxConstraints object, and its child would be a RenderBox to which you pass the BoxConstraints. If you model this render object after the LayoutBuilder widget and its render object, you can have the same API you have today but without the lag.
The text was updated successfully, but these errors were encountered:
As stated by Hixie (flutter/flutter#466 (comment)):
To resolve this:
The text was updated successfully, but these errors were encountered: