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. TuneEditorTheme tuneEditor = const TuneEditorTheme(),
  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.layerInteraction = const ThemeLayerInteraction(),
  this.helperLine = const HelperLineTheme(),
  this.paintingEditor = const PaintingEditorTheme(),
  this.textEditor = const TextEditorTheme(),
  this.cropRotateEditor = const CropRotateEditorTheme(),
  this.filterEditor = const FilterEditorTheme(),
  this.tuneEditor = const TuneEditorTheme(),
  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),
  ),
});