Skip to content

Commit

Permalink
[video_player] Add ignore analyzer option to fix analyze warning
Browse files Browse the repository at this point in the history
A parameter has been renamed in the platform interface, which causes an analyser issue.
(flutter/packages#8453)
This should be updated when platform view of video_player is supported.
  • Loading branch information
JSUYA committed Feb 3, 2025
1 parent 1122027 commit de08ba5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/video_player/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## NEXT

* Add ignore analyzer option to fix analyze issue.

## 2.5.4

* Update video_player to 2.9.2.
Expand Down
3 changes: 3 additions & 0 deletions packages/video_player/lib/video_player_tizen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ import 'package:video_player_platform_interface/video_player_platform_interface.

import 'src/messages.g.dart';

// TODO(JSUYA): Remove the ignore and rename parameters when adding support for platform views.
// ignore_for_file: avoid_renaming_method_parameters

/// A Tizen implementation of [VideoPlayerPlatform] that uses the
/// Pigeon-generated [TizenVideoPlayerApi].
class VideoPlayerTizen extends VideoPlayerPlatform {
Expand Down

0 comments on commit de08ba5

Please sign in to comment.