GalleryConfig constructor

const GalleryConfig({
  1. String albumTitle = StringConst.ALL_PHOTOS,
  2. bool enableCamera = true,
  3. int crossAxisCount = 3,
  4. SlideSheetConfig slideSheetConfig = const SlideSheetConfig(),
  5. CameraConfig cameraConfig = const CameraConfig(),
  6. dynamic onReachMaximum()?,
  7. Widget closingDialogBuilder()?,
  8. TextTheme textTheme = const TextTheme(bodyMedium: TextStyle(fontSize: 16), titleMedium: TextStyle(fontSize: 14, fontWeight: FontWeight.w700), titleSmall: TextStyle(fontSize: 14, fontWeight: FontWeight.w500)),
  9. ColorScheme colorScheme = const ColorScheme.light(),
  10. SystemUiOverlayStyle overlayStyle = SystemUiOverlayStyle.dark,
})

Implementation

const GalleryConfig({
  this.albumTitle = StringConst.ALL_PHOTOS,
  this.enableCamera = true,
  this.crossAxisCount = 3,
  this.slideSheetConfig = const SlideSheetConfig(),
  this.cameraConfig = const CameraConfig(),
  this.onReachMaximum,
  this.closingDialogBuilder,
  this.textTheme = const TextTheme(
    bodyMedium: TextStyle(fontSize: 16),
    titleMedium: TextStyle(fontSize: 14, fontWeight: FontWeight.w700),
    titleSmall: TextStyle(fontSize: 14, fontWeight: FontWeight.w500),
  ),
  this.colorScheme = const ColorScheme.light(),
  this.overlayStyle = SystemUiOverlayStyle.dark,
});