SwipeNestedAction class

点击后弹出的action

Constructors

SwipeNestedAction({Widget? icon, String? title, Widget? content, double? nestedWidth, Curve curve = Curves.easeOutQuart, bool impactWhenShowing = false})

Properties

content Widget?
You can customize your content using this attr If you want to use this attr,please don't set title and icon
final
curve Curve
The Animation Curve when pull the nestedAction 弹出动画的曲线
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget?
图标
final
impactWhenShowing bool
是否在弹出的时候有震动(知乎app 消息页面点击删除的效果)
final
nestedWidth double?
normally,you dont need to set this value.When your SwipeNestedAction take more width than original SwipeAction ,you can set this value. !!!!! this value must be smaller than the sum of all buttons
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title 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