From f7776cd0a21f13ee13eaa860dad0a4c2c3130916 Mon Sep 17 00:00:00 2001 From: LimaniBhavik <6619586+LimaniBhavik@users.noreply.github.com> Date: Wed, 27 May 2026 04:43:26 +0000 Subject: [PATCH 1/2] Refactor: Replace print with debugPrint in example/lib/main.dart Replaced the `print` statement with Flutter's built-in `debugPrint` for better maintainability and code health. --- example/lib/main.dart | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/example/lib/main.dart b/example/lib/main.dart index 72b13f6..64d024e 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -17,9 +17,11 @@ class MyApp extends StatelessWidget { child: ElevatedButton( onPressed: () async { final watermark = VideoWatermark(); - String? result = - await watermark.addWatermark('test.mp4', 'Watermark text'); - print(result); + String? result = await watermark.addWatermark( + 'test.mp4', + 'Watermark text', + ); + debugPrint(result); }, child: const Text('Add Watermark'), ), From 08b7efdbbd45ff56003cf565806b260bc435c847 Mon Sep 17 00:00:00 2001 From: LimaniBhavik <6619586+LimaniBhavik@users.noreply.github.com> Date: Wed, 27 May 2026 04:50:56 +0000 Subject: [PATCH 2/2] Fix CI: Remove unused import in test/video_watermark_web_test.dart Removed an unused import (`video_watermark_platform_interface.dart`) in the web test file to resolve a linting issue that caused the GitHub Actions CI build to fail. --- test/video_watermark_web_test.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/test/video_watermark_web_test.dart b/test/video_watermark_web_test.dart index beb231a..7aeadd2 100644 --- a/test/video_watermark_web_test.dart +++ b/test/video_watermark_web_test.dart @@ -1,5 +1,4 @@ import 'package:flutter_test/flutter_test.dart'; -import 'package:video_watermark/video_watermark_platform_interface.dart'; import 'package:video_watermark/video_watermark_web.dart'; void main() {