StateExtensions<T extends StatefulWidget> extension

Extensions for State classes to provide safe widget operations.

on

Methods

safeSetState(VoidCallback fn) → void

Available on State<T>, provided by the StateExtensions extension

Safely calls setState only if the widget is still mounted.