VxState constructor

VxState({
  1. required VxStore store,
  2. required Widget? child,
  3. List<VxInterceptor> interceptors = const [],
})

Constructor collects the store instance and interceptors.

Implementation

VxState({
  required VxStore store,
  required this.child,
  List<VxInterceptor> interceptors = const [],
}) {
  VxState._store = store;
  VxState._interceptors = interceptors;
}