RCKLayoutConfig class
元素布局配置
Constructors
- RCKLayoutConfig.new({ItemElementPosition avatarPosition = ItemElementPosition.left, ItemElementPosition titlePosition = ItemElementPosition.topRight, ItemElementPosition messagePosition = ItemElementPosition.bottomRight, ItemElementPosition timePosition = ItemElementPosition.topRightCorner, ItemElementPosition unreadPosition = ItemElementPosition.avatarTopRight, double horizontalSpacing = 16.0, double verticalSpacingEnd = 8.0, double verticalSpacingContent = 4.0})
-
const
Properties
- avatarPosition → ItemElementPosition
-
头像位置
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- horizontalSpacing → double
-
元素间水平间距
final
- messagePosition → ItemElementPosition
-
消息位置
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timePosition → ItemElementPosition
-
时间位置
final
- titlePosition → ItemElementPosition
-
标题位置
final
- unreadPosition → ItemElementPosition
-
未读消息位置
final
- verticalSpacingContent → double
-
标题和内容元素间垂直间距
final
- verticalSpacingEnd → double
-
尾部元素间垂直间距
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited