Call a function in deep child in widget tree if some event occurs in top level widget in flutter
Suppose i have widget tree like this. Widget1( void someEvent(){ if(true){ } } child: Widget2( child: Widget3( child: Widget4( void someFunction(){ //called when event occurs in Widget1 } child:Container() ), ), ), ) Suppose if some events occurs in Widget1…