PerformanceAnalyzerWidget class

Inheritance

Constructors

PerformanceAnalyzerWidget({Key? key, required Widget child, bool disable = false, bool activateFPS = true, double scaleFPS = 1, Alignment alignmentFPS = Alignment.topRight, int sampleSizeFPS = 32, Duration targetFrameTimeFPS = const Duration(milliseconds: 16, microseconds: 700), Duration maxBarValueFPS = const Duration(milliseconds: 24), Color backgroundFPS = const Color(0x00ffffff), Color textColorFPS = const Color(0xff000000), Color textBackgroundColorFPS = const Color(0xffffffff), Color chartBarsColor = const Color(0xff4caf50), bool activateMemory = true, Alignment alignmentMemory = Alignment.topRight, double scaleMemory = 1, int nObjects = 5, Color backgroundMemory = const Color(0x00ffff8d), Color textColorMemory = const Color(0xff000000), Color textBackgroundColorMemory = const Color(0xffffffff), bool activateNetwork = true, Alignment alignmentNetwork = Alignment.topLeft, double scaleNetwork = 1, Color backgroundNetwork = const Color(0x00ffffff), Color textColorNetwork = const Color(0xff000000), Color textBackgroundNetwork = const Color(0xffffffff), int timeBox = 60})
const

Properties

activateFPS bool
final
activateMemory bool
final
activateNetwork bool
final
alignmentFPS Alignment
final
alignmentMemory Alignment
final
alignmentNetwork Alignment
final
backgroundFPS Color
final
backgroundMemory Color
final
backgroundNetwork Color
final
chartBarsColor Color
final
child Widget
final
disable bool
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
maxBarValueFPS Duration
final
nObjects int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleSizeFPS int
final
scaleFPS double
final
scaleMemory double
final
scaleNetwork double
final
targetFrameTimeFPS Duration
final
textBackgroundColorFPS Color
final
textBackgroundColorMemory Color
final
textBackgroundNetwork Color
final
textColorFPS Color
final
textColorMemory Color
final
textColorNetwork Color
final
timeBox int
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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