app_intents_codegen 0.3.0 copy "app_intents_codegen: ^0.3.0" to clipboard
app_intents_codegen: ^0.3.0 copied to clipboard

Code generator for Flutter AppIntents. Produces Swift and Dart code from @IntentSpec and @EntitySpec annotations.

0.3.0 #

  • Add KotlinGenerator for Android AppFunctions code generation
    • @AppFunction(isDescribedByKdoc = true) annotated methods
    • @AppFunctionSerializable data classes for entities
    • AppFunctionsBridge singleton for MethodChannel communication
    • Enum class generation with fromValue() companion object
  • Add CLI command generate_kotlin for Kotlin file output
  • Extract shared analyzeSources() utility for Swift/Kotlin CLI commands
  • 154 tests (38 new Kotlin generator tests)
  • Update documentation for cross-platform support

0.2.1 #

  • Documentation updates to reflect v0.2.0 features
  • No code changes

0.2.0 #

  • BREAKING: Raise iOS minimum to 17.0
  • Add IntentResult & ProvidesDialog support via resultDialogTemplate
  • Add ParameterSummary generation via parameterSummary
  • Add AppEnum code generation (@EnumSpec, EnumAnalyzer, _generateEnumBody)
  • Add entity image support in DisplayRepresentation (SF Symbol icons)
  • Add {applicationName} to \(.applicationName) phrase conversion for AppShortcuts
  • Fix AppShortcutsProvider to use Swift result builder pattern (no array literals)
  • Fix error handling: throw AppIntentError.custom(...) instead of silent return .result()
  • Fix double-quote escaping in dialog templates
  • Fix shortcut intentIdentifier to className resolution in CLI
  • 116 tests covering all analyzers, generators, and builder

0.1.0 #

  • Initial release
  • IntentAnalyzer and EntityAnalyzer for annotation parsing
  • ShortcutAnalyzer for @AppShortcut and @AppShortcutsProvider support
  • SwiftGenerator for iOS 17+ App Intent Swift code generation
  • DartGenerator for handler initialization code generation
  • CLI tool generate_swift for Swift code output
  • Integration with build_runner via AppIntentsBuilder
0
likes
0
points
27
downloads

Publisher

unverified uploader

Weekly Downloads

Code generator for Flutter AppIntents. Produces Swift and Dart code from @IntentSpec and @EntitySpec annotations.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analyzer, app_intents_annotations, args, build, code_builder, dart_style, glob, path, source_gen

More

Packages that depend on app_intents_codegen