AxisLine class

This class consists of axis line properties.

It has the public properties to customize the axis line by increasing or decreasing the width of the axis line and render the axis line with dashes by defining the dashArray value.

Provides options for color, dash array, and width to customize the appearance of the axis line.

Constructors

AxisLine({Color? color, List<double>? dashArray, double width = 1})
Creating an argument constructor of AxisLine class.
const

Properties

color Color?
Color of the axis line. Color will be applied based on the brightness property of the app.
final
dashArray List<double>?
Dashes of the axis line. Any number of values can be provided in the list. Odd value is considered as rendering size and even value is considered as gap.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double
Width of the axis line.
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