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.

The color parameter must not be null.

Implementation

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