We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
VideoPlayerPlatform.xxxWithOptions
1 parent 7be54d0 commit e6e20b3Copy full SHA for e6e20b3
packages/fwfh_chewie/test/mock_video_player_platform.dart
@@ -20,14 +20,14 @@ class _FakeVideoPlayerPlatform extends Fake
20
}
21
22
@override
23
- Widget buildView(int textureId) {
+ Widget buildViewWithOptions(VideoViewOptions options) {
24
return const Placeholder();
25
26
27
28
- Future<int?> create(DataSource dataSource) async {
+ Future<int?> createWithOptions(VideoCreationOptions options) async {
29
final textureId = _nextTextureId++;
30
- uris[textureId] = dataSource.uri;
+ uris[textureId] = options.dataSource.uri;
31
return textureId;
32
33
0 commit comments