createPlatformModule function producer
void
createPlatformModule({})
Generate the Kotlin Multiplatform module.
The klutter folder contains 2 folders:
- android
The android folder contains the .aar artifact.
The
Implementation
void createPlatformModule({
required String pathToRoot,
required String pluginName,
required String packageName,
}) =>
PlatformModule.fromRoot(
pathToRoot: pathToRoot,
pluginName: pluginName,
packageName: packageName,
)
..createPlatformGradleFile
..createPlatformSourceFolders
..createAndroidManifest
..createAndroidPlatformClass
..createCommonGreetingClass
..createCommonPlatformClass
..createIosPlatformClass;