current property
HookContext?
current
The currently active HookContext.
This will be not null
iff some HookContext is during build.
Implementation
static HookContext? get current => _stack.lastOrNull;
The currently active HookContext.
This will be not null
iff some HookContext is during build.
static HookContext? get current => _stack.lastOrNull;