StatefulWidgetExtensions extension

on

Methods

safeSetState(VoidCallback fn) → void

Available on State<StatefulWidget>, provided by the StatefulWidgetExtensions extension

Check if the widget exist before safely setting state.