# flashlight_on Icon

> The flashlight_on icon from Material Symbols as Compose ImageVector Kotlin code, Android Vector Drawable XML and SVG.

- Library: [Material Symbols](https://composables.com/icons/icon-libraries/material-symbols.md)
- License: Apache 2.0 (full text in the [Material Symbols library page](https://composables.com/icons/icon-libraries/material-symbols.md))
- Styles: [Outlined](https://composables.com/icons/icon-libraries/material-symbols/flashlight_on.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-symbols/flashlight_on.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-symbols/flashlight_on.md?v=sharp), [Outlined Filled](https://composables.com/icons/icon-libraries/material-symbols/flashlight_on.md?v=outlined-filled), [Rounded Filled](https://composables.com/icons/icon-libraries/material-symbols/flashlight_on.md?v=rounded-filled), [Sharp Filled](https://composables.com/icons/icon-libraries/material-symbols/flashlight_on.md?v=sharp-filled)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/flashlight_on.kt`

```kotlin
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp

val MaterialSymbolsFlashlightOn: ImageVector
    get() {
        if (_MaterialSymbolsFlashlightOn != null) return _MaterialSymbolsFlashlightOn!!
        
        _MaterialSymbolsFlashlightOn = ImageVector.Builder(
            name = "flashlight_on",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(320f, 880f)
                verticalLineToRelative(-440f)
                lineToRelative(-80f, -120f)
                verticalLineToRelative(-240f)
                horizontalLineToRelative(480f)
                verticalLineToRelative(240f)
                lineToRelative(-80f, 120f)
                verticalLineToRelative(440f)
                horizontalLineTo(320f)
                close()
                moveToRelative(160f, -260f)
                quadToRelative(-25f, 0f, -42.5f, -17.5f)
                reflectiveQuadTo(420f, 560f)
                quadToRelative(0f, -25f, 17.5f, -42.5f)
                reflectiveQuadTo(480f, 500f)
                quadToRelative(25f, 0f, 42.5f, 17.5f)
                reflectiveQuadTo(540f, 560f)
                quadToRelative(0f, 25f, -17.5f, 42.5f)
                reflectiveQuadTo(480f, 620f)
                close()
                moveTo(320f, 200f)
                horizontalLineToRelative(320f)
                verticalLineToRelative(-40f)
                horizontalLineTo(320f)
                verticalLineToRelative(40f)
                close()
                moveToRelative(320f, 80f)
                horizontalLineTo(320f)
                verticalLineToRelative(16f)
                lineToRelative(80f, 120f)
                verticalLineToRelative(384f)
                horizontalLineToRelative(160f)
                verticalLineToRelative(-384f)
                lineToRelative(80f, -120f)
                verticalLineToRelative(-16f)
                close()
                moveTo(480f, 480f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsFlashlightOn!!
    }

private var _MaterialSymbolsFlashlightOn: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/flashlight_on.xml`

```xml
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="960"
    android:viewportHeight="960">
    <path
        android:fillColor="@android:color/black"
        android:pathData="M320,880v-440l-80,-120v-240h480v240l-80,120v440H320Zm160,-260q-25,0 -42.5,-17.5T420,560q0,-25 17.5,-42.5T480,500q25,0 42.5,17.5T540,560q0,25 -17.5,42.5T480,620ZM320,200h320v-40H320v40Zm320,80H320v16l80,120v384h160v-384l80,-120v-16ZM480,480Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-symbols/flashlight_on.svg`

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M320-80v-440l-80-120v-240h480v240l-80 120v440H320Zm160-260q-25 0-42.5-17.5T420-400q0-25 17.5-42.5T480-460q25 0 42.5 17.5T540-400q0 25-17.5 42.5T480-340ZM320-760h320v-40H320v40Zm320 80H320v16l80 120v384h160v-384l80-120v-16ZM480-480Z"/></svg>
```
