FeatureDiscovery.withProvider constructor

const FeatureDiscovery.withProvider({
  1. required Widget child,
  2. required PersistenceProvider persistenceProvider,
  3. Key? key,
})

Instantiates a new FeatureDiscovery and stores completion of steps through the provided PersistenceProvider.

Implementation

const FeatureDiscovery.withProvider({
  required this.child,
  required this.persistenceProvider,
  Key? key,
}) : super(key: key);