RCKExtensionMenuItemConfig class
扩展菜单项配置
Constructors
- RCKExtensionMenuItemConfig.new({required String title, required Widget icon, VoidCallback? onTap, RCKGridItemTapCallback? onTapWithContext, double iconSize = kInputExtentionIconSize, TextStyle? titleStyle})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Widget
-
菜单项图标
final
- iconSize → double
-
图标大小
final
- onTap → VoidCallback?
-
点击回调
final
- onTapWithContext → RCKGridItemTapCallback?
-
带 BuildContext 的点击回调(优先于 onTap)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
菜单项标题
final
- titleStyle → TextStyle?
-
标题样式
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