RoundedEventTile constructor

const RoundedEventTile({
  1. Key? key,
  2. required String title,
  3. EdgeInsets padding = EdgeInsets.zero,
  4. EdgeInsets margin = EdgeInsets.zero,
  5. String description = "",
  6. BorderRadius borderRadius = BorderRadius.zero,
  7. int totalEvents = 1,
  8. Color backgroundColor = Colors.blue,
  9. TextStyle? titleStyle,
  10. TextStyle? descriptionStyle,
})

This is default tile to display in day view.

Implementation

const RoundedEventTile({
  Key? key,
  required this.title,
  this.padding = EdgeInsets.zero,
  this.margin = EdgeInsets.zero,
  this.description = "",
  this.borderRadius = BorderRadius.zero,
  this.totalEvents = 1,
  this.backgroundColor = Colors.blue,
  this.titleStyle,
  this.descriptionStyle,
}) : super(key: key);