Package-level declarations
Types
Link copied to clipboard
Generate protocol buffer schema.
Link copied to clipboard
class DartFormatTask(folder: File, flutterFolder: FlutterDistributionFolderName, log: (String) -> Unit = { }) : KlutterTask, GenerateCodeAction
Run command 'dart format .' in a folder.
Link copied to clipboard
class ExcludeArm64Task(podFile: File, insertAfter: String, shouldRun: Boolean) : KlutterTask, GenerateCodeAction
Visitor which adds EXCLUDED_ARCHS for iphone simulator if not present.
Link copied to clipboard
class GenerateAndroidLibTask(android: Android, bindings: Map<Controller, List<FlutterChannel>>, isProtobufEnabled: Boolean) : KlutterTask, GenerateCodeAction
Generate the Android code in root/android.
Link copied to clipboard
interface GenerateCodeAction
Link copied to clipboard
data class GenerateCodeOptions(val project: Project, val pubspec: Pubspec, val flutterFolder: FlutterDistributionFolderName, val excludeArmArcFromPodspec: Boolean, val controllers: List<Controller>, val messages: List<SquintMessageSource>, val responseClassNames: List<String>, val log: (String) -> Unit = { })
Link copied to clipboard
Task to generate the boilerplate code required to let Kotlin Multiplatform and Flutter communicate.
Link copied to clipboard
class GenerateFlutterControllersTask(srcFolder: File, bindings: Map<Controller, List<FlutterChannel>>, isProtobufEnabled: Boolean) : KlutterTask, GenerateCodeAction
Generate the Flutter (dart) code in root/lib folder of the plugin project.
Link copied to clipboard
class GenerateFlutterLibTask(root: Root, srcFolder: File, pluginName: String, bomVersion: String) : KlutterTask, GenerateCodeAction
Generate the Flutter (dart) code in root/lib folder of the plugin project.
Link copied to clipboard
class GenerateFlutterMessagesTask(root: Root, srcFolder: File, flutterFolder: FlutterDistributionFolderName, messages: List<SquintMessageSource>, log: (String) -> Unit = { }) : KlutterTask, GenerateCodeAction
Generate the Flutter (dart) code in root/lib folder of the plugin project.
Link copied to clipboard
class GenerateIosLibTask(ios: IOS, bindings: Map<Controller, List<FlutterChannel>>, isProtobufEnabled: Boolean) : KlutterTask, GenerateCodeAction
Generate the IOS code in root/ios.
Link copied to clipboard
class GenerateProtoExtensionsTask(sourceFolder: File, responseClassNames: List<String>) : KlutterTask, GenerateCodeAction
Link copied to clipboard
class GenerateProtoSchemasTask(pathToRoot: File, gradleBuildInstanceClassLoader: ClassLoader) : KlutterTask, GenerateCodeAction
Generate the protocol buffer schemas.
Link copied to clipboard
class PubGetTask(folder: File, flutterFolder: FlutterDistributionFolderName, log: (String) -> Unit = { }) : KlutterTask, GenerateCodeAction
Run command 'flutter pub get' in a folder.
Functions
Link copied to clipboard
inline fun <T : GenerateCodeAction> findGenerateCodeAction(options: GenerateCodeOptions): GenerateCodeAction
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Create an instance of GenerateProtoSchemasTask if the List GenerateCodeOptions.responseClassNames is not empty.
Link copied to clipboard