DebugIntProperty class

An int valued property with an optional unit the value is measured in.

Examples of units include 'px' and 'ms'.

Inheritance

Constructors

DebugIntProperty(String name, int? value, {String? ifNull, bool showName = true, String? unit, Object? defaultValue = kNoDefaultValue})
Create a diagnostics property for integers.

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 int?
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