onActiveIndexChanged property

ValueChanged<int>? onActiveIndexChanged
final

Enables toolbar-owned selection and notifies when the active index changes.

When non-null, taps update internal selection then invoke this callback; M3EToolbarAction.onPressed is not called. When null, taps only run the action (or expand-trigger toggle) — no internal selection.

Implementation

final ValueChanged<int>? onActiveIndexChanged;