Chachako
02/21/2021, 6:47 PMfindRenderObject().toImage()
in flutter, I really hope this exists, because the performance cost of cropping the widget area after using PixelCopy
to screenshot the entire window view may be expensive.
2. I'm not sure if there is an api on compose that can monitor the changes of all components, similar to the native View.doOnPreDraw
, if it does not exist, then I will try to refresh the blur by monitoring the changes of window view, but if it is invalid for compose, Then I may need to refresh every 100ms, which would be terrible!romainguy
02/21/2021, 7:10 PMromainguy
02/21/2021, 7:10 PMromainguy
02/21/2021, 7:12 PMSamir Basnet
02/21/2021, 11:29 PMChachako
02/22/2021, 2:22 AMromainguy
02/22/2021, 2:42 AMChachako
02/22/2021, 2:56 AMwindowView.draw
to draw the entire window view, then at this time, I must perform a clip operation, that's it... In short, all screen capture methods should be required once clip operation, the difference is that PixelCopy will be done automatically, while View.draw needs to be clip manuallyromainguy
02/22/2021, 3:00 AMChachako
02/22/2021, 3:19 AM