ListViewModel class

Inheritance

Constructors

ListViewModel(int id, int instanceId, String className, RenderContext<LoadInstanceContext> context)
ListViewModel.copy(int id, int instanceId, String className, RenderContext<LoadInstanceContext> context, ListViewModel viewModel)

Properties

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

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
addViewModel(RenderViewModel child, int index) → void
override
calculateOffsetOfIndex(int index) double
childFromId(int id) RenderViewModel?
inherited
createController() ScrollController
override
createDispatcher() NativeGestureDispatcher
inherited
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
inherited
getBorder() Border?
inherited
getBorderRadius() BorderRadius?
inherited
getChildAt(int index) RenderViewModel?
inherited
getDecoration({Color? backgroundColor}) Decoration?
inherited
getExtraInfo<T>(String key) → T?
inherited
getForegroundDecoration() Decoration?
inherited
getInnerBoxMargin() EdgeInsets?
inherited
handleGestureBySelf() bool
inherited
isNoneSide(BorderSide side) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
onDispose() → void
inherited
onInit() → void
inherited
onViewModelDestroy() → void
inherited
parseBorderStyle(String? borderStyle) BorderStyle
inherited
pushExtraInfo(String key, Object value) → void
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
removeViewModel(RenderViewModel child) → void
override
requestFocus(bool focusable) → void
inherited
scrollToIndex(int index, int duration, bool animate) → void
scrollToOffset(double offset, int duration, bool animate) → void
sendEvent(String eventName, VoltronMap params) → void
setAttachedToWindowHandle(bool flag) → void
inherited
setCanPressIn(bool flag) → void
inherited
setCanPressOut(bool flag) → void
inherited
setClickable(bool flag) → void
inherited
setDetachedFromWindowHandle(bool flag) → void
inherited
setFocusable(bool focusable) → void
inherited
setGestureType(GestureType type, bool flag) → void
inherited
setLongClickable(bool flag) → void
inherited
setTouchCancelHandle(bool flag) → void
inherited
setTouchDownHandle(bool flag) → void
inherited
setTouchEndHandle(bool flag) → void
inherited
setTouchMoveHandle(bool flag) → void
inherited
sortChildrenIndex(List<int> idIndexList) → void
inherited
sortChildrenZIndex() → void
inherited
toDecoration({Color? decorationColor}) Decoration?
inherited
toString() String
A string representation of this object.
inherited
update() → void
inherited
updateLayout(double x, double y, double width, double height) → void
inherited

Operators

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