πŸš€ 8.9 Released! β†’ ⚑️ New Node-API Engine Preview, πŸ“² ns widget ios, πŸ’… Tailwind v4 and more...
Read Announcement
FlexboxLayout

Summary ​

Constructors

constructor

Properties

alignContent
alignItems
flexDirection
flexWrap
justifyContent
161 properties inherited from LayoutBase
Click to expand
_androidContentDescriptionUpdated
_automaticallyAdjustsScrollViewInsets
_closeModalCallback
_context
_cssState
_defaultPaddingBottom
_defaultPaddingLeft
_defaultPaddingRight
_defaultPaddingTop
_domId
_ignoreFlexMinWidthHeightReset
_isAddedToNativeVisualTree
_isLayoutValid
_isPaddingRelative
_isStyleScopeHost
_oldBottom
_oldLeft
_oldRight
_oldTop
_styleScope
_suspendNativeUpdatesCount
accessibilityBlurEvent
accessibilityFocusChangedEvent
accessibilityFocusEvent
accessibilityHidden
accessibilityHint
accessibilityIdentifier
accessibilityLabel
accessibilityLanguage
accessibilityLiveRegion
accessibilityMediaSession
accessibilityPerformEscapeEvent
accessibilityRole
accessibilityState
accessibilityValue
accessible
alignSelf
android
androidDynamicElevationOffset
androidElevation
automationText
background
backgroundColor
backgroundImage
bindingContext
borderBottomColor
borderBottomLeftRadius
borderBottomRightRadius
borderBottomWidth
borderColor
borderLeftColor
borderLeftWidth
borderRadius
borderRightColor
borderRightWidth
borderTopColor
borderTopLeftRadius
borderTopRightRadius
borderTopWidth
borderWidth
boxShadow
className
clipToBounds
col
color
colSpan
column
columnSpan
createdEvent
cssClasses
cssPseudoClasses
cssType
disposeNativeViewEvent
dock
domNode
effectiveBorderBottomWidth
effectiveBorderLeftWidth
effectiveBorderRightWidth
effectiveBorderTopWidth
effectiveHeight
effectiveLeft
effectiveMarginBottom
effectiveMarginLeft
effectiveMarginRight
effectiveMarginTop
effectiveMinHeight
effectiveMinWidth
effectivePaddingBottom
effectivePaddingLeft
effectivePaddingRight
effectivePaddingTop
effectiveTop
effectiveWidth
flexGrow
flexShrink
flexWrapBefore
height
horizontalAlignment
id
ignoreTouchAnimation
ios
iosAccessibilityAdjustsFontSize
iosAccessibilityMaxFontScale
iosAccessibilityMinFontScale
iosIgnoreSafeArea
iosOverflowSafeArea
iosOverflowSafeAreaEnabled
isCollapsed
isEnabled
isLayoutValid
isPassThroughParentEnabled
isUserInteractionEnabled
layoutChangedEvent
left
loadedEvent
margin
marginBottom
marginLeft
marginRight
marginTop
minHeight
minWidth
modal
nativeViewProtected
opacity
order
originX
originY
padding
paddingBottom
paddingLeft
paddingRight
paddingTop
parent
perspective
propertyChangeEvent
recycleNativeView
reusable
rotate
rotateX
rotateY
row
rowSpan
scaleX
scaleY
sharedTransitionIgnore
sharedTransitionTag
showingModallyEvent
shownModallyEvent
testID
top
touchAnimation
touchDelay
transitionId
translateX
translateY
unloadedEvent
verticalAlignment
viewController
visibility
width

Methods

getAlignSelf
getFlexGrow
getFlexShrink
getFlexWrapBefore
getOrder
setAlignSelf
setFlexGrow
setFlexShrink
setFlexWrapBefore
setOrder
122 methods inherited from LayoutBase
Click to expand
_addView
_addViewCore
_addViewToNativeVisualTree
_applyXmlAttribute
_batchUpdate
_childIndexToNativeChildIndex
_closeAllModalViewsInternal
_createPropertyChangeData
_dialogClosed
_eachLayoutView
_emit
_getNativeViewsCount
_getRootModalViews
_getValue
_handleLivesync
_hasAncestorView
_hideNativeModalView
_inheritStyleScope
_layoutParent
_observe
_onAttachedToWindow
_onDetachedFromWindow
_onRootViewReset
_onSizeChanged
_parentChanged
_raiseLayoutChangedEvent
_raiseShowingModallyEvent
_raiseShownModallyEvent
_registerLayoutChild
_removeView
_removeViewCore
_removeViewFromNativeVisualTree
_resumeNativeUpdates
_setupAsRootView
_setupUI
_setValue
_shouldDelayLayout
_showNativeModalView
_suspendNativeUpdates
_tearDownUI
_unregisterLayoutChild
_updateStyleScope
accessibilityAnnouncement
accessibilityScreenChanged
addChild
addEventListener
addEventListener
addPseudoClass
animate
bind
callLoaded
callUnloaded
closeModal
combineMeasuredStates
createAnimation
createNativeView
deletePseudoClass
destroyNode
disposeNativeView
eachChild
eachChildView
eachLayoutChild
ensureDomNode
focus
get
getActualSize
getChildAt
getChildIndex
getChildrenCount
getGestureObservers
getLocationInWindow
getLocationOnScreen
getLocationRelativeTo
getMeasuredHeight
getMeasuredState
getMeasuredWidth
getSafeAreaInsets
getViewByDomId
getViewById
hasGestureObservers
hasListeners
initNativeView
insertChild
layout
layoutChild
layoutNativeView
loadView
measure
measureChild
notify
notifyPropertyChange
off
off
on
on
onBackPressed
once
once
onLayout
onLoaded
onMeasure
onResumeNativeUpdates
onUnloaded
removeChild
removeChildren
removeEventListener
removeEventListener
requestLayout
resetNativeView
resolveSizeAndState
sendAccessibilityEvent
set
setInlineStyle
setMeasuredDimension
setNativeView
setOnTouchListener
setProperty
setTestID
showModal
toString
unbind
unloadView

Constructors ​

constructor ​

new FlexboxLayout(): FlexboxLayout 

Properties ​

alignContent ​

alignContent: AlignContent

alignItems ​

flexDirection ​

flexDirection: FlexDirection

justifyContent ​

justifyContent: JustifyContent

Methods ​

getAlignSelf ​

Static
getAlignSelf(view: View): AlignSelf
Parameter Default Description
view
Returns AlignSelf

getFlexGrow ​

Static
getFlexGrow(view: View): any
Parameter Default Description
view
Returns any

getFlexShrink ​

Static
getFlexShrink(view: View): number
Parameter Default Description
view
Returns number

getFlexWrapBefore ​

Static
getFlexWrapBefore(view: View): boolean
Parameter Default Description
view
Returns boolean

getOrder ​

Static
getOrder(view: View): number
Parameter Default Description
view
Returns number

setAlignSelf ​

Static
setAlignSelf(view: View, align: AlignSelf): any
Parameter Default Description
view
align
AlignSelf
Returns any

setFlexGrow ​

Static
setFlexGrow(view: View, grow: number): any
Parameter Default Description
view
grow
number
Returns any

setFlexShrink ​

Static
setFlexShrink(view: View, shrink: number): any
Parameter Default Description
view
shrink
number
Returns any

setFlexWrapBefore ​

Static
setFlexWrapBefore(view: View, wrap: boolean): any
Parameter Default Description
view
wrap
boolean
Returns any

setOrder ​

Static
setOrder(view: View, order: number): any
Parameter Default Description
view
order
number
Returns any

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /