AvatarImagePicker constructor
const
AvatarImagePicker({
- Key? key,
- String? imageSource,
- void onChanged(
- XFile? file
- int imageQuality = 85,
- double maxHeight = 500,
- double maxWidth = 500,
- bool crop = false,
- bool compress = true,
- bool cameraEnabled = true,
- bool galleryEnabled = true,
- double radius = 40,
- String? heroTag,
- bool showEditIcon = true,
- bool isCircleAvatar = true,
- VoidCallback? onTapEdit,
- Widget? editIcon,
Implementation
const AvatarImagePicker({
super.key,
this.imageSource,
this.onChanged,
this.imageQuality = 85,
this.maxHeight = 500,
this.maxWidth = 500,
this.crop = false,
this.compress = true,
this.cameraEnabled = true,
this.galleryEnabled = true,
this.radius = 40,
this.heroTag,
this.showEditIcon = true,
this.isCircleAvatar = true,
this.onTapEdit,
this.editIcon,
});