8000 Clip behaviour (#511) · next-coder/flutter-webrtc@de60bd9 · GitHub
[go: up one dir, main page]

Skip to content

Commit de60bd9

Browse files
authored
Clip behaviour (flutter-webrtc#511)
1 parent b1a44c3 commit de60bd9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/src/native/rtc_video_view_impl.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class RTCVideoView extends StatelessWidget {
4040
width: constraints.maxWidth,
4141
height: constraints.maxHeight,
4242
child: FittedBox(
43+
clipBehavior: Clip.hardEdge,
4344
fit: objectFit == RTCVideoViewObjectFit.RTCVideoViewObjectFitContain
4445
? BoxFit.contain
4546
: BoxFit.cover,

0 commit comments

Comments
 (0)
0