setupMultiDisplay method
Initializes the multi-display functionality with the specified configuration.
Parameters:
entrypoints: A list of entry point identifiers for the displaysportBased: Whether to use port-based communication (default: false)
This method must be called before using any multi-display features.
The entrypoints parameter defines the entry points that will be available
for displaying content on secondary screens.
Implementation
@override
Future<void> setupMultiDisplay(
List<String> entrypoints, {
bool portBased = false,
}) async {
await methodChannel.invokeMethod('setupMultiDisplay', {
'entrypoints': entrypoints,
'portBased': portBased,
});
}