enterKeyHint method

WidgetElement enterKeyHint(
  1. String key, {
  2. bool? removeIf,
})
inherited

The enterkeyhint global attribute defining what action label (or icon) to present for the enter key on virtual keyboards. Read more...

Implementation

WidgetElement enterKeyHint(String key, {bool? removeIf}) {
  if (removeIf != true && node.attrs != null) {
    VirtualAttr attr = VirtualAttr('enterkeyhint', key);
    node.attrs!.add(attr);
  }
  return this;
}