ImagesBox constructor

ImagesBox({
  1. Key? key,
  2. required List<Widget> children,
  3. bool format4rect = false,
  4. double crossAxisSpacing = 2.5,
  5. double mainAxisSpacing = 2.5,
  6. EdgeInsetsGeometry? padding,
  7. bool enablePreview = true,
  8. PreviewCoverBuilder? coverBuilder,
})

Implementation

ImagesBox(
    {Key? key,
    required this.children,
    this.format4rect = false,
    this.crossAxisSpacing = 2.5,
    this.mainAxisSpacing = 2.5,
    this.padding,
    this.enablePreview = true,
    this.coverBuilder})
    : urls = [],
      fit = null,
      borderRadius = null,
      super(key: key);