Skip to content

androidMainActivityKotlinLines2WithStatusBar et al not applied in MainActivity.kt #56

Closed
@TomTom101

Description

@TomTom101

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions