androidMainActivityKotlinLines2WithStatusBar top-level constant

String const androidMainActivityKotlinLines2WithStatusBar

Implementation

const String androidMainActivityKotlinLines2WithStatusBar = '''
    val flutter_native_splash = true
    var originalStatusBarColor = 0
    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
        originalStatusBarColor = window.statusBarColor
        window.statusBarColor = {{{primaryColorDark}}}.toInt()
    }
    val originalStatusBarColorFinal = originalStatusBarColor
'''