allowCopy method
Equivalent to
TextFormField(
toolbarOptions: ToolbarOptions(
copy: input
)
)
Implementation
NikuTextField allowCopy([bool value = true]) {
_toolbarOptions = ToolbarOptions(
copy: value,
cut: _toolbarOptions?.cut ?? true,
paste: _toolbarOptions?.paste ?? true,
selectAll: _toolbarOptions?.selectAll ?? true,
);
return this;
}