builder library

The build_runner builder for assistant_actions.

Reads lib/assistant_actions.dart (and the app libraries it imports) and writes:

  • lib/assistant_actions.g.dart — the registry for AssistantActions.start;
  • the Swift App Intents, into the generated assistant_actions_app plugin;
  • apple/AssistantShortcuts.g.swift — the App Shortcuts, for the Runner targets.

The Swift is written for the plugin package's deployment target (its Package.swift platforms), unless the ios_deployment_target / macos_deployment_target options say otherwise.

Functions

assistantActionsBuilder(BuilderOptions options) → Builder