ArrowParams class
Arrow parameters used by DrawArrow
widget
Constructors
- ArrowParams({double thickness = 1.7, Color color = Colors.black, Alignment startArrowPosition = Alignment.centerRight, Alignment endArrowPosition = Alignment.centerLeft})
-
const
- ArrowParams.fromJson(String source)
-
factory
-
ArrowParams.fromMap(Map<
String, dynamic> map) -
factory
Properties
- color → Color
-
final
- endArrowPosition → Alignment
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startArrowPosition → Alignment
-
final
- thickness → double
-
final
Methods
-
copyWith(
{double? thickness, Color? color, Alignment? startArrowPosition, Alignment? endArrowPosition}) → ArrowParams -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited