setSecondaryActions method

void setSecondaryActions(
  1. List<NrButtonWidget> actions
)

Sets the secondary actions for the navigation rail.

The actions parameter should be a list of NavRailButton widgets.

Implementation

void setSecondaryActions(List<NrButtonWidget> actions) {
  setState(() {
    _secondaryActions = actions;
  });
}