ImageEditorTheme constructor
const
ImageEditorTheme({
- EditorBoxConstraintsBuilder? editorBoxConstraintsBuilder,
- double outsideCaptureAreaLayerOpacity = 0.5,
- ThemeLayerInteraction layerInteraction = const ThemeLayerInteraction(),
- HelperLineTheme helperLine = const HelperLineTheme(),
- PaintingEditorTheme paintingEditor = const PaintingEditorTheme(),
- TextEditorTheme textEditor = const TextEditorTheme(),
- CropRotateEditorTheme cropRotateEditor = const CropRotateEditorTheme(),
- FilterEditorTheme filterEditor = const FilterEditorTheme(),
- TuneEditorTheme tuneEditor = const TuneEditorTheme(),
- BlurEditorTheme blurEditor = const BlurEditorTheme(),
- EmojiEditorTheme emojiEditor = const EmojiEditorTheme(),
- StickerEditorTheme stickerEditor = const StickerEditorTheme(),
- LoadingDialogTheme loadingDialogTheme = const LoadingDialogTheme(),
- AdaptiveDialogTheme adaptiveDialogTheme = const AdaptiveDialogTheme(),
- SubEditorPageTheme subEditorPage = const SubEditorPageTheme(),
- Color background = imageEditorBackgroundColor,
- Color bottomBarBackgroundColor = const Color(0xFF000000),
- Color appBarForegroundColor = const Color(0xFFFFFFFF),
- Color appBarBackgroundColor = const Color(0xFF000000),
- 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),
),
});