Hierarchy Plugin
Overview
- The Hierarchy Plugin is a Flutter package designed to fetch and analyze the widget hierarchy of a Flutter screen. It is an essential tool for building in-app experiences and works seamlessly with the Creator and AUI plugins.
Features
- Retrieve the full widget hierarchy of a Flutter screen.
- Efficient and lightweight API for quick integration.
- Designed for compatibility with Creator and AUI to enhance in-app experience creation.
Compatibility
The Hierarchy Plugin is compatible with: Flutter 3.0 and above Works best when used with Creator and AUI plugins.
iOS setup
The plugin gets the Leap iOS SDK through either dependency manager Flutter uses:
- Swift Package Manager (from the Leap-Platform Swift packages): on by default from Flutter 3.44. On Flutter 3.27 to 3.43, turn it on with
flutter config --enable-swift-package-manager. - CocoaPods: Flutter 3.24 to 3.26, and any app that hasn't moved to Swift Package Manager. CocoaPods trunk takes no new versions after 2 December 2026, so later Leap iOS SDK versions are only available through Swift Package Manager.
Both pin the same Leap iOS SDK version (ios/leap_hierarchy.podspec and ios/leap_hierarchy/Package.swift).