pigeon_lib library

Classes

AstGeneratorAdapter
A GeneratorAdapter that generates the AST.
ConfigurePigeon
Metadata annotation used to configure how Pigeon will generate code.
CppGeneratorAdapter
A GeneratorAdapter that generates C++ source code.
DartGeneratorAdapter
A GeneratorAdapter that generates Dart source code.
DartTestGeneratorAdapter
A GeneratorAdapter that generates Dart test source code.
Error
Represents an error as a result of parsing and generating code.
FlutterApi
Metadata to annotate a Pigeon API implemented by Flutter.
GeneratorAdapter
An adapter that will call a generator to write code to a sink based on the contents of PigeonOptions.
GObjectGeneratorAdapter
A GeneratorAdapter that generates GObject source code.
HostApi
Metadata to annotate a Pigeon API implemented by the host-platform.
JavaGeneratorAdapter
A GeneratorAdapter that generates Java source code.
KotlinGeneratorAdapter
A GeneratorAdapter that generates Kotlin source code.
ObjcGeneratorAdapter
A GeneratorAdapter that generates Objective-C code.
ObjCSelector
Metadata to annotation methods to control the selector used for objc output. The number of components in the provided selector must match the number of arguments in the annotated method. For example: @ObjcSelector('divideValue:by:') double divide(int x, int y);
ParseResults
A collection of an AST represented as a Root and Error's.
Pigeon
Tool for generating code to facilitate platform channels usage.
PigeonOptions
Options used when running the code generator.
ProxyApi
Metadata to annotate a Pigeon API that wraps a native class.
SwiftClass
Metadata to annotate data classes to be defined as class in Swift output.
SwiftFunction
Metadata to annotate methods to control the signature used for Swift output.
SwiftGeneratorAdapter
A GeneratorAdapter that generates Swift source code.
TaskQueue
Metadata annotation to control how handlers are dispatched for HostApi's. Note that the TaskQueue API might not be available on the target version of Flutter, see also: https://docs.flutter.dev/development/platform-integration/platform-channels.

Enums

TaskQueueType
Type of TaskQueue which determines how handlers are dispatched for HostApi's.

Constants

async → const Object
Metadata to annotate a Api method as asynchronous
attached → const Object
Metadata to annotate the field of a ProxyApi as an Attached Field.
static → const Object
Metadata to annotate a field of a ProxyApi as static.