PlexNavigationRail constructor

const PlexNavigationRail({
  1. Key? key,
  2. required List<PlexRoute> destinations,
  3. required int selectedDestination,
  4. required dynamic onSelectDestination(
    1. int index
    ),
  5. bool extended = true,
  6. Color backgroundColor = Colors.transparent,
  7. List<Widget>? topWidgets,
  8. List<Widget>? bottomWidgets,
})

Implementation

const PlexNavigationRail({
  super.key,
  required this.destinations,
  required this.selectedDestination,
  required this.onSelectDestination,
  this.extended = true,
  this.backgroundColor = Colors.transparent,
  this.topWidgets,
  this.bottomWidgets,
});