ImageEditorTheme constructor

const ImageEditorTheme({
  1. EditorBoxConstraintsBuilder? editorBoxConstraintsBuilder,
  2. double outsideCaptureAreaLayerOpacity = 0.5,
  3. ThemeEditorMode editorMode = ThemeEditorMode.simple,
  4. ThemeLayerInteraction layerInteraction = const ThemeLayerInteraction(),
  5. HelperLineTheme helperLine = const HelperLineTheme(),
  6. PaintingEditorTheme paintingEditor = const PaintingEditorTheme(),
  7. TextEditorTheme textEditor = const TextEditorTheme(),
  8. CropRotateEditorTheme cropRotateEditor = const CropRotateEditorTheme(),
  9. FilterEditorTheme filterEditor = const FilterEditorTheme(),
  10. BlurEditorTheme blurEditor = const BlurEditorTheme(),
  11. EmojiEditorTheme emojiEditor = const EmojiEditorTheme(),
  12. StickerEditorTheme stickerEditor = const StickerEditorTheme(),
  13. LoadingDialogTheme loadingDialogTheme = const LoadingDialogTheme(),
  14. AdaptiveDialogTheme adaptiveDialogTheme = const AdaptiveDialogTheme(),
  15. SubEditorPageTheme subEditorPage = const SubEditorPageTheme(),
  16. Color background = imageEditorBackgroundColor,
  17. Color bottomBarBackgroundColor = const Color(0xFF000000),
  18. Color appBarForegroundColor = const Color(0xFFFFFFFF),
  19. Color appBarBackgroundColor = const Color(0xFF000000),
  20. SystemUiOverlayStyle uiOverlayStyle = const SystemUiOverlayStyle(statusBarColor: Color(0x42000000), statusBarIconBrightness: Brightness.light, systemNavigationBarIconBrightness: Brightness.light, statusBarBrightness: Brightness.dark, systemNavigationBarColor: Color(0xFF000000)),
})

Creates an instance of the ImageEditorTheme class with the specified theme properties.

Implementation

const ImageEditorTheme({
  this.editorBoxConstraintsBuilder,
  this.outsideCaptureAreaLayerOpacity = 0.5,
  this.editorMode = ThemeEditorMode.simple,
  this.layerInteraction = const ThemeLayerInteraction(),
  this.helperLine = const HelperLineTheme(),
  this.paintingEditor = const PaintingEditorTheme(),
  this.textEditor = const TextEditorTheme(),
  this.cropRotateEditor = const CropRotateEditorTheme(),
  this.filterEditor = const FilterEditorTheme(),
  this.blurEditor = const BlurEditorTheme(),
  this.emojiEditor = const EmojiEditorTheme(),
  this.stickerEditor = const StickerEditorTheme(),
  this.loadingDialogTheme = const LoadingDialogTheme(),
  this.adaptiveDialogTheme = const AdaptiveDialogTheme(),
  this.subEditorPage = const SubEditorPageTheme(),
  this.background = imageEditorBackgroundColor,
  this.bottomBarBackgroundColor = const Color(0xFF000000),
  this.appBarForegroundColor = const Color(0xFFFFFFFF),
  this.appBarBackgroundColor = const Color(0xFF000000),
  this.uiOverlayStyle = const SystemUiOverlayStyle(
    statusBarColor: Color(0x42000000),
    statusBarIconBrightness: Brightness.light,
    systemNavigationBarIconBrightness: Brightness.light,
    statusBarBrightness: Brightness.dark,
    systemNavigationBarColor: Color(0xFF000000),
  ),
});