Kotlin Multiplatform calculator for android and IOS
Kotlin Multiplatform Calculator with Material 3 and Compose Multiplatform This project is a cross-platform calculator app built using Kotlin Multiplatform and Material 3 design principles. It leverages the power of Kotlin Multiplatform to share core logic across different platforms and utilizes Compose Multiplatform for creating a modern and consistent user interface.
Basic arithmetic operations: Addition, Subtraction, Multiplication, Division. Responsive Material 3 UI designed with Compose Multiplatform. Cross-platform support: Run the app on Android and IOS.
-
Android Studio 4.2+
-
Xcode 12+
-
Kotlin 1.5+
-
Gradle 7.0+
Clone the repository:
git clone https://github.com/ipirangad3v/kmp-calculator
Open the project in Android Studio.
Build and run the project on your desired platform.
The project follows a common Kotlin Multiplatform structure, containing the following modules:
- shared: Contains the shared Kotlin code that holds the calculator logic.
- androidApp: Android-specific code, including the UI built using Compose and platform-specific UI logic.
- iosApp: iOS-specific code, including the UI built using Compose and platform-specific UI logic.
Contributions to the project are welcome! Feel free to open issues and submit pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.
Happy coding! If you encounter any issues or have questions, feel free to contact us or open an issue in the repository. We hope this Kotlin Multiplatform Calculator serves as a useful example of combining Kotlin Multiplatform, Material 3, and Compose Multiplatform to create cross-platform applications.