Class SliverChildDelegate | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class SliverChildDelegate

    Inheritance
    System.Object
    SliverChildDelegate
    SliverChildBuilderDelegate
    SliverChildListDelegate
    Namespace: Unity.UIWidgets.widgets
    Syntax
    public abstract class SliverChildDelegate

    Constructors

    SliverChildDelegate()

    Declaration
    protected SliverChildDelegate()

    Properties

    estimatedChildCount

    Declaration
    public virtual int? estimatedChildCount { get; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    Methods

    build(BuildContext, Int32)

    Declaration
    public abstract Widget build(BuildContext context, int index)
    Parameters
    Type Name Description
    BuildContext context
    System.Int32 index
    Returns
    Type Description
    Widget

    debugFillDescription(List<String>)

    Declaration
    protected virtual void debugFillDescription(List<string> description)
    Parameters
    Type Name Description
    System.Collections.Generic.List<System.String> description

    didFinishLayout(Int32, Int32)

    Declaration
    public virtual void didFinishLayout(int firstIndex, int lastIndex)
    Parameters
    Type Name Description
    System.Int32 firstIndex
    System.Int32 lastIndex

    estimateMaxScrollOffset(Int32, Int32, Single, Single)

    Declaration
    public virtual float? estimateMaxScrollOffset(int firstIndex, int lastIndex, float leadingScrollOffset, float trailingScrollOffset)
    Parameters
    Type Name Description
    System.Int32 firstIndex
    System.Int32 lastIndex
    System.Single leadingScrollOffset
    System.Single trailingScrollOffset
    Returns
    Type Description
    System.Nullable<System.Single>

    shouldRebuild(SliverChildDelegate)

    Declaration
    public abstract bool shouldRebuild(SliverChildDelegate oldDelegate)
    Parameters
    Type Name Description
    SliverChildDelegate oldDelegate
    Returns
    Type Description
    System.Boolean

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023