onResize method
void
onResize()
Relays a resize event to the VisualEffectSubviewContainer and forcefully triggers an update of its visual effect subview.
This method can also be called if other properties (such as the widget's position relative to the window) change without triggering a rebuild.
Implementation
void onResize() {
if (_forceUpdate == null) {
return;
}
_forceUpdate!();
}