ToolbarOptions constructor

  1. @Deprecated('Use `contextMenuBuilder` instead. ' 'This feature was deprecated after v3.3.0-0.5.pre.')
const ToolbarOptions(
  1. {bool copy = false,
  2. bool cut = false,
  3. bool paste = false,
  4. bool selectAll = false}
)

Create a toolbar configuration with given options.

All options default to false if they are not explicitly set.

Implementation

@Deprecated(
  'Use `contextMenuBuilder` instead. '
  'This feature was deprecated after v3.3.0-0.5.pre.',
)
const ToolbarOptions({
  this.copy = false,
  this.cut = false,
  this.paste = false,
  this.selectAll = false,
});