PerformancePlugin class
The Performance tab: live FPS, resident memory, jank frame counters, and their rolling history sparklines.
- Inheritance
-
- Object
- DevToolkitPlugin
- PerformancePlugin
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData
-
The tab's icon, shown in the tab bar.
no setteroverride
- name → String
-
The tab's label, shown in the tab bar and as the console app bar title
while this plugin is active.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildActions(
BuildContext context) → List< Widget> -
Optional actions to show in the console toolbar
inherited
-
buildConfig(
BuildContext context) → Widget? -
An optional settings panel, toggled by the tune icon in the console app
bar while this plugin is active. Return
null(the default) if the plugin has nothing to configure.inherited -
buildTab(
BuildContext context) → Widget -
Main UI tab
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onInit(
) → void -
Called once when toolkit is initialized
override
-
onPause(
) → void -
Called when app pauses (optional)
inherited
-
onResume(
) → void -
Called when app resumes from background
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited