BackdropNavigationBackLayer constructor

BackdropNavigationBackLayer({
  1. Key? key,
  2. required List<Widget> items,
  3. ValueChanged<int>? onTap,
  4. IndexedWidgetBuilder? separatorBuilder,
  5. EdgeInsetsGeometry? itemPadding,
  6. ShapeBorder? itemSplashBorder,
  7. Color? itemSplashColor,
})

Creates an instance of BackdropNavigationBackLayer to be used with BackdropScaffold.

The argument items is required and must not be null and not empty.

Implementation

BackdropNavigationBackLayer({
  Key? key,
  required this.items,
  this.onTap,
  this.separatorBuilder,
  this.itemPadding,
  this.itemSplashBorder,
  this.itemSplashColor,
})  : assert(items.isNotEmpty),
      super(key: key);