FilterEditorTheme class

The FilterEditorTheme class defines the theme for the filter editor in the image editor. It includes properties such as colors for the app bar, background, and preview text.

Usage:

FilterEditorTheme filterEditorTheme = FilterEditorTheme(
  appBarBackgroundColor: Colors.black,
  appBarForegroundColor: Colors.white,
  background: Colors.grey,
  previewTextColor: Colors.blue,
);

Properties:

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

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

  • background: Background color of the filter editor.

  • previewTextColor: Color of the preview text.

Example Usage:

FilterEditorTheme filterEditorTheme = FilterEditorTheme(
  appBarBackgroundColor: Colors.black,
  appBarForegroundColor: Colors.white,
  background: Colors.grey,
  previewTextColor: Colors.blue,
);

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

Constructors

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

Properties

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

Methods

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