getStateByPlatform method

AdaptiveState getStateByPlatform()

Implementation

static AdaptiveState getStateByPlatform() {
  return Platform.isAndroid
      ? AdaptiveState.Material
      : Platform.isIOS ? AdaptiveState.Cupertino : AdaptiveState.Material;
}