SafeSetStateExtension extension
- on
Methods
-
safeSetState(
FutureOr fn()) → FutureOr< void> -
setState after the
fn
is done while the State is still mounted and State.context is safe to mark needs build.
fn
is done while the State is still mounted
and State.context is safe to mark needs build.