PerformanceOverlay class
π Performance Monitoring Widget - Shows FPS and memory usage (debug only)
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- PerformanceOverlay
Constructors
- PerformanceOverlay.new({Key? key, required Widget child, bool enabled = false})
-
const
Properties
Methods
-
createElement(
) β StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) β State< PerformanceOverlay> -
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