Closed
Description
The default MainActivity created by flutter create splash_test
looks like this:
package com.example.splash_test
import androidx.annotation.NonNull;
import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.engine.FlutterEngine
import io.flutter.plugins.GeneratedPluginRegistrant
class MainActivity: FlutterActivity() {
override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) {
GeneratedPluginRegistrant.registerWith(flutterEngine);
}
}
The Kotlin reference line to include the code that shows the status bar after is was hidden for the splash screen expects the non-existant line super.onCreate(savedInstanceState)'
.
Metadata
Metadata
Assignees
Labels
No labels