DayTileWidget constructor

const DayTileWidget({
  1. Key? key,
  2. required double size,
  3. Color? backgroundColor,
  4. Color? color,
  5. TextStyle? textStyle,
  6. Color? borderColor,
  7. required String text,
  8. required DateTime value,
  9. required ValueChanged<DateTime>? onTap,
  10. required BorderRadius radius,
  11. required BorderRadius backgroundRadius,
})

Creates a day tile widget.

size is the size of the day tile. text is the text that will be displayed on the day tile. value is the date that the day tile represents. radius is the radius of the day tile. backgroundRadius is the radius of the day tile's background. backgroundColor is the background color of the day tile. color is the color of the day tile. textStyle is the style of the text on the day tile. borderColor is the color of the day tile's border. onTap is the function that will be called when the day tile is tapped.

Implementation

const DayTileWidget({
  Key? key,
  required this.size,
  this.backgroundColor,
  this.color,
  this.textStyle,
  this.borderColor,
  required this.text,
  required this.value,
  required this.onTap,
  required this.radius,
  required this.backgroundRadius,
}) : super(key: key);