WidgetElement class abstract
- Inheritance
-
- Object
- BindingObject
- EventTarget
- Node
- Element
- WidgetElement
Constructors
-
WidgetElement(BindingContext? context, {Map<
String, dynamic> ? defaultStyle, bool isReplacedElement = false, bool isDefaultRepaintBoundary = true})
Properties
-
attributes
→ Map<
String, String> -
finalinherited
- boundingClientRect → BoundingClientRect
-
no setterinherited
-
childNodes
↔ List<
Node> -
getter/setter pairinherited
-
children
→ List<
Element> -
no setterinherited
-
classList
→ List<
String> -
no setterinherited
- className ↔ String
-
getter/setter pairinherited
- clientHeight → int
-
no setterinherited
- clientLeft → int
-
no setterinherited
- clientTop → int
-
no setterinherited
- clientWidth → int
-
no setterinherited
- contextId → int?
-
no setterinherited
- disposed → bool
-
no setterinherited
-
eventPath
→ List<
EventTarget> -
no setterinherited
- firstChild → Node
-
no setterinherited
- flutterElement ↔ KrakenElementToFlutterElementAdaptor?
-
getter/setter pairinherited
- flutterWidget ↔ KrakenElementToWidgetAdaptor?
-
getter/setter pairinherited
- forceToRepaintBoundary ← bool
-
no getterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inlineStyle
→ Map<
String, dynamic> -
The inline style is a map of style property name to style property value.
finalinherited
- isConnected → bool
-
no setterinherited
- isRendererAttached → bool
-
no setterinherited
- isRepaintBoundary → bool
-
Whether should as a repaintBoundary for this element when style changed
no setterinherited
- lastChild → Node
-
no setterinherited
- nextSibling → Node?
-
no setterinherited
- nodeName → String
-
no setterinherited
- nodeType ↔ NodeType
-
getter/setter pairinherited
- offsetHeight → int
-
no setterinherited
- offsetLeft → int
-
no setterinherited
- offsetParent → Element?
-
no setterinherited
- offsetTop → int
-
no setterinherited
- offsetWidth → int
-
no setterinherited
- ownerDocument ↔ Document
-
getter/setter pairinherited
- parentElement → Element?
-
The Node.parentElement read-only property returns the DOM node's parent Element,
or null if the node either has no parent, or its parent isn't a DOM Element.
no setterinherited
- parentEventTarget → EventTarget?
-
no setterinherited
- parentNode ↔ Node?
-
The Node.parentNode read-only property returns the parent of the specified node in the DOM tree.
getter/setter pairinherited
- pointer → dynamic
-
no setterinherited
- previousSibling → Node?
-
no setterinherited
- renderBoxModel ↔ RenderBoxModel?
-
getter/setter pairinherited
- renderer → RenderBox?
-
no setterinherited
- renderObjectElement ↔ RenderObjectElement?
-
getter/setter pair
- renderStyle ↔ CSSRenderStyle
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollHeight → int
-
no setterinherited
- scrollLeft ↔ double
-
getter/setter pairinherited
- scrollTop ↔ double
-
getter/setter pairinherited
- scrollWidth → int
-
no setterinherited
- style ↔ CSSStyleDeclaration
-
The style of the element, not inline style.
getter/setter pairinherited
- tagName ↔ String
-
getter/setter pairinherited
Methods
-
addChild(
RenderBox child) → void -
inherited
-
addEventListener(
String eventType, EventHandler handler) → void -
inherited
-
addToContainingBlock(
) → void -
inherited
-
appendChild(
Node child) → Node -
override
-
attachTo(
Node parent, {RenderBox? after}) → void -
Attach a renderObject to parent.
inherited
-
blur(
) → void -
Moves the focus to the viewport. Use of this method is discouraged;
if you want to focus the viewport, call the focus() method on the Document's document element.
https://html.spec.whatwg.org/multipage/interaction.html#dom-blur
inherited
-
build(
BuildContext context, Map< String, dynamic> properties, List<Widget> children) → Widget -
childrenChanged(
) → void -
inherited
-
clearEventResponder(
RenderEventListenerMixin renderBox) → void -
inherited
-
click(
) → void -
inherited
-
connectedCallback(
) → void -
inherited
-
contains(
Node child) → bool -
inherited
-
createRenderer(
) → RenderBox -
Creates an instance of the RenderObject class that this
RenderObjectNode represents, using the configuration described by this
RenderObjectNode.
inherited
-
createScrollingContentLayout(
) → RenderLayoutBox -
inherited
-
deactivate(
) → void -
deactivateRecursively(
Element element) → void -
debugHideHighlight(
) → void -
inherited
-
debugHighlight(
) → void -
inherited
-
didAttachRenderer(
) → void -
override
-
didDetachRenderer(
) → void -
override
-
disconnectedCallback(
) → void -
inherited
-
dispatchEvent(
Event event) → void -
inherited
-
dispose(
) → void -
Release any resources held by this node.
inherited
-
disposeScrollable(
) → void -
inherited
-
ensureChildAttached(
) → void -
Ensure child and child's child render object is attached.
inherited
-
ensureEventResponderBound(
) → void -
inherited
-
findDirectPositionAbsoluteChildren(
) → List< Element> -
inherited
-
findNestedPositionAbsoluteChildren(
) → List< Element> -
inherited
-
flushLayout(
) → void -
inherited
-
focus(
) → void -
Moves the focus to the element.
https://html.spec.whatwg.org/multipage/interaction.html#dom-focus
inherited
-
getAttribute(
String qualifiedName) → String? -
inherited
-
getBindingProperty(
String key) → dynamic -
inherited
-
getBoundingClientRect(
) → BoundingClientRect -
inherited
-
getContainingBlockRenderBox(
) → RenderBox? -
inherited
-
getEventHandlers(
) → Map< String, List< EventHandler> > -
inherited
-
getEventTarget(
) → EventTarget -
inherited
-
handleAppear(
) → void -
inherited
-
handleDisappear(
) → void -
inherited
-
handleIntersectionChange(
IntersectionObserverEntry entry) → void -
inherited
-
hasAttribute(
String qualifiedName) → bool -
inherited
-
hasEventListener(
String type) → bool -
inherited
-
insertBefore(
Node child, Node referenceNode) → Node -
inherited
-
internalSetAttribute(
String qualifiedName, String value) → void -
inherited
-
invokeBindingMethod(
String method, List args) → dynamic -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recalculateNestedStyle(
) → void -
inherited
-
recalculateStyle(
) → void -
inherited
-
removeAttribute(
String key) → void -
override
-
removeChild(
Node child) → Node -
override
-
removeEventListener(
String eventType, EventHandler handler) → void -
inherited
-
replaceChild(
Node newNode, Node oldNode) → Node? -
inherited
-
scroll(
double x, double y) → void -
inherited
-
scrollBy(
double x, double y) → void -
inherited
-
scrollingContentBoxStyleListener(
String property, String? original, String present) → void -
inherited
-
scrollTo(
double x, double y) → void -
inherited
-
setAttribute(
String key, String value) → void -
override
-
setBindingProperty(
String key, dynamic value) → void -
inherited
-
setInlineStyle(
String property, String value) → void -
inherited
-
setRenderStyle(
String property, String present) → void -
inherited
-
setRenderStyleProperty(
String name, dynamic value) → void -
inherited
-
setStyle(
String property, dynamic value) → void -
inherited
-
toBlob(
{double? devicePixelRatio}) → Future< Uint8List> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unmountRenderObject(
{bool deep = false}) → void -
Unmount renderBoxModel.
inherited
-
updateOverflowRenderBox(
) → void -
inherited
-
updateRenderBoxModelWithOverflowX(
ScrollListener scrollListener) → void -
inherited
-
updateRenderBoxModelWithOverflowY(
ScrollListener scrollListener) → void -
inherited
-
updateScrollingContentBox(
) → void -
inherited
-
willAttachRenderer(
) → void -
The renderObject will be / has been insert into parent. You can apply properties
to renderObject.
inherited
-
willDetachRenderer(
) → void -
A render object previously associated with this Node will be / has been removed
from the tree. The given RenderObject will be of the same type as
returned by this object's createRenderer.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited