DefualtButton<T extends CalendarEvent> constructor

const DefualtButton<T extends CalendarEvent>({
  1. Key? key,
  2. required String text,
  3. dynamic onPressed()?,
  4. Widget? icon,
  5. Color? backgroundColor,
  6. Color? color,
})

Implementation

const DefualtButton({
  super.key,
  required this.text,
  this.onPressed,
  this.icon,
  this.backgroundColor,
  this.color,
});