-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Duplicate Check
- I have searched the opened issues and there are no duplicates
Describe the bug
When I Build My application with "flet-video==0.1.0"
, it output error ,which uncomplete the build proccess
Code sample
class Vedio_Dialog(AlertDialog):
def init(self,page:Page, modal = True, actions = None, bgcolor = None, elevation = None, icon = None, open = False, title_padding = None, content_padding = None, actions_padding = None, actions_alignment = None, shape = None, inset_padding = None, icon_padding = None, action_button_padding = None, surface_tint_color = None, shadow_color = None, icon_color = None, scrollable = None, actions_overflow_button_spacing = None, alignment = None, content_text_style = None, title_text_style = None, clip_behavior = None, semantics_label = None, barrier_color = None, on_dismiss = None, ref = None, disabled = None, visible = None, data = None, adaptive = None):
super().init(modal, actions, bgcolor, elevation, icon, open, title_padding, content_padding, actions_padding, actions_alignment, shape, inset_padding, icon_padding, action_button_padding, surface_tint_color, shadow_color, icon_color, scrollable, actions_overflow_button_spacing, alignment, content_text_style, title_text_style, clip_behavior, semantics_label, barrier_color, on_dismiss, ref, disabled, visible, data, adaptive)
self.page = page
self.Language_ = Language.return_Language_user_type(self.page)
self.title = "فيديو الوقع" if self.Language_ == "AR" else "Fall Video"
self.title_text_style = TextStyle(font_family="Alex",weight=FontWeight.W_500,color=Colors.BLACK)
self.sample_media = [ftv.VideoMedia("https://kwjwgrnpcgmtmdithroy.supabase.co/storage/v1/object/public/fallvideos//1.mp4")]
self.vedio = ftv.Video(expand=True,playlist=self.sample_media,playlist_mode=ftv.PlaylistMode.LOOP,aspect_ratio=16 / 9,volume=100,autoplay=True,filter_quality=FilterQuality.HIGH,muted=False)
self.content = self.vedio
self.actions = [TextButton(text="Close",icon_color=Colors.RED,on_click=lambda e:self.page.close(self))]
To reproduce
- write
flet build apk
in terminal
Expected behavior
build apk Normally ,without error in this depenadancy
Screenshots / Videos
Flutter version = 3.29.3
Dart SDK version = 3.7.2
Operating System
Windows
Operating system details
Windows 10 pro
Flet version
0.28.3
Regression
No, it isn't
Suggestions
No response
Logs
**
Running Gradle task 'assembleRelease'...
Gradle build config:
minSdkVersion: 21
targetSdkVersion: 35
versionCode: 1
versionName: 2.2025.11
Running Gradle task 'assembleRelease'... 27.7s
../flutter-packages/flet_video/lib/src/utils/video.dart:76:5: Error: No named parameter with the name 'textScaleFactor'.
textScaleFactor: parseDouble(json["text_scale_factor"]),
^^^^^^^^^^^^^^^
/C:/Users/Computec/AppData/Local/Pub/Cache/hosted/pub.dev/media_kit_video-1.3.0/lib/src/subtitle/subtitle_view.dart:143:9:
Context: Found this candidate, but the arguments don't match.
const SubtitleViewConfiguration({
^^^^^^^^^^^^^^^^^^^^^^^^^
Target kernel_snapshot_program failed: Exception
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command 'C:\flutter\bin\flutter.bat'' finished with non-zero exit value 1
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 27s
Gradle task assembleRelease failed with exit code 1
**
Additional details
No response