ModalOption constructor

const ModalOption({
  1. Key? key,
  2. required dynamic onTap(),
  3. required String text,
  4. required IconData icon,
  5. bool isSelected = false,
  6. bool isSmall = false,
  7. bool autoBack = true,
})

Implementation

const ModalOption(
    {super.key,
    required this.onTap,
    required this.text,
    required this.icon,
    this.isSelected = false,
    this.isSmall = false,
    this.autoBack = true});