Creator Plugin
Overview
- Creator is a Flutter plugin designed to enhance your application's development and content creation capabilities. It enables you to capture screenshots of application screens for use in creating Digital Adoption Platform (DAP) content, preview published DAP content, and debug your application with built-in developer tools.
Features
- Screenshot Capture: Take high-quality screenshots of your Flutter app screens.
- Integration with Dashboard: Use captured screenshots on the dashboard to create and manage DAP content seamlessly.
- Preview Mode: View DAP content published on the dashboard in a preview mode directly within your app.
- Developer Tools: Debug your application effectively with a suite of built-in tools.
Example Workflow
- Capture a Screenshot: Use the captureScreenshot method to take a screenshot of a specific screen in your Flutter app.
- Upload to Dashboard: Export the captured screenshot and upload it to your DAP dashboard.
- Preview DAP Content: View content published on the dashboard in preview mode directly within your application.
- Debugging: Use the developer tools provided by the plugin to identify and resolve issues efficiently.
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_creator.podspec and ios/leap_creator/Package.swift).