MajorTickLines class Null safety

This class Renders the major tick lines for axis.

To render major grid lines, create an instance of MajorTickLines, and assign it to the majorTickLines property of ChartAxis. The Major tick lines can be drawn for each axis on the plot area.

Provides options for size, width, and color to customize the appearance.

Constructors

MajorTickLines({double size = 5, double width = 1, Color? color})
Creating an argument constructor of MajorTickLines class.
const

Properties

color Color?
Colors of the major tick lines. [...]
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size double
Size of the major tick lines. [...]
final
width double
Width of the major tick lines. [...]
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited