RCKSlidableActionConfig class
侧滑按钮配置
Constructors
- RCKSlidableActionConfig.new({required String? iconPath, required Color backgroundColor, String? undoIconPath, String label = '', Color foregroundColor = Colors.white, required SlidableActionType actionType, bool autoClose = true})
-
const
- RCKSlidableActionConfig.delete()
- RCKSlidableActionConfig.mute()
- RCKSlidableActionConfig.pin()
Properties
- actionType → SlidableActionType
-
动作类型
final
- autoClose → bool
-
自动关闭
final
- backgroundColor → Color
-
背景颜色
final
- foregroundColor → Color
-
前景颜色
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconPath → String
-
按钮图标路径
final
- label → String
-
按钮文本
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- undoIconPath → String?
-
取消动作图标路径
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