Class FlutterApplication

All Implemented Interfaces:
ComponentCallbacks, ComponentCallbacks2

public class FlutterApplication extends Application
Flutter implementation of Application, managing application-level global initializations.

Using this Application is not required when using APIs in the package io.flutter.embedding.android since they self-initialize on first use.

  • Constructor Details

    • FlutterApplication

      public FlutterApplication()
  • Method Details

    • onCreate

      @CallSuper public void onCreate()
      Overrides:
      onCreate in class Application
    • getCurrentActivity

      public Activity getCurrentActivity()
    • setCurrentActivity

      public void setCurrentActivity(Activity mCurrentActivity)