FBPhotoView constructor

const FBPhotoView({
  1. Key? key,
  2. required List<String> dataSource,
  3. List<String>? thumbnailSource,
  4. double? height,
  5. List<Widget>? customSubChild,
  6. FBPhotoViewType displayType = FBPhotoViewType.autoGrid,
  7. dynamic onPageChanged(
    1. int
    )?,
  8. dynamic onStartDisplay(
    1. int
    )?,
  9. BoxFit fit = BoxFit.cover,
})

Implementation

const FBPhotoView({
  super.key,
  required this.dataSource,
  this.thumbnailSource,
  this.height,
  this.customSubChild,
  this.displayType = FBPhotoViewType.autoGrid,
  this.onPageChanged,
  this.onStartDisplay,
  this.fit = BoxFit.cover,
});