setPipActionsLayout method
Updates the current actions layout with a preset layout The preset layout is defined by PipActionsLayout and it's equivalent enum inside Android src
Implementation
Future<bool> setPipActionsLayout(PipActionsLayout layout) async {
Map params = {'layout': layout.name};
final bool? setSuccessfully =
await _channel.invokeMethod('setPipLayout', params);
return setSuccessfully ?? false;
}