TrackStyle class
Constructors
- TrackStyle({double? primaryRulersHeight, Color? primaryRulerColor = Colors.black54, double? primaryRulersWidth = 1.0, double? secondaryRulersHeight = 10, double? secondaryRulersWidth = 1.0, Color? secondaryRulerColor = Colors.grey, double? secondaryRulerPerInterval = 1.0, bool showSecondaryRulers = true, bool showPrimaryRulers = true, bool? showLabel = true, double? labelOffset = 0, double? rulersOffset = 0, bool? inverseRulers = false, bool showFirstLabel = true, bool showLastLabel = true, TextStyle? labelStyle})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- inverseRulers → bool?
-
inversedRulers
allows for the inversion of the gauge's rulers, reversing the direction of the scale and indicators.finalinherited - labelOffset → double?
-
labelOffset
Sets the gap of the label from the primary rulerfinalinherited - labelStyle → TextStyle?
-
The labelStyle property is used to customize the label of the Radial Gauge.
final
- primaryRulerColor → Color?
-
primaryRulerColor
sets the color of the ruler which is attached to labelsfinalinherited - primaryRulersHeight → double?
-
primaryRulersHeight
set the Height of the Rulers which are attached to the labelsfinalinherited - primaryRulersWidth → double?
-
primaryRulersWidth
set the width of the Rulers which are attached to the labelsfinalinherited - rulersOffset → double?
-
rulersOffset
Sets the gap between the rulers and the LinearGaugefinalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondaryRulerColor → Color?
-
secondaryRulerColor
sets the color of the ruler which are in the between of ruler attached to labelsfinalinherited - secondaryRulerPerInterval → double?
-
secondaryRulerPerInterval
draw the ruler between primary rulers as per interval providedfinalinherited - secondaryRulersHeight → double?
-
secondaryRulersHeight
set the Height of the Rulers which are in the between of label Rulersfinalinherited - secondaryRulersWidth → double?
-
secondaryRulersWidth
set the width of the Rulers which are in the between of label Rulersfinalinherited - showFirstLabel → bool
-
The showFirstLabel property is used to show/Hide the first label of the Radial Gauge.
final
- showLabel → bool?
-
Sets the visibility of the label
default is to true
finalinherited
- showLastLabel → bool
-
The showLastLabel property is used to show/Hide the last label of the Radial Gauge.
final
- showPrimaryRulers → bool
-
showSecondaryRules
sets the visibility of the primary rulers.finalinherited - showSecondaryRulers → bool
-
showSecondaryRules
sets the visibility of the secondary rulers.finalinherited
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