Tile constructor

const Tile({
  1. Key? key,
  2. required String title,
  3. String? subtitle,
  4. IconData icon = Icons.check_circle_outline,
  5. Color? iconBackgroundColor,
  6. Color? backgroundColor,
  7. Color? iconColor,
  8. double borderRadius = 16.0,
  9. VoidCallback? onTap,
})

Creates a curriculum tile widget.

Implementation

const Tile({
  super.key,
  required this.title,
  this.subtitle,
  this.icon = Icons.check_circle_outline,
  this.iconBackgroundColor,
  this.backgroundColor,
  this.iconColor,
  this.borderRadius = 16.0,
  this.onTap,
});