AssetPickerConfig constructor

AssetPickerConfig({
  1. int maxSelection = 9,
  2. List<AssetImageInfo>? initialSelectedAssets,
  3. Duration transitionDuration = const Duration(milliseconds: 300),
  4. Color backgroundColor = const Color(0xFFFFFFFF),
  5. Color selectIndicatorColor = const Color(0xFF1DC19A),
  6. Color selectCountColor = const Color(0xFFFFFFFF),
  7. Color loadingIndicatorColor = const Color(0xFF1DC19A),
  8. Color imagePlaceholderColor = const Color(0xFFFAFAFA),
  9. String permissionDeniedText = 'Please grant permission to access your photo library',
  10. String permissionDeniedButtonText = 'Open Settings',
})

Implementation

AssetPickerConfig({
  this.maxSelection = 9,
  this.initialSelectedAssets,
  this.transitionDuration = const Duration(milliseconds: 300),
  this.backgroundColor = const Color(0xFFFFFFFF),
  this.selectIndicatorColor = const Color(0xFF1DC19A),
  this.selectCountColor = const Color(0xFFFFFFFF),
  this.loadingIndicatorColor = const Color(0xFF1DC19A),
  this.imagePlaceholderColor = const Color(0xFFFAFAFA),
  this.permissionDeniedText = 'Please grant permission to access your photo library',
  this.permissionDeniedButtonText = 'Open Settings',
});