Common/All 选择一个或多个选项 Select a platform
Multiple pages in a viewport
Summary
Public properties
Dp
A fixed size for pages
Cmn
Public constructors
Fixed (pageSize: Dp )
Parameters
pageSize: Dp
A fixed size for pages
Public functions
calculateMainAxisPageSize
open fun Density .calculateMainAxisPageSize (availableSpace: Int , pageSpacing: Int ): Int
Based on availableSpace
pick a size for the pages
Parameters
availableSpace: Int
The amount of space in pixels the pages in this Pager can use.
pageSpacing: Int
The amount of space in pixels used to separate pages.
Content and code samples on this page are subject to the licenses described in the Content License . Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[]]