getLayout method

Future<int?> getLayout()

Returns an int representing the current story player layout

  • 0 is Portrait
  • 1 is Landscape

Implementation

Future<int?> getLayout() async {
  return await _methodChannel.invokeMethod<int>('getLayout');
}