CaptionAffix.forShortcut constructor

const CaptionAffix.forShortcut({
  1. String? text,
  2. IconVisibility visibility = IconVisibility.visible,
})

Implementation

const CaptionAffix.forShortcut(
    {String? text, IconVisibility visibility = IconVisibility.visible})
    : this(text: text, visibility: visibility, cssClass: 'shortcut');