AxisTickConfig class
Represents data that affects the painting of ticks for all axis.
Constructors
- AxisTickConfig.new({double tickLength = 15.0, double tickWidth = 1.0, Color tickColor = Colors.black45, bool showTickOnLeftAxis = false, bool showTickOnTopAxis = false, bool showTickOnBottomAxis = false, bool showTickOnRightAxis = false})
-
Represents data that affects the painting of ticks for all axis.
const
- AxisTickConfig.forAllAxis({double tickLength = 15.0, double tickWidth = 1.0, Color tickColor = Colors.black45, bool showTicks = false})
-
Represents data that affects the painting of ticks for all axis.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showTickOnBottomAxis → bool
-
Show or hide the ticks along bottom X axis.
final
- showTickOnLeftAxis → bool
-
Show or hide the ticks along left Y axis.
final
- showTickOnRightAxis → bool
-
Show or hide the ticks along right Y axis.
final
- showTickOnTopAxis → bool
-
Show or hide the ticks along top X axis.
final
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited - tickColor → Color
-
The Color of the Tick drawn along Axes
final
- tickLength → double
-
The Length of the Tick drawn along Axes
Defaults to 15.
final
- tickWidth → double
-
The Width/Thickness of the Tick drawn along Axes
Defaults to 1.
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