rect_getter icon indicating copy to clipboard operation
rect_getter copied to clipboard

A widget provide a simple way to get child`s rectangle information after rendered.

Results 7 rect_getter issues
Sort by recently updated
recently updated
newest added

Please update this package with nullsafety

I see the following error because I can't specify type of created global key: ![image](https://user-images.githubusercontent.com/18165303/141656565-a1bddcbe-bb8a-4dbb-843f-086074170471.png)

我的代码逻辑大致为根据 https://juejin.cn/post/6844903650737782792 实现的滚动监听哪些item可见,根据列表位置判断显示、隐藏顶部TabBar(使用AnimatedSwitcher), 但是,在一定情况下,当点击某个按钮进入下个页面的时候,NotificationListener上的onNotification也会执行,同时RectGetter.getRectFromKey会报错: 周末补上代码PoC。 ``` ======== Exception caught by rendering library ===================================================== The following assertion was thrown during performLayout(): RenderBox.size accessed beyond the scope of resize, layout, or permitted...

I got the error "package:flutter/src/rendering/object.dart': Failed assertion: line 2377 pos 12: 'attached': is not true" Code: .... itemBuilder: (context, index){ Rect itemRect = RectGetter.getRectFromKey(myobject.key); myobject.isShowing = (itemRect != null &&...

I have a ListView.builder() with 10000+ items. And I want to use var globalKey = RectGetter.createGlobalKey(); for each item. Do you think this would be a performance/memory issue to use...

with RectGetter widget we can detect visible items into ListView, for example: ``` List getVisible() { var rect = RectGetter.getRectFromKey(listViewKey); var _items = []; _keys.forEach((index, key) { var itemRect =...

update dart sdk and add some gitignore gitignore copy write by [flutter gitignore](https://github.com/flutter/flutter/blob/master/.gitignore)