SuperCupertinoNavigationBarBackButton constructor

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

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

The color parameter must not be null.

Implementation

const SuperCupertinoNavigationBarBackButton({
  super.key,
  this.color,
  this.previousPageTitle,
  this.onPressed,
})  : backChevron = null,
      backLabel = null;