PictureSelection constructor

const PictureSelection({
  1. Key? key,
  2. int columnCount = 3,
  3. int maxCount = 9,
  4. double? mainAxisSpacing,
  5. double? crossAxisSpacing,
  6. EdgeInsets? padding,
  7. PictureSelectionRemoveFile? removed,
  8. PictureSelectionController? controller,
  9. ImageItemRender? itemBuilder,
  10. MenusBuilder? menusBuilder,
  11. PlaceholderBuilder? placeholderBuilder,
  12. bool multipleChoice = false,
  13. VoidCallback? addIconOnTap,
  14. List<PictureSelectionItemModel>? initUrls,
  15. bool enableImagePreview = true,
  16. CustomRenderBody? customRender,
  17. PictureSelectionI18nConfig i18nConfig = const PictureSelectionI18nConfig(),
  18. ValueChanged<List<PictureSelectionItemModel>>? onChange,
})

Implementation

const PictureSelection(
    {super.key,
    this.columnCount = 3,
    this.maxCount = 9,
    this.mainAxisSpacing,
    this.crossAxisSpacing,
    this.padding,
    this.removed,
    this.controller,
    this.itemBuilder,
    this.menusBuilder,
    this.placeholderBuilder,
    this.multipleChoice = false,
    this.addIconOnTap,
    this.initUrls,
    this.enableImagePreview = true,
    this.customRender,
    this.i18nConfig = const PictureSelectionI18nConfig(),
    this.onChange});