actions method

List<Widget> actions(
  1. BuildContext context,
  2. [Widget divider]
)

Return list of action buttons

Implementation

List<Widget> actions(BuildContext context, [Widget divider]) {
  List<Widget> actions = [];
  for (Authenticator authenticator in _authenticators) {
    actions.add(authenticator.action(context));
    if (divider != null) {
      actions.add(divider);
    }
  }

  return actions;
}