PictureSelection constructor
const
PictureSelection({
- Key? key,
- int columnCount = 3,
- int maxCount = 9,
- double? mainAxisSpacing,
- double? crossAxisSpacing,
- EdgeInsets? padding,
- PictureSelectionRemoveFile? removed,
- PictureSelectionController? controller,
- ImageItemRender? itemBuilder,
- PlaceholderBuilder? placeholderBuilder,
- bool multipleChoice = false,
- VoidCallback? addIconOnTap,
- List<
PictureSelectionItemModel> ? initUrls, - bool enableImagePreview = true,
- CustomRenderBody? customRender,
- PictureSelectionI18nConfig i18nConfig = const PictureSelectionI18nConfig(),
- ValueChanged<
List< ? onChange,PictureSelectionItemModel> >
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});