CupertinoNavigationBarBackButton constructor

const CupertinoNavigationBarBackButton(
  1. {Key? key,
  2. Color? color,
  3. String? previousPageTitle,
  4. VoidCallback? onPressed}
)

Construct a CupertinoNavigationBarBackButton that can be used to pop the current route.

Implementation

const CupertinoNavigationBarBackButton({
  super.key,
  this.color,
  this.previousPageTitle,
  this.onPressed,
}) : _backChevron = null,
     _backLabel = null;