RenderViewModel class

Inheritance
Implementers

Constructors

RenderViewModel(int _id, int _instanceId, String _className, RenderContext<LoadInstanceContext> context)
RenderViewModel.copy(int _id, int _instanceId, String _className, RenderContext<LoadInstanceContext> _renderContext, RenderViewModel viewModel)

Properties

accessibilityLabel String?
getter/setter pair
backgroundColor Color?
getter/setter pair
backgroundImage Object?
getter/setter pair
backgroundImgRepeat String
getter/setter pair
backgroundImgSize String
getter/setter pair
backgroundPositionX String
getter/setter pair
backgroundPositionY String
getter/setter pair
borderBottomColor int?
getter/setter pair
borderBottomWidth double?
getter/setter pair
borderColor int?
getter/setter pair
borderLeftColor int?
getter/setter pair
borderLeftWidth double?
getter/setter pair
borderRadius double?
getter/setter pair
borderRightColor int?
getter/setter pair
borderRightWidth double?
getter/setter pair
borderStyle String?
getter/setter pair
borderTopColor int?
getter/setter pair
borderTopWidth double?
getter/setter pair
borderWidth double?
getter/setter pair
bottomLeftBorderRadius double?
getter/setter pair
bottomRightBorderRadius double?
getter/setter pair
boundingClientRect BoundingClientRect?
no setter
boxShadow VoltronArray?
getter/setter pair
childCount int
no setter
children List<RenderViewModel>?
no setter
context RenderContext<LoadInstanceContext>
no setter
contextWrapper ContextWrapper?
no setter
currentContext BuildContext?
no setter
display String
getter/setter pair
extraInfo Map<String, Object>
no setter
focusable bool?
getter/setter pair
gestureDispatcher NativeGestureDispatcher
no setter
hashCode int
The hash code for this object.
no setteroverride
hasListeners bool
Whether any listeners are currently registered.
no setterinherited
height double?
no setter
id int
no setter
idDesc String
no setter
isDestroy bool
getter/setter pair
isDispose bool
getter/setter pair
isOverflowClip bool
no setter
isShow bool
no setter
layoutX double?
no setter
layoutY double?
no setter
linearGradient VoltronMap?
getter/setter pair
name String
no setter
nexFocusDownId int?
getter/setter pair
nextFocusLeftId int?
getter/setter pair
nextFocusRightId int?
getter/setter pair
nextFocusUpId int?
getter/setter pair
noPosition bool
no setter
noSize bool
no setter
opacity double?
getter/setter pair
overflow String
getter/setter pair
parent RenderViewModel?
getter/setter pair
renderKey Key
no setter
rootId int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowColor int?
getter/setter pair
shadowOffsetX double?
getter/setter pair
shadowOffsetY double?
getter/setter pair
shadowOpacity double?
getter/setter pair
shadowRadius double?
getter/setter pair
shadowSpread double?
getter/setter pair
toBorderRadius BorderRadius?
no setter
topLeftBorderRadius double?
getter/setter pair
topRightBorderRadius double?
getter/setter pair
transform Matrix4?
getter/setter pair
transformOrigin TransformOrigin
getter/setter pair
useStackLayout bool
no setter
width double?
no setter
withBoxPadding bool
if not a container with child(exp View, ScrollView), add padding for border in box model
no setter
wrapper ContextWrapper?
getter/setter pair
zIndex int
getter/setter pair

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
childFromId(int id) RenderViewModel?
createDispatcher() NativeGestureDispatcher
dispose() → void
Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener will throw after the object is disposed).
inherited
doDispose() → void
getBorder() Border?
getBorderRadius() BorderRadius?
getChildAt(int index) RenderViewModel?
getDecoration({Color? backgroundColor}) Decoration?
getExtraInfo<T>(String key) → T?
getForegroundDecoration() Decoration?
getInnerBoxMargin() EdgeInsets?
handleGestureBySelf() bool
isNoneSide(BorderSide side) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
onDispose() → void
onInit() → void
onViewModelDestroy() → void
parseBorderStyle(String? borderStyle) BorderStyle
pushExtraInfo(String key, Object value) → void
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
override
requestFocus(bool focusable) → void
setAttachedToWindowHandle(bool flag) → void
setCanPressIn(bool flag) → void
setCanPressOut(bool flag) → void
setClickable(bool flag) → void
setDetachedFromWindowHandle(bool flag) → void
setFocusable(bool focusable) → void
setGestureType(GestureType type, bool flag) → void
setLongClickable(bool flag) → void
setTouchCancelHandle(bool flag) → void
setTouchDownHandle(bool flag) → void
setTouchEndHandle(bool flag) → void
setTouchMoveHandle(bool flag) → void
sortChildrenIndex(List<int> idIndexList) → void
sortChildrenZIndex() → void
toDecoration({Color? decorationColor}) Decoration?
toString() String
A string representation of this object.
override
update() → void
updateLayout(double x, double y, double width, double height) → void

Operators

operator ==(Object other) bool
The equality operator.
override