flutter_native_view icon indicating copy to clipboard operation
flutter_native_view copied to clipboard

[Dart] Efficiently detect changes in position/size of NativeView

Open alexmercerind opened this issue 3 years ago • 1 comments

Right now, I just use following extension to get global coordinates of a Widget & it works great: https://github.com/alexmercerind/flutter_native_view/blob/783dc566a0b51e724b6f6a5be1cd195fb34ce591/lib/src/widgets.dart#L116-L127

But, the problem is what can be an efficient way to detect when a Widget is moved on the screen or it's size is changed.

If anyone experienced in Flutter/Dart has some idea about this, please feel free to share.

Thanks.

alexmercerind avatar Mar 15 '22 19:03 alexmercerind