toolbar method
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,
}) {
_toolbarOptions = ToolbarOptions(
copy: copy,
cut: cut,
paste: paste,
selectAll: selectAll,
);
return this;
}