BlurEditorStyle class
The BlurEditorStyle
class defines the style for the blur editor in the
image editor.
It includes properties such as colors for the app bar and background.
Usage:
BlurEditorStyle BlurEditorStyle = BlurEditorStyle(
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:
BlurEditorStyle BlurEditorStyle = BlurEditorStyle(
appBarBackgroundColor: Colors.black,
appBarForegroundColor: Colors.white,
background: Colors.grey,
);
Color appBarBackgroundColor = BlurEditorStyle.appBarBackgroundColor;
Color background = BlurEditorStyle.background;
Constructors
- BlurEditorStyle({Color appBarBackgroundColor = kImageEditorAppBarBackground, Color appBarForegroundColor = const Color(0xFFE1E1E1), Color background = kImageEditorBackground, SystemUiOverlayStyle uiOverlayStyle = kImageEditorUiOverlayStyle})
-
Creates an instance of the
BlurEditorStyle
class with the specified style 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
- uiOverlayStyle → SystemUiOverlayStyle
-
UI overlay style, defining the appearance of system status bars.
final
Methods
-
copyWith(
{Color? appBarBackgroundColor, Color? appBarForegroundColor, Color? background, SystemUiOverlayStyle? uiOverlayStyle}) → BlurEditorStyle -
Creates a copy of this
BlurEditorStyle
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