zefyr icon indicating copy to clipboard operation
zefyr copied to clipboard

Use Custom Toolbar/Icons for ZefyrField

Open udaykhalsa opened this issue 4 years ago • 3 comments

Is there an option to use custom icons or any reference to how to use

ZefyrButton.icon(
            action: ZefyrToolbarAction.bold,
            icon: Icons.bold)

and not show ZefyrToolbar as soon as focus is on ZefyrField and ZefyrEditor?

udaykhalsa avatar May 03 '20 13:05 udaykhalsa

not yet. you would have to change the code. (should be fairly simple).

cgestes avatar May 03 '20 14:05 cgestes

You can specify your toolbar using the toolbar ZefyField parameter on the 1.0-dev branch.

for the second part of your question can you describe the behavior you expect?

cgestes avatar Oct 20 '21 16:10 cgestes

to autohide the toolbar I experimented with that: https://github.com/memspace/zefyr/pull/416 but it wasn't very conclusive.

cgestes avatar Oct 20 '21 16:10 cgestes