MainEditorStyle class
Represents the styling configuration for the main editor interface.
Constructors
- MainEditorStyle({Color background = kImageEditorBackground, Color bottomBarColor = kImageEditorBottomBarColor, Color bottomBarBackground = kImageEditorBottomBarBackground, Color appBarColor = kImageEditorAppBarColor, Color appBarBackground = kImageEditorAppBarBackground, SystemUiOverlayStyle uiOverlayStyle = kImageEditorUiOverlayStyle, double outsideCaptureAreaLayerOpacity = 0.5, SubEditorPageStyle subEditorPage = const SubEditorPageStyle()})
-
Creates a new instance of MainEditorStyle.
const
Properties
- appBarBackground → Color
-
Background color of the app bar.
final
- appBarColor → Color
-
Color of the app bar.
final
- background → Color
-
Background color for the image editor in the overview.
final
- bottomBarBackground → Color
-
Background color of the bottom bar.
final
- bottomBarColor → Color
-
Color of the bottom bar.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- outsideCaptureAreaLayerOpacity → double
-
If this opacity is greater than 0, it will paint a transparent overlay
over all layers that are drawn outside the background image area. The
overlay will have the specified opacity level.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subEditorPage → SubEditorPageStyle
-
The theme configuration for the sub-editor page.
final
- uiOverlayStyle → SystemUiOverlayStyle
-
UI overlay style, defining the appearance of system status bars.
final
Methods
-
copyWith(
{Color? background, Color? bottomBarColor, Color? bottomBarBackground, Color? appBarColor, Color? appBarBackground, SystemUiOverlayStyle? uiOverlayStyle, double? outsideCaptureAreaLayerOpacity, SubEditorPageStyle? subEditorPage}) → MainEditorStyle - Creates a copy of this style with the specified overrides.
-
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