HelperLineTheme class

The HelperLineTheme class defines the theme for helper lines in the image editor. Helper lines are used to assist with alignment and positioning of elements in the editor.

Usage:

HelperLineTheme helperLineTheme = HelperLineTheme(
  horizontalColor: Colors.blue,
  verticalColor: Colors.red,
  rotateColor: Colors.pink,
);

Properties:

  • horizontalColor: Color of horizontal helper lines.

  • verticalColor: Color of vertical helper lines.

  • rotateColor: Color of rotation helper lines.

Example Usage:

HelperLineTheme helperLineTheme = HelperLineTheme(
  horizontalColor: Colors.blue,
  verticalColor: Colors.red,
  rotateColor: Colors.pink,
);

Color horizontalColor = helperLineTheme.horizontalColor;
Color verticalColor = helperLineTheme.verticalColor;
// Access other theme properties...

Constructors

HelperLineTheme({Color horizontalColor = const Color(0xFF1565C0), Color verticalColor = const Color(0xFF1565C0), Color rotateColor = const Color(0xFFE91E63)})
Creates an instance of the HelperLineTheme class with the specified theme properties.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
horizontalColor Color
Color of horizontal helper lines.
final
rotateColor Color
Color of rotation helper lines.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
verticalColor Color
Color of vertical helper lines.
final

Methods

copyWith({Color? horizontalColor, Color? verticalColor, Color? rotateColor}) HelperLineTheme
Creates a copy of this HelperLineTheme 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