customToolbarInsertionIndices property

List<int> customToolbarInsertionIndices
final

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

  1. If any indices > defaultToolbarButtons.length then the plugin will automatically account for this and insert the buttons at the end of the defaultToolbarButtons

  2. 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;