DayNamesRow constructor

DayNamesRow({
  1. Key? key,
  2. required TextStyle textStyle,
  3. List<String>? weekDays,
})

Creates a DayNamesRow.

  • key - The Key for this widget.
  • textStyle - The style to apply to the day names text.
  • weekDays - The names of the days of the week to display. If null, defaults to the default week days.

Implementation

DayNamesRow({
  Key? key,
  required this.textStyle,
  List<String>? weekDays,
})  : weekDays = weekDays ?? defaultWeekDays(),
      super(key: key);