ImagesBox.url constructor

ImagesBox.url({
  1. Key? key,
  2. required List<String> urls,
  3. BoxFit? fit,
  4. bool format4rect = false,
  5. BorderRadius? borderRadius,
  6. double crossAxisSpacing = 2.5,
  7. double mainAxisSpacing = 2.5,
  8. EdgeInsetsGeometry? padding,
  9. bool enablePreview = true,
  10. PreviewCoverBuilder? coverBuilder,
})

Implementation

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