MrcPhotoTrackWidget constructor
MrcPhotoTrackWidget({
- Key? key,
- PlatformViewType platformViewType = PlatformViewType.Compat,
- TextDirection? textDirection,
- Set<
Factory< gestureRecognizers = const <Factory<OneSequenceGestureRecognizer>>{},OneSequenceGestureRecognizer> > - PlatformViewHitTestBehavior hitTestBehavior = PlatformViewHitTestBehavior.opaque,
- required void onPlayerCreated(
- MrcPhotoTrackPlayer
Implementation
MrcPhotoTrackWidget({
super.key,
super.platformViewType,
super.textDirection,
super.gestureRecognizers,
super.hitTestBehavior,
required this.onPlayerCreated,
}) : super(
onViewCreated: (view) {
final player =
PlacesFactory.instance.createMrcPhotoTrackPlayer(view);
onPlayerCreated(player);
return true;
},
);