CupertinoNavigationBarBackButton constructor Null safety
- {Key? key,
- Color? color,
- String? previousPageTitle,
- VoidCallback? onPressed}
Construct a CupertinoNavigationBarBackButton that can be used to pop the current route.
The color parameter must not be null.
Implementation
const CupertinoNavigationBarBackButton({
super.key,
this.color,
this.previousPageTitle,
this.onPressed,
}) : _backChevron = null,
_backLabel = null;