Flutter
flutter_test
TestWidgetsFlutterBinding
inTest property
inTest
description
inTest
property
Null safety
bool
inTest
Whether there is currently a test executing.
Implementation
bool get inTest;
Flutter
flutter_test
TestWidgetsFlutterBinding
inTest property
TestWidgetsFlutterBinding class
Constructors
TestWidgetsFlutterBinding
Properties
accessibilityFeatures
buildOwner
channelBuffers
clock
currentFrameTimeStamp
currentSystemFrameTimeStamp
debugBuildingDirtyElements
debugDidSendFirstFrameEvent
debugPrintOverride
debugSamplingClock
defaultBinaryMessenger
defaultTestTimeout
disableAnimations
disableShadows
endOfFrame
firstFrameRasterized
focusedEditable
focusManager
framesEnabled
gestureArena
hashCode
hasScheduledFrame
imageCache
inTest
isRootWidgetAttached
keyboard
keyEventManager
lifecycleState
locked
microtaskCount
mouseTracker
overrideHttpClient
pipelineOwner
platformDispatcher
platformMenuDelegate
pointerEventSource
pointerRouter
pointerSignalResolver
registerTestTextInput
renderView
renderViewElement
resamplingEnabled
restorationManager
runtimeType
samplingOffset
schedulerPhase
schedulingStrategy
sendFramesToEngine
showAppDumpInErrors
systemFonts
testTextInput
transientCallbackCount
waitUntilFirstFrameRasterized
window
Methods
addObserver
addPersistentFrameCallback
addPostFrameCallback
addTime
addTimingsCallback
allowFirstFrame
asyncBarrier
attachRootWidget
cancelFrameCallbackWithId
cancelPointer
computePlatformResolvedLocale
createBinaryMessenger
createImageCache
createRestorationManager
createSemanticsUpdateBuilder
createViewConfiguration
debugAssertNoTransientCallbacks
deferFirstFrame
delayed
dispatchAccessibilityFeaturesChanged
dispatchEvent
dispatchLocalesChanged
drawFrame
ensureFrameCallbacksRegistered
ensureVisualUpdate
evict
globalToLocal
handleAccessibilityFeaturesChanged
handleAppLifecycleStateChanged
handleBeginFrame
handleDrawFrame
handleEvent
handleEventLoopCallback
handleLocaleChanged
handleMemoryPressure
handleMetricsChanged
handlePlatformBrightnessChanged
handlePointerEvent
handlePointerEventForSource
handlePopRoute
handlePushRoute
handleSystemMessage
handleTextScaleFactorChanged
hitTest
idle
initInstances
initLicenses
initMouseTracker
initRenderView
initServiceExtensions
instantiateImageCodec
instantiateImageCodecFromBuffer
localToGlobal
lockEvents
noSuchMethod
performReassemble
postEvent
postTest
pump
readInitialLifecycleStateFromNativeWindow
readTestInitialLifecycleStateFromNativeWindow
reassembleApplication
registerBoolServiceExtension
registerNumericServiceExtension
registerServiceExtension
registerSignalServiceExtension
registerStringServiceExtension
removeObserver
removeTimingsCallback
reportExceptionNoticed
reset
resetEpoch
resetFirstFrameSent
resetGestureBinding
runAsync
runTest
scheduleAttachRootWidget
scheduleForcedFrame
scheduleFrame
scheduleFrameCallback
scheduleTask
scheduleWarmUpFrame
setLocale
setLocales
setSemanticsEnabled
setSurfaceSize
setSystemUiChangeCallback
takeException
toString
unlocked
withPointerEventSource
Operators
operator ==
Static properties
instance
Static methods
ensureInitialized