Engineering GuidesAPI Reference
API Index
API Reference
Complete reference of core framework classes, top-level functions, and signature types.
Core Framework Signatures
Bloom.boot({required BloomBootstrapper bootstrapper, required Widget app})Main runtime entrypoint orchestrating deterministic 10-step initialization.
BloomControllerBase controller managing reactive Signal lifecycles, automatic effect cleanup, and DI injection.
createSignal<T>(T initialValue, {String? debugLabel})Creates a fine-grained reactive mutable signal.
createComputed<T>(T Function() compute)Creates a lazy, memoized reactive derivation from one or more signals.
createEffect(void Function() effect)Schedules a synchronous reactive side effect that runs whenever dependencies change.
Watch(Widget Function(BuildContext) builder)Granular widget subscriber rebuilding only the enclosing subtree on signal mutation.
inject<T>()Resolves typed dependencies from the root BloomContainer.
createQuery<T>({required List<Object> queryKey, required Future<T> Function() queryFn, Duration? staleTime, Duration? gcTime})Declarative async query with SWR caching.
createMutation<TData, TVariables>({required Future<TData> Function(TVariables) mutationFn, Future<dynamic> Function(TVariables)? onMutate, void Function(Object, TVariables, dynamic)? onError})Optimistic server mutation with rollback support.