WidgetsServiceExtensions enum Null safety

Service extension constants for the widgets library.

These constants will be used when registering service extensions in the framework, and they will also be used by tools and services that call these service extensions.

The String value for each of these extension names should be accessed by calling the .name property on the enum value.

Inheritance

Constructors

WidgetsServiceExtensions()
const

Values

debugDumpApp → const WidgetsServiceExtensions

Name of service extension that, when called, will output a string representation of this app's widget tree to console.

See also:

showPerformanceOverlay → const WidgetsServiceExtensions

Name of service extension that, when called, will overlay a performance graph on top of this app.

See also:

didSendFirstFrameEvent → const WidgetsServiceExtensions

Name of service extension that, when called, will return whether the first 'Flutter.Frame' event has been reported on the Extension stream.

See also:

didSendFirstFrameRasterizedEvent → const WidgetsServiceExtensions

Name of service extension that, when called, will return whether the first frame has been rasterized and the trace event 'Rasterized first useful frame' has been sent out.

See also:

fastReassemble → const WidgetsServiceExtensions

Name of service extension that, when called, will reassemble the application.

See also:

profileWidgetBuilds → const WidgetsServiceExtensions

Name of service extension that, when called, will change the value of debugProfileBuildsEnabled, which adds Timeline events for every widget built.

See also:

profileUserWidgetBuilds → const WidgetsServiceExtensions

Name of service extension that, when called, will change the value of debugProfileBuildsEnabledUserWidgets, which adds Timeline events for every user-created widget built.

See also:

debugAllowBanner → const WidgetsServiceExtensions

Name of service extension that, when called, will change the value of WidgetsApp.debugAllowBannerOverride, which controls the visibility of the debug banner for debug mode apps.

See also:

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<WidgetsServiceExtensions>
A constant List of the values in this enum, in order of their declaration.
[debugDumpApp, showPerformanceOverlay, didSendFirstFrameEvent, didSendFirstFrameRasterizedEvent, fastReassemble, profileWidgetBuilds, profileUserWidgetBuilds, debugAllowBanner]