WindDirectionGauge class

Creates a WindDirectionGauge.

Inheritance

Constructors

WindDirectionGauge.new({Key? key, double? value = 0, double? valueAverage = 0, FrameDesignEnum? frameDesign = FrameDesignEnum.METAL, bool? frameVisible = true, ForegroundTypeEnum? foregroundType = ForegroundTypeEnum.TYPE1, bool? foregroundVisible = true, BackgroundColorEnum? backgroundColor = BackgroundColorEnum.DARK_GRAY, bool? backgroundVisible = true, PointerTypeEnum? pointerType = PointerTypeEnum.TYPE1, PointerTypeEnum? pointerTypeAverage = PointerTypeEnum.TYPE8, ColorEnum? pointerColor = ColorEnum.RED, ColorEnum? pointerColorAverage = ColorEnum.BLUE, KnobTypeEnum? knobType = KnobTypeEnum.STANDARD_KNOB, KnobStyleEnum? knobStyle = KnobStyleEnum.SILVER, LcdColorEnum? lcdColor = LcdColorEnum.STANDARD, bool? lcdVisible = true, List<String>? pointSymbols = const ['N', 'NE', 'E', 'SE', 'S', 'SW', 'W', 'NW'], bool? pointSymbolsVisible = true, bool? degreeScale = true, bool? degreeScaleHalf = false, bool? roseVisible = true, List<String>? lcdTitleStrings = const ['Latest', 'Average'], String? titleString, bool? useColorLabels = false, List<Section>? section, List<Section>? area, Image? customLayer, FontTypeEnum? fontType = FontTypeEnum.RobotoMono, bool enableAnimation = true, int animationDuration = 1000, Curve animationType = Curves.ease})
Creates a WindDirectionGauge.
const

Properties

animationDuration int
Specifies the load time animation duration with enableAnimation. Duration is defined in milliseconds.
final
animationType Curve
Specifies the animation type.
final
area List<Section>?
area Sets if the odometer is displayed vs the lcd display of the RadialGauge
final
backgroundColor BackgroundColorEnum?
backgroundColor Sets the background color of the WindDirectionGauge
final
backgroundVisible bool?
backgroundVisible Sets the visibility state of the background of the WindDirectionGauge
final
customLayer Image?
customLayer
final
degreeScale bool?
degreeScale indicates if degree scale is used on the WindDirectionGauge
final
degreeScaleHalf bool?
degreeScaleHalf indicates if degree scale half is used on the WindDirectionGauge
final
enableAnimation bool
enableAnimation will enable animations. It's default to true.
final
fontType FontTypeEnum?
fontType Sets the font type of the WindDirectionGauge
final
foregroundType ForegroundTypeEnum?
foregroundType Sets the foreground type of the WindDirectionGauge
final
foregroundVisible bool?
foregroundVisible Sets the visibility state of the foreground of the WindDirectionGauge
final
frameDesign FrameDesignEnum?
frameDesign Sets the frame design of the WindDirectionGauge
final
frameVisible bool?
frameVisible Sets the visibility state of the frame of the WindDirectionGauge
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
knobStyle KnobStyleEnum?
knobType Sets the knob style of the WindDirectionGauge
final
knobType KnobTypeEnum?
knobType Sets the knob type of the WindDirectionGauge
final
lcdColor LcdColorEnum?
lcdColor Sets the lcd color of the WindDirectionGauge
final
lcdTitleStrings List<String>?
lcdTitleStrings Sets the title of the WindDirectionGauge
final
lcdVisible bool?
lcdVisible Sets the visibility of the lcd panel of the WindDirectionGauge
final
pointerColor ColorEnum?
pointerColor Sets the pointer color of the WindDirectionGauge
final
pointerColorAverage ColorEnum?
pointerColorAverage Sets the pointer color average of the WindDirectionGauge
final
pointerType PointerTypeEnum?
pointerType Sets the pointer type of the WindDirectionGauge
final
pointerTypeAverage PointerTypeEnum?
pointerTypeAverage Sets the pointer average type of the WindDirectionGauge
final
pointSymbols List<String>?
pointSymbols compass points of the WindDirectionGauge
final
pointSymbolsVisible bool?
pointSymbolsVisible indicates if points symbols are visible on the WindDirectionGauge
final
roseVisible bool?
roseVisible indicates if compass rose is visible on the WindDirectionGauge
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
section List<Section>?
section
final
titleString String?
titleString Sets the title of the WindDirectionGauge
final
useColorLabels bool?
useColorLabels Sets the visibility state of the lables of the WindDirectionGauge
final
value double?
value Sets the value of the WindDirectionGauge
final
valueAverage double?
valueAverage Sets the average value of the WindDirectionGauge
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<WindDirectionGauge>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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