VoltronViewController<T extends RenderViewModel, R extends RenderNode> class abstract

Implemented types
Implementers

Constructors

VoltronViewController()

Properties

extendRegisteredMethodProp Map<String, ControllerMethodProp>
no setter
hashCode int
The hash code for this object.
no setterinherited
name String
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

applyProps(RenderContext<LoadInstanceContext> context, R node) → void
createRenderNode(int id, VoltronMap? props, String name, RenderTree tree, ControllerManager controllerManager, bool lazy) → R
createRenderViewModel(R node, RenderContext<LoadInstanceContext> context) → T
createVirtualNode(int id, int pid, int index, String className, VoltronMap props) VirtualNode?
createWidget(BuildContext context, T viewModel) Widget
dispatchFunction(T viewModel, String functionName, VoltronArray array, {Promise? promise}) → void
generateProvider() ControllerMethodPropProvider
override
getBoundingClientRect(RenderViewModel viewModel, VoltronArray array, Promise? promise) → void
handleExtraEvent(T renderViewModel, EventHolder eventHolder) → void
measureInWindow(RenderViewModel viewModel, VoltronArray array, Promise? promise) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onAfterUpdateProps(RenderContext<LoadInstanceContext> context, R renderNode) → void
onBatchComplete(R node) → void
onManageChildComplete(R node) → void
onViewDestroy(RenderViewModel child) → void
requestFocus(T viewModel, bool request) → void
setAccessibilityLabel(T viewModel, String? accessibilityLabel) → void
setBackgroundColor(T viewModel, Object? backgroundColor) → void
setBackgroundImage(T viewModel, Object? data) → void
setBackgroundImagePositionX(T viewModel, String positionX) → void
setBackgroundImagePositionY(T viewModel, String positionY) → void
setBackgroundImageRepeat(T viewModel, String value) → void
setBackgroundImageSize(T viewModel, String resizeModeValue) → void
setBorderBottomColor(T viewModel, int color) → void
setBorderColor(T viewModel, int color) → void
setBorderLeftColor(T viewModel, int color) → void
setBorderRadius(T viewModel, double borderRadius) → void
setBorderRightColor(T viewModel, int color) → void
setBorderStyle(T viewModel, String borderStyle) → void
setBorderTopColor(T viewModel, int color) → void
setBorderWidth(T viewModel, double borderWidth) → void
setBottomBorderWidth(T viewModel, double width) → void
setBottomLeftBorderRadius(T viewModel, double bottomLeftBorderRadius) → void
setBottomRightBorderRadius(T viewModel, double bottomRightBorderRadius) → void
setBoxShadow(T viewModel, VoltronArray? data) → void
setCustomProp(RenderNode node, String propName, Object prop) → void
override
setDisplay(T viewModel, String display) → void
setFocusable(T viewModel, bool focusable) → void
setLeftBorderWidth(T viewModel, double width) → void
setLinearGradient(T viewModel, VoltronMap? value) → void
setNextFocusDownId(T viewModel, int id) → void
setNextFocusLeftId(T viewModel, int id) → void
setNextFocusRightId(T viewModel, int id) → void
setNextFocusUpId(T viewModel, int id) → void
setOpacity(T viewModel, double opacity) → void
setOverflow(T viewModel, String overflow) → void
setRightBorderWidth(T viewModel, double width) → void
setShadowColor(T viewModel, int v) → void
setShadowOffset(T viewModel, VoltronMap? shadowOffset) → void
setShadowOffsetX(T viewModel, double v) → void
setShadowOffsetY(T viewModel, double v) → void
setShadowOpacity(T viewModel, double v) → void
setShadowRadius(T viewModel, double v) → void
setShadowSpread(T viewModel, double v) → void
setTopBorderWidth(T viewModel, double width) → void
setTopLeftBorderRadius(T viewModel, double topLeftBorderRadius) → void
setTopRightBorderRadius(T viewModel, double topRightBorderRadius) → void
setTransform(T viewModel, VoltronArray? transformArray) → void
setTransformOrigin(T viewModel, VoltronMap? transformOriginMap) → void
setZIndex(T viewModel, int zIndex) → void
zIndex
toString() String
A string representation of this object.
inherited
updateEvents(T renderViewModel, Set<EventHolder> holders) → void
updateExtra(T renderViewModel, Object updateExtra) → void
updateLayout(RenderContext<LoadInstanceContext> context, R node) → void

Operators

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