maybeOf static method
Retrieves the nearest AdaptiFlowData without creating a dependency.
Use this for one-time reads where you don't need to rebuild when config changes (e.g., during initialization).
Implementation
static AdaptiFlowData maybeOf(BuildContext context) {
final widget = context.getInheritedWidgetOfExactType<AdaptiFlow>();
return widget?.data ?? const AdaptiFlowData();
}