toolbar method

NikuTextField toolbar({
  1. bool copy = true,
  2. bool cut = true,
  3. bool paste = true,
  4. bool selectAll = true,
})

Configure using shorten named property of ToolbarOptions

Equivalent to

TextFormField(
  toolbarOptions: ToolbarOptions(
    copy: copy,
    cut: cut,
    paste: paste,
    selectAll: selectAll
  )
)

Implementation

NikuTextField toolbar(
    {bool copy = true,
    bool cut = true,
    bool paste = true,
    bool selectAll = true}) {
  this._toolbarOptions = ToolbarOptions(
      copy: copy, cut: cut, paste: paste, selectAll: selectAll);

  return this;
}