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 你可以通过这个参数来自定义你的nestAction的内容 如果你要使用这个参数,请不要设置title和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