CaptionAffix class
Affix containing text.
- Inheritance
-
- Object
- MenuItemAffix<
ComponentFactory< BaseAffixComponent< ?>MenuItemAffix?> > - BaseMenuItemAffixModel
- CaptionAffix
Constructors
- CaptionAffix({String? text, IconVisibility visibility = IconVisibility.visible, String? cssClass})
-
const
- CaptionAffix.forShortcut({String? text, IconVisibility visibility = IconVisibility.visible})
-
const
Properties
-
componentFactory
→ ComponentFactory<
BaseAffixComponent< ?MenuItemAffix?> > -
no setteroverride
- cssClass → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isVisible → bool
-
no setterinherited
- isVisibleOnHover → bool
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shouldCloseMenuOnTrigger → bool
-
If true, close the menu upon triggering the
action
.no setteroverride - text → String?
-
final
- visibility → IconVisibility
-
final
Methods
-
hasShortcutKeyCode(
int keyCode) → bool -
Returns true if the
keyCode
should trigger the shortcut action.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
triggerShortcutAction(
) → void -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited