NavProperties constructor

const NavProperties({
  1. MobileNavType mobileNavType = MobileNavType.bottom,
  2. double minExtendedWidth = 168.0,
  3. IconData expandIcon = Icons.arrow_forward,
  4. IconData collapseIcon = Icons.arrow_back,
  5. ShowExtended showExtended = ShowExtended.always,
  6. ShowLabels showLabels = ShowLabels.always,
})

Implementation

const NavProperties({
  this.mobileNavType = MobileNavType.bottom,
  this.minExtendedWidth = 168.0,
  this.expandIcon = Icons.arrow_forward,
  this.collapseIcon = Icons.arrow_back,
  this.showExtended = ShowExtended.always,
  this.showLabels = ShowLabels.always,
}) : assert(showExtended == ShowExtended.never ||
          showLabels != ShowLabels.never);