customToolbarInsertionIndices property
Allows you to set where each custom toolbar button is inserted into the toolbar buttons.
Notes: 1) This list should have the same length as the customToolbarButtons
-
If any indices >
defaultToolbarButtons.length
then the plugin will automatically account for this and insert the buttons at the end of the defaultToolbarButtons -
If any indices < 0 then the plugin will automatically account for this and insert the buttons at the beginning of the defaultToolbarButtons
Implementation
final List<int> customToolbarInsertionIndices;