Class ListWheelScrollView
Inheritance
ListWheelScrollView
Inherited Members
Namespace: Unity.UIWidgets.widgets
Syntax
public class ListWheelScrollView : StatefulWidget
Constructors
ListWheelScrollView(Single, List<Widget>, Key, ScrollController, ScrollPhysics, Single, Single, Single, Boolean, Single, ValueChanged<Int32>, Boolean, Boolean, ListWheelChildDelegate)
Declaration
public ListWheelScrollView(float itemExtent, List<Widget> children = null, Key key = null, ScrollController controller = null, ScrollPhysics physics = null, float diameterRatio = 2F, float perspective = 0.003F, float offAxisFraction = 0F, bool useMagnifier = false, float magnification = 1F, ValueChanged<int> onSelectedItemChanged = null, bool clipToSize = true, bool renderChildrenOutsideViewport = false, ListWheelChildDelegate childDelegate = null)
Parameters
Type | Name | Description |
---|---|---|
Single | itemExtent | |
List<Widget> | children | |
Key | key | |
ScrollController | controller | |
ScrollPhysics | physics | |
Single | diameterRatio | |
Single | perspective | |
Single | offAxisFraction | |
Boolean | useMagnifier | |
Single | magnification | |
ValueChanged<Int32> | onSelectedItemChanged | |
Boolean | clipToSize | |
Boolean | renderChildrenOutsideViewport | |
ListWheelChildDelegate | childDelegate |
Fields
childDelegate
Declaration
public readonly ListWheelChildDelegate childDelegate
Field Value
Type | Description |
---|---|
ListWheelChildDelegate |
clipToSize
Declaration
public readonly bool clipToSize
Field Value
Type | Description |
---|---|
Boolean |
controller
Declaration
public readonly ScrollController controller
Field Value
Type | Description |
---|---|
ScrollController |
diameterRatio
Declaration
public readonly float diameterRatio
Field Value
Type | Description |
---|---|
Single |
itemExtent
Declaration
public readonly float itemExtent
Field Value
Type | Description |
---|---|
Single |
magnification
Declaration
public readonly float magnification
Field Value
Type | Description |
---|---|
Single |
offAxisFraction
Declaration
public readonly float offAxisFraction
Field Value
Type | Description |
---|---|
Single |
onSelectedItemChanged
Declaration
public readonly ValueChanged<int> onSelectedItemChanged
Field Value
Type | Description |
---|---|
ValueChanged<Int32> |
perspective
Declaration
public readonly float perspective
Field Value
Type | Description |
---|---|
Single |
physics
Declaration
public readonly ScrollPhysics physics
Field Value
Type | Description |
---|---|
ScrollPhysics |
renderChildrenOutsideViewport
Declaration
public readonly bool renderChildrenOutsideViewport
Field Value
Type | Description |
---|---|
Boolean |
useMagnifier
Declaration
public readonly bool useMagnifier
Field Value
Type | Description |
---|---|
Boolean |
Methods
createState()
Declaration
public override State createState()
Returns
Type | Description |
---|---|
State |
Overrides
useDelegate(Single, List<Widget>, ListWheelChildDelegate, Key, ScrollController, ScrollPhysics, Single, Single, Single, Boolean, Single, ValueChanged<Int32>, Boolean, Boolean)
Declaration
public static ListWheelScrollView useDelegate(float itemExtent, List<Widget> children = null, ListWheelChildDelegate childDelegate = null, Key key = null, ScrollController controller = null, ScrollPhysics physics = null, float diameterRatio = 2F, float perspective = 0.003F, float offAxisFraction = 0F, bool useMagnifier = false, float magnification = 1F, ValueChanged<int> onSelectedItemChanged = null, bool clipToSize = true, bool renderChildrenOutsideViewport = false)
Parameters
Type | Name | Description |
---|---|---|
Single | itemExtent | |
List<Widget> | children | |
ListWheelChildDelegate | childDelegate | |
Key | key | |
ScrollController | controller | |
ScrollPhysics | physics | |
Single | diameterRatio | |
Single | perspective | |
Single | offAxisFraction | |
Boolean | useMagnifier | |
Single | magnification | |
ValueChanged<Int32> | onSelectedItemChanged | |
Boolean | clipToSize | |
Boolean | renderChildrenOutsideViewport |
Returns
Type | Description |
---|---|
ListWheelScrollView |