PipFlutterPlayer.network constructor

PipFlutterPlayer.network(
  1. String url, {
  2. PipFlutterPlayerConfiguration? pipFlutterPlayerConfiguration,
})

Implementation

factory PipFlutterPlayer.network(
  String url, {
  PipFlutterPlayerConfiguration? pipFlutterPlayerConfiguration,
}) =>
    PipFlutterPlayer(
      controller: PipFlutterPlayerController(
        pipFlutterPlayerConfiguration ??
            const PipFlutterPlayerConfiguration(),
        pipFlutterPlayerDataSource: PipFlutterPlayerDataSource(
            PipFlutterPlayerDataSourceType.network, url),
      ),
    );