SecondaryMenuItem constructor

const SecondaryMenuItem({
  1. Key? key,
  2. required VoidCallback onTap,
  3. required String text,
  4. required bool selected,
})

Implementation

const SecondaryMenuItem({
  Key? key,
  required this.onTap,
  required this.text,
  required this.selected,
}) : super(key: key);