ImageEditorTheme constructor

const ImageEditorTheme({
  1. EditorBoxConstraintsBuilder? editorBoxConstraintsBuilder,
  2. double outsideCaptureAreaLayerOpacity = 0.5,
  3. ThemeLayerInteraction layerInteraction = const ThemeLayerInteraction(),
  4. HelperLineTheme helperLine = const HelperLineTheme(),
  5. PaintingEditorTheme paintingEditor = const PaintingEditorTheme(),
  6. TextEditorTheme textEditor = const TextEditorTheme(),
  7. CropRotateEditorTheme cropRotateEditor = const CropRotateEditorTheme(),
  8. FilterEditorTheme filterEditor = const FilterEditorTheme(),
  9. BlurEditorTheme blurEditor = const BlurEditorTheme(),
  10. EmojiEditorTheme emojiEditor = const EmojiEditorTheme(),
  11. StickerEditorTheme stickerEditor = const StickerEditorTheme(),
  12. LoadingDialogTheme loadingDialogTheme = const LoadingDialogTheme(),
  13. AdaptiveDialogTheme adaptiveDialogTheme = const AdaptiveDialogTheme(),
  14. SubEditorPageTheme subEditorPage = const SubEditorPageTheme(),
  15. Color background = imageEditorBackgroundColor,
  16. Color bottomBarBackgroundColor = const Color(0xFF000000),
  17. Color appBarForegroundColor = const Color(0xFFFFFFFF),
  18. Color appBarBackgroundColor = const Color(0xFF000000),
  19. 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.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),
  ),
});