CameraPage constructor

CameraPage({
  1. bool? allowMultiple,
  2. bool? enableGallery,
  3. int? maxSize,
})

Implementation

CameraPage({bool? allowMultiple, bool? enableGallery, this.maxSize})
    : assert(maxSize == null || maxSize >= 0),
      this.allowMultiple = allowMultiple ?? true,
      this.enableGallery = enableGallery ?? true;