HPanView

Class
A widget that can be used to scroll through a list of widgets horizontally and vertically.

Fields

horizontalController: ScrollController
verticalController: ScrollController

Constructors

HPanView(horizontalController: ScrollController, verticalController: ScrollController, children: IReadOnlyList<Widget>, key: Key, constants: object[], modifiers: IReadOnlyCollection<Modifier>)
Creates a scrollable view that can be used to scroll through a list of widgets horizontally and vertically.

Parameters

horizontalController:ScrollController - The horizontal ScrollController to use for this scroll view. If not specified, a controller will be created and managed by the widget's state.
verticalController:ScrollController - The vertical ScrollController to use for this scroll view. If not specified, a controller will be created and managed by the widget's state.
children:IReadOnlyList<Widget> - The children of this scroll view.
key:Key - Passed on to Widget.key.
constants:object[] - Passed on to Widget.constants.
modifiers:IReadOnlyCollection<Modifier> - Passed on to Widget.modifiers.

Methods

CreateElement(): IWidgetElement
Creates a new IWidgetElement for the given widget configuration.
RemarksUsually, this will create an instance of an IWidgetElement and then call Widget.ReconcileInto to perform the initial reconciliation after that element gets attached to its parent and the panel.

Inherited Members

Extension Methods

ToDiagnosticsNodeSafeIfClipConstDisplayExpandFillFlexibleMarginOpacityPaddingPositionedShrinkSizeStretchTightStretchTightVisibilityWithModifierToBuildableToFactorySpreadDescribeIdentityShortHashToStringNullable

On this page