GallerySetting constructor
const
GallerySetting({
- RequestType requestType = RequestType.all,
- int maximum = 20,
- bool enableCamera = true,
- int? crossAxisCount,
- bool backAndUnselect()?,
- dynamic onItemClick()?,
- VoidCallback? onReachedMaximumLimit,
- Alignment selectionCountAlignment = Alignment.center,
- Widget? actionButton = const SizedBox(),
- TextStyle? selectionCountTextStyle,
- Color? selectionCountBackgroundColor,
- double? selectionCountBackgroundSize,
- Color? selectionCountRingColor,
- double? selectionCountRingSize,
- EdgeInsets? selectionCountMargin,
- Widget selectionCountBuilder(
- int index
- SelectedStyle? selectedStyle = SelectedStyle.border,
- EdgeInsets? padding,
- double? space,
- BorderRadius? itemBorderRadius,
- Widget albumBackground = const ColoredBox(color: Colors.black),
- Color albumColor = Colors.black,
- int? albumImageSize,
- BorderRadius? albumBorderRadius,
- TextStyle? albumTitleStyle,
- TextStyle? albumSubTitleStyle,
- Widget? cameraItemWidget,
- FilterOptionGroup? filterOptionGroup,
Implementation
const GallerySetting({
this.requestType = RequestType.all,
this.maximum = 20,
this.enableCamera = true,
this.crossAxisCount,
this.backAndUnselect,
this.onItemClick,
this.onReachedMaximumLimit,
this.selectionCountAlignment = Alignment.center,
this.actionButton = const SizedBox(),
this.selectionCountTextStyle,
this.selectionCountBackgroundColor,
this.selectionCountBackgroundSize,
this.selectionCountRingColor,
this.selectionCountRingSize,
this.selectionCountMargin,
this.selectionCountBuilder,
this.selectedStyle = SelectedStyle.border,
this.padding,
this.space,
this.itemBorderRadius,
this.albumBackground = const ColoredBox(color: Colors.black),
this.albumColor = Colors.black,
this.albumImageSize,
this.albumBorderRadius,
this.albumTitleStyle,
this.albumSubTitleStyle,
this.cameraItemWidget,
this.filterOptionGroup,
});