FluentCalendarPanel constructor

const FluentCalendarPanel({
  1. required int columns,
  2. required List<List<Widget>> rows,
  3. required String caption,
  4. required String captionSemanticLabel,
  5. List<String> weekdayLabels = const <String>[],
  6. List<String> weekdaySemanticLabels = const <String>[],
  7. List<String> weekNumbers = const <String>[],
  8. List<String> weekNumberSemanticLabels = const <String>[],
  9. VoidCallback? onClose,
  10. String closeLabel = '',
  11. VoidCallback? onPrevious,
  12. VoidCallback? onNext,
  13. VoidCallback? onCaptionPressed,
  14. String previousLabel = '',
  15. String nextLabel = '',
  16. FluentCalendarStyle? style,
})

Creates a panel.

Implementation

const FluentCalendarPanel({
  required this.columns,
  required this.rows,
  required this.caption,
  required this.captionSemanticLabel,
  this.weekdayLabels = const <String>[],
  this.weekdaySemanticLabels = const <String>[],
  this.weekNumbers = const <String>[],
  this.weekNumberSemanticLabels = const <String>[],
  this.onClose,
  this.closeLabel = '',
  this.onPrevious,
  this.onNext,
  this.onCaptionPressed,
  this.previousLabel = '',
  this.nextLabel = '',
  this.style,
});