actions property

List<FirebaseUIAction>? actions
final

PhoneInputScreen could invoke these actions:

PhoneInputScreen(
  actions: [
    SMSCodeRequestedAction((context, action, flowKey, phoneNumber) {
      Navigator.of(context).push(
        MaterialPageRoute(
          builder: (context) => SMSCodeInputScreen(
            flowKey: flowKey,
          ),
        ),
      );
    }),
  ]
);

Implementation

final List<FirebaseUIAction>? actions;