AssetPickerConfig constructor
AssetPickerConfig({
- int maxSelection = 9,
- List<
AssetImageInfo> ? initialSelectedAssets, - Duration transitionDuration = const Duration(milliseconds: 300),
- Color backgroundColor = const Color(0xFFFFFFFF),
- Color selectIndicatorColor = const Color(0xFF1DC19A),
- Color selectCountColor = const Color(0xFFFFFFFF),
- Color loadingIndicatorColor = const Color(0xFF1DC19A),
- Color imagePlaceholderColor = const Color(0xFFFAFAFA),
- String permissionDeniedText = 'Please grant permission to access your photo library',
- 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',
});