pub type StateSetter = Rc<dyn Fn(&mut App, &mut dyn FnMut(&mut App))>;Expand description
The signature of the set_state a StatefulBuilder hands its builder; Dart’s
StateSetter.
The callback runs before the state is marked for a rebuild, as Dart’s setState(fn) runs
fn first.
Aliased Type§
pub struct StateSetter { /* private fields */ }