ModalFooterButton constructor

const ModalFooterButton({
  1. Key? key,
  2. required String label,
  3. required VoidCallback onPressed,
  4. required bool isDarkMode,
  5. List<Color>? gradientColors,
  6. bool isEnabled = true,
  7. IconData? icon,
})

Implementation

const ModalFooterButton({
  super.key,
  required this.label,
  required this.onPressed,
  required this.isDarkMode,
  this.gradientColors,
  this.isEnabled = true,
  this.icon,
});