# Functions
NewBasicMessageChannel creates a BasicMessageChannel.
NewError create an error with an specific error code.
NewEventChannel creates a new event channel.
NewMethodChannel creates a new method channel.
# Structs
BasicMessageChannel presents named channel for communicating with the Flutter application using basic, asynchronous message passing.
BinaryCodec implements a MessageCodec using unencoded binary messages, represented as byte slices.
Error implement the Go error interface, can be thrown from a go-flutter method channel plugin to return custom error codes.
EventChannel provides way for flutter applications and hosts to communicate using event streams.
EventSink defines the interface for producers of events to send message to Flutter.
FlutterError is returned to indicate that a Flutter method invocation failed on the Flutter side.
JSONMethodCodec implements a MethodCodec using JSON for message encoding.
MessageTypeError is returned when a MessageCodec implementation is asked to encode a message of the wrong type.
MethodCall describes a method invocation.
MethodChannel provides way for flutter applications and hosts to communicate.
StandardMessageCodec implements a MessageCodec using the Flutter standard binary encoding.
StandardMethodCodec implements a MethodCodec using the Flutter standard binary encoding.
StringCodec implements a MessageCodec using UTF-8 encoded string messages.
# Interfaces
BasicMessageHandler defines the interfece for a basic message handler.
BinaryMessenger defines a bidirectional binary messenger.
MessageCodec defines a message encoding/decoding mechanism.
MethodCodec describes a codec for method calls and enveloped results.
MethodHandler defines the interface for a method handler.
ResponseSender defines the interface that must be implemented by a messenger to handle replies on on message.
StreamHandler defines the interface for a stream handler setup and tear-down requests.
# Type aliases
The BasicMessageHandlerFunc type is an adapter to allow the use of ordinary functions as basic message handlers.
ChannelHandlerFunc describes the function that handles binary messages sent on a channel.
The MethodHandlerFunc type is an adapter to allow the use of ordinary functions as method handlers.