import

android.os.Bundle

import

androidx.core.view.WindowCompat

import

io.flutter.embedding.android.FlutterActivity

class

MainActivity

FlutterActivity

()

override

fun

onCreate

savedInstanceState

Bundle

?)

// Aligns the Flutter view vertically with the window.

WindowCompat

setDecorFitsSystemWindows

getWindow

(),

false

if

Build

VERSION

SDK_INT

>=

Build

VERSION_CODES

// Disable the Android splash screen fade out animation to avoid