ocean_press library
Classes
- AccessTokeState
- State for access tokens. Used for login refresh.
- AccordionItem
- Accordion item.
- AnyUriPolicy
- Allows anu Uri policy.
- AsDOMElement
- Interface for objects that can be cast as DOMElement.
- AsDOMNode
- Interface for objects that can be cast as DOMNode.
-
AsyncValue<
T> - A wrapper and handler for a value that is asynchronous (from a Future).
- AudioFileReader
- Authorization
- Represents a kind of HTTP Authorization.
- Base64
- Base-64 utils.
- BasicCredential
-
A HTTP Basic Credential for the
Authorization
header. - BearerCredential
-
A HTTP Bearer Credential for the
Authorization
header. - Bootstrap
- Bootstrap wrapper and loader.
- BootstrapIcons
- Bootstrap icons support.
- BSAccordion
- Bootstrap Accordion component.
- BSDateRangePicker
- Bootstrap Date Range Picker component.
- BUIElementGenerator
- BUIManifest
- BUIManifestRender
- BUIRender
- BUIRenderSource
- BUIView
- BUIViewProvider
- BUIViewProviderBase
-
CachedComputation<
R, T, K> - Caches a value that can be computed.
- CanvasImageViewer
- An image viewer that can render points, rectangles, clip and grid over.
- CAPTIONElement
- Color
- Represents a color. [...]
- ColossusPaging
- Implementation for Colossus.services DB and Nodes.
- ConfigDocument
-
ContextualResource<
T, C extends Comparable< C> > - Wraps a resource and the related context.
-
ContextualResourceResolver<
T, C extends Comparable< C> > - Resolves a resource based into a context, like screen dimension or OS.
- Credential
- Abstract Credential for HttpRequest.
- CSS
- CSSAnimationConfig
- CSS animation configuration.
- CSSBackground
- CSSBackgroundGradient
- CSSBackgroundImage
- CSSBorder
- CSSCalc
- CSSColor
- CSSColorHEX
- CSSColorHEXAlpha
- CSSColorName
- CSSColorRGB
- CSSColorRGBA
-
CSSEntry<
V extends CSSValue> - CSSGeneric
- CSSLength
- CSSNumber
- CSSProvider
- CSSThemeSet
- A Theme set, with multiples themes.
- CSSURL
- CSSValue
- CSSValueBase
- DataAssets
-
A collections of assets (DataURL, Blob, MediaSource) that can be accessed
by an
ObjectURL
, avoiding usage and encoding to data URL (base64). - DataCallHttp
- Represents a HttpCall to request data.
-
DataHandler<
T> - Base class for DataSource and DataReceiver.
-
DataReceiver<
T> - Represents a data receiver, that can store or process data.
-
DataReceiverDynCall<
T> - A DataReceiver based in a DynCall for requests.
-
DataReceiverExecutor<
E, T> - A DataReceiver based in a DynCallExecutor for requests.
-
DataReceiverHttp<
T> - A DataReceiver based in a DataCallHttp for requests.
-
DataRepository<
T> - Represents simultaneously a DataSource and a DataReceiver.
-
DataRepositoryHttp<
T> - A DataRepository based in a DataCallHttp for requests.
-
DataRepositoryWrapper<
T> - Represents a DataRepository that wraps a DataSource instance and a DataReceiver instance
-
DataSource<
T> - Represents a Data source
-
DataSourceCall<
T> -
DataSourceDynCall<
T> - A DataSource based in a DynCall for requests.
-
DataSourceExecutor<
E, T> - A DataSource based in a DynCallExecutor for requests.
-
DataSourceHttp<
T> - A DataSource based in a DataCallHttp for requests.
-
DataSourceOperationHttp<
T> -
DataSourceResolver<
T> - Wrapper to resolve a DataSource.
-
DataSourceResponse<
T> - DataStorage
- Represents a persistent storage in the browser. [...]
- DataURLBase64
- Represent a Data URL in Base-64
- Dimension
- Represents a width X height dimension.
- DIVElement
-
Class for a
div
element. -
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.
-
DOMEvent<
T> - Base class for DOMElement events.
-
DOMGenerator<
T> - Basic class for DOM elements generators.
-
DOMGeneratorDartHTML<
T> -
DOMGeneratorDelegate<
T> - Delegates operations to another DOMGenerator.
-
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> - DOMTemplate
- DOMTemplateBlock
- DOMTemplateBlockCondition
- DOMTemplateBlockElse
- DOMTemplateBlockElseCondition
- DOMTemplateBlockElseIf
- DOMTemplateBlockElseNot
- DOMTemplateBlockIf
- DOMTemplateBlockIfCmp
- DOMTemplateBlockIfCollection
- DOMTemplateBlockNot
- DOMTemplateBlockQuery
- DOMTemplateBlockVar
- DOMTemplateBlockVarElse
- DOMTemplateContent
- DOMTemplateIntlMessage
- DOMTemplateNode
- DOMTemplateVariable
-
DOMTreeMap<
T> -
Represents a mapping tree. Can be used to map a DOMNode to a generated
node
T
, or a nodeT
to a DOMNode. -
DOMTreeMapDummy<
T> - A Dummy DOMTreeMap, that won't map anything.
-
DOMTreeReferenceMap<
V> - A TreeReferenceMap for DOM Nodes.
-
DynCall<
E, O> - A Dynamic Call specification
- DynCallCredential
- Abstract class for credentials.
- DynCallCredentialHTTP
- A HTTP Credential.
-
DynCallExecutor<
E> - Abstract class for the executor implementation.
-
DynCallFunctionExecutor<
R, T> - A DynCallExecutor that calls a DynCallFunction for results.
- DynCallHttpClient
- A HTTP Client for DynCallHttpExecutor calls.
-
DynCallHttpExecutor<
E> - A DynCallExecutor for HTTP calls.
- DynCallHttpExecutorFactory
- A Factory that helps to define/attach HTTP executors to calls.
-
DynCallHttpExecutorFactory_builder<
E, O> -
The Builder returned by Factory
call(...)
method. -
DynCallStaticExecutor<
E> - Static DynCallExecutor, with predefined results.
-
ElementGenerator<
T> - ElementGeneratorBase
-
ElementGeneratorFunctions<
T> - ElementProvider
- EventHandlerPrivate
-
EventStream<
T> - Implements a Stream for events and additional features. [...]
-
EventStreamDelegator<
T> -
A delegator for
EventStream
. [...] - ExplorerModel
- ExternalElementNode
- Class wrapper for a external element as a DOMNode.
- FilterResult
- Filter result. [...]
- Geolocation
- Represents a Geo Location in latitude and longitude.
- GlobalUser
- GlobalUserListener
- HSLColor
- A color represented using alpha, hue, saturation, and lightness. [...]
- HSVColor
- A color represented using alpha, hue, saturation, and value. [...]
- HtmlUnescape
-
A Converter that takes HTML5-escaped strings (like
±42
) and unescapes them into unicode strings (like±42
). [...] -
HttpBlob<
B> - HttpBody
- A wrapper for multiple types of data body.
- HttpCache
- A cache for HttpClient. Request originated from this cache are stored in memory.
-
HttpCall<
R> - Represents a simple HTTP call that can be called many times.
- HttpClient
- Mercury HTTP Client.
- HttpClientRequester
- Abstract HttpClient requester. This should implement the actual request process.
- HttpClientRequesterSimulation
- A Simulated HttpClientRequester. Usefull for tests and mocks.
- HttpError
- Represents a response Error.
-
HTTPOutputInterceptorWrapper<
E> - HttpRequest
- Represents the HTTP request.
- HttpRequestBody
- Represents a body content, used by HttpRequest.
- HttpRequester
- A Class able to do a HTTP request based in properties: [...]
- HttpResponse
- The response of a HttpRequest.
- HttpStatus
- Represents a HTTP Status with helpers. Base for HttpResponse and HttpError.
- ImageClip
- Represents an image clip parameters.
- ImageFileReader
- ImagePerspectiveFilter
- A filter that applies a perspective to an image.
- ImagePerspectiveFilterCache
- A cache for perspective filers. [...]
- ImageScaledCache
- A cache for scaled images.
- InputConfig
- Configuration for an input.
- INPUTElement
- InteractionCompleter
- Tracks interactions and after a delay, without interaction, triggers onComplete.
- InteractionCompleterDummy
- A dummy version of InteractionCompleter.
- JQuery
- JQuery wrapper and loader.
- JSONBodyCredential
- A Credential that injects a JSON in the HttpRequest body.
- JSONConfig
- JSONConfigDocument
- JSONObject
- Base class for an Object that can be converted to JSON.
- JSONPaging
- Generic representation of a paging result in JSON.
- JSONTransformer
-
Label<
T extends num> -
ListenerWrapper<
T> - Wraps Stream listen call. [...]
- LoadController
- Controls a load process.
- LoginState
- State for login username.
-
MapDelegate<
K, V> -
A Map that delegates to another
_map
. Useful to extend Map features. - MapProperties
- A Map of properties.
- MasonryItem
- Math
- Common mathematical functions and constants.
-
MenuEntry<
P> - MenuItem
- MenuSeparator
- MimeType
- Represents MIME-Type. Useful for Content-Type and file handling. [...]
- Moment
- Moment wrapper and loader.
- Represents a navigation (route + parameters).
-
NNField<
T> - A field that can't be null. If a null value is set to it, a default value will be used.
- ObjectCache
- A simple cache of objects, where is possible to define different instantiators for each key.
- OceanAppSystem
- ////////////////////////////////////////////////////////////////////////////////////////////////////////
- OceanExpressApp
- The Ocean Press Application.
- OPButton
- Ocean Press Button.
- OPButtonCapturePhoto
- Ocean Press Button to Capture an Photo.
- OPButtonFB
- OPChangePass
- OPContentSection
- Ocean Press Section based in UIContent.
- OPControlledSection
- Ocean Press Section based in UIControlledComponent.
- OPExplorerSection
- Ocean Press Section based in UIExplorer.
- OPHome
- OPHomeLogin
- OPLoading
- Ocean Press Loading element.
- OPLogin
- OPLoginContent
- OPLogout
- OPMain
- OPMenu
- OPMenuLoginButton
- OPOffline
- OPPopUpSection
- OPProfile
- OPRegister
- OPRoot
- OPRouteBreadcrumb
- OPSection
- Ocean Section.
- OPTIONElement
-
Pair<
T> -
Represents a pair with a and b of type
T
. -
Parameter<
A> -
Parameters2<
A, B> -
Parameters3<
A, B, C> -
Parameters4<
A, B, C, D> - PopupGroup
- QueryStringCredential
- A Credential that injects fields in the Query paramaters.
- RegExpDialect
- Represents a dialect. Compiles it on construction.
-
ResourceConfig<
D extends ConfigDocument> - ResourceContent
- Represents a Resource Content
- ResourceContentCache
- A cache for ResourceContent.
-
Scale<
T> - Represents a scale with minimum, maximum and length.
-
ScaleNum<
N extends num> - Version of Scale but for num values.
- SELECTElement
- SpringBootPaging
- Implementation for Spring Boot.
- State
- A state stored in DataStorage.
- StorageValue
- Represents a value stored in State.
- StyleColor
- Specifies a CSS color.
- TABLEElement
- TABLENode
- TAsList
- TAsMap
- TAsString
- Converts JSON node to a String. [...]
- TBODYElement
- TConcatenation
- Concatenate transformations
- TDecodeJSON
- Converts JSON node decoding to a JSON tree.
- TDElement
- TemplateNode
- Represents a template node in DOM.
- TEncodeJSON
- Converts JSON node encoding to a JSON String. [...]
- TEXTAREAElement
- TextNode
- Represents a text node in DOM.
- TextProvider
- TextStyle
- Specifies a CSS text style.
- TFOOTElement
- THEADElement
- THElement
- 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.
- 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.
-
TreeReferenceMap<
K, V> - A Map that keeps keys that are in the tree of root. [...]
- TRowElement
- 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
- UIButtonCapturePhoto
- UIButtonLoader
- UICapture
- 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.
-
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. [...]
- UIContent
- Base class for content components.
- UIControlledComponent
- UIDataSource
- UIDeviceOrientation
- Tracks and fires events of device orientation changes.
- UIDialog
- UIDialogAlert
- UIDialogBase
- Component that renders a dialog.
- UIDialogInput
- UIDialogLoading
- UIDocument
-
An UIComponentAsync to show rendered documents,
like
markdown
,html
,json
andtext
. - UIDOMActionExecutor
- UIDOMGenerator
-
A DOMGenerator (from package
dom_builder
) able to generate Element (fromdart:html
). - 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.
-
Bones_UI
base class for navigable components using routes. -
A
Bones_UI
component for navigable contents by routes. - Handles navigation and routes.
- UIPopupMenu
- UIRoot
-
The root for
Bones_UI
component tree. - UISVG
- Component to show a SVG.
- URLFileReader
- URLLink
- Represents an url link, with an optional target.
- UserLogin
- VideoFileReader
-
ViewerElement<
T> - Represents an element in the CanvasImageViewer.
- Viewport
- Represents browser window Viewport.
- WithValue
- YAMLConfig
- YAMLConfigDocument
Constants
-
CODE_THEME_0
→ const Map<
String, TextStyle> -
const {'comment' : const TextStyle(color: const StyleColor(0xffd4d0ab)), 'quote' : const TextStyle(color: const StyleColor(0xffd4d0ab)), 'variable' : const TextStyle(color: con…
-
CODE_THEME_1
→ const Map<
String, TextStyle> -
const {'root' : const TextStyle(color: const StyleColor(0xff000000), backgroundColor: const StyleColor(0xffffffff)), 'subst' : const TextStyle(fontWeight: FontWeight.normal, color: con…
-
CODE_THEME_2
→ const Map<
String, TextStyle> -
const {'comment' : const TextStyle(color: const StyleColor(0xff7e7887)), 'quote' : const TextStyle(color: const StyleColor(0xff7e7887)), 'variable' : const TextStyle(color: con…
- CSS_MAX_Z_INDEX → const int
-
2147483647
- ONE_DAY → const int
-
ONE_HOUR * 24
- ONE_HOUR → const int
-
ONE_MINUTE * 60
- ONE_MINUTE → const int
-
ONE_SECOND * 60
- ONE_SECOND → const int
-
1000
Properties
- ARGUMENT_LIST_DELIMITER → RegExp
-
final
- BONES_UI_BOOTSTRAP_PACKAGE_PATH → String
-
final
- CODE_THEME → CSSThemeSet
-
final
- CSS_LIST_DELIMITER → RegExp
-
final
- DEFAULT_DATA_SOURCE_BASE_URL ↔ String
-
read / write
- ENABLE_MINIFIED → bool
-
final
- logger → _Logger
-
final
- loggerIgnoreBonesUI → _Logger
-
final
- OCEAN_PRESS_APP → OceanExpressApp
-
final
- OCEAN_PRESS_MESSAGES ↔ IntlMessages
-
read / write
-
onDetectTouchDevice
→ EventStream<
TouchDeviceDetection> -
Will fire a TouchDeviceDetection when detection finishes.
final
- REGEXP_EMAIL → RegExp
-
final
- STRING_LIST_DELIMITER → RegExp
-
final
- STRING_PLACEHOLDER_PATTERN → RegExp
-
final
- UI_MAIN_CONTENT_TOP_MARGIN ↔ int
-
read / write
Functions
-
$a(
{DOMNodeValidator validate, dynamic id, dynamic classes, dynamic style, Map< String, String> attributes, String href, String target, dynamic content, bool commented}) → DOMElement -
Creates an
a
node. -
$asyncContent(
{DOMNodeValidator validate, dynamic loading, Future future, Future function()}) → DOMAsync -
Creates a
div
node withdisplay: inline-block
. -
$br(
{int amount, bool commented}) → DOMElement -
Creates a
br
node. -
Creates a
button
node. -
$caption(
{DOMNodeValidator validate, dynamic id, dynamic classes, dynamic style, String captionSide, Map< String, String> attributes, dynamic content, bool commented}) → CAPTIONElement -
Creates a
caption
node. -
$div(
{DOMNodeValidator validate, dynamic id, dynamic classes, dynamic style, Map< String, String> attributes, dynamic content, bool commented}) → DIVElement -
Creates a
div
node. -
$divCenteredContent(
{String width = '100%', String height = '100%', dynamic content}) → DIVElement -
Creates a
div
that centers vertically and horizontally usingdisplay
table
andtable-cell
. -
$divHTML(
dynamic html) → DIVElement -
Creates a
div
node from HTML. -
$divInline(
{DOMNodeValidator validate, dynamic id, dynamic classes, dynamic style, Map< String, String> attributes, dynamic content, bool commented}) → DIVElement -
Creates a
div
node withdisplay: inline-block
. -
Creates a
footer
node. -
$form(
{DOMNodeValidator validate, dynamic id, dynamic classes, dynamic style, Map< String, String> attributes, dynamic content, bool commented}) → DOMElement -
Creates a
form
node. -
$header(
{DOMNodeValidator validate, dynamic id, dynamic classes, dynamic style, Map< String, String> attributes, dynamic content, bool commented}) → DOMElement -
Creates a
header
node. -
$hr(
{DOMNodeValidator validate, dynamic id, dynamic classes, dynamic style, Map< String, String> attributes, bool commented}) → DOMElement -
Creates a
hr
node. -
$html<
T extends DOMNode> (dynamic html) → List< DOMNode> -
Returns a list of nodes from
html
. -
$htmlRoot(
dynamic html, {String defaultRootTag, bool defaultTagDisplayInlineBlock}) → DOMElement -
$img(
{DOMNodeValidator validate, dynamic id, dynamic classes, dynamic style, Map< String, String> attributes, String src, String title, dynamic content, bool commented}) → DOMElement -
Creates an
img
node. -
$input(
{DOMNodeValidator validate, dynamic id, dynamic name, dynamic classes, dynamic style, dynamic type, dynamic placeholder, Map< String, String> attributes, dynamic value, bool commented}) → INPUTElement -
Creates an
input
node. -
$label(
{DOMNodeValidator validate, dynamic id, dynamic forID, dynamic classes, dynamic style, Map< String, String> attributes, dynamic content, bool commented}) → DOMElement -
Creates a
label
node. -
Creates a
nav
node. -
$nbsp(
[int length = 1]) → String -
$option(
{DOMNodeValidator validate, dynamic classes, dynamic style, Map< String, String> attributes, dynamic value, String label, bool selected, dynamic text, dynamic valueAndText}) → OPTIONElement -
Creates an
option
node. -
$p(
{DOMNodeValidator validate, dynamic id, dynamic classes, dynamic style, Map< String, String> attributes, bool commented}) → DOMElement -
Creates a
p
node. -
$select(
{DOMNodeValidator validate, dynamic id, dynamic name, dynamic classes, dynamic style, Map< String, String> attributes, dynamic options, dynamic selected, bool commented}) → SELECTElement -
Creates an
select
node. -
$span(
{DOMNodeValidator validate, dynamic id, dynamic classes, dynamic style, Map< String, String> attributes, dynamic content, bool commented}) → DOMElement -
Creates a
span
node. -
$table(
{DOMNodeValidator validate, dynamic id, dynamic classes, dynamic style, dynamic thsStyle, dynamic tdsStyle, dynamic trsStyle, Map< String, String> attributes, dynamic caption, dynamic head, dynamic body, dynamic foot, bool commented}) → TABLEElement -
Creates a
table
node. -
$tag(
String tag, {DOMNodeValidator validate, dynamic id, dynamic classes, dynamic style, Map< String, String> attributes, dynamic content, bool commented}) → DOMElement -
Creates a node with
tag
. -
$tagHTML<
T extends DOMElement> (dynamic html) → T -
Creates a tag node from
html
. -
Creates a list of nodes of same
tag
. -
$tbody(
{DOMNodeValidator validate, dynamic id, dynamic classes, dynamic style, Map< String, String> attributes, dynamic rows, bool commented}) → TBODYElement -
Creates a
tbody
node. -
$td(
{DOMNodeValidator validate, dynamic id, dynamic classes, dynamic style, Map< String, String> attributes, int colspan, int rowspan, String headers, dynamic content, bool commented}) → DOMElement -
Creates a
td
node. -
$textarea(
{DOMNodeValidator validate, dynamic id, dynamic name, dynamic classes, dynamic style, dynamic cols, dynamic rows, Map< String, String> attributes, dynamic content, bool commented}) → TEXTAREAElement -
Creates a
textarea
node. -
$tfoot(
{DOMNodeValidator validate, dynamic id, dynamic classes, dynamic style, Map< String, String> attributes, dynamic rows, bool commented}) → TFOOTElement -
Creates a
tfoot
node. -
$th(
{DOMNodeValidator validate, dynamic id, dynamic classes, dynamic style, Map< String, String> attributes, int colspan, int rowspan, String abbr, String scope, dynamic content, bool commented}) → DOMElement -
Creates a
th
node. -
$thead(
{DOMNodeValidator validate, dynamic id, dynamic classes, dynamic style, Map< String, String> attributes, dynamic rows, bool commented}) → THEADElement -
Creates a
thread
node. -
$tr(
{DOMNodeValidator validate, dynamic id, dynamic classes, dynamic style, Map< String, String> attributes, dynamic cells, bool commented}) → TRowElement -
Creates a
tr
node. -
addAllToList(
List list, dynamic values) → void -
Adds all
values
tolist
. -
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 intohead
DOM node. [...] -
addElementsClasses(
Iterable< Element> elements, Iterable<String> classes) → bool -
Add to
elements
a set ofclasses
. Will remove classes starting with '!'. -
addJavaScriptCode(
String scriptCode) → Future< bool> -
Adds a JavaScript code (
scriptCode
) into DOM. -
addJavaScriptSource(
String scriptSource, {bool addToBody, bool async}) → 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 runsanimationsConfig
in sequence; -
appendElementInnerHTML(
Element element, String html, {NodeValidator validator}) → void -
Appends to the inner HTML of
element
with parsed result ofhtml
. -
applyCSS(
CssStyleDeclaration css, Element element, [List< Element> extraElements]) → bool -
Applies
css
toelement
andextraElements
list if present. -
applyPerspective(
CanvasImageSource image, List< Point< perspective) → FilterResultnum> > -
Apply
perspective
filter toimage
. -
asCssStyleDeclaration(
dynamic css) → CssStyleDeclaration -
Parses dynamic
css
as CssStyleDeclaration. -
asListOfMap(
dynamic o) → List< Map> -
Returns
o
as a List<Map>. Converts it if needed. -
asListOfString(
dynamic o) → List< String> -
Returns
o
as a List<String>. Converts it if needed. -
asMap(
dynamic o) → Map -
Returns
o
as Map. Converts it if needed. -
asMapOfString(
dynamic o) → Map< String, String> -
Returns
o
as aMap<String,String>
. Converts it if needed. -
asNodeSelector(
dynamic selector) → NodeSelector -
asTreeOfKeyString(
dynamic tree) → dynamic -
Maps
tree
: [...] -
averageIterable<
I, R> (Iterable< num> iterable) → num -
Calculate the average value of
iterable
. -
buildMetaContent(
Map< String, String> map) → String -
Builds a
meta
content frommap
. -
buildStringPattern(
String pattern, Map parameters, [List< Map> extraParameters]) → String -
Builds a string using as place holders in the format
{{key}}
fromparameters
andextraParameters
. -
buildUri(
String scheme, String host, int port, {String path, String path2, String queryString, String fragment}) → Uri - Builds an Uri with the parameters. [...]
-
buildURLWithQueryParameters(
String url, Map< String, String> parameters, {bool removeFragment = false}) → String -
Builds an URL with Query parameters adding the map
parameters
to current Query parameters. [...] -
callAsync(
int delayMs, dynamic function()) → Future -
Calls a function with a
delayMs
. [...] -
callJSFunction(
String method, [List args]) → dynamic -
Calls JavaScript a function
method
withargs
. -
callJSObjectMethod(
dynamic o, String method, [List args]) → dynamic -
Calls JavaScript a
method
in objecto
withargs
. -
canBeInDOM(
dynamic element) → bool -
Returns
true
ifelement
type is able to be in DOM. -
canHttpMethodHaveBody(
HttpMethod method) → bool -
canvasToImageElement(
CanvasElement canvas, [String mimeType, num quality]) → ImageElement -
Converts
canvas
to ImageElement [...] -
clearSelections(
) → void - Clears selected text in vieport.
-
clipNumber<
N extends num> (N n, N min, N max, [N def]) → N -
Clips a number
n
into it's limits,min
andmax
. [...] -
contentTypeToDecoder(
MimeType mimeType) → Converter< List< int> , String> -
Returns de decoder for a Content-Type at parameter
mimeType
andcharset
. -
copyElementToClipboard(
Element element) → void -
Copies
element
text to Clipboard. -
copyList(
List list) → List -
Copies
list
. -
copyListString(
List< String> list) → List<String> -
Copies
list
as a List<String>. -
copyMap(
Map map) → Map -
Copies
map
. -
copyMapString(
Map< String, String> m) → Map<String, String> -
Copies
map
as aMap<String,String>
. -
copyPoints(
List< Point< points) → List<num> >Point< num> > -
Makes a copy of
points
. -
createDiv(
[bool inline = false, String html, NodeValidator validator]) → DivElement -
Creates a
div
.inline
Iftrue
setsdisplay: inline-block
.html
The HTML to parse as content. -
createDivInline(
[String html]) → DivElement -
Creates a
div
withdisplay: inline-block
. [...] -
createDivInlineBlock(
) → DivElement -
Creates a
div
withdisplay: inline-block
. -
createHTML(
[String html, NodeValidator validator]) → Element - Creates a HTML Element. Returns 1st node form parsed HTML.
-
createHttpBlob(
List content, MimeType mimeType) → HttpBlob -
createHttpClientRequester(
) → HttpClientRequester - Creates a HttpClientRequester based in imported platform.
-
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
, ofwidth
andheight
, to ascale
. -
createSpan(
[String html, NodeValidator validator]) → SpanElement -
Creates a
span
element. [...] -
createStandardNodeValidator(
{bool svg = true, bool allowSvgForeignObject = false}) → NodeValidatorBuilder -
createTableCaption(
dynamic caption) → CAPTIONElement -
createTableCells(
dynamic rowCells, [bool header]) → List< TABLENode> -
createTableContent(
dynamic content, dynamic caption, dynamic head, dynamic body, dynamic foot, {bool header, ) → List -
createTableEntry(
dynamic entry, {bool header, ) → TABLENode -
createTableRow(
dynamic rowCells, [bool header]) → TRowElement -
createTableRows(
dynamic rows, bool header) → List< TRowElement> -
cropImage(
CanvasImageSource image, int x, int y, int width, int height) → CanvasElement -
Crops the
image
using coordinatesx
,y
,width
andheight
, returning new image (CanvasElement). -
cropImageByRectangle(
CanvasImageSource image, Rectangle< num> crop) → CanvasElement -
Crops an image using a Rectangle (
crop
), delegating to method cropImage, -
dataSizeFormat(
int size, {bool decimalBase, bool binaryBase}) → String -
Formats
size
as a data format using binary of decimal base for sufixes. [...] -
dataURLToBlob(
DataURLBase64 dataURL) → Blob -
Converts a
dataURL
to a Blob. -
dateFormat_YY_MM(
[int time, String delimiter = '-']) → String -
dateFormat_YY_MM_dd(
[int time, String delimiter = '-']) → String -
dateFormat_YYYY_MM(
[int time, String delimiter = '-']) → String -
dateFormat_YYYY_MM_dd(
[int time, String delimiter = '-']) → String -
dateFormat_YYYY_MM_dd_HH(
[int time, String delimiter = '-']) → String -
dateFormat_YYYY_MM_dd_HH_mm(
[int time, String delimiter = '-', String hourDelimiter = ':']) → String -
dateFormat_YYYY_MM_dd_HH_mm_ss(
[int time, String delimiter = '-', String hourDelimiter = ':']) → String -
decodeQueryString(
String queryString) → Map< String, String> -
Decodes
queryString
to aMap<String,String>
. -
deepCatchesListValues<
T> (List list, ValueFilter filter, [List result]) → List -
Catches deeply
list
values that matchesfilter
. [...] -
deepCatchesMapValues<
T> (Map map, ValueFilter filter, [List result]) → List -
Catches deeply
map
values that matchesfilter
. [...] -
deepCatchesSetValues<
T> (Set set, ValueFilter filter, [List result]) → List -
Catches deeply
set
values that matchesfilter
. [...] -
deepCatchesValues<
T> (dynamic o, ValueFilter filter, [List result]) → List -
Catches deeply values that matches
filter
. [...] -
deepCopy<
T> (T o, {Copier copier}) → T -
Deeply copies
o
. [...] -
deepCopyList<
T> (List< T> l, {Copier copier}) → List<T> -
Deeply copies
list
. [...] -
deepCopyMap<
K, V> (Map< K, V> map, {Copier copier}) → Map<K, V> -
Deeply copies
map
. [...] -
deepHashCode(
dynamic o) → int -
Calculate a hashcode over
o
, iterating deeply over sub elements if is a List or Map. -
deepHashCodeList(
List list) → int -
Computes a hash code inspecting deeply
list
. -
deepHashCodeMap(
Map map) → int -
Computes a hash code inspecting deeply
map
. -
deepReplaceListValues<
T> (List list, ValueFilter filter, ValueReplacer replacer) → void -
Replaces values applying
replacer
to values that matchesfilter
. -
deepReplaceMapValues<
T> (Map map, ValueFilter filter, ValueReplacer replacer) → void -
Replaces values applying
replacer
to values that matchesfilter
. -
deepReplaceSetValues<
T> (Set set, ValueFilter filter, ValueReplacer replacer) → void -
Replaces values applying
replacer
to values that matchesfilter
. -
deepReplaceValues<
T> (dynamic o, ValueFilter filter, ValueReplacer replacer) → dynamic -
Replaces values applying
replacer
to values that matchesfilter
. -
defineCSS(
CssStyleDeclaration currentCSS, CssStyleDeclaration appendCSS, [dynamic defaultCSS]) → CssStyleDeclaration -
Defines a new CssStyleDeclaration merging
currentCSS
andappendCSS
. [...] -
detectTouchDevice(
) → TouchDeviceDetection - Starts touch device detection. Returns the current status.
-
disableScrolling(
) → void - Disables scrolling in browser.
-
disableZooming(
) → void - Disables zooming in browser.
-
doDataSourceOperation<
T> (DataSource< T> dataSource, DataSourceOperation operation, Map<String, String> parameters, [List<T> dataList]) → Future<List< T> > -
Performs a DataSourceOperation over
dataSource
instance. -
doTransformFrom<
T> (T data, DataTransformerFrom< T> transformerFrom) → dynamic -
doTransformFromList<
T> (List< T> list, DataTransformerFrom<T> transformerFrom, DataTransformerFromList<T> transformerFromList) → dynamic -
doTransformTo<
T> (dynamic o, DataTransformerTo< T> transformerTo) → T -
doTransformToList<
T> (dynamic o, DataTransformerTo< T> transformerTo, DataTransformerToList<T> transformerToList) → List<T> -
downloadBlob(
Blob blob, MimeType mimeType, String fileName) → void -
Downloads
blob
of typemimeType
, saving a file withfileName
. -
downloadBytes(
List< int> bytes, MimeType mimeType, String fileName) → void -
Downloads
bytes
of typemimeType
, saving a file withfileName
. -
downloadContent(
List< String> content, MimeType mimeType, String fileName) → void -
Downloads
content
of typemimeType
, saving a file withfileName
. -
downloadDataURL(
DataURLBase64 dataURL, String fileName) → void -
Downloads
dataURL
, saving a file withfileName
. -
elementMatchesAttribute(
Element element, String attributeName, dynamic attributeValue) → bool -
Returns
true
ifelement
matchesattributeName
andattributeValue
. -
elementMatchesAttributes(
Element element, Map< String, dynamic> attributes) → bool -
Returns
true
ifelement
matchesattributes
. -
elementOnLoad(
ImageElement img) → Future< bool> -
Returns a Future<bool> for when
img
loads. -
enableScrolling(
) → void - Enables scrolling in browser.
-
encodeJSON(
dynamic json, {String indent, bool withIndent, bool clearNullEntries, Object toEncodable(dynamic object)}) → String -
Encodes
json
to a JSON string. [...] -
encodeQueryString(
Map< String, String> parameters) → String -
Encodes
parameters
as a query string. -
ensureNotEmptyString(
String s, {bool trim = false, String def}) → String -
If
s
isEmptyString will returndef
ornull
. [...] -
evalJS(
String scriptCode) → dynamic -
Call
eval()
with the content ofscriptCode
and returns the result. -
findKeyEntry<
K, V> (Map< K, V> map, List<K> keys, [bool ignoreCase]) → MapEntry<K, V> -
Finds in
map
a entry that has one ofkeys
. [...] -
findKeyName<
K, V> (Map< K, V> map, List<K> keys, [bool ignoreCase]) → K -
Finds in
map
a key that has one ofkeys
. [...] -
findKeyPathValue<
V> (Map map, String keyPath, {String keyDelimiter = '/', bool isValidValue(dynamic value)}) → V -
Finds in
map
a value that is in key pathkeyPath
[...] -
findKeyValue<
K, V> (Map< K, V> map, List<K> keys, [bool ignoreCase]) → V -
Finds in
map
a value that has one ofkeys
. [...] -
formatDecimal(
dynamic value, [int precision = 2, String decimalSeparator = '.']) → String -
Formats
value
to a decimal value. [...] -
formatPercent(
dynamic percent, [int precision = 2, bool isRatio]) → String -
Formats
percent
as a percentage string like: 0%, 90% or 100%. [...] -
formatTimeMillis(
int time) → String -
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
andviewportHeight
. -
getAllOutOfViewportMediaCssRuleAsClassRule(
int viewportWidth, dynamic viewportHeight, String targetClass) → List< String> -
Transforms all CssMediaRule to
targetClass
rule not applied forviewportWidth
andviewportHeight
. -
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 forviewportWidth
andviewportHeight
. -
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, ) → 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 -
getCurrentTimeMillis(
) → int - Returns the current time in milliseconds since epoch.
-
getDataSourceOperation(
String name) → DataSourceOperation -
Returns a DataSourceOperation by
name
. -
getDataSourceOperationName(
DataSourceOperation operation) → String -
getDateAmPm(
[int time]) → String -
getDateHour(
[int time]) → int -
getDateTimeDayEnd(
[DateTime time]) → DateTime -
Returns the end of the day for
time
. [...] -
getDateTimeDayStart(
[DateTime time]) → DateTime -
Returns the start of the day for
time
. [...] -
getDateTimeEndOf(
DateTime time, dynamic unit, {DateTimeWeekDay weekFirstDay, String locale}) → DateTime -
Returns the end of a time
unit
usingtime
as reference. [...] -
getDateTimeLastMonth(
[DateTime time]) → Pair< DateTime> -
Returns start and end of last month, before current month, using
time
as reference. [...] -
getDateTimeLastNDays(
int nDays, [DateTime time]) → Pair< DateTime> -
Returns start and end of last
nDays
counting fromtime
. [...] -
getDateTimeLastWeek(
[DateTimeWeekDay weekFirstDay, DateTime time]) → Pair< DateTime> -
Returns start and end of last week, before current week, using
time
as reference. [...] -
getDateTimeNow(
) → DateTime -
Same as
DateTime.now()
. -
getDateTimePreviousMonth(
int month, {int year}) → DateTime -
Returns start of previous month, using as reference
month
andyear
. [...] -
getDateTimeRange(
DateRangeType rangeType, [DateTime time, DateTimeWeekDay weekFirstDay]) → Pair< DateTime> -
Returns start and end of date range
rangeType
. [...] -
getDateTimeStartOf(
DateTime time, dynamic unit, {DateTimeWeekDay weekFirstDay, String locale}) → DateTime -
Returns the start of a time
unit
usingtime
as reference. [...] -
getDateTimeThisMonth(
[DateTime time]) → Pair< DateTime> -
Returns start and end of this month, using
time
as reference. [...] -
getDateTimeThisWeek(
[DateTimeWeekDay weekFirstDay, DateTime now]) → Pair< DateTime> -
Returns start and end of this week using
time
as reference. [...] -
getDateTimeWeekDay(
int weekDayIndex) → DateTimeWeekDay -
Returns enum DateTimeWeekDay by
weekDayIndex
(from 1 to 7). See getDateTimeWeekDayIndex. -
getDateTimeWeekDay_from_ISO_8601_index(
int weekDayIndex) → DateTimeWeekDay -
Returns enum DateTimeWeekDay using
weekDayIndex
compliant with ISO 8601. [...] -
getDateTimeWeekDayByName(
String weekDayName) → DateTimeWeekDay - Returns enum DateTimeWeekDay by week day name in english
-
getDateTimeWeekDayIndex(
DateTimeWeekDay weekDay) → int -
Gets index of DateTimeWeekDay, starting from 1 (Monday) to 7 (Sunday), same range as
DateTime.wednesday
. -
getDateTimeWeekEnd(
[DateTimeWeekDay weekFirstDay, DateTime now]) → DateTime -
Returns the end of the week using
time
as reference. [...] -
getDateTimeWeekStart(
[DateTimeWeekDay weekFirstDay, DateTime time]) → DateTime -
Returns the start of the week using
time
as reference. [...] -
getDateTimeYesterday(
[DateTime time]) → DateTime -
Returns the start of yesterday from
time
. [...] -
getDOMTemplateCmp_operator(
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, dynamic key) → String -
Returns
element
attribute withkey
. [...] -
getElementAttributeRegExp(
Element element, RegExp key) → String -
Returns
element
attribute with RegExpkey
. -
getElementAttributeStr(
Element element, String key) → String -
Returns
element
attribute with Stringkey
. -
getElementByHREF(
String tag, String href) → Element -
Selects an Element in DOM with
tag
andhref
. -
getElementBySRC(
String tag, String src) → Element -
Selects an Element in DOM with
tag
andsrc
. -
getElementByValues<
V> (String tag, ElementValueGetter getter, List< V> values, [ElementValueGetter getter2, List<V> values2]) → Element -
selects in DOM an Element with
tag
and one ofvalues
provided bygetter
. -
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 ifnode
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
orelement.parent
z-index
recursively. -
getEntryIgnoreCase<
V> (Map< String, V> map, String key) → MapEntry<String, V> -
Gets a
map
entry ignoring key case. -
getFileMimeType(
File file, [String accept]) → MimeType -
Returns the
file
MimeType. [...] -
getHttpClientRuntimeUri(
) → Uri - Returns the base runtime Uri for the platform.
-
getHttpMethod(
String method, [HttpMethod def]) → HttpMethod -
Returns HttpMethod instance for
method
parameter. -
getHttpMethodName(
HttpMethod method, [HttpMethod def]) → String -
Returns
method
name. -
getIgnoreCase<
V> (Map< String, V> map, String key) → V -
Gets a
map
value ignoringkey
case. -
getImageDimension(
CanvasImageSource image) → Rectangle< int> -
Gets the width and height from
image
(CanvasImageSource). -
getLanguageByExtension(
String extension) → String -
Returns a document language by
extension
. -
getLastDayOfMonth(
int month, {int year}) → int -
Returns the last day of
month
. [...] -
getLinkElementByHREF(
String href, [String rel]) → LinkElement -
Selects an LinkElement in DOM with
href
. -
getMetaTagsContentWithName(
String name) → List< String> -
Returns a list of
meta
contet withname
. -
getMetaTagsWithName(
String name) → List< Element> -
Returns a list of
meta
Element withname
. -
getMillisecondsAsUnit(
int ms, dynamic unit, [double def]) → double -
getPathExtension(
String path) → String -
Returns the File extension of a
path
. -
getPathFileName(
String path) → String -
Returns the File name of a
path
. -
getPathWithoutFileName(
String path) → String -
Returns
path
removing File name if present. -
getScriptElementBySRC(
String src) → ScriptElement -
Selects an ScriptElement in DOM with
src
. -
getUILoadingType(
dynamic type) → UILoadingType -
getUILoadingTypeClass(
UILoadingType type) → String -
getUnitAsMilliseconds(
dynamic unit, [int amount = 1]) → int -
getUnitByIndex(
int index, [Unit def]) → Unit -
getUnitByName(
String name, [Unit def]) → Unit -
getUriBase(
) → Uri -
Returns platform base Uri. See
Uri.base
. [...] -
getUriBaseHost(
) → String - The host of base Uri.
-
getUriBaseHostAndPort(
{bool suppressPort80 = true, int port}) → String - The host and port of base Uri. [...]
-
getUriBasePort(
) → int - The port of base Uri.
-
getUriBaseScheme(
) → String - The scheme of base Uri.
-
getUriRoot(
) → Uri - The root Uri for the platform. [...]
-
getUriRootURL(
{bool suppressPort80 = true, int port}) → String - Returns base Uri as URL string.
-
getURLData(
String url, {String user, String password, dynamic withCredentials = true}) → Future< Uint8List> -
Makes a HTTP request and returns
url
content as Uint8List. -
getWeekFirstDay(
[String locale]) → DateTimeWeekDay -
Returns the first day of a week as enum DateTimeWeekDay for
locale
. [...] -
groupIterableBy<
K, V, I> (Iterable< I> iterable, MapEntry<K, V> map(I entry), V merge(K key, V value1, V value2)) → Map<K, V> -
Groups
interable
entries usingmap
to generate a MapEntry for each entry, than usesmerge
to group entries of the same group (key). -
hasBlankChar(
String s) → bool -
Returns
true
ifs
has a blank character. -
hasBlankCharFrom(
String s, int offset) → bool -
Returns
true
ifs
has a blank character fromoffset
. -
hasBlankCharInRange(
String s, int offset, int length) → bool -
Returns
true
ifs
has a blank character in rangeoffset
+length
. -
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. -
isAllEquals(
dynamic element, dynamic value, [bool deep = false]) → bool -
Returns
true
element
is equals tovalue
. [...] -
isAllEqualsInList(
List list, dynamic value, [bool deep = false]) → bool -
Returns
true
iflist
elements are all equals tovalue
. [...] -
isAllEqualsInMap(
Map map, dynamic value, [bool deep = false]) → bool -
Returns
true
ifmap
values are all equals tovalue
. [...] -
isAlphaNumeric(
int c) → bool -
isAlphaNumericString(
String s, [int offset]) → bool -
isAlphaNumericStringInRange(
String s, int offset, int length) → bool -
isBlankChar(
String c) → bool -
Returns
true
ifc
is a blank char (space, \t, \n, \r). -
isBlankCodeUnit(
int c) → bool -
Returns
true
ifc
is a blank char code unit. -
isBlankString(
String s, [int offset]) → bool -
Returns
true
ifs
has only blank characters. -
isBlankStringInRange(
String s, int offset, int length) → bool -
Returns
true
ifs
has only blank characters in rangeoffset
+length
. -
isBool(
dynamic value) → bool -
Returns true if
value
is bool. Can be a bool as string too. -
isBoolList(
dynamic value, [String delimiter = ',']) → bool -
Returns
true
if is a list of bool. Can be a string of bool too. -
isComponentInDOM(
dynamic element) → bool -
Returns
true
if aBones_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 -
isDigit(
int c) → bool -
isDigitString(
String s, [int offset]) → bool -
isDigitStringInRange(
String s, int offset, int length) → bool -
isDOMBuilderDirectHelper(
dynamic f) → bool -
Returns
true
iff
is a DOM Builder helper, like$div
and$br
. [...] -
isDouble(
dynamic value) → bool -
Returns true if
value
is double. Can be a double as string too. -
isDoubleList(
dynamic value, [String delimiter = ',']) → bool -
Returns
true
if is a list of double. Can be a string of double too. -
isElementWithHREF(
Element element) → bool -
Returns
true
ifelement
type can havehref
attribute. -
isElementWithSRC(
Element element) → bool -
Returns
true
ifelement
type can havesrc
attribute. -
isEmail(
dynamic value) → bool -
Returns
true
ifvalue
represents an e-mail address. -
isEmptyObject<
T> (T o, {bool trim = false}) → bool -
Returns
true
ifo
is empty. Checks for String, List, Map Iterable, Set oro.toString()
. -
isEmptyString(
String s, {bool trim = false}) → bool -
Returns
true
ifs
is empty or null. [...] -
isEncodedJSON(
String s) → bool -
Returns
true
ifs
is a encoded JSON String of a primitive value. -
isEncodedJSONBoolean(
String s) → bool -
Returns
true
ifs
is a encoded JSON bool. -
isEncodedJSONList(
String s) → bool -
Returns
true
ifs
is a encoded JSON List. -
isEncodedJSONMap(
String s) → bool -
Returns
true
ifs
is a encoded JSON Map. -
isEncodedJSONNull(
String s) → bool -
Returns
true
ifs
is a encoded JSONnull
. -
isEncodedJSONNumber(
String s) → bool -
Returns
true
ifs
is a encoded JSON num. -
isEncodedJSONPrimitive(
String s) → bool -
Returns
true
ifs
is a encoded JSON String of a primitive value. -
isEncodedJSONString(
String s) → bool -
Returns
true
ifs
is a encoded JSON String. -
isEquals(
dynamic o1, dynamic o2, [bool deep = false]) → bool -
Returns
true
ifo1
ando2
are equals. [...] -
isEqualsAsString(
dynamic o1, dynamic o2) → bool -
Returns
true
ifo1
ando2
are equals as String. Uses String.toString to check. -
isEqualsDeep(
dynamic o1, dynamic o2) → bool -
Returns
true
ifo1
ando2
are equals deeply. -
isEqualsIterable<
T> (Iterable< T> i1, Iterable<T> i2) → bool -
Returns
true
if both iterable,i1
andi2
, have equals entries in the same order. -
isEqualsList<
T> (List< T> l1, List<T> l2) → bool -
Returns
true
if both lists,l1
andl2
, have equals entries in the same order. -
isEqualsMap<
K, V> (Map< K, V> m1, Map<K, V> m2) → bool -
Returns
true
if both maps,m1
andm2
, have equals entries in the same order. -
isEqualsSet<
T> (Set< T> s1, Set<T> s2) → bool -
Returns
true
if both sets,s1
ands2
, have equals entries in the same order. -
isEquivalentIterator(
Iterable it1, Iterable it2, {bool deep = false}) → bool - Same as isEquivalentList but for Iterable.
-
isEquivalentList(
List l1, List l2, {bool sort = false, bool deep = false}) → bool -
Returns
true
ifl1
andl2
are equals, including the same position for the elements. [...] -
isEquivalentMap(
Map m1, Map m2, {bool deep = false}) → bool -
Returns
true
ifm1
andm2
are equals. [...] -
isHTMLElement(
String s) → bool -
isHttpBlob(
dynamic o) → bool -
isHttpURL(
dynamic value) → bool -
Returns
true
ifvalue
represents a HTTP or HTTPS URL. -
isInDOM(
dynamic element) → bool -
Returns
true
ifelement
is in DOM tree. [...] -
isInlineElement(
DivElement element, {bool checkBootstrapClasses = true}) → bool -
Returns
true
ifelement
display
property is inline. -
isInt(
dynamic value) → bool -
Returns true if
value
is int. Can be a int as string too. -
isIntList(
dynamic value, [String delimiter = ',']) → bool -
Returns
true
if is a list of int. Can be a string of int too. -
isInUnixEpochRange(
dynamic value, [bool inMilliseconds]) → bool -
Returns
true
ifn
is in range of a Unix epoch time. [...] -
isInViewport(
Element element) → bool -
Returns
true
ifelement
is visible in viewport. -
isIPAddress(
String host) → bool -
Returns
true
if is a IPv4 or IPv6 address. -
isIPv4Address(
String host) → bool -
Returns
true
if is a IPv4 address. -
isIPv6Address(
String host) → bool -
Returns
true
if is a IPv6 address. -
isJSON(
dynamic value) → bool -
Returns
true
ifvalue
is a JSON. -
isJSONList(
dynamic json) → bool -
Returns
true
ifvalue
is a JSON List. -
isJSONMap(
dynamic json) → bool -
Returns
true
ifvalue
is a JSON Map<String,?>. -
isJSONPrimitive(
dynamic value) → bool -
Returns
true
ifvalue
is a JSON primitive (String, bool, num, int, double, or null). -
isListEntriesAllOfSameType(
Iterable list) → bool -
Returns
true
if alllist
elements are of the same type. -
isListEntriesAllOfType(
Iterable list, Type type) → bool -
Returns
true
if alllist
elements are oftype
. -
isListOfList(
Iterable list) → bool -
Returns
true
iflist
elements are all of type List. -
isListOfListOfList(
Iterable list) → bool -
Returns
true
iflist
elements are all of type List<List>. -
isListOfListValuesAllEquals(
Iterable< List> list, {dynamic eqValue, int eqValueIndex}) → bool -
Returns
true
iflist
elements are all equals to value at indexvalueIndex
. -
isListOfMap(
Iterable list) → bool -
Returns
true
iflist
elements are all of type Map. -
isListOfNum(
Iterable list) → bool -
Returns
true
iflist
elements are all of type num. -
isListOfString(
Iterable list) → bool -
Returns
true
iflist
elements are all of type String. -
isListOfStrings(
Iterable list) → bool -
Returns
true
iflist
values are of type String. -
isListOfType<
T> (Iterable list) → bool -
Returns
true
iflist
elements are all of typeT
. -
isListOfTypes<
A, B> (Iterable list) → bool -
Returns
true
iflist
elements are all of typeA
orB
. -
isListValuesAllEquals(
Iterable list, [dynamic eqValue]) → bool -
Returns
true
iflist
elements are all equals tovalue
. -
isListValuesIdentical(
List l1, List l2) → bool -
Returns
true
if alllist
elements are identical. -
isLocalhost(
String host) → bool -
Returns
true
ifhost
is localhost (also checks for IPv4 and IPv6 addresses). -
isMapOfString(
Map map) → bool -
Returns
true
ifmap
isMap<String,String>
. -
isMapOfStringKeys(
Map map) → bool -
Returns
true
ifmap
has String keys. -
isMapOfStringKeysAndListValues(
Map map) → bool -
Returns
true
ifmap
has String keys and List values. -
isMapOfStringKeysAndNumValues(
Map map) → bool -
Returns
true
ifmap
has String keys and num values. -
isMobileAppStatusBarTranslucent(
) → bool -
Returns
true
ifmeta
tag of nameapple-mobile-web-app-status-bar-style
istranslucent
. -
isNegativeNumber(
num n) → bool -
Returns
true
ifn < 0
. Ifn
is null returns false. -
isNodeInDOM(
Node node) → bool -
Returns
true
ifnode
is in DOM tree. -
isNonBlankChar(
String c) → bool - Returns ![isBlankChar].
-
isNotBlankCodeUnit(
int c) → bool - Returns ![isBlankCodeUnit].
-
isNotEmptyObject<
T> (T value, {bool trim = false}) → bool - Returns ![isEmptyObject].
-
isNotEmptyString(
String s, {bool trim = false}) → bool - Returns ![isEmptyString].
-
isNum(
dynamic value) → bool -
Returns true if
value
is num. Can be a num as string too. -
isNumList(
dynamic value, [String delimiter = ',']) → bool -
Returns
true
if is a list of num. Can be a string of num too. -
isOrientationInLandscapeMode(
) → bool -
Returns
true
if device orientation is in Landscape mode. -
isOrientationInPortraitMode(
) → bool -
Returns
true
if device orientation is in Portrait mode. -
isPositiveNumber(
num n) → bool -
Returns
true
ifn > 0
. Ifn
is null returns false. -
isSmallScreen(
) → bool -
isUriBaseIP(
) → bool -
isUriBaseLocalhost(
) → bool -
Returns
true
if base Uri is localhost. See isLocalhost. -
joinLists(
List l1, [List l2, List l3, List l4, List l5, List l6, List l7, List l8, List l9]) → List - Joins all parameters to a single list.
-
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(
dynamic o) → dynamic -
Converts
o
to Dart primitives or collections. [...] -
lerpDouble(
num a, num b, double t) → double -
listContainsAll(
Iterable list, Iterable entries) → bool -
Returns
true
iflist
contains all elements of typeentry
. -
listContainsType<
T> (Iterable list) → bool -
Returns
true
iflist
contains elements of typeT
. -
listenStreamWithInteractionCompleter<
T> (Stream< T> stream, Duration triggerDelay, void onData(T event)) → InteractionCompleter -
Listen
stream
, callingonData
only aftertriggerDelay
duration. [...] -
listMatchesAll<
T> (Iterable< T> list, bool matcher(T entry)) → bool -
Returns
true
if alllist
elements matchesmatcher
. -
listMatchesAny<
T> (Iterable< T> list, bool matcher(T entry)) → bool -
Returns
true
if any element oflist
matchesmatcher
. -
listNotMatchesAll<
T> (Iterable< T> list, bool matcher(T entry)) → bool -
Returns
true
if at least ONElist
element does NOT matchesmatcher
. -
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. [...] -
maxInIterable<
I, R> (Iterable< num> iterable) → num -
Uses mergeIterable to find maximum value in
iterable
. -
mergeIterable<
I, R> (Iterable< I> iterable, R merge(R total, I value), R init) → R -
Merges all entries of
iterable
usingmerge
function. [...] -
methodAcceptsQueryString(
HttpMethod method) → bool -
minInIterable<
I, R> (Iterable< num> iterable) → num -
Uses mergeIterable to find minimum value in
iterable
. -
nodeTreeContains(
Node rootNode, Node target) → bool -
Returns
true
ifrootNode
containstarget
. -
nodeTreeContainsAny(
Node rootNode, Iterable< Node> list) → bool -
Returns
true
ifrootNode
contains any Node inlist
. -
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
toorientationchange
event. -
parseBool(
dynamic v, [bool def]) → bool -
Parses
v
to bool. [...] -
parseBoolsFromInlineList(
dynamic s, Pattern delimiter, [List< bool> def]) → List<bool> -
Parses
s
to a List<bool>. [...] -
parseBUIAttribute(
String buiCode, String attributeName) → String -
parseComparable<
T> (dynamic v) → Comparable< T> -
Parses
v
as to a Comparable type. -
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 -
parseDateTime(
dynamic date, [DateTime def]) → DateTime -
Parses
date
as DateTime. [...] -
parseDateTimeFromInlineList(
dynamic o, [Pattern delimiter = ',', List< DateTime> def]) → List<DateTime> -
Converts
o
to a List<DateTime>. -
parseDOMTemplateCmp(
dynamic cmp) → DOMTemplateCmp -
parseDouble(
dynamic v, [double def]) → double -
Parses
v
to double. [...] -
parseDoublesFromInlineList(
dynamic s, [Pattern delimiter = ',', List< double> def]) → List<double> -
Parses
s
to a List<double>. [...] -
parseDuration(
String unit, int amount, [Duration def]) → Duration -
Parses
unit
andamount
to Duration. -
parseFromInlineList<
T> (String s, Pattern delimiter, [StringMapper< T> mapper, List<T> def]) → List<T> -
Parses
s
as a inline list. [...] -
parseFromInlineMap<
K, V> (String s, Pattern delimiterPairs, Pattern delimiterKeyValue, [StringMapper< K> mapperKey, StringMapper<V> mapperValue, Map<K, V> def]) → Map<K, V> -
Parses
s
as a inline Map. [...] -
parseFromInlineProperties(
String s, [StringMapper< String> mapperKey, StringMapper<String> mapperValue, Map<String, String> def]) → Map<String, String> -
Parses an inline properties, like inline CSS, to a
Map<String,String>
. -
parseHTML(
String html) → List< DOMNode> -
Parses a
html
to nodes. -
parseInt(
dynamic v, [int def]) → int -
Parses
v
to int. [...] -
parseIntsFromInlineList(
dynamic s, [Pattern delimiter = ',', List< int> def]) → List<int> -
Parses
s
to a List<int>. [...] -
parseJSON(
dynamic json, [dynamic def]) → dynamic -
Parses
json
to a JSON tree. [...] -
parseListOf<
T, R> (dynamic s, [ParserFunction< T, R> parser, List<R> def]) → List<R> -
Parses
s
to a List<R>, whereR
is the result of parse. [...] -
parseListOfList<
T, R> (dynamic s, [ParserFunction< T, R> parser, List<List< def]) → List<R> >List< R> > -
Parses
s
to a List<List<R>>, whereR
is the result of parse. [...] -
parseListOfStrings(
dynamic s, [Pattern delimiter, bool trim = true]) → List< String> -
Parses
s
as a flat List<String>. [...] -
parseMapEntry<
K, V> (dynamic e, [Pattern delimiter, MapEntry< String, String> def]) → MapEntry<String, String> -
Parses
e
as aMapEntry<String, String>
-
parseMetaContent(
String content) → Map< String, String> -
Parses a
meta
content toMap<String,String>
. -
parseNum(
dynamic v, [num def]) → num -
Parses
v
to num. [...] -
parseNumsFromInlineList(
dynamic s, [Pattern delimiter = ',', List< num> def]) → List<num> -
Parses
s
to a List<num>. [...] -
parseNumsFromList(
List list) → List< num> -
Parses a generic
list
to a List<num>. -
parsePercent(
dynamic v, [double def]) → num -
Parses
v
as a percentage from 0..100. [...] -
parsePoint(
dynamic value) → Point< num> -
Parses
value
as a Point. -
parsePointFromList(
List list) → Point< num> -
Parses
list
as a Point. -
parsePointFromMap(
Map map) → Point< num> -
Parses
map
as a Point. -
parsePointFromString(
String s) → Point< num> -
Parses
s
as a Point. -
parseRectangle(
dynamic value) → Rectangle< num> -
Parses
value
as a Rectangle. -
parseRectangleFromList(
List list) → Rectangle< num> -
Parses
list
as a Rectangle. -
parseRectangleFromMap(
Map map) → Rectangle< num> -
Parses
map
as a Rectangle. -
parseRectangleFromString(
String s) → Rectangle< num> -
Parses
s
as a Rectangle. -
parseRegExp(
dynamic regExp) → RegExp -
Parses
regExp
parameter to RegExp. -
parseString(
dynamic v, [String def]) → String -
Parses
v
as String. [...] -
parseStringFromInlineList(
dynamic s, [Pattern delimiter, List< String> def]) → List<String> -
Parses
s
as inline List<String>. [...] -
parseStringFromInlineMap(
dynamic s, [Pattern delimiterPairs, Pattern delimiterKeyValue, Map< String, String> def]) → Map<String, String> -
Parses
s
as a inlineMap<String,String>
. [...] -
parseUnit(
dynamic unit, [Unit def]) → Unit -
prefetchHref(
String href, {int insertIndex, bool preLoad}) → Future< bool> -
Prefetch a HREF using a
link
element intohead
DOM node. [...] -
putIgnoreCase<
V> (Map< String, V> map, String key, V value) → V -
Puts a
map
value ignoringkey
case. -
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. -
redirect_onTouchEnd_to_MouseEvent(
Element element) → void -
Redirects
element.onTouchEnd
toelement.onMouseUp
as MouseEvent. -
redirect_onTouchMove_to_MouseEvent(
Element element) → void -
Redirects
element.onTouchMove
toelement.onMouseMove
as MouseEvent. -
redirect_onTouchStart_to_MouseEvent(
Element element) → void -
Redirects
element.onTouchStart
toelement.onMouseDown
as MouseEvent. -
regExpDialect(
Map< String, String> dialectWords, String pattern, {bool multiLine = false, bool caseSensitive = true}) → RegExp -
Builds a RegExp using a dialect of words (Map parameter
dialectWords
). [...] -
regExpHasMatch(
dynamic regExp, String s) → bool -
Returns
true
ifregExp
has any match ats
. [...] -
regExpReplaceAll(
dynamic regExp, String s, String replace) → String -
Uses
regExp
to replace matches ats
, substituting withreplace
. [...] -
regExpReplaceAllMapped(
dynamic regExp, String s, String replace(Match match)) → String -
Uses
regExp
to replace matches ats
, substituting withreplace
Function results. -
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. -
removeEmptyEntries(
List list) → bool -
Remove all entries of
list
that are true for isEmptyObject. [...] -
removeExifFromImageFile(
File file) → Future< String> -
Removes Exif from JPEG
file
. [...] -
removeNullEntries<
T> (T json) → T -
Remove null entries from
json
tree. -
removeUriFragment(
String url) → Uri -
Removes fragment from
url
and returns an Uri. -
removeUriQueryString(
String url) → Uri -
Removes query string from
url
and returns an Uri. -
replaceElement(
Node n1, Node n2) → bool -
Replaces
n1
withn2
inn1
parent. [...] -
replaceStringMarks(
String s, RegExp marksPattern, String markResolver(String markName)) → String -
Replaces String
s
marks usingmarksPattern
andmarkResolver
. [...] -
resetZoom(
) → void - Resets viewport zoom.
-
resolveDataSourceBaseURL(
String url) → String -
resolveUri(
String url, {String baseURL, Uri baseUri}) → Uri -
Resolves
url
and returns an Uri. [...] -
resolveURL(
String url, {String baseURL, Uri baseUri}) → String - Same as resolveUri, but returns Uri as URL String.
-
resolveValue<
T> (T value, T def, [ValueValidator valueValidator]) → T -
Validates
value
and returnsvalue
ordef
. -
rotateCanvasImageSource(
CanvasImageSource image, int width, int height, [dynamic angleDegree = 90]) → CanvasElement -
Rotates
image
(a CanvasImageSource) withangleDegree
. [...] -
rotateImageElement(
ImageElement image, [dynamic angleDegree = 90]) → CanvasElement -
Rotates
image
withangleDegree
. -
scalePoints(
List< Point< points, double scale) → List<num> >Point< num> > -
Scales
points
toscale
. -
scalePointsXY(
List< Point< points, double scaleX, double scaleY) → List<num> >Point< num> > -
Scales
points
toscaleX
andscaleY
. -
scrollToBottom(
) → void - Scrolls viewport to the bottom.
-
scrollToLeft(
) → void - Scrolls viewport to the left border.
-
scrollToRight(
) → void - Scrolls viewport to the right border.
-
scrollToTop(
) → void - Scrolls viewport to the top.
-
scrollToTopDelayed(
int delayMs) → void - Scrolls viewport to the top with a delay. [...]
-
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, usingdisplay
property astable
and sub div elementsdisplay
property astable-cell
. -
setElementBackgroundBlur(
Element element, [int blurSize]) → void -
Sets
element
background as a blur effect of sizeblurSize
. Uses CSS propertybackdrop-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 ofhtml
. -
setElementScrollColors(
Element element, int scrollWidth, String scrollButtonColor, [String scrollBgColor]) → String -
Sets
element
scroll colors, using standard CSS propertyscrollbar-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 withminimumScale
andmaximumScale
. -
setTreeElementsBackgroundBlur(
Element element, String className) → void -
setTreeElementsDivCentered(
Element element, String className, {bool centerVertically = true, bool centerHorizontally = true}) → void -
Set all
element
sub div withclassName
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. [...]
-
sortMapEntries<
K, V> (Map< K, V> map, [CompareMapEntryFunction<K, V> compare, bool reversed = false]) → Map<K, V> - Returns a Map with sorted entries.
-
sortMapEntriesByKey<
K, V> (Map< K, V> map, [bool reversed = false]) → Map<K, V> - Returns a Map sorted by keys.
-
sortMapEntriesByValue<
K, V> (Map< K, V> map, [bool reversed = false]) → Map<K, V> - Returns a Map sorted by keys.
-
split(
String s, Pattern delimiter, [int limit]) → List< String> -
Splits
s
usingdelimiter
andlimit
. [...] -
sumIterable<
I, R> (Iterable< num> iterable, {num init = 0}) → num -
Uses mergeIterable to sum all
iterable
values. -
toCamelCase(
String s) → String -
Formats
s
with camel case style. -
toCanvasElement(
CanvasImageSource imageSource, int width, int height) → CanvasElement -
Converts
imageSource
to CanvasElement. [...] -
toDataURLBase64(
String mediaType, String base64) → String - Builds a DATA URL string.
-
toEncodableJSON(
dynamic o) → dynamic -
Ensures that
o
is an encodable JSON tree. -
toEncodableJSONList(
List list) → List -
Ensures that
list
is an encodable JSON tree. -
toEncodableJSONMap(
Map map) → Map -
Ensures that
map
is an encodable JSON tree. -
toFlatListOfStrings(
dynamic s, {Pattern delimiter, bool trim, bool ignoreEmpty}) → List< String> -
Converts
s
to a List<String>. Converts any collection to a flat list of strings. -
toHTML(
Element element) → String -
Converts
element
to HTML. -
toIntlMessageResolver(
dynamic resolver) → IntlMessageResolver -
Converts
resolver
to IntlMessageResolver. -
touchEventToMouseEvent(
TouchEvent event) → MouseEvent -
Converts a TouchEvent
event
to a MouseEvent. [...] -
toUpperCaseInitials(
String s) → String -
Formats
s
with initial character to Upper case. -
translatePoints(
List< Point< points, num x, num y) → List<num> >Point< num> > -
Translate
pints
inx
andy
. -
unquoteString(
String s) → String -
Removes quotes from String
s
Enums
- CalcOperation
- CaptureDataFormat
- CaptureType
- ControllerPropertiesType
- CSSBackgroundAttachment
- CSSBackgroundBox
- CSSBackgroundRepeat
- CSSBorderStyle
- CSSUnit
- DataSourceOperation
- Enum for type of DataSource operation.
- DataStorageType
- Type of DataStorage.
- DateRangeType
- Enum for types of date ranges.
- DateTimeWeekDay
- Represents a Week day.
- DOMTemplateCmp
- DynCallType
- EditionType
- The type of edition for CanvasImageViewer.
- FontStyle
- Specifies a CSS font style.
- FontWeight
- Specifies a CSS font weight.
- HttpMethod
- HTTP Method
- OnHttpErrorAnswer
- Specify an HTTP error.
- PopupPosition
- Quality
- Quality of an image.
- StateOperation
- State operation.
- TimePicker
- Format of time picker for BSDateRangePicker.
- TouchDeviceDetection
- Status type of touch device detection.
- UIComponentClearParent
- UIComponent behavior to clear the component.
- UILoadingType
- Unit
Typedefs
-
AnimationCallback(
) → void -
AsyncContentProvider(
) → Future -
AuthorizationInterceptor(
Authorization authorization) → void -
AuthorizationProvider(
HttpClient client, HttpError lastError) → Future< Credential> -
BodyBuilderFunctionDynamic(
Map< String, String> callParameters, Map<String, String> requestParameters) → dynamic -
BodyBuilderFunctionSimpleDynamic(
) → dynamic -
BodyBuilderFunctionSimpleString(
) → String -
BodyBuilderFunctionString(
Map< String, String> callParameters, Map<String, String> requestParameters) → String -
BuildElement(
Element element, String context) → void -
BUIViewPropertyProvider(
BUIView view) → String -
CompareMapEntryFunction<
K, V> (MapEntry< K, V> entry1, MapEntry<K, V> entry2) → int -
ContentGenerator<
T> (T entry) → dynamic -
Copier(
dynamic o) → dynamic -
DataTransformerFrom<
T> (T data) → dynamic -
DataTransformerFromList<
T> (List< T> dataList) → dynamic -
DataTransformerTo<
T> (dynamic o) → T -
DataTransformerToList<
T> (dynamic o) → List< T> -
DOMElementGenerator<
T> (dynamic parent) → T -
DOMElementGeneratorFunction<
T> () → T -
DOMNodeValidator(
) → bool -
DynCallCredentialParser<
E> (String output, String outputFiltered, Map< String, String> parameters, Map<String, String> requestParameters) → DynCallCredential -
DynCallFunction<
R, T> (DynCall< R, T> dynCall, Map<String, String> parameters) → Future<R> -
ElementGeneratedMatchingFunction<
T> (T element) → bool -
ElementGeneratorFunction<
T> (DOMGenerator< T> domGenerator, String tag, T parent, Map<String, DOMAttribute> attributes, T contentHolder, List<DOMNode> contentNodes, DOMContext<T> context) → T -
ElementHTMLProvider(
String query) → String -
ElementRevertFunction<
T> (DOMGenerator< T> domGenerator, DOMTreeMap<T> treeMap, DOMElement domParent, T parent, T node) → DOMElement -
ElementValueGetter<
T> (Element element) → T - Returns a value from an Element.
-
EventValidatorFunction<
T> (EventStream< T> eventStream, T event) → bool -
ExecutorWrapper(
DynCallExecutor executor) → DynCallExecutor -
FieldValueProvider(
String field) → dynamic -
FilterElement(
Element elem) → bool -
FilterRendered(
dynamic elem) → bool -
ForEachElement(
Element elem) → void -
FunctionTest(
) → bool -
HttpBodyBuilder(
Map< String, String> parameters) → dynamic - Function to dynamically build a HTTP body.
-
HttpBodyBuilderTyped(
Map< String, String> parameters, String type) → dynamic -
HttpClientURLFilter(
String url, Map< String, String> queryParameters) → String -
HTTPOutputFilter(
String output, Map< String, String> callParameters, Map<String, String> requestParameters) → String -
HTTPOutputInterceptor<
E> (DynCallExecutor< E> executor, String outputOriginal, bool outputValid, String outputFiltered, Map<String, String> callParameters, Map<String, String> requestParameters) → void -
HTTPOutputValidator(
String output, Map< String, String> callParameters, Map<String, String> requestParameters) → bool -
ImageFilter(
CanvasImageSource image, int width, int height) → CanvasImageSource -
Applies a filter to
image
, ofwidth
andheight
. -
IntlMessageResolver(
String key, [Map< String, dynamic> parameters]) → String -
LoaderFunction(
) → Future< bool> -
MappedFunction(
dynamic o) → dynamic -
MatchesValue(
String value) → bool -
MenuAction(
→ void ) -
MenuActionSimple(
) → void -
NamedElementGenerator<
T> (String name, DOMGenerator< T> domGenerator, DOMTreeMap<T> treeMap, DOMElement domParent, dynamic parent, String tag, Map<String, DOMAttribute> attributes) → T -
NameProvider(
) → String -
NodeSelector(
DOMNode node) → bool -
OceanExpressAppBuilder(
OceanExpressApp app) → void -
OnElementEvent(
Element element) → void -
OnElementTrackValueEvent<
T> (Element element, T value) → bool -
OnHttpError(
HttpError error) → OnHttpErrorAnswer -
PagingFormatInstantiator(
dynamic json) → JSONPaging -
PagingFormatMatcher(
dynamic json) → bool -
PagingRequester(
int page) → Future< JSONPaging> - A Function that performs a paging request. [...]
-
ParameterProvider(
String key) → String -
ParametersProvider(
) → Map< String, String> -
ParserFunction<
T, R> (T value) → R -
ProcessLoginFunction(
UserLogin user) → void -
ProcessRegisterFunction(
UserLogin user) → void -
ProgressListener(
HttpRequest request, int loaded, int total, double ratio, bool upload) → void -
RenderAsync(
Map< String, dynamic> properties) → Future -
RenderPropertiesProvider(
) → Map< String, dynamic> -
RequestHeadersBuilder(
HttpClient client, String url) → Map< String, String> -
ResponseHeaderGetter(
String headerKey) → String -
ResponseProcessor(
HttpClient client, dynamic request, HttpResponse response) → void -
ResumeLoginFunction(
) → Future< UserLogin> -
SimulateResponse(
String url, Map< String, String> queryParameters) → dynamic -
StateEventListener(
StateOperation op, State state, String key, dynamic value) → void -
StateKeyListener(
dynamic value) → void -
StringMapper<
T> (String s) → T -
SysCallCallback<
O> (O output, Map< String, dynamic> parameters) → void - Callback function.
-
SysCallOutputFilter<
O, E> (E output) → O -
SysProgressListener<
O> (int loaded, int total, double ratio, bool upload) → void - Progress function.
-
TypeTester<
T> (T value) → bool -
UIComponentAttributeAppender<
C extends UIComponent, T> (C uiComponent, T value) → void -
UIComponentAttributeCleaner<
C extends UIComponent, T> (C uiComponent) → void -
UIComponentAttributeGetter<
C extends UIComponent, T> (C uiComponent) → T -
UIComponentAttributeParser<
T> (dynamic value) → T -
UIComponentAttributeSetter<
C extends UIComponent, T> (C uiComponent, T value) → void -
UIComponentInstantiator<
C extends UIComponent> (Element parent, Map< String, DOMAttribute> attributes, Node contentHolder, List<DOMNode> contentNodes) → C -
UIEventListener(
dynamic event, List params) → void -
URLFilter(
String url) → URLLink -
ValueCopier<
T> (T value) → T -
ValueFilter(
dynamic collection, dynamic key, dynamic value) → bool -
ValueReplacer(
dynamic collection, dynamic key, dynamic value) → dynamic -
ValueValidator<
V> (V value) → bool