DebugDoubleProperty class

Property describing a double value with an optional unit of measurement.

Numeric formatting is optimized for debug message readability.

Inheritance

Constructors

DebugDoubleProperty(String name, double? value, {String? ifNull, String? unit, String? tooltip, Object? defaultValue = kNoDefaultValue, bool showName = true})
If specified, unit describes the unit for the value (e.g. px).

Properties

defaultValue Object?
The default value of this property, when it has not been set to a specific value.
finalinherited
description String?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
ifEmpty String?
Description if the property description would otherwise be empty.
finalinherited
ifNull String?
Description if the property value is null.
finalinherited
name String?
finalinherited
propertyType Type
The type of the property value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showName bool
finalinherited
showSeparator bool
finalinherited
tooltip String?
finalinherited
unit String?
Optional unit the value is measured in.
finalinherited
value double?
finalinherited

Methods

getChildren() List<DebugPropertyNode>
Children of this DebugPropertyNode.
inherited
getProperties() List<DebugPropertyNode>
Properties of this DebugPropertyNode.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
numberToString() String
String describing just the numeric value without a unit suffix.
toDescription() String
Returns a description with a short summary of the node itself not including children or properties.
inherited
toString() String
A string representation of this object.
inherited
valueToString() String
Returns a string representation of the property value.
inherited

Operators

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