WindDirectionGauge class
Creates a WindDirectionGauge.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- WindDirectionGauge
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 RadialGaugefinal - backgroundColor → BackgroundColorEnum?
-
backgroundColor
Sets the background color of the WindDirectionGaugefinal - backgroundVisible → bool?
-
backgroundVisible
Sets the visibility state of the background of the WindDirectionGaugefinal - customLayer → Image?
-
customLayer
final - degreeScale → bool?
-
degreeScale
indicates if degree scale is used on the WindDirectionGaugefinal - degreeScaleHalf → bool?
-
degreeScaleHalf
indicates if degree scale half is used on the WindDirectionGaugefinal - enableAnimation → bool
-
enableAnimation
will enable animations. It's default to true.final - fontType → FontTypeEnum?
-
fontType
Sets the font type of the WindDirectionGaugefinal - foregroundType → ForegroundTypeEnum?
-
foregroundType
Sets the foreground type of the WindDirectionGaugefinal - foregroundVisible → bool?
-
foregroundVisible
Sets the visibility state of the foreground of the WindDirectionGaugefinal - frameDesign → FrameDesignEnum?
-
frameDesign
Sets the frame design of the WindDirectionGaugefinal - frameVisible → bool?
-
frameVisible
Sets the visibility state of the frame of the WindDirectionGaugefinal - 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 WindDirectionGaugefinal - knobType → KnobTypeEnum?
-
knobType
Sets the knob type of the WindDirectionGaugefinal - lcdColor → LcdColorEnum?
-
lcdColor
Sets the lcd color of the WindDirectionGaugefinal -
lcdTitleStrings
→ List<
String> ? -
lcdTitleStrings
Sets the title of the WindDirectionGaugefinal - lcdVisible → bool?
-
lcdVisible
Sets the visibility of the lcd panel of the WindDirectionGaugefinal - pointerColor → ColorEnum?
-
pointerColor
Sets the pointer color of the WindDirectionGaugefinal - pointerColorAverage → ColorEnum?
-
pointerColorAverage
Sets the pointer color average of the WindDirectionGaugefinal - pointerType → PointerTypeEnum?
-
pointerType
Sets the pointer type of the WindDirectionGaugefinal - pointerTypeAverage → PointerTypeEnum?
-
pointerTypeAverage
Sets the pointer average type of the WindDirectionGaugefinal -
pointSymbols
→ List<
String> ? -
pointSymbols
compass points of the WindDirectionGaugefinal - pointSymbolsVisible → bool?
-
pointSymbolsVisible
indicates if points symbols are visible on the WindDirectionGaugefinal - roseVisible → bool?
-
roseVisible
indicates if compass rose is visible on the WindDirectionGaugefinal - 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 WindDirectionGaugefinal - useColorLabels → bool?
-
useColorLabels
Sets the visibility state of the lables of the WindDirectionGaugefinal - value → double?
-
value
Sets the value of the WindDirectionGaugefinal - valueAverage → double?
-
valueAverage
Sets the average value of the WindDirectionGaugefinal
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