FlPreviewAssets constructor

const FlPreviewAssets({
  1. Key? key,
  2. required int? itemCount,
  3. required IndexedWidgetBuilder itemBuilder,
  4. ExtendedPageController? controller,
  5. Widget? close,
  6. Widget? overlay,
  7. bool pageSnapping = true,
  8. bool reverse = false,
  9. Axis scrollDirection = Axis.horizontal,
  10. CanScrollPage? canScrollPage,
  11. ScrollPhysics? physics,
  12. ValueChanged<int>? onPageChanged,
})

Implementation

const FlPreviewAssets(
    {super.key,
    required this.itemCount,
    required this.itemBuilder,
    this.controller,
    this.close,
    this.overlay,
    this.pageSnapping = true,
    this.reverse = false,
    this.scrollDirection = Axis.horizontal,
    this.canScrollPage,
    this.physics,
    this.onPageChanged});