GalleryConfig constructor
const
GalleryConfig({
- String albumTitle = StringConst.ALL_PHOTOS,
- bool enableCamera = true,
- int crossAxisCount = 3,
- SlideSheetConfig slideSheetConfig = const SlideSheetConfig(),
- CameraConfig cameraConfig = const CameraConfig(),
- dynamic onReachMaximum()?,
- Widget closingDialogBuilder()?,
- TextTheme textTheme = const TextTheme(bodyMedium: TextStyle(fontSize: 16), titleMedium: TextStyle(fontSize: 14, fontWeight: FontWeight.w700), titleSmall: TextStyle(fontSize: 14, fontWeight: FontWeight.w500)),
- ColorScheme colorScheme = const ColorScheme.light(),
- 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,
});