WidgetsServiceExtensions enum
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.
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:
- WidgetsBinding.initServiceExtensions, where the service extension is registered.
- debugDumpFocusTree → const WidgetsServiceExtensions
-
Name of service extension that, when called, will output a string representation of the focus tree to the console.
See also:
- WidgetsBinding.initServiceExtensions, where the service extension is registered.
- showPerformanceOverlay → const WidgetsServiceExtensions
-
Name of service extension that, when called, will overlay a performance graph on top of this app.
See also:
- WidgetsApp.showPerformanceOverlayOverride, which is the flag that this service extension exposes.
- WidgetsBinding.initServiceExtensions, where the service extension is registered.
- 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:
- WidgetsBinding.initServiceExtensions, where the service extension is registered.
- 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:
- WidgetsBinding.initServiceExtensions, where the service extension is registered.
- fastReassemble → const WidgetsServiceExtensions
-
Name of service extension that, when called, will reassemble the application.
See also:
- WidgetsBinding.initServiceExtensions, where the service extension is registered.
- 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:
- debugProfileBuildsEnabled, which is the flag that this service extension exposes.
- WidgetsBinding.initServiceExtensions, where the service extension is registered.
- 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:
- debugProfileBuildsEnabledUserWidgets, which is the flag that this service extension exposes.
- WidgetsBinding.initServiceExtensions, where the service extension is registered.
- 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:
- WidgetsApp.debugAllowBannerOverride, which is the flag that this service extension exposes.
- WidgetsBinding.initServiceExtensions, where the service extension is registered.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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.