orElse property

Widget Function(BuildContext context)? orElse
final

Fallback widget when the controller cannot be resolved.

If the resolution returns null and no orElse is provided, a StateError is thrown.

Implementation

final Widget Function(BuildContext context)? orElse;