BottomNavigationValue constructor

const BottomNavigationValue({
  1. int? previousIndex,
  2. int currentIndex = 0,
})

Implementation

const BottomNavigationValue({
  this.previousIndex,
  this.currentIndex = 0,
}) : assert(previousIndex != currentIndex);