PickerAssetEntryBuilderConfig constructor
const
PickerAssetEntryBuilderConfig({
- Color? color,
- BoxFit fit = BoxFit.cover,
- BoxFit previewFit = BoxFit.contain,
- BorderRadiusGeometry? borderRadius,
- Size size = const Size(65, 65),
- Widget pickerIcon = const Icon(Icons.add, size: 30, color: Color(0x804D4D4D)),
- Color pickerBorderColor = const Color(0x804D4D4D),
- Color deleteColor = Colors.redAccent,
- Widget? overlay,
- 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))});