ViewPagerController class

Inheritance

Constructors

ViewPagerController()

Properties

extendRegisteredMethodProp Map<String, ControllerMethodProp>
no setterinherited
groupExtraMethodProp Map<String, ControllerMethodProp>
no setteroverride
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, RenderNode node) → void
inherited
createRenderNode(int id, VoltronMap? props, String name, RenderTree tree, ControllerManager controllerManager, bool lazy) RenderNode
inherited
createRenderViewModel(RenderNode node, RenderContext<LoadInstanceContext> context) ViewPagerRenderViewModel
override
createVirtualNode(int id, int pid, int index, String className, VoltronMap props) VirtualNode?
inherited
createWidget(BuildContext context, ViewPagerRenderViewModel viewModel) Widget
override
dispatchFunction(ViewPagerRenderViewModel? viewModel, String functionName, VoltronArray array, {Promise? promise}) → void
override
generateProvider() ControllerMethodPropProvider
inherited
getBoundingClientRect(RenderViewModel viewModel, VoltronArray array, Promise? promise) → void
inherited
handleExtraEvent(ViewPagerRenderViewModel renderViewModel, EventHolder eventHolder) → void
inherited
measureInWindow(RenderViewModel viewModel, VoltronArray array, Promise? promise) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onAfterUpdateProps(RenderContext<LoadInstanceContext> context, RenderNode renderNode) → void
inherited
onBatchComplete(RenderNode node) → void
inherited
onManageChildComplete(RenderNode node) → void
inherited
onViewDestroy(RenderViewModel child) → void
inherited
requestFocus(ViewPagerRenderViewModel viewModel, bool request) → void
inherited
setAccessibilityLabel(ViewPagerRenderViewModel viewModel, String? accessibilityLabel) → void
inherited
setBackgroundColor(ViewPagerRenderViewModel viewModel, Object? backgroundColor) → void
inherited
setBackgroundImage(ViewPagerRenderViewModel viewModel, Object? data) → void
inherited
setBackgroundImagePositionX(ViewPagerRenderViewModel viewModel, String positionX) → void
inherited
setBackgroundImagePositionY(ViewPagerRenderViewModel viewModel, String positionY) → void
inherited
setBackgroundImageRepeat(ViewPagerRenderViewModel viewModel, String value) → void
inherited
setBackgroundImageSize(ViewPagerRenderViewModel viewModel, String resizeModeValue) → void
inherited
setBorderBottomColor(ViewPagerRenderViewModel viewModel, int color) → void
inherited
setBorderColor(ViewPagerRenderViewModel viewModel, int color) → void
inherited
setBorderLeftColor(ViewPagerRenderViewModel viewModel, int color) → void
inherited
setBorderRadius(ViewPagerRenderViewModel viewModel, double borderRadius) → void
inherited
setBorderRightColor(ViewPagerRenderViewModel viewModel, int color) → void
inherited
setBorderStyle(ViewPagerRenderViewModel viewModel, String borderStyle) → void
inherited
setBorderTopColor(ViewPagerRenderViewModel viewModel, int color) → void
inherited
setBorderWidth(ViewPagerRenderViewModel viewModel, double borderWidth) → void
inherited
setBottomBorderWidth(ViewPagerRenderViewModel viewModel, double width) → void
inherited
setBottomLeftBorderRadius(ViewPagerRenderViewModel viewModel, double bottomLeftBorderRadius) → void
inherited
setBottomRightBorderRadius(ViewPagerRenderViewModel viewModel, double bottomRightBorderRadius) → void
inherited
setBounces(ViewPagerRenderViewModel renderViewModel, bool flag) → void
setBoxShadow(ViewPagerRenderViewModel viewModel, VoltronArray? data) → void
inherited
setCustomProp(RenderNode node, String propName, Object prop) → void
inherited
setDirection(ViewPagerRenderViewModel renderViewModel, String direction) → void
setDisplay(ViewPagerRenderViewModel viewModel, String display) → void
inherited
setFocusable(ViewPagerRenderViewModel viewModel, bool focusable) → void
inherited
setInitialPage(ViewPagerRenderViewModel renderViewModel, int initialPage) → void
setInterceptPullUp(GroupViewModel viewModel, bool flag) → void
inherited
setInterceptTouch(GroupViewModel viewModel, bool flag) → void
inherited
setLeftBorderWidth(ViewPagerRenderViewModel viewModel, double width) → void
inherited
setLinearGradient(ViewPagerRenderViewModel viewModel, VoltronMap? value) → void
inherited
setNextFocusDownId(ViewPagerRenderViewModel viewModel, int id) → void
inherited
setNextFocusLeftId(ViewPagerRenderViewModel viewModel, int id) → void
inherited
setNextFocusRightId(ViewPagerRenderViewModel viewModel, int id) → void
inherited
setNextFocusUpId(ViewPagerRenderViewModel viewModel, int id) → void
inherited
setOnPageScroll(ViewPagerRenderViewModel renderViewModel, bool enable) → void
setOnPageScrollStateChanged(ViewPagerRenderViewModel renderViewModel, bool enable) → void
setOnPageSelected(ViewPagerRenderViewModel renderViewModel, bool enable) → void
setOpacity(ViewPagerRenderViewModel viewModel, double opacity) → void
inherited
setOverflow(ViewPagerRenderViewModel viewModel, String overflow) → void
inherited
setPageMargin(ViewPagerRenderViewModel renderViewModel, double margin) → void
在Android和iOS中这个属性为pageMargin,传入的是绝对值 flutter中该属性传入的是比例,属性为pageMarginFact
setRightBorderWidth(ViewPagerRenderViewModel viewModel, double width) → void
inherited
setScrollEnabled(ViewPagerRenderViewModel renderViewModel, bool value) → void
setShadowColor(ViewPagerRenderViewModel viewModel, int v) → void
inherited
setShadowOffset(ViewPagerRenderViewModel viewModel, VoltronMap? shadowOffset) → void
inherited
setShadowOffsetX(ViewPagerRenderViewModel viewModel, double v) → void
inherited
setShadowOffsetY(ViewPagerRenderViewModel viewModel, double v) → void
inherited
setShadowOpacity(ViewPagerRenderViewModel viewModel, double v) → void
inherited
setShadowRadius(ViewPagerRenderViewModel viewModel, double v) → void
inherited
setShadowSpread(ViewPagerRenderViewModel viewModel, double v) → void
inherited
setTopBorderWidth(ViewPagerRenderViewModel viewModel, double width) → void
inherited
setTopLeftBorderRadius(ViewPagerRenderViewModel viewModel, double topLeftBorderRadius) → void
inherited
setTopRightBorderRadius(ViewPagerRenderViewModel viewModel, double topRightBorderRadius) → void
inherited
setTransform(ViewPagerRenderViewModel viewModel, VoltronArray? transformArray) → void
inherited
setTransformOrigin(ViewPagerRenderViewModel viewModel, VoltronMap? transformOriginMap) → void
inherited
setZIndex(ViewPagerRenderViewModel viewModel, int zIndex) → void
zIndex
inherited
toString() String
A string representation of this object.
inherited
updateEvents(ViewPagerRenderViewModel renderViewModel, Set<EventHolder> holders) → void
override
updateExtra(ViewPagerRenderViewModel renderViewModel, Object updateExtra) → void
inherited
updateLayout(RenderContext<LoadInstanceContext> context, RenderNode node) → void
inherited

Operators

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

Constants

kClassName → const String
kEventOnPageScroll → const String
kEventOnPageScrollStateChanged → const String
kEventOnPageSelected → const String
3.0 bind events
kFuncSetPage → const String
func
kFuncSetPageWidthOutAnim → const String