PickerAssetEntryBuilderConfig constructor

const PickerAssetEntryBuilderConfig({
  1. Color? color,
  2. BoxFit fit = BoxFit.cover,
  3. BoxFit previewFit = BoxFit.contain,
  4. BorderRadiusGeometry? borderRadius,
  5. Size size = const Size(65, 65),
  6. Widget pickerIcon = const Icon(Icons.add, size: 30, color: Color(0x804D4D4D)),
  7. Color pickerBorderColor = const Color(0x804D4D4D),
  8. Color deleteColor = Colors.redAccent,
  9. Widget? overlay,
  10. Widget playIcon = const Icon(Icons.play_circle_outline, size: 30, color: Color(0x804D4D4D)),
})

Implementation

const PickerAssetEntryBuilderConfig(
    {this.color,
    this.fit = BoxFit.cover,
    this.previewFit = BoxFit.contain,
    this.borderRadius,
    this.size = const Size(65, 65),
    this.pickerIcon =
        const Icon(Icons.add, size: 30, color: Color(0x804D4D4D)),
    this.pickerBorderColor = const Color(0x804D4D4D),
    this.deleteColor = Colors.redAccent,
    this.overlay,
    this.playIcon = const Icon(Icons.play_circle_outline,
        size: 30, color: Color(0x804D4D4D))});