Event

@Target(allowedTargets = [AnnotationTarget.FUNCTION])
actual annotation class Event(val name: String)
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
expect annotation class Event(val name: String = "")

Annotation which denotes the annotated function as part of the Flutter - KMP interface.
When a function with this annotation is scanned, a method channel call delegation will be generated.

@Target(allowedTargets = [AnnotationTarget.FUNCTION])
actual annotation class Event(val name: String)
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
actual annotation class Event(val name: String)

Properties

Link copied to clipboard
actual val name: String
expect val name: String
actual val name: String
actual val name: String