BlurEditorTheme class

The BlurEditorTheme class defines the theme for the blur editor in the image editor. It includes properties such as colors for the app bar and background.

Usage:

BlurEditorTheme BlurEditorTheme = BlurEditorTheme(
  appBarBackgroundColor: Colors.black,
  appBarForegroundColor: Colors.white,
  background: Colors.grey,
);

Properties:

  • appBarBackgroundColor: Background color of the app bar in the blur editor.

  • appBarForegroundColor: Foreground color (text and icons) of the app bar.

  • background: Background color of the blur editor.

Example Usage:

BlurEditorTheme BlurEditorTheme = BlurEditorTheme(
  appBarBackgroundColor: Colors.black,
  appBarForegroundColor: Colors.white,
  background: Colors.grey,
);

Color appBarBackgroundColor = BlurEditorTheme.appBarBackgroundColor;
Color background = BlurEditorTheme.background;
// Access other theme properties...

Constructors

BlurEditorTheme({Color appBarBackgroundColor = imageEditorAppBarColor, Color appBarForegroundColor = const Color(0xFFE1E1E1), Color background = imageEditorBackgroundColor})
Creates an instance of the BlurEditorTheme class with the specified theme properties.
const

Properties

appBarBackgroundColor Color
Background color of the app bar in the blur editor.
final
appBarForegroundColor Color
Foreground color (text and icons) of the app bar.
final
background Color
Background color of the blur editor.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Color? appBarBackgroundColor, Color? appBarForegroundColor, Color? background}) BlurEditorTheme
Creates a copy of this BlurEditorTheme object with the given fields replaced with new values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited