bones_ui_test library

Bone UI - Test Tools

Classes

AbortPaymentEvent
AbsoluteOrientationSensor
AbstractWorker
Accelerometer
AccessibleNode
AccessibleNodeList
AmbientLightSensor
AnchorElement
Animation
AnimationEffectReadOnly
AnimationEffectTiming
AnimationEffectTimingReadOnly
AnimationEvent
AnimationPlaybackEvent
AnimationTimeline
AnimationWorkletGlobalScope
AnyUriPolicy
Allows anu Uri policy.
ApplicationCache
ApplicationCache is accessed via Window.applicationCache.
ApplicationCacheErrorEvent
AreaElement
DOM Area Element, which links regions of an image map with a hyperlink.
AsDOMElement
Interface for objects that can be cast as DOMElement.
AsDOMNode
Interface for objects that can be cast as DOMNode.
AudioElement
AudioFileReader
AuthenticatorAssertionResponse
AuthenticatorAttestationResponse
AuthenticatorResponse
BackgroundFetchClickEvent
BackgroundFetchedEvent
BackgroundFetchEvent
BackgroundFetchFailEvent
BackgroundFetchFetch
BackgroundFetchManager
BackgroundFetchRegistration
BackgroundFetchSettledFetch
BarcodeDetector
BarProp
BaseElement
BatteryManager
BeforeInstallPromptEvent
BeforeUnloadEvent
Blob
BlobEvent
BluetoothRemoteGattDescriptor
Body
BodyElement
BonesUI
BRElement
BroadcastChannel
BudgetState
BUIElementGenerator
BUIManifest
BUIManifestRender
BUIRender
BUIRenderSource
BUIView
BUIViewProvider
BUIViewProviderBase
ButtonElement
ButtonInputElement
A button, with no default behavior.
CacheStorage
CalendarEvent
CanMakePaymentEvent
CanvasCaptureMediaStreamTrack
CanvasElement
CanvasGradient
An opaque canvas object representing a gradient.
CanvasImageSource
An object that can be drawn to a 2D canvas rendering context.
CanvasImageViewer
An image viewer that can render points, rectangles, clip and grid over.
CanvasPattern
An opaque object representing a pattern of image, canvas, or video.
CanvasRenderingContext
CanvasRenderingContext2D
CAPTIONElement
CDataSection
CharacterData
CHECKBOXElement
CheckboxInputElement
A boolean editor control.
ChildNode
Client
Clients
ClipboardEvent
CloseEvent
Color
Represents a color.
Comment
Completer<T>
A way to produce Future objects and to complete them later with a value or error.
CompositionEvent
ConfigDocument
Console
ContentElement
CookieStore
Coordinates
Credential
CredentialsContainer
CredentialUserData
Crypto
CryptoKey
CSS
CSS entries.
Css
CSSAnimationConfig
CSSAnimationConfigElements
CSS animation configuration for a List<Element>.
CSSAnimationConfigGroup
CSS animation configuration for a group of CSSAnimationConfig.
CSSBackground
A CSS background value.
CSSBackgroundGradient
A CSS background gradient value.
CSSBackgroundImage
CSSBorder
A CSS border value.
CSSCalc
A CSS calc(...) value.
CssCharsetRule
CssClassSet
A Set that stores the CSS class names for an element.
CSSColor
Base class for CSS colors.
CSSColorHEX
A CSSColor in HEX (no alpha).
CSSColorHEXAlpha
A CSSColor in HEX with alpha.
CSSColorName
A CSSColor by name.
CSSColorRGB
A CSSColor in RGB.
CSSColorRGBA
CssConditionRule
CSSEntry<V extends CSSValue>
A CSS entry (a pair of key and CSSValue).
CssFontFaceRule
CSSFunction
Base class for a CSSValue that is a CSS function.
CSSGeneric
A generic CSS value.
CssGroupingRule
CssImageValue
CssImportRule
CssKeyframeRule
CssKeyframesRule
CssKeywordValue
CSSLength
A CSS value that represents a length with a unit.
CssMatrixComponent
CSSMax
A CSS max(...) value.
CssMediaRule
CSSMin
A CSS min(...) value.
CssNamespaceRule
CSSNumber
A CSS value that represents a number (without a unit).
CssNumericValue
CssPageRule
CssPerspective
CssPositionValue
CSSProvider
CssRect
A class for representing CSS dimensions.
CssResourceValue
CssRotation
CssRule
CssScale
CssSkew
CssStyleDeclaration
CssStyleDeclarationBase
CssStyleRule
CssStyleSheet
CssStyleValue
CssSupportsRule
CSSThemeSet
A Theme set, with multiples themes.
CssTransformComponent
CssTransformValue
CssTranslation
CssUnitValue
CssUnparsedValue
CSSURL
A CSS url(...) value.
CssurlImageValue
CSSValue
Base class for CSSEntry values.
CSSValueBase
CssVariableReferenceValue
CssViewportRule
CustomElementRegistry
CustomEvent
CustomStream<T extends Event>
A stream of custom events, which enables the user to "fire" (add) their own custom events to a stream.
DataAssets
A collections of assets (DataURL, Blob, MediaSource) that can be accessed by an ObjectURL, avoiding usage and encoding to data URL (base64).
DataElement
DataListElement
DataStorage
Represents a persistent storage in the browser.
DataTransfer
DataTransferItem
DataTransferItemList
DateInputElement
A date (year, month, day) with no time zone.
DedicatedWorkerGlobalScope
DeprecatedStorageInfo
DeprecatedStorageQuota
DeprecationReport
DetailsElement
DetectedBarcode
DetectedFace
DetectedText
DeviceAcceleration
DeviceMotionEvent
DeviceOrientationEvent
DeviceRotationRate
DialogElement
Dimension
Class representing a length measurement in CSS.
DirectoryEntry
DirectoryReader
DivElement
A generic container for content on an HTML page; corresponds to the <div> tag.
DIVElement
Class for a div element.
DListElement
Document
The base class for all documents.
DocumentFragment
DocumentOrShadowRoot
DocumentTimeline
DOMAction<T>
DOMActionCall<T>
DOMActionExecutor<T>
DOMActionList<T>
DOMActionSelect<T>
DOMAsync
A DOMNode that will be defined in the future.
DOMAttribute
Represents a DOMElement attribute entry (name and DOMAttributeValue).
DOMAttributeValue
Base class for DOMAttribute value.
DOMAttributeValueBoolean
DOMAttributeValueCollection
Base DOMAttributeValue class for collections.
DOMAttributeValueCSS
A DOMAttributeValue of type CSS.
DOMAttributeValueList
A DOMAttributeValue of type List.
DOMAttributeValueSet
A DOMAttributeValue of type Set.
DOMAttributeValueString
A DOMAttributeValue of type String.
DOMAttributeValueTemplate
Attribute value when has template syntax: {{...}}
DOMContext<T>
Represents the context of this DOM tree.
DOMElement
A node for HTML elements.
DomError
DOMEvent<T>
Base class for DOMElement events.
DomException
DOMGenerator<T>
Basic class for DOM elements generators.
DOMGeneratorDartHTML<T>
DOMGeneratorDelegate<T>
Delegates operations to another DOMGenerator.
DOMGeneratorDummy<T>
A dummy DOMGenerator implementation.
DomImplementation
DomIterator
DomMatrix
DomMatrixReadOnly
DOMMouseEvent<T>
Represents a mouse event.
DOMNode
Represents a DOM Node.
DOMNodeMapping<T>
A wrapper for a mapped pair of a DOMTreeMap.
DOMNodeRuntime<T>
Wraps the actual generated node T and allows some operations over it.
DOMNodeRuntimeDummy<T>
DomParser
DomPoint
DomPointReadOnly
DomQuad
DomRectList
DomRectReadOnly
DomStringList
DomStringMap
DOMTemplate
DOMTemplateBlock
DOMTemplateBlockCondition
DOMTemplateBlockElse
DOMTemplateBlockElseCondition
DOMTemplateBlockElseIf
DOMTemplateBlockElseNot
DOMTemplateBlockIf
DOMTemplateBlockIfCmp
DOMTemplateBlockIfCollection
DOMTemplateBlockNot
DOMTemplateBlockQuery
DOMTemplateBlockVar
DOMTemplateBlockVarElse
DOMTemplateContent
DOMTemplateIntlMessage
DOMTemplateNode
DOMTemplateVariable
DomTokenList
DOMTreeMap<T>
Represents a mapping tree. Can be used to map a DOMNode to a generated node T, or a node T to a DOMNode.
DOMTreeMapDummy<T>
A Dummy DOMTreeMap, that won't map anything.
DOMTreeReferenceMap<V>
A TreeReferenceMap for DOM Nodes.
DSX<T>
A DSX object.
DSXResolver<T>
DSXType<T>
Element
An abstract class, which all HTML elements extend.
ElementEvents
ElementGenerator<T>
ElementGeneratorBase
ElementGeneratorFunctions<T>
ElementList<T extends Element>
An immutable list containing HTML elements. This list contains some additional methods when compared to regular lists for ease of CSS manipulation on a group of elements.
ElementProvider
ElementStream<T extends Event>
A specialized Stream available to Elements to enable event delegation.
ElementUpgrader
A utility for changing the Dart wrapper type for elements.
EmailInputElement
An e-mail address or list of e-mail addresses.
EmbedElement
Entry
ErrorEvent
Event
EventHandlerPrivate
Events
Base class that supports listening for and dispatching browser events.
EventSink<T>
A Sink that supports adding errors.
EventSource
EventStreamProvider<T extends Event>
A factory to expose DOM events as Streams.
EventTarget
Base class for all browser objects that support events.
ExplorerModel
ExtendableEvent
ExtendableMessageEvent
External
ExternalElementNode
Class wrapper for a external element as a DOMNode.
FaceDetector
FederatedCredential
FetchEvent
FieldLengthValidator
FieldNormalizerGroup
FieldSetElement
FieldValidatorGroup
File
FileEntry
FileList
FileReader
FileSystem
FileUploadInputElement
A control for picking files from the user's computer.
FileWriter
FilterResult
Filter result.
FixedSizeListIterator<T>
FocusEvent
FontFace
FontFaceSet
FontFaceSetLoadEvent
FontFaceSource
ForeignFetchEvent
FormData
FormElement
Future<T>
The result of an asynchronous computation.
FutureOr<T>
A type representing values that are either Future<T> or T.
Gamepad
GamepadButton
GamepadEvent
GamepadPose
Geolocation
Geoposition
GlobalEventHandlers
Gyroscope
HashChangeEvent
HeadElement
Headers
HeadingElement
HiddenInputElement
Hidden input which is not intended to be seen or edited by the user.
History
HistoryBase
HRElement
An <hr> tag.
HSLColor
A color represented using alpha, hue, saturation, and lightness.
HSVColor
A color represented using alpha, hue, saturation, and value.
HtmlCollection
HtmlDocument
HtmlElement
HtmlFormControlsCollection
HtmlHtmlElement
HtmlHyperlinkElementUtils
HtmlOptionsCollection
HttpRequest
A client-side XHR request for getting data from a URL, formally known as XMLHttpRequest.
HttpRequestEventTarget
HttpRequestUpload
HttpStatus
HTTP status codes. Exported in dart:io and dart:html.
IdleDeadline
IFrameElement
ImageBitmap
ImageBitmapRenderingContext
ImageButtonInputElement
Either an image which the user can select a coordinate to or a form submit button.
ImageCapture
ImageClip
Represents an image clip parameters.
ImageData
ImageElement
ImageFileReader
ImagePerspectiveFilter
A filter that applies a perspective to an image.
ImagePerspectiveFilterCache
A cache for perspective filers.
ImageScaledCache
A cache for scaled images.
ImmutableListMixin<E>
InputConfig
Configuration for an input.
InputDeviceCapabilities
InputElement
INPUTElement
InputElementBase
Exposes the functionality common between all InputElement types.
InstallEvent
IntersectionObserver
IntersectionObserverEntry
InterventionReport
JSONConfig
JSONConfigDocument
JSONObject
Base class for an Object that can be converted to JSON.
JSONTransformer
KeyboardEvent
An event that describes user interaction with the keyboard.
KeyboardEventStream
Records KeyboardEvents that occur on a particular element, and provides a stream of outgoing KeyEvents with cross-browser consistent keyCode and charCode values despite the fact that a multitude of browsers that have varying keyboard default behavior.
KeyCode
Defines the keycode values for keys that are returned by KeyboardEvent.keyCode.
KeyEvent
A custom KeyboardEvent that attempts to eliminate cross-browser inconsistencies, and also provide both keyCode and charCode information for all key events (when such information can be determined).
KeyframeEffect
KeyframeEffectReadOnly
KeyLocation
Defines the standard key locations returned by KeyboardEvent.getKeyLocation.
Label<T extends num>
LabelElement
LegendElement
LIElement
LinearAccelerationSensor
LinkElement
LocalDateTimeInputElement
A date and time (year, month, day, hour, minute, second, fraction of a second) with no time zone.
Location
LocationBase
Magnetometer
MapElement
MasonryItem
MathMLElement
MediaCapabilities
MediaCapabilitiesInfo
MediaDeviceInfo
MediaDevices
MediaElement
MediaEncryptedEvent
MediaError
MediaKeyMessageEvent
MediaKeys
MediaKeySession
MediaKeysPolicy
MediaKeyStatusMap
MediaKeySystemAccess
MediaList
MediaMetadata
MediaQueryList
MediaQueryListEvent
MediaRecorder
MediaSession
MediaSettingsRange
MediaSource
MediaStream
MediaStreamEvent
MediaStreamTrack
MediaStreamTrackEvent
MemoryInfo
An HTML
MessageChannel
MessageEvent
MessagePort
Metadata
MetaElement
MeterElement
MidiAccess
MidiConnectionEvent
MidiInput
MidiInputMap
MidiMessageEvent
MidiOutput
MidiOutputMap
MidiPort
MimeType
MimeTypeArray
ModElement
MonthInputElement
A date consisting of a year and a month with no time zone.
MouseEvent
MultiStreamController<T>
An enhanced stream controller provided by Stream.multi.
MutationEvent
MutationObserver
MutationRecord
Represents a navigation (route + parameters).
NetworkInformation
Node
NodeFilter
NodeIterator
NodeList
NodeTreeSanitizer
Performs sanitization of a node tree after construction to ensure that it does not contain any disallowed elements or attributes.
NodeValidator
Interface used to validate that only accepted elements and attributes are allowed while parsing HTML strings into DOM nodes.
NodeValidatorBuilder
Class which helps construct standard node validation policies.
NoncedElement
NonDocumentTypeChildNode
NonElementParentNode
Notification
NotificationEvent
NumberInputElement
A numeric editor control.
ObjectElement
OffscreenCanvas
OffscreenCanvasRenderingContext2D
OListElement
OptGroupElement
OPTIONElement
OptionElement
OrientationSensor
OutputElement
OverconstrainedError
PageTransitionEvent
PaintRenderingContext2D
PaintSize
PaintWorkletGlobalScope
ParagraphElement
ParamElement
ParentNode
PasswordCredential
PasswordInputElement
Text with no line breaks (sensitive information).
Path2D
PaymentAddress
PaymentInstruments
PaymentManager
PaymentRequest
PaymentRequestEvent
PaymentRequestUpdateEvent
PaymentResponse
Performance
PerformanceEntry
PerformanceLongTaskTiming
PerformanceMark
PerformanceMeasure
PerformanceNavigation
PerformanceNavigationTiming
PerformanceObserver
PerformanceObserverEntryList
PerformancePaintTiming
PerformanceResourceTiming
PerformanceServerTiming
PerformanceTiming
Permissions
PermissionStatus
PhotoCapabilities
PictureElement
Platform
Plugin
PluginArray
Point<T extends num>
A utility class for representing two-dimensional positions.
PointerEvent
PopStateEvent
PopupGroup
PositionError
PreElement
Presentation
PresentationAvailability
PresentationConnection
PresentationConnectionAvailableEvent
PresentationConnectionCloseEvent
PresentationConnectionList
PresentationReceiver
PresentationRequest
ProcessingInstruction
ProgressElement
ProgressEvent
PromiseRejectionEvent
PublicKeyCredential
PushEvent
PushManager
PushMessageData
PushSubscription
PushSubscriptionOptions
QuoteElement
RadioButtonInputElement
A control that when used with other RadioButtonInputElement controls forms a radio button group in which only one control can be checked at a time.
Range
RangeInputElement
Similar to NumberInputElement but the browser may provide more optimal styling (such as a slider control).
RangeInputElementBase
Base interface for all input element types which involve ranges.
ReadyState
Contains the set of standard values returned by HTMLDocument.getReadyState.
Rectangle<T extends num>
A class for representing two-dimensional rectangles whose properties are immutable.
RelatedApplication
RelativeOrientationSensor
RemotePlayback
ReportBody
ReportingObserver
ResetButtonInputElement
A button, which when clicked, resets the form.
ResizeObserver
ResizeObserverEntry
ResourceConfig<D extends ConfigDocument>
RtcCertificate
RtcDataChannel
RtcDataChannelEvent
RtcDtmfSender
RtcDtmfToneChangeEvent
RtcIceCandidate
RtcLegacyStatsReport
RtcPeerConnection
RtcPeerConnectionIceEvent
RtcRtpContributingSource
RtcRtpReceiver
RtcRtpSender
RtcSessionDescription
RtcStatsReport
RtcStatsResponse
RtcTrackEvent
Screen
ScreenOrientation
ScriptElement
ScrollAlignment
Options for Element.scrollIntoView.
ScrollState
ScrollTimeline
SearchInputElement
Similar to TextInputElement, but on platforms where search is styled differently this will get the search style.
SecurityPolicyViolationEvent
SelectElement
SELECTElement
Selection
Sensor
SensorErrorEvent
ServiceWorker
ServiceWorkerContainer
ServiceWorkerGlobalScope
ServiceWorkerRegistration
ShadowElement
ShadowRoot
SharedArrayBuffer
SharedWorker
SharedWorkerGlobalScope
SlotElement
SourceBuffer
SourceBufferList
SourceElement
SpanElement
SpawnHybrid
Configuration passed to testUI to call spawnHybridUri.
SpeechGrammar
SpeechGrammarList
SpeechRecognition
SpeechRecognitionAlternative
SpeechRecognitionError
SpeechRecognitionEvent
SpeechRecognitionResult
SpeechSynthesis
SpeechSynthesisEvent
SpeechSynthesisUtterance
SpeechSynthesisVoice
State
A state stored in DataStorage.
StaticRange
Storage
The type used by the Window.localStorage and Window.sessionStorage properties. Storage is implemented as a Map<String, String>.
StorageEvent
StorageManager
StorageValue
Represents a value stored in State.
Stream<T>
A source of asynchronous data events.
StreamConsumer<S>
Abstract interface for a "sink" accepting multiple entire streams.
StreamController<T>
A controller with the stream it controls.
StreamIterator<T>
An Iterator-like interface for the values of a Stream.
StreamSink<S>
A object that accepts stream events both synchronously and asynchronously.
StreamSubscription<T>
A subscription on events from a Stream.
StreamTransformer<S, T>
Transforms a Stream.
StreamTransformerBase<S, T>
Base class for implementing StreamTransformer.
StreamView<T>
Stream wrapper that only exposes the Stream interface.
StyleColor
Specifies a CSS color.
StyleElement
StyleMedia
StylePropertyMap
StylePropertyMapReadonly
StyleSheet
SubmitButtonInputElement
A button, which when clicked, submits the form.
SyncEvent
SynchronousStreamController<T>
A stream controller that delivers its events synchronously.
SyncManager
TableCaptionElement
TableCellElement
TableColElement
TableElement
TABLEElement
TABLENode
TableRowElement
TableSectionElement
TaskAttributionTiming
TAsList
TAsMap
TAsString
Converts JSON node to a String.
TBODYElement
TConcatenation
Concatenate transformations
TDecodeJSON
Converts JSON node decoding to a JSON tree.
TDElement
TelephoneInputElement
Represents a control for editing a telephone number.
TemplateElement
TemplateNode
Represents a template node in DOM.
TEncodeJSON
Converts JSON node encoding to a JSON String.
Text
TextAreaElement
TEXTAREAElement
TextDetector
TextEvent
TextInputElement
A basic text input editor control.
TextInputElementBase
Base interface for all inputs which involve text editing.
TextMetrics
TextNode
Represents a text node in DOM.
TextProvider
TextStyle
Specifies a CSS text style.
TextTrack
TextTrackCue
TextTrackCueList
TextTrackList
TFOOTElement
THEADElement
THElement
TimeElement
TimeInputElement
A time (hour, minute, seconds, fractional seconds) with no time zone.
Timer
A countdown timer that can be configured to fire once or repeatedly.
TimeRanges
TitleElement
TListValue
Transforms JSON node to a List index value.
TLowerCase
Converts JSON node to a Lower Case String.
TMapEntry
Converts JSON node to a MapEntry.
TMapValue
Transforms JSON node to a Map key value.
TOperation
Base class for operations.
Touch
TouchEvent
TouchList
TrackDefault
TrackDefaultList
TrackElement
TrackElementInViewport
Tracks a DOM Element to identify when its visible in viewport.
TrackElementResize
Tracks a DOM Element to identify when its size changes.
TrackElementValue
Tracks a DOM Element to identify when a value changes.
TrackEvent
TransitionEvent
TreeWalker
TRowElement
TrustedHtml
TrustedScriptUrl
TrustedUrl
TSplit
Converts JSON node, splitting to a List<String>.
TString
A text String.
TTrim
Converts JSON node to a Trimmed String.
TUpperCase
Converts JSON node to an Upper Case String.
UIAsyncContent
An asynchronous content.
UIButton
A simple button implementation.
UIButtonBase
Base class for button components.
UIButtonCapture
A generic capture button. See UICapture.
UIButtonCapturePhoto
A Button that captures a photo. See UICapture.
UIButtonLoader
UICalendar
A calendar component.
UICalendarPopup
A button component that shows an UICalendar dialog when clicked.
UICapture
Base class for capture components. See UIButtonCapture and UIButtonCapturePhoto.
UIClipImage
Component to clip an image.
UIColorPicker
UIColorPickerInput
UIComponent
Base class to create Bones_UI components.
UIComponentAsync
A component that renders a content asynchronously.
UIComponentAttributeHandler<C extends UIComponent, T>
Handler of a UIComponent attribute.
UIComponentDOMContext
UIComponentGenerator<C extends UIComponent>
A generator of UIComponent based in a HTML tag, for dom_builder (extends ElementGenerator).
UIConsole
A console output int the UI.
UIControlledComponent
UIDataSource
UIDeviceOrientation
Tracks and fires events of device orientation changes.
UIDialog
UIDialogAlert
UIDialogBase
Component that renders a dialog.
UIDialogEditImage
An UIDialog that edits an image.
UIDialogInput
UIDialogLoading
UIDocument
An UIComponentAsync to show rendered documents, like markdown, html, json and text.
UIDOMActionExecutor
UIDOMGenerator
A DOMGenerator (from package dom_builder) able to generate UIElement (from dart:html).
UIEvent
UIEventHandler
UIExplorer
UIField<V>
For a UIComponent that is a field (has a value).
UIFieldMap<V>
For a UIComponent that is a field with a Map value.
UIInfosTable
Component that renders a table with information.
UIInputTable
Component that renders a table with inputs.
UILoading
UILoadingConfig
UIMasonry
UIMenu
UIMultiSelection
A component that renders a multi-selection input.
UINavigableComponent
Bones_UI base class for navigable components using routes.
UINavigableContent
A Bones_UI component for navigable contents by routes.
UINavigator
Handles navigation and routes.
UIPopupMenu
UIRoot
The root for Bones_UI component tree.
UIRootComponent
Base class for UIComponents serving as roots for other components.
UISVG
Component to show a SVG.
UITestChain<U extends UIRoot, E, P extends UITestChain<U, dynamic, dynamic, dynamic>, T extends UITestChain<U, E, P, T>>
UITestChainNode<U extends UIRoot, E, P extends UITestChain<U, dynamic, dynamic, dynamic>>
UITestChainRoot<U extends UIRoot>
UITestContext<U extends UIRoot>
The context of a testUI execution.
UListElement
UnderlyingSourceBase
UnknownElement
UriPolicy
Defines the policy for what types of uris are allowed for particular attribute values.
Url
URLFileReader
UrlInputElement
A control for editing an absolute URL.
Represents an url link, with an optional target.
UrlSearchParams
UrlUtilsReadOnly
ValidityState
VideoElement
VideoFileReader
VideoPlaybackQuality
VideoTrack
VideoTrackList
ViewerElement<T>
Represents an element in the CanvasImageViewer.
Viewport
Represents browser window Viewport.
VisualViewport
VR
VRCoordinateSystem
VRDevice
VRDeviceEvent
VRDisplay
VRDisplayCapabilities
VRDisplayEvent
VREyeParameters
VRFrameData
VRFrameOfReference
VRPose
VRSession
VRSessionEvent
VRStageBounds
VRStageBoundsPoint
VRStageParameters
VttCue
VttRegion
WebSocket
Use the WebSocket interface to connect to a WebSocket, and to send and receive data on that WebSocket.
WeekInputElement
A date consisting of a week-year number and a week number with no time zone.
WheelEvent
Window
Top-level container for the current browser tab or window.
WindowBase
Top-level container for a browser tab or window.
WindowBase64
WindowClient
WindowEventHandlers
Worker
WorkerGlobalScope
WorkerPerformance
WorkletAnimation
WorkletGlobalScope
XmlDocument
XmlSerializer
XPathEvaluator
XPathExpression
XPathNSResolver
XPathResult
XsltProcessor
YAMLConfig
YAMLConfigDocument
Zone
A zone represents an environment that remains stable across asynchronous calls.
ZoneDelegate
An adapted view of the parent zone.
ZoneSpecification
A parameter object with custom zone function handlers for Zone.fork.

Enums

CalcOperation
CalendarMode
CaptureDataFormat
The internal representation of the captured data. It's recommended to use the target format for your case, to avoid data duplication and data conversion.
CaptureType
The capture type of an UICapture.
ControllerPropertiesType
CSSBackgroundAttachment
CSSBackgroundBox
CSSBackgroundRepeat
CSSBorderStyle
CSSUnit
The CSS numeric units.
DataStorageType
Type of DataStorage.
DOMTemplateCmp
EditionType
The type of edition for CanvasImageViewer.
FontStyle
Specifies a CSS font style.
FontWeight
Specifies a CSS font weight.
PopupPosition
Quality
Quality of an image.
StateOperation
State operation.
TouchDeviceDetection
Status type of touch device detection.
UIComponentClearParent
UIComponent behavior to clear the component.
UILoadingType

Mixins

WithValue

Extensions

CalendarModeExtension on CalendarMode
DomElementExtension on Element
DSXFutureExtension on Future<T>
DSX extensions for Future.
DSXFutureOrExtension on FutureOr<T>
DSX extensions for FutureOr.
ElementExtension on UIElement
FutureExtensions on Future<T>
Convenience methods on futures.
FutureIterable on Iterable<Future<T>>
FutureRecord2 on (Future<T1>, Future<T2>)
Parallel operations on a record of futures.
FutureRecord3 on (Future<T1>, Future<T2>, Future<T3>)
Parallel operations on a record of futures.
FutureRecord4 on (Future<T1>, Future<T2>, Future<T3>, Future<T4>)
Parallel operations on a record of futures.
FutureRecord5 on (Future<T1>, Future<T2>, Future<T3>, Future<T4>, Future<T5>)
Parallel operations on a record of futures.
FutureRecord6 on (Future<T1>, Future<T2>, Future<T3>, Future<T4>, Future<T5>, Future<T6>)
Parallel operations on a record of futures.
FutureRecord7 on (Future<T1>, Future<T2>, Future<T3>, Future<T4>, Future<T5>, Future<T6>, Future<T7>)
Parallel operations on a record of futures.
FutureRecord8 on (Future<T1>, Future<T2>, Future<T3>, Future<T4>, Future<T5>, Future<T6>, Future<T7>, Future<T8>)
Parallel operations on a record of futures.
FutureRecord9 on (Future<T1>, Future<T2>, Future<T3>, Future<T4>, Future<T5>, Future<T6>, Future<T7>, Future<T8>, Future<T9>)
Parallel operations on a record of futures.
FutureUITestChainExtension on Future<T>
FutureUITestChainListExtension on Future<UITestChain<U, Iterable<E>?, P, T>>
FutureUITestChainNodeElementExtension on Future<UITestChainNode<U, E, P>>
FutureUITestChainNodeExtension on Future<UITestChainNode<U, E, P>>
FutureUITestChainNodeSelectElementExtension on Future<UITestChainNode<U, E, P>>
IterableDomElementExtension on Iterable<E>
IterableElementExtension on Iterable<E>
SelectElementExtension on SelectElement
TestElementExtension on Element?
TestFutureElementExtension on Future<E?>
TestFutureExtension on Future<T>
TestFutureUIComponentExtension on Future<E?>
TestIterableElementExtension on Iterable<Element>?
TestIterableNodeExtension on Iterable<UINode>?
TestIterableStringExtension on Iterable<String>?
TestNodeExtension on UINode?
TestStringExtension on String?
TestUIComponentExtension on UIComponent
TestUIComponentNullableExtension on UIComponent?
UITestChainElementExtension on T
UITestChainListExtension on UITestChain<U, Iterable<E>?, P, T>
UITestChainSelectElementExtension on T

Constants

bonesUiTestToolTitle → const String
codeTheme0 → const Map<String, TextStyle>
codeTheme1 → const Map<String, TextStyle>
codeTheme2 → const Map<String, TextStyle>
cssMaxZIndex → const int

Properties

ARGUMENT_LIST_DELIMITER → RegExp
final
codeTheme → CSSThemeSet
final
CSS_LIST_DELIMITER → RegExp
final
deviceHeight → int?
no setter
deviceWidth → int?
no setter
document → HtmlDocument
Root node for all content in a web page.
no setter
isExtraLargeDevice → bool
no setter
isExtraSmallDevice → bool
no setter
isLargeDevice → bool
no setter
isLargeDeviceOrHigher → bool
no setter
isLargeDeviceOrLower → bool
no setter
isMediumDevice → bool
no setter
isMediumDeviceOrLHigher → bool
no setter
isMediumDeviceOrLower → bool
no setter
isSmallDevice → bool
no setter
isSmallDeviceOrHigher → bool
no setter
isSmallDeviceOrLower → bool
no setter
logger → _Logger
final
onDetectTouchDevice → EventStream<TouchDeviceDetection>
Will fire a TouchDeviceDetection when detection finishes.
final
STRING_LIST_DELIMITER → RegExp
final
window → Window
Top-level container for a web page, which is usually a browser tab or window.
no setter

Functions

$a({Object? id, Object? classes, Object? style, Map<String, String>? attributes, String? href, String? target, Object? content, bool? hidden, bool commented = false}) → DOMElement
Creates an a node.
$asyncContent({Object? loading, Future? future, Future function()?}) → DOMAsync
Creates a div node with display: inline-block.
$br({int amount = 1, bool commented = false}) → DOMElement
Creates a br node.
$button({Object? id, Object? name, Object? classes, Object? style, String? type, Map<String, dynamic>? attributes, Object? content, bool? hidden, bool disabled = false, bool commented = false}) → DOMElement
Creates a button node.
$caption({Object? id, Object? classes, Object? style, String? captionSide, Map<String, String>? attributes, Object? content, bool? hidden, bool commented = false}) → CAPTIONElement
Creates a caption node.
$checkbox({Object? id, Object? name, Object? classes, Object? style, Object? placeholder, Map<String, String>? attributes, bool? checked, Object? value, bool? hidden, bool disabled = false, bool commented = false}) → CHECKBOXElement
Creates an input node of type checkbox.
$div({Object? id, Object? classes, Object? style, Map<String, String>? attributes, Object? content, bool? hidden, bool commented = false}) → DIVElement
Creates a div node.
$divCenteredContent({Object? classes, String? style, String width = '100%', String height = '100%', String? cellsClasses, String? cellsStyle, String? cellSpacing, int? cellsPerRow, List? cells, List? rows, Object? content}) → DIVElement
Creates a div that centers vertically and horizontally using display table and table-cell.
$divHTML(Object? html) → DIVElement?
Creates a div node from HTML.
$divInline({Object? id, Object? classes, Object? style, Map<String, String>? attributes, Object? content, bool? hidden, bool commented = false}) → DIVElement
Creates a div node with display: inline-block.
$dsx(dynamic o) → List<DOMNode>
Parses o to a List<DOMNode>, resolving DSX objects.
$dsxCall(Function f, [dynamic a1, dynamic a2, dynamic a3, dynamic a4, dynamic a5, dynamic a6, dynamic a7, dynamic a8, dynamic a9, dynamic a10]) → DSX
Converts a call to f to a DSX object.
$emsp([int length = 1]) → String
$footer({Object? id, Object? classes, Object? style, Map<String, String>? attributes, Object? content, bool? hidden, bool commented = false}) → DOMElement
Creates a footer node.
$form({Object? id, Object? classes, Object? style, Map<String, String>? attributes, Object? content, bool? hidden, bool commented = false}) → DOMElement
Creates a form node.
$header({Object? id, Object? classes, Object? style, Map<String, String>? attributes, Object? content, bool? hidden, bool commented = false}) → DOMElement
Creates a header node.
$hr({Object? id, Object? classes, Object? style, Map<String, String>? attributes, bool? hidden, bool commented = false}) → DOMElement
Creates a hr node.
$html<T extends DOMNode>(Object? html) → List<DOMNode>
Returns a list of nodes from html.
$htmlRoot(Object? html, {String? defaultRootTag, bool? defaultTagDisplayInlineBlock}) → DOMElement?
$img({Object? id, Object? classes, Object? style, Map<String, String>? attributes, String? src, Future<String?>? srcFuture, String? title, Object? content, bool? hidden, bool commented = false}) → DOMElement
Creates an img node.
$input({Object? id, Object? name, Object? classes, Object? style, Object? type, Object? placeholder, Map<String, String>? attributes, Object? value, bool? hidden, bool disabled = false, bool commented = false}) → INPUTElement
Creates an input node.
$label({Object? id, String? forID, Object? classes, Object? style, Map<String, String>? attributes, Object? content, bool? hidden, bool commented = false}) → DOMElement
Creates a label node.
$li({Object? id, Object? classes, Object? style, Map<String, String>? attributes, Object? content, bool? hidden, bool commented = false}) → DOMElement
Creates a li node.
$nav({Object? id, Object? classes, Object? style, Map<String, String>? attributes, Object? content, bool? hidden, bool commented = false}) → DOMElement
Creates a nav node.
$nbsp([int length = 1]) → String
$ol({Object? id, Object? classes, Object? style, Map<String, String>? attributes, Object? content, bool? hidden, bool commented = false}) → DOMElement
Creates a ol node.
$option({Object? classes, Object? style, Map<String, String>? attributes, Object? value, String? label, bool? selected, bool disabled = false, Object? text, Object? valueAndText}) → OPTIONElement
Creates an option node.
$p({Object? id, Object? classes, Object? style, Map<String, String>? attributes, Object? content, bool? hidden, bool commented = false}) → DOMElement
Creates a p node.
$radiobutton({Object? id, Object? name, Object? classes, Object? style, Object? placeholder, Map<String, String>? attributes, Object? value, bool? hidden, bool disabled = false, bool commented = false}) → INPUTElement
Creates an input node of type radio.
$select({Object? id, Object? name, Object? classes, Object? style, Map<String, String>? attributes, Object? options, Object? selected, bool? multiple, bool? hidden, bool disabled = false, bool commented = false}) → SELECTElement
Creates an select node.
$span({Object? id, Object? classes, Object? style, Map<String, String>? attributes, Object? content, bool? hidden, bool commented = false}) → DOMElement
Creates a span node.
$table({Object? id, Object? classes, Object? style, Object? thsStyle, Object? tdsStyle, Object? trsStyle, Map<String, String>? attributes, Object? caption, Object? head, Object? body, Object? foot, bool? hidden, bool commented = false}) → TABLEElement
Creates a table node.
$tag(String tag, {Object? id, Object? classes, Object? style, Map<String, dynamic>? attributes, Object? content, bool? hidden, bool commented = false}) → DOMElement
Creates a node with tag.
$tagHTML<T extends DOMElement>(Object? html) → T?
Creates a tag node from html.
$tags<T>(String tag, Iterable<T>? iterable, [ContentGenerator<T>? elementGenerator]) → List<DOMElement>
Creates a list of nodes of same tag.
$tbody({Object? id, Object? classes, Object? style, Map<String, String>? attributes, Object? rows, bool? hidden, bool commented = false}) → TBODYElement
Creates a tbody node.
$td({Object? id, Object? classes, Object? style, Map<String, String>? attributes, int? colspan, int? rowspan, String? headers, Object? content, bool? hidden, bool commented = false}) → TDElement
Creates a td node.
$textarea({Object? id, Object? name, Object? classes, Object? style, Object? cols, Object? rows, Map<String, String>? attributes, Object? content, bool? hidden, bool disabled = false, bool commented = false}) → TEXTAREAElement
Creates a textarea node.
$tfoot({Object? id, Object? classes, Object? style, Map<String, String>? attributes, Object? rows, bool? hidden, bool commented = false}) → TFOOTElement
Creates a tfoot node.
$th({Object? id, Object? classes, Object? style, Map<String, String>? attributes, int? colspan, int? rowspan, String? abbr, String? scope, Object? content, bool? hidden, bool commented = false}) → THElement
Creates a th node.
$thead({Object? id, Object? classes, Object? style, Map<String, String>? attributes, Object? rows, bool? hidden, bool commented = false}) → THEADElement
Creates a thread node.
$tr({Object? id, Object? classes, Object? style, Map<String, String>? attributes, Object? cells, bool? hidden, bool commented = false}) → TRowElement
Creates a tr node.
$uiButton({dynamic id, String? field, dynamic classes, dynamic style, Map<String, String>? attributes, String? text, bool commented = false}) → DOMElement
DOMElement tag ui-button for UIButton.
$uiButtonLoader({dynamic id, String? field, dynamic classes, dynamic style, dynamic buttonClasses, dynamic buttonStyle, Map<String, String>? attributes, dynamic content, bool commented = false, bool? withProgress, dynamic loadingConfig}) → DOMElement
DOMElement tag ui-button-loader for UIButtonLoader.
$uiDialog({dynamic id, String? field, dynamic classes, dynamic style, bool? show, bool? showCloseButton, Map<String, String>? attributes, dynamic content, bool commented = false}) → DOMElement
DOMElement tag ui-dialog for UIDialog.
$uiLoading({UILoadingType? type, dynamic inline, dynamic color, dynamic zoom, dynamic text, dynamic textZoom, bool? withProgress}) → DIVElement
$uiSVG({dynamic id, String? field, dynamic classes, dynamic style, String? src, dynamic width, dynamic height, dynamic color, dynamic title, Map<String, String>? attributes, dynamic content, bool commented = false}) → DOMElement
DOMElement tag ui-svg for UISVG.
$ul({Object? id, Object? classes, Object? style, Map<String, String>? attributes, Object? content, bool? hidden, bool commented = false}) → DOMElement
Creates a ul node.
$validate<T extends DOMNode>({bool preValidate()?, DOMNodeValidator<T>? validate, T? node, DOMNodeInstantiator<T>? instantiator, bool rethrowErrors = false}) → T?
Validates a DOMNode before return it.
addCSSCode(String cssCode) → Future<bool>
Adds a CSS code (cssCode) into DOM.
addCssSource(String cssSource, {int? insertIndex}) → Future<bool>
Add a CSS path using a link element into head DOM node.
addElementsClasses(Iterable<Element> elements, Iterable<String> classes) → bool
Add to elements a set of classes. Will remove classes starting with '!'.
addJavaScriptCode(String scriptCode) → Future<bool>
Adds a JavaScript code (scriptCode) into DOM.
addJavaScriptSource(String scriptSource, {bool addToBody = false, bool async = false}) → Future<bool>
Adds a JavaScript path (scriptSource] into DOM.
addJSFunction(String name, List<String> parameters, String body) → Future<bool>
Adds a JavaScript function into DOM.
animateCSSSequence(Iterable<CSSAnimationConfig> animationsConfig, {Duration? initialDelay, int? repeat, bool? repeatInfinity}) → Future<void>?
Sames animateCSS but runs animationsConfig in sequence;
appendElementInnerHTML(Element element, String html, {NodeValidator? validator}) → void
Appends to the inner HTML of element with parsed result of html.
applyCSS(CssStyleDeclaration css, Element element, [List<Element>? extraElements]) → bool
Applies css to element and extraElements list if present.
applyPerspective(CanvasImageSource image, List<Point<num>> perspective) → FilterResult?
Apply perspective filter to image.
asCssStyleDeclaration(dynamic css) → CssStyleDeclaration
Parses dynamic css as CssStyleDeclaration.
asNodeSelector(Object? selector) → NodeSelector?
blockHorizontalScrollTraverse(Element element) → void
Blocks a scroll event in the horizontal direction that traverses the element.
blockHorizontalScrollTraverseEvent(Element element, WheelEvent wheelEvent) → bool
Blocks a wheelEvent in the horizontal direction that traverses the element.
blockScrollTraverse(Element element) → void
Blocks a scroll event in the vertical and horizontal directions that traverses the element.
blockVerticalScrollTraverse(Element element) → void
Blocks a scroll event in the vertical direction that traverses the element.
blockVerticalScrollTraverseEvent(Element element, WheelEvent wheelEvent) → bool
Blocks a wheelEvent in the vertical direction that traverses the element.
buildMetaContent(Map<String, String?> map) → String
Builds a meta content from map.
callJSFunction(String method, [List? args]) → dynamic
Calls JavaScript a function method with args.
callJSObjectMethod(Object o, String method, [List? args]) → dynamic
Calls JavaScript a method in object o with args.
canBeInDOM(dynamic element) → bool
Returns true if element type is able to be in DOM.
canvasToImageElement(CanvasElement canvas, [String? mimeType, num? quality]) → ImageElement
Converts canvas to ImageElement
clearSelections() → void
Clears selected text in vieport.
clearTestUIOutputDiv(String outputDivID) → void
Clears the DIV with the ID (outputDivID). Used by initializeTestUIRoot. See testUI.
computeCalcOperationSymbol(CalcOperation op, num a, num b) → num
copyElementToClipboard(Element element) → bool
Copies element text to Clipboard.
copyPoints(List<Point<num>> points) → List<Point<num>>
Makes a copy of points.
createDiv([bool inline = false, String? html, NodeValidator? validator]) → DivElement
Creates a div. inline If true sets display: inline-block. html The HTML to parse as content.
createDivInline([String? html]) → DivElement
Creates a div with display: inline-block.
createDivInlineBlock() → DivElement
Creates a div with display: inline-block.
createHTML([String? html, NodeValidator? validator]) → Element
Creates a HTML Element. Returns 1st node form parsed HTML.
createImageElementFromBase64(String? base64, [String? mimeType]) → ImageElement?
Creates an image from a Base-64 with mimeType.
createImageElementFromFile(File file) → Future<ImageElement>
Creates an image from a file.
createLabel([String? html, NodeValidator? validator]) → LabelElement
Creates a label element.
createScaledImage(CanvasImageSource image, int width, int height, double scale) → CanvasImageSource
Creates a new image from image, of width and height, to a scale.
createSpan([String? html, NodeValidator? validator]) → SpanElement
Creates a span element.
createStandardNodeValidator({bool svg = true, bool allowSvgForeignObject = false}) → NodeValidatorBuilder
createTableCaption(Object? caption) → CAPTIONElement?
createTableCells(Object? rowCells, [bool header = false]) → List<TABLENode>
createTableContent(dynamic content, dynamic caption, dynamic head, dynamic body, dynamic foot, {bool? header, bool? footer}) → List
createTableEntry(Object? entry, {bool? header, bool? footer}) → TABLENode?
createTableRow(Object? rowCells, [bool? header]) → TRowElement
createTableRows(Object? rows, bool header) → List<TRowElement>
cropImage(CanvasImageSource image, int x, int y, int width, int height) → CanvasElement?
Crops the image using coordinates x, y, width and height, returning new image (CanvasElement).
cropImageByRectangle(CanvasImageSource image, Rectangle<num>? crop) → CanvasElement?
Crops an image using a Rectangle (crop), delegating to method cropImage,
dataURLToBlob(DataURLBase64 dataURL) → Blob
Converts a dataURL to a Blob.
defineCSS(CssStyleDeclaration? currentCSS, CssStyleDeclaration? appendCSS, [dynamic defaultCSS]) → CssStyleDeclaration
Defines a new CssStyleDeclaration merging currentCSS and appendCSS.
detectTouchDevice() → TouchDeviceDetection?
Starts touch device detection. Returns the current status.
disableDoubleClicks() → void
Disables browser double clicks/tap.
disableScrolling() → void
Disables scrolling in browser.
disableZooming() → void
Disables browser zooming.
domBuilderLog(String message, {bool warning = false, Object? error, StackTrace? stackTrace}) → void
downloadBlob(Blob blob, String fileName) → void
Downloads blob of type mimeType, saving a file with fileName.
downloadBytes(List<int> bytes, MimeType mimeType, String fileName) → void
Downloads bytes of type mimeType, saving a file with fileName.
downloadContent(List<String> content, MimeType mimeType, String fileName) → void
Downloads content of type mimeType, saving a file with fileName.
downloadDataURL(DataURLBase64 dataURL, String fileName) → void
Downloads dataURL, saving a file with fileName.
elementMatchesAttribute(Element element, String attributeName, dynamic attributeValue) → bool
Returns true if element matches attributeName and attributeValue.
elementMatchesAttributes(Element element, Map<String, dynamic> attributes) → bool
Returns true if element matches attributes.
elementOnLoad(ImageElement img) → Future<bool>
Returns a Future<bool> for when img loads.
enableScrolling() → void
Enables scrolling in browser.
evalJS(String scriptCode) → dynamic
Call eval() with the content of scriptCode and returns the result.
expectUIRoute(String route, {String? reason, dynamic skip}) → void
Expects route at UINavigator.currentRoute.
expectUIRoutes(List<String> routes, {String? reason, dynamic skip}) → void
Expects routeName at UINavigator.currentRoute.
fastUI({double fastFactor = 1}) → void
Sets the UI to fast mode (default). See slowUI.
fieldEmailValidator(String field, String? value) → bool
fieldNormalizerLowerCase(String field, Object? value) → Object?
fieldNormalizerTrim(String field, Object? value) → Object?
fieldNormalizerUpperCase(String field, Object? value) → Object?
fieldURLDataBase64Validator(String field, String? value) → bool
fieldURLValidator(String field, String? value) → bool
getAllCssRuleBySelector(Pattern targetSelector, CssStyleSheet? sheet) → List<CssRule>
Returns a List<CssRule> for targetSelector.
getAllCssStyleSheet() → List<CssStyleSheet>
Returns all current CssStyleSheet.
getAllMediaCssRule(String mediaCondition) → List<CssMediaRule>
Returns a list of @media CssRule with mediaCondition.
getAllOutOfViewportMediaCssRule(int viewportWidth, dynamic viewportHeight) → List<CssMediaRule>
Returns all CssMediaRule not applied for viewportWidth and viewportHeight.
getAllOutOfViewportMediaCssRuleAsClassRule(int viewportWidth, dynamic viewportHeight, String targetClass) → List<String>
Transforms all CssMediaRule to targetClass rule not applied for viewportWidth and viewportHeight.
getAllViewportMediaCssRule(int viewportWidth, dynamic viewportHeight) → List<CssMediaRule>
Returns all CssMediaRule applied for viewportWidth viewportHeight.
getAllViewportMediaCssRuleAsClassRule(int viewportWidth, dynamic viewportHeight, String targetClass) → List<String>
Transforms all CssMediaRule to targetClass rule applied for viewportWidth and viewportHeight.
getAnchorElementByHREF(String href) → AnchorElement?
Selects an AnchorElement in DOM with href.
getCalcOperation(String? op) → CalcOperation?
getCalcOperationSymbol(CalcOperation? op) → String?
getComputedStyle({Element? parent, Element? element, String? classes, String? style, bool? hidden}) → CssStyleDeclaration
Returns a CssStyleDeclaration from an element.
getCSSBackgroundAttachmentName(CSSBackgroundAttachment? clip) → String?
getCSSBackgroundBoxName(CSSBackgroundBox? clip) → String?
getCSSBackgroundRepeatName(CSSBackgroundRepeat? repeat) → String?
getCSSBorderStyleName(CSSBorderStyle borderStyle) → String?
getCSSUnitName(CSSUnit? unit, [CSSUnit? def]) → String?
getDOMTemplateCmpOperator(DOMTemplateCmp? cmp) → String
getElementAllCssProperties(Element element) → List<String>
Returns a list of CSS properties associated with element
getElementAllCssRule(Element element) → List<CssRule>
Returns a list of CssRule associated with element.
getElementAttribute(Element element, Object? key) → String?
Returns element attribute with key.
getElementAttributeRegExp(Element element, RegExp key) → String?
Returns element attribute with RegExp key.
getElementAttributeStr(Element element, String key) → String?
Returns element attribute with String key.
getElementByHREF(String tag, String href) → Element?
Selects an Element in DOM with tag and href.
getElementBySRC(String tag, String src) → Element?
Selects an Element in DOM with tag and src.
getElementByValues<V>(String tag, ElementValueGetter getter, List<V> values, [ElementValueGetter? getter2, List<V>? values2]) → Element?
selects in DOM an Element with tag and one of values provided by getter.
getElementDocumentPosition(Element element) → Pair<num>
Returns the X and Y position of Element int the Document.
getElementHeight(Element element, [int? def]) → int?
Returns element height. Tries to use 'offsetHeight' or 'style.height' values.
getElementHREF(Element element) → String?
Returns href value for different Element types.
getElementPreComputedStyle(Element element) → CssStyleDeclaration
Returns a CssStyleDeclaration of the pre-computed CSS properties of element.
getElementSRC(Element element) → String?
Returns src value for different Element types.
getElementsWithAttributes(String tag, Map<String, dynamic> matchAttributes) → List<Element>
Selects elements from DOM with tag and matches attribute.
getElementTagName(Node node) → String?
Returns the node tag name. Returns null if node is not an Element.
getElementValue(Element element, [String? def]) → String?
Gets the element value depending of identified type.
getElementWidth(Element element, [int? def]) → int?
Returns element width. Tries to use 'offsetWidth' or 'style.width' values.
getElementZIndex(Element? element, [String? def]) → String?
Returns the element z-index or element.parent z-index recursively.
getFileMimeType(File file, [String accept = '']) → MimeType?
Returns the file MimeType.
getImageDimension(CanvasImageSource image) → Rectangle<int>?
Gets the width and height from image (CanvasImageSource).
getLanguageByExtension(String extension) → String?
Returns a document language by extension.
getLinkElementByHREF(String href, [String? rel]) → LinkElement?
Selects an LinkElement in DOM with href.
getMetaTagsContentWithName(String name) → List<String?>
Returns a list of meta contet with name.
getMetaTagsWithName(String name) → List<Element>
Returns a list of meta Element with name.
getParentElement(Element element, {bool validator(Element parent)?, int maxLevels = 1000}) → Element?
Returns the parent of element applying validator and maxLevels.
getScriptElementBySRC(String src) → ScriptElement?
Selects an ScriptElement in DOM with src.
getUILoadingType(dynamic type) → UILoadingType?
getUILoadingTypeClass(UILoadingType type) → String?
getURLData(String url, {String? user, String? password, bool withCredentials = true}) → Future<Uint8List>
Makes a HTTP request and returns url content as Uint8List.
getVisibleNode(Element? element) → Element?
Get the first visible element in the hierarchy.
hasHTMLEntity(String s) → bool
hasHTMLTag(String s) → bool
htmlAsSvgContent(String html, {int? width, int? height, String? rootClass, String? style}) → String?
htmlToText(String html, [NodeValidator? validator]) → String?
Transform html to plain text.
initializeTestUIRoot<U extends UIRoot>(U uiRootInstantiator(UIElement rootContainer), {String outputDivID = 'test-output', Duration initialRenderTimeout = const Duration(seconds: 5)}) → Future<U>
Initializes the test UIRoot using the uiRootInstantiator to instantiate it.
isComponentInDOM(dynamic element) → bool
Returns true if a Bones_UI component is in DOM.
isCssEmpty(CssStyleDeclaration css) → bool
Returns true if CssStyleDeclaration is empty.
isCssNotEmpty(CssStyleDeclaration css) → bool
Returns true if CssStyleDeclaration is not empty.
isCSSViewportUnit(CSSUnit unit) → bool
isDOMBuilderDirectHelper(Object? f) → bool
Returns true if f is a DOM Builder helper, like $div and $br.
isElementWithHREF(Element element) → bool
Returns true if element type can have href attribute.
isElementWithSRC(Element element) → bool
Returns true if element type can have src attribute.
isHeadlessUI() → bool
Returns true if the browser is running on headless mode.
isHTMLElement(String s) → bool
isInDOM(dynamic element) → bool
Returns true if element is in DOM tree.
isInlineElement(DivElement element, {bool checkBootstrapClasses = true}) → bool
Returns true if element display property is inline.
isInViewport(Element element, {bool fully = false}) → bool
Returns true if element is visible in viewport.
isMobileAppStatusBarTranslucent() → bool
Returns true if meta tag of name apple-mobile-web-app-status-bar-style is translucent.
isNodeInDOM(Node node) → bool
Returns true if node is in DOM tree.
isOrientationInLandscapeMode() → bool
Returns true if device orientation is in Landscape mode.
isOrientationInPortraitMode() → bool
Returns true if device orientation is in Portrait mode.
isSafariIOS() → bool
jsArrayToList(JsArray? a) → List?
Converts a JsArray a to a List. Also converts values using jsToDart.
jsObjectKeys(JsObject o) → List<String>
Returns the keys of JsObject o.
jsObjectToMap(JsObject? o) → Map?
Converts a JsObject o to a Map. Also converts keys and values using jsToDart.
jsToDart(Object? o) → Object?
Converts o to Dart primitives or collections.
lerpDouble(num a, num b, double t) → double?
loadCSS(String cssClassPrefix, Map<String, CSSValueBase>? css) → void
Loads css dynamically.
mapJSFunction(String jsFunctionName, MappedFunction f) → void
Maps a JavaScript function to a Dart function.
markdownToDiv(String markdown, {bool normalize = true, Iterable<BlockSyntax>? blockSyntaxes, Iterable<InlineSyntax>? inlineSyntaxes, ExtensionSet? extensionSet, Resolver? linkResolver, Resolver? imageLinkResolver, bool inlineOnly = false}) → DivElement
Converts a markdown document into a HTML in a div node.
markdownToHtml(String markdown, {bool normalize = true, Iterable<BlockSyntax>? blockSyntaxes, Iterable<InlineSyntax>? inlineSyntaxes, ExtensionSet? extensionSet, Resolver? linkResolver, Resolver? imageLinkResolver, bool inlineOnly = false}) → String
Converts a markdown document into a HTML string.
measureText(String text, {required String fontFamily, required Object fontSize, bool bold = false}) → Dimension?
nodeTreeContains(Node rootNode, Node target) → bool
Returns true if rootNode contains target.
nodeTreeContainsAny(Node rootNode, Iterable<Node> list) → bool
Returns true if rootNode contains any Node in list.
normalizeIndent(String text) → String
Normalizes a indent, removing the common/global indent of the code.
numsToPoints(List<num> perspective) → List<Point<num>>
Converts a List<num>, as pairs, to a List<Point>.
onOrientationchange(EventListener listener) → bool
Attaches listener to orientationchange event.
parseBUIAttribute(String? buiCode, String attributeName) → String?
parseCSSBackgroundAttachment(String attachment) → CSSBackgroundAttachment?
parseCSSBackgroundBox(String clip) → CSSBackgroundBox?
parseCSSBackgroundRepeat(String repeat) → CSSBackgroundRepeat?
parseCSSBorderStyle(String? borderStyle) → CSSBorderStyle?
parseCSSLength(String cssValue, {String? unit, int? def, bool allowPXWithoutSuffix = false}) → num?
Parses a CSS length, using optional unit.
parseCssRuleSelectors(CssRule cssRule) → List<String>
Parses the selectors of cssRule.
parseCssRuleTextProperties(String? cssRuleText) → String
Returns a list of properties of the CssRule text.
parseCssRuleTextSelectors(String? cssRuleText) → List<String>
Returns a list of selectors of the CssRule text.
parseCSSUnit(String? unit, [CSSUnit? def]) → CSSUnit?
parseDOMTemplateCmp(Object? cmp) → DOMTemplateCmp?
parseHTML(String? html) → List<DOMNode>?
Parses a html to nodes.
parseListOfStrings(Object? s, Pattern delimiter, [bool trim = true]) → List<String>
Parses s as a flat List<String>.
parseMetaContent(String content) → Map<String, String?>
Parses a meta content to Map<String,String>.
possiblyWithHTML(String? s) → bool
possiblyWithHTMLEntity(String? s) → bool
possiblyWithHTMLTag(String? s) → bool
prefetchHref(String href, {int? insertIndex, bool? preLoad}) → Future<bool>
Prefetch a HREF using a link element into head DOM node.
printTestToolTitle({bool showUserAgent = true}) → void
Prints the Bones_UI Test Tool title. Used by initializeTestUIRoot.
promiseToFuture<T>(Object jsPromise) → Future<T>
Converts a JavaScript Promise to a Dart Future.
promiseToFutureAsMap(dynamic jsPromise) → Future<Map<String, dynamic>?>
Convert a JS Promise to a Future<Map<String, dynamic>>.
querySelector(String selectors) → Element?
Finds the first descendant element of this document that matches the specified group of selectors.
querySelectorAll<T extends Element>(String selectors) → ElementList<T>
Finds all descendant elements of this document that match the specified group of selectors.
readFileDataAsArrayBuffer(File file) → Future<Uint8List?>
Reads file as Uint8List.
readFileDataAsBase64(File file) → Future<String?>
Reads file as Base64 String.
readFileDataAsDataURLBase64(File file, [String accept = '']) → Future<String?>
Reads file as DATA URL Base64 String.
readFileDataAsText(File file) → Future<String?>
Reads file as text.
readFileInputElementAsArrayBuffer(FileUploadInputElement? input, [bool removeExifFromImage = false]) → Future<Uint8List?>
Reads selected file of input as Uint8List.
readFileInputElementAsBase64(FileUploadInputElement? input, [bool removeExifFromImage = false]) → Future<String?>
Reads selected file of input as Base64.
readFileInputElementAsDataURLBase64(FileUploadInputElement? input, [bool removeExifFromImage = false]) → Future<String?>
Reads selected file of input as DATA URL Base64.
readFileInputElementAsString(FileUploadInputElement? input, [bool removeExifFromImage = false]) → Future<String?>
Reads selected file of input as String.
redirectOnTouchEndToMouseEvent(Element element) → void
Redirects element.onTouchEnd to element.onMouseUp as MouseEvent.
redirectOnTouchMoveToMouseEvent(Element element) → void
Redirects element.onTouchMove to element.onMouseMove as MouseEvent.
redirectOnTouchStartToMouseEvent(Element element) → void
Redirects element.onTouchStart to element.onMouseDown as MouseEvent.
reloadAssets(Map<String, String> assetsURLAndTag, {Duration? timeout}) → Future<bool>
Reloads an asset (img, audi or video), forcing reload of asset URL.
reloadIframe(IFrameElement iFrame, [bool? forceGet]) → Future<bool>
Reloads an IFrame document.
removeElementBackgroundBlur(Element element, [int? blurSize]) → void
Removes element background blur effect, set by setElementBackgroundBlur.
removeElementScrollColors(Element element) → List<String>?
Removes element scroll colors CSS properties set by setElementScrollColors.
removeExifFromImageFile(File file) → Future<String?>
Removes Exif from JPEG file.
replaceElement(Node n1, Node n2) → bool
Replaces n1 with n2 in n1 parent.
resetZoom() → void
Resets viewport zoom.
rotateCanvasImageSource(CanvasImageSource image, int width, int height, [dynamic angleDegree = 90]) → CanvasElement
Rotates image (a CanvasImageSource) with angleDegree.
rotateImageElement(ImageElement image, [dynamic angleDegree = 90]) → CanvasElement
Rotates image with angleDegree.
runZoned<R>(R body(), {Map<Object?, Object?>? zoneValues, ZoneSpecification? zoneSpecification, Function? onError}) → R
Runs body in its own zone.
runZonedGuarded<R>(R body(), void onError(Object error, StackTrace stack), {Map<Object?, Object?>? zoneValues, ZoneSpecification? zoneSpecification}) → R?
Runs body in its own error zone.
scalePoints(List<Point<num>> points, double scale) → List<Point<num>>
Scales points to scale.
scalePointsXY(List<Point<num>> points, double scaleX, double scaleY) → List<Point<num>>
Scales points to scaleX and scaleY.
scheduleMicrotask(void callback()) → void
Runs a function asynchronously.
scrollTo(num? x, num? y, {bool smooth = true, int? delayMs, Object? scrollable}) → void
Scrolls viewport to x,y.
scrollToBottom({bool smooth = true, int? delayMs}) → void
Scrolls viewport to the bottom.
scrollToElement(Element element, {bool centered = true, bool vertical = true, bool horizontal = true, bool smooth = true, int? translateX, int? translateY, Object? scrollable}) → void
Scrolls the viewport to the element.
scrollToLeft({bool smooth = true, int? delayMs}) → void
Scrolls viewport to the left border.
scrollToRight({bool smooth = true, int? delayMs}) → void
Scrolls viewport to the right border.
scrollToTop({bool smooth = true, int y = 0, bool fixSafariIOS = false, int? delayMs}) → void
Scrolls viewport to the top.
scrollToTopDelayed(int delayMs) → void
Use scrollToTop instead.
selectCssRuleWithSelector(Pattern targetSelector) → List<CssRule>
Returns a list of CssRule with targetSelector patterns.
setDivCentered(DivElement div, {bool centerVertically = true, bool centerHorizontally = true, bool checkBootstrapClasses = true}) → void
Sets div as centered content, using display property as table and sub div elements display property as table-cell.
setElementBackgroundBlur(Element element, [int? blurSize]) → void
Sets element background as a blur effect of size blurSize. Uses CSS property backdrop-filter.
setElementHREF(Element element, String href) → bool
Sets element href depending of the identified type.
setElementInnerHTML(Element element, String html, {NodeValidator? validator}) → void
Sets the inner HTML of element with parsed result of html.
setElementScrollColors(Element element, int scrollWidth, String scrollButtonColor, [String? scrollBgColor]) → String?
Sets element scroll colors, using standard CSS property scrollbar-color and webkit pseudo element ::-webkit-scrollbar-thumb and ::-webkit-scrollbar-track
setElementSRC(Element element, String src) → bool
Sets the element src depending of the identified type.
setElementValue(Element? element, String value) → bool
Sets the element value depending of the identified type.
setMetaViewportScale({String? minimumScale, String? maximumScale}) → bool
Sets the meta viewport with minimumScale and maximumScale.
setTreeElementsBackgroundBlur(Element element, String className) → void
setTreeElementsDivCentered(Element element, String className, {bool centerVertically = true, bool centerHorizontally = true}) → void
Set all element sub div with className to centered content.
setZoom(String zoom) → void
Sets the viewport zoom.
showDialogElement(Element content, {double? transparency, String? padding}) → DivElement
Shows an Element dialog.
showDialogHTML(String? html, {double? transparency, String? padding, NodeValidator? validator}) → DivElement?
Shows a html dialog.
showDialogImage(String src) → void
Shows an image (src) dialog.
showDialogText(String? text, {double? transparency, String? padding}) → DivElement?
Shows a text dialog.
slowUI({int slowFactor = 10}) → void
Slows the UI sleep by slowFactor.
testMultipleUI(Map<String, FutureOr<void> Function()> testsMain, {bool shuffle = false, int? shuffleSeed}) → Future<void>
Executes multiple testUI in the same process/script.
testUI<U extends UIRoot>(String testUIName, U uiRootInstantiator(UIElement rootContainer), void body(UITestContext<U> context), {String outputDivID = 'test-output', Duration initialRenderTimeout = const Duration(seconds: 5), SpawnHybrid? spawnHybrid, dynamic preSetup()?, dynamic posSetup(UITestContext<U> context)?, dynamic teardown(UITestContext<U> context)?}) → void
Executes a group of tests using an instnatiated UIRoot.
testUISleep({int? frames, int? ms}) → Future<int>
Test UI sleep.
testUISleepUnsafe({int? frames, int? ms}) → Future<int>
Unsafe version of testUISleep.
testUISleepUntil(FutureOr<bool> ready(), {String readyTitle = 'ready', int? timeoutMs, int? intervalMs, int? minMs}) → Future<bool>
Test UI sleep until ready. Returns bool if ready.
testUISleepUntilElement(Object? root, String selectors, {int? timeoutMs, int? intervalMs, int? minMs, Iterable<UIElement> mapper(List<UIElement> elems)?, bool validator(List<UIElement> elems)?, bool expected = false}) → Future<bool>
Calls testUISleepUntil checking if root has an UIElement matching selectors.
testUISleepUntilRoute(String route, {Map<String, dynamic>? parameters, bool partialParameters = false, int? timeoutMs, int? intervalMs, int? minMs, bool expected = false}) → Future<bool>
Calls testUISleepUntil checking if route is the current route (UINavigator.currentRoute).
testUISleepUntilRoutes(List<String> routes, {int? timeoutMs, int? intervalMs, int? minMs, bool expected = false}) → Future<bool>
Calls testUISleepUntil checking if routes has the current route (UINavigator.currentRoute).
toCanvasElement(CanvasImageSource imageSource, int width, int height) → CanvasElement
Converts imageSource to CanvasElement.
toDataURLBase64(String? mediaType, String base64) → String
Builds a DATA URL string.
toHTML(Element element) → String
Converts element to HTML.
toIntlMessageResolver(Object? resolver) → IntlMessageResolver?
Converts resolver to IntlMessageResolver.
touchEventToMouseEvent(TouchEvent event) → MouseEvent?
Converts a TouchEvent event to a MouseEvent.
translatePoints(List<Point<num>> points, num x, num y) → List<Point<num>>
Translate pints in x and y.
unawaited(Future<void>? future) → void
Explicitly ignores a future.

Typedefs

AnimationCallback = void Function()
AsyncContentProvider = Future? Function()
BlobCallback = void Function(Blob? blob)
BUIViewPropertyProvider = String Function(BUIView view)
CapturePhotoEditor = FutureOr<ImageElement?> Function(ImageElement image)
ContentGenerator<T> = dynamic Function(T? entry)
ControllerCallback = void Function()
Type of a stream controller's onListen, onPause and onResume callbacks.
ControllerCancelCallback = FutureOr<void> Function()
Type of stream controller onCancel callbacks.
CreatePeriodicTimerHandler = Timer Function(Zone self, ZoneDelegate parent, Zone zone, Duration period, void f(Timer timer))
The type of a custom Zone.createPeriodicTimer implementation function.
CreateTimerHandler = Timer Function(Zone self, ZoneDelegate parent, Zone zone, Duration duration, void f())
The type of a custom Zone.createTimer implementation function.
CustomElementConstructor = void Function()
DecodeErrorCallback = void Function(DomException error)
DecodeSuccessCallback = void Function(AudioBuffer decodedData)
DOMElementGenerator<T> = T Function(Object? parent)
DOMElementGeneratorFunction<T> = T Function()
DOMNodeInstantiator<T extends DOMNode> = T? Function()
DOMNodeValidator<T extends DOMNode> = bool Function(T? node)
ElementGeneratedMatchingFunction<T> = bool Function(T element)
ElementGeneratorFunction<T> = T Function(DOMGenerator<T> domGenerator, String? tag, T? parent, Map<String, DOMAttribute> attributes, T? contentHolder, List<DOMNode>? contentNodes, DOMContext<T>? context)
ElementRevertFunction<T> = DOMElement Function(DOMGenerator<T> domGenerator, DOMTreeMap<T>? treeMap, DOMElement? domParent, T? parent, T? node)
ElementValueGetter<T> = T? Function(Element element)
Returns a value from an Element.
ErrorCallbackHandler = AsyncError? Function(Zone self, ZoneDelegate parent, Zone zone, Object error, StackTrace? stackTrace)
The type of a custom Zone.errorCallback implementation function.
EventListener = dynamic Function(Event event)
FieldInputRender = dynamic Function(InputConfig inputConfig)
FieldValueEvent = void Function(dynamic event)
FieldValueNormalizer<V> = V? Function(String field, V? value)
FieldValueProvider = dynamic Function(String field)
FieldValueValidator = bool Function(String field, String? value)
FilterElement = bool Function(UIElement elem)
FilterRendered = bool Function(dynamic elem)
FontFaceSetForEachCallback = void Function(FontFace fontFace, FontFace fontFaceAgain, FontFaceSet set)
Emitted for any setlike IDL entry needs a callback signature. Today there is only one.
ForEachComponent = void Function(Object elem)
ForEachElement = void Function(UIElement elem)
ForkHandler = Zone Function(Zone self, ZoneDelegate parent, Zone zone, ZoneSpecification? specification, Map<Object?, Object?>? zoneValues)
The type of a custom Zone.fork implementation function.
FrameRequestCallback = void Function(num highResTime)
FunctionStringCallback = void Function(String data)
FunctionTest = bool Function()
HandleUncaughtErrorHandler = void Function(Zone self, ZoneDelegate parent, Zone zone, Object error, StackTrace stackTrace)
The type of a custom Zone.handleUncaughtError implementation function.
IdleRequestCallback = void Function(IdleDeadline deadline)
ImageFilter = CanvasImageSource Function(CanvasImageSource? image, int width, int height)
Applies a filter to image, of width and height.
IntersectionObserverCallback = void Function(List entries, IntersectionObserver observer)
IntlMessageResolver = String? Function(String key, [Map<String, dynamic>? parameters])
MappedFunction = dynamic Function(dynamic o)
MatchesValue = bool Function(String value)
MediaSessionActionHandler = void Function()
MessageCallback = void Function(Map message)
MetadataCallback = void Function(Metadata metadata)
MojoWatchCallback = void Function(int result)
MutationCallback = void Function(List mutations, MutationObserver observer)
NamedElementGenerator<T> = T Function(String name, DOMGenerator<T>? domGenerator, DOMTreeMap<T> treeMap, DOMElement? domParent, Object? parent, String? tag, Map<String, DOMAttribute> attributes)
NodeSelector = bool Function(DOMNode? node)
OnElementEvent = void Function(Element element)
OnElementTrackValueEvent<T> = bool Function(Element element, T? value)
ParametersProvider = Map<String, String> Function()
PerformanceObserverCallback = void Function(PerformanceObserverEntryList entries, PerformanceObserver observer)
PrintHandler = void Function(Zone self, ZoneDelegate parent, Zone zone, String line)
The type of a custom Zone.print implementation function.
QueryElementProvider = dynamic Function(String query)
RegisterBinaryCallbackHandler = ZoneBinaryCallback<R, T1, T2> Function<R, T1, T2>(Zone self, ZoneDelegate parent, Zone zone, R f(T1 arg1, T2 arg2))
The type of a custom Zone.registerBinaryCallback implementation function.
RegisterCallbackHandler = ZoneCallback<R> Function<R>(Zone self, ZoneDelegate parent, Zone zone, R f())
The type of a custom Zone.registerCallback implementation function.
RegisterUnaryCallbackHandler = ZoneUnaryCallback<R, T> Function<R, T>(Zone self, ZoneDelegate parent, Zone zone, R f(T arg))
The type of a custom Zone.registerUnaryCallback implementation function.
RemotePlaybackAvailabilityCallback = void Function(bool available)
RenderAsync = Future? Function(Map<String, dynamic> properties)
RenderPropertiesProvider = Map<String, dynamic> Function()
ReportingObserverCallback = void Function(List reports, ReportingObserver observer)
RequestAnimationFrameCallback = void Function(num highResTime)
ResizeObserverCallback = void Function(List entries, ResizeObserver observer)
RtcPeerConnectionErrorCallback = void Function(DomException exception)
RtcStatsCallback = void Function(RtcStatsResponse response)
RunBinaryHandler = R Function<R, T1, T2>(Zone self, ZoneDelegate parent, Zone zone, R f(T1 arg1, T2 arg2), T1 arg1, T2 arg2)
The type of a custom Zone.runBinary implementation function.
RunHandler = R Function<R>(Zone self, ZoneDelegate parent, Zone zone, R f())
The type of a custom Zone.run implementation function.
RunUnaryHandler = R Function<R, T>(Zone self, ZoneDelegate parent, Zone zone, R f(T arg), T arg)
The type of a custom Zone.runUnary implementation function.
ScheduleMicrotaskHandler = void Function(Zone self, ZoneDelegate parent, Zone zone, void f())
The type of a custom Zone.scheduleMicrotask implementation function.
ScrollStateCallback = void Function(ScrollState scrollState)
StateEventListener = void Function(StateOperation op, State state, String key, dynamic value)
StateKeyListener = void Function(dynamic value)
StorageErrorCallback = void Function(DomError error)
StorageQuotaCallback = void Function(int grantedQuotaInBytes)
StorageUsageCallback = void Function(int currentUsageInBytes, int currentQuotaInBytes)
TimeoutHandler = void Function()
UIComponentAttributeAppender<C extends UIComponent, T> = void Function(C uiComponent, T? value)
UIComponentAttributeCleaner<C extends UIComponent, T> = void Function(C uiComponent)
UIComponentAttributeGetter<C extends UIComponent, T> = T? Function(C uiComponent)
UIComponentAttributeParser<T> = T? Function(dynamic value)
UIComponentAttributeSetter<C extends UIComponent, T> = void Function(C uiComponent, T? value)
UIComponentInstantiator<C extends UIComponent> = C Function(UIElement? parent, Map<String, DOMAttribute> attributes, UINode? contentHolder, List<DOMNode>? contentNodes)
UIEventListener = void Function(dynamic event, List? params)
URLFilter = URLLink Function(String url)
ValueCopier<T> = T? Function(T? value)
VoidCallback = void Function()
ZoneBinaryCallback<R, T1, T2> = R Function(T1, T2)
ZoneCallback<R> = R Function()
ZoneUnaryCallback<R, T> = R Function(T)

Exceptions / Errors

AsyncError
An error and a stack trace.
DeferredLoadException
Thrown when a deferred library fails to load.
NullWindowException
ParallelWaitError<V, E>
Error thrown when waiting for multiple futures, when some have errors.
TimeoutException
Thrown when a scheduled timeout happens while waiting for an async result.