PandaBarButton constructor

const PandaBarButton({
  1. Key? key,
  2. bool isSelected = false,
  3. IconData icon = Icons.dashboard,
  4. Color? selectedColor,
  5. Color? unselectedColor,
  6. String title = '',
  7. VoidCallback? onTap,
})

Implementation

const PandaBarButton({
  Key? key,
  this.isSelected = false,
  this.icon = Icons.dashboard,
  this.selectedColor,
  this.unselectedColor,
  this.title = '',
  this.onTap
}) : super(key: key);