DatePickerRangeStyles class

Styles for date pickers which allow select some range (e.g. RangePicker, WeekPicker).

Inheritance
Annotations

Constructors

DatePickerRangeStyles({TextStyle? displayedPeriodTitle, TextStyle? currentDateStyle, TextStyle? disabledDateStyle, TextStyle? selectedDateStyle, BoxDecoration? selectedSingleDateDecoration, TextStyle? defaultDateTextStyle, DayHeaderStyle? dayHeaderStyle, DayHeaderStyleBuilder? dayHeaderStyleBuilder, DayHeaderTitleBuilder? dayHeaderTitleBuilder, Widget nextIcon = const Icon(Icons.chevron_right), Widget prevIcon = const Icon(Icons.chevron_left), int? firstDayOfWeekIndex, BoxDecoration? selectedPeriodLastDecoration, BoxDecoration? selectedPeriodMiddleDecoration, BoxDecoration? selectedPeriodStartDecoration, TextStyle? selectedPeriodStartTextStyle, TextStyle? selectedPeriodMiddleTextStyle, TextStyle? selectedPeriodEndTextStyle})
Styles for the pickers that allows to select range (RangePicker, WeekPicker).

Properties

currentDateStyle TextStyle?
Style for the number of current date.
finalinherited
dayHeaderStyle DayHeaderStyle?
Style for the day header.
finalinherited
dayHeaderStyleBuilder DayHeaderStyleBuilder?
Builder to customize styles for day headers depends on day of the week. Where 0 points to Sunday and 6 points to Saturday.
finalinherited
dayHeaderTitleBuilder DayHeaderTitleBuilder?
Builder to customize titles for day headers depends on day of the week. Where 0 points to Sunday and 6 points to Saturday.
finalinherited
defaultDateTextStyle TextStyle?
Used for date which is neither current nor disabled nor selected.
finalinherited
disabledDateStyle TextStyle?
Style for the numbers of disabled dates.
finalinherited
displayedPeriodTitle TextStyle?
Styles for title of displayed period (e.g. month for day picker and year for month picker).
finalinherited
firstDayOfeWeekIndex int?
Index of the first day of week, where 0 points to Sunday, and 6 points to Saturday. Must not be less 0 or more then 6.
finalinherited
hashCode int
The hash code for this object.
no setteroverride
nextIcon Widget
Widget which will be shown right side of the shown page title. User goes to next data period by click on it.
finalinherited
prevIcon Widget
Widget which will be shown left side of the shown page title. User goes to previous data period by click on it.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedDateStyle TextStyle?
Style for the number of selected date.
finalinherited
selectedPeriodEndTextStyle TextStyle?
Text style for the last date of the selected range.
final
selectedPeriodLastDecoration BoxDecoration?
Decoration for the last date of the selected range.
final
selectedPeriodMiddleDecoration BoxDecoration?
Decoration for the date of the selected range which is not first date and not end date of this range.
final
selectedPeriodMiddleTextStyle TextStyle?
Text style for the middle date of the selected range.
final
selectedPeriodStartDecoration BoxDecoration?
Decoration for the first date of the selected range.
final
selectedPeriodStartTextStyle TextStyle?
Text style for the first date of the selected range.
final
selectedSingleDateDecoration BoxDecoration?
Day cell decoration for selected date in case only one date is selected.
finalinherited

Methods

fulfillWithTheme(ThemeData theme) DatePickerRangeStyles
Return new DatePickerRangeStyles object where fields with null values set with defaults from given theme.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override