Class PlatformChannel


  • public class PlatformChannel
    extends Object
    System channel that receives requests for host platform behavior, e.g., haptic and sound effects, system chrome configurations, and clipboard interaction.
    • Constructor Detail

      • PlatformChannel

        public PlatformChannel​(@NonNull
                               DartExecutor dartExecutor)
        Constructs a PlatformChannel that connects Android to the Dart code running in dartExecutor.

        The given dartExecutor is permitted to be idle or executing code.

        See DartExecutor.

    • Method Detail

      • systemChromeChanged

        public void systemChromeChanged​(boolean overlaysAreVisible)
        Informs Flutter of a change in the SystemUI overlays.