PublisherWidget
data class PublisherWidget(val channel: FlutterSyncChannel, val event: FlutterEvent, val extension: FlutterExtension, val requestType: FlutterMessageType? = null, val responseType: FlutterMessageType, val method: FlutterMethod, val isProtobufEnabled: Boolean)
Wrapper for all fields to configure code generation for a Flutter Widget.
Constructors
Link copied to clipboard
constructor(channel: FlutterSyncChannel, event: FlutterEvent, extension: FlutterExtension, requestType: FlutterMessageType? = null, responseType: FlutterMessageType, method: FlutterMethod, isProtobufEnabled: Boolean)
Properties
Link copied to clipboard
The MethodChannel value used to communicate.
Link copied to clipboard
Name of the event to execute.
Link copied to clipboard
Name of the extension class to be generated.
Link copied to clipboard
Link copied to clipboard
Name of the method to be generated.
Link copied to clipboard
Type of data (if any) returned after finishing the event.
Link copied to clipboard
Type of data (if any) returned after finishing the event.
Functions
Link copied to clipboard
Create a KlutterPrinter instance which generates a Flutter Producer Widget.