ScopedValue<T> constructor

ScopedValue<T>({
  1. required T initData,
  2. required Widget builder(
    1. BuildContext context,
    2. Reactable<T> observable
    ),
  3. bool? debug,
  4. bool? throwOnError,
  5. bool? autoDispose,
  6. Where? condition,
  7. Key? key,
})

Implementation

ScopedValue({
  required T initData,
  required this.builder,
  bool? debug,
  bool? throwOnError,
  bool? autoDispose,
  Where? condition,
  Key? key,
})  : data = Reactable(initData),
      super(
        where: condition,
        key: key,
        debug: debug,
        autoDispose: autoDispose,
        throwOnError: throwOnError,
      );