allowSelectAll method

NikuTextField allowSelectAll([
  1. bool value = false
])

Set ToolbarOptions.selectAll

Equivalent to

TextFormField(
  toolbarOptions: ToolbarOptions(
    selectAll: input
  )
)

Implementation

NikuTextField allowSelectAll([bool value = false]) {
  this._toolbarOptions = ToolbarOptions(
      copy: this._toolbarOptions?.copy ?? true,
      cut: this._toolbarOptions?.cut ?? true,
      paste: this._toolbarOptions?.paste ?? true,
      selectAll: value);

  return this;
}