AtomScope constructor

AtomScope({
  1. Key? key,
  2. required Widget child,
  3. List<AtomInitialValue> initialValues = const [],
})

Implementation

factory AtomScope({
  Key? key,
  required Widget child,
  List<AtomInitialValue> initialValues = const [],
}) =>
    AtomScope._(
      registry: AtomRegistry(
        initialValues: initialValues,
        scheduler: _buildScheduler(),
      ),
      key: key,
      child: child,
    );