Package io.flutter.embedding.engine.systemchannels

# Class SettingsChannel

java.lang.Object
io.flutter.embedding.engine.systemchannels.SettingsChannel

public class SettingsChannel extends Object

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `class`
  `SettingsChannel.MessageBuilder`
  `static enum`
  `SettingsChannel.PlatformBrightness`
  The brightness mode of the host platform.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `final BasicMessageChannel<Object>`
  `channel`
  `static final String`
  `CHANNEL_NAME`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SettingsChannel(DartExecutor dartExecutor)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DisplayMetrics`
  `getPastDisplayMetrics(int configId)`
  `static boolean`
  `hasNonlinearTextScalingSupport()`
  `SettingsChannel.MessageBuilder`
  `startMessage()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### CHANNEL_NAME

    public static final String CHANNEL_NAME
    See Also:
      - Constant Field Values

  - ### channel

    @NonNull public final BasicMessageChannel<Object> channel

- ## Constructor Details

  - ### SettingsChannel

    public SettingsChannel(@NonNull DartExecutor dartExecutor)

- ## Method Details

  - ### hasNonlinearTextScalingSupport

    public static boolean hasNonlinearTextScalingSupport()

  - ### getPastDisplayMetrics

    public DisplayMetrics getPastDisplayMetrics(int configId)

  - ### startMessage

    @NonNull public SettingsChannel.MessageBuilder startMessage()