Skip to content

Commit

Permalink
Allow choosing between texture view and platform view on Android in v…
Browse files Browse the repository at this point in the history
…ideo_player example app
  • Loading branch information
FirentisTFW committed Dec 20, 2024
1 parent 5dfa836 commit 737f43f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/video_player/video_player/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class _App extends StatelessWidget {
),
),
body: TabBarView(
children: Platform.isIOS
children: Platform.isIOS || Platform.isAndroid
? <Widget>[
_ViewTypeTabBar(
builder: (VideoViewType viewType) =>
Expand Down

0 comments on commit 737f43f

Please sign in to comment.