Kotlin Formatter

Beautify and format Kotlin code with proper indentation, consistent spacing, and organized structure. Transform unformatted Kotlin source into clean, readable, and maintainable code following Kotlin coding conventions for easier debugging, Android development, and collaboration.

Input Code
Formatted Output