fix live photo play button not updating
This commit is contained in:
@@ -1086,7 +1086,6 @@ class NativeVideoViewerRoute extends PageRouteInfo<NativeVideoViewerRouteArgs> {
|
||||
Key? key,
|
||||
required Asset asset,
|
||||
required Widget placeholder,
|
||||
ValueNotifier<bool>? isPlayingMotionVideo,
|
||||
bool showControls = true,
|
||||
List<PageRouteInfo>? children,
|
||||
}) : super(
|
||||
@@ -1095,7 +1094,6 @@ class NativeVideoViewerRoute extends PageRouteInfo<NativeVideoViewerRouteArgs> {
|
||||
key: key,
|
||||
asset: asset,
|
||||
placeholder: placeholder,
|
||||
isPlayingMotionVideo: isPlayingMotionVideo,
|
||||
showControls: showControls,
|
||||
),
|
||||
initialChildren: children,
|
||||
@@ -1111,7 +1109,6 @@ class NativeVideoViewerRoute extends PageRouteInfo<NativeVideoViewerRouteArgs> {
|
||||
key: args.key,
|
||||
asset: args.asset,
|
||||
image: args.placeholder,
|
||||
isPlayingMotionVideo: args.isPlayingMotionVideo,
|
||||
showControls: args.showControls,
|
||||
);
|
||||
},
|
||||
@@ -1123,7 +1120,6 @@ class NativeVideoViewerRouteArgs {
|
||||
this.key,
|
||||
required this.asset,
|
||||
required this.placeholder,
|
||||
this.isPlayingMotionVideo,
|
||||
this.showControls = true,
|
||||
});
|
||||
|
||||
@@ -1133,8 +1129,6 @@ class NativeVideoViewerRouteArgs {
|
||||
|
||||
final Widget placeholder;
|
||||
|
||||
final ValueNotifier<bool>? isPlayingMotionVideo;
|
||||
|
||||
final bool showControls;
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user