File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ class _ImagePageBuilderState extends State<ImagePageBuilder> {
120
120
);
121
121
if (_isLivePhoto && _livePhotoVideoController != null ) {
122
122
return _LivePhotoWidget (
123
+ asset: asset,
123
124
controller: _livePhotoVideoController! ,
124
125
fit: BoxFit .contain,
125
126
state: state,
@@ -161,12 +162,14 @@ class _ImagePageBuilderState extends State<ImagePageBuilder> {
161
162
162
163
class _LivePhotoWidget extends StatefulWidget {
163
164
const _LivePhotoWidget ({
165
+ required this .asset,
164
166
required this .controller,
165
167
required this .state,
166
168
required this .fit,
167
169
required this .textDelegate,
168
170
});
169
171
172
+ final AssetEntity asset;
170
173
final VideoPlayerController controller;
171
174
final ExtendedImageState state;
172
175
final BoxFit fit;
You can’t perform that action at this time.
0 commit comments