INNER CODE UNIT · Dart
FlowController
felangel/flow_builder · lib/flow_builder.dart:251
class FlowController<T> extends ChangeNotifier {
/// {@macro flow_controller}
FlowController(T state) : this._(state);
FlowController._(this._state);
T _state;
/// The current state of the flow.
T get state => _state;
bool _completed = false;
/// Whether the current flow has been completed.
bool get completed => _completed;
/// [update] can be called to update the current flow state.
/// [update] takes a closure which exposes the current flow state