WeekDataPickerConfig class
Constructors
- WeekDataPickerConfig({String weekDayText = 'Week', WeekDayType weekDayType = WeekDayType.TYPE_2, bool weekDayCapitalize = false, Color backgroundColor = const Color(0xFFFAFAFA), Color selectedBackgroundColor = const Color(0xFF2A2859), Color selectedDigitColor = const Color(0xFFFFFFFF), Color digitsColor = const Color(0xFF000000), Color weekDayTextColor = const Color(0xFF303030), bool enableWeekNumberText = true, bool enableMonthText = false, Color weekNumberColor = const Color(0xFFB2F5FE), Color weekNumberTextColor = const Color(0xFF000000), WeekPosition weekPosition = WeekPosition.LEFT})
Properties
- backgroundColor → Color
-
Set the background color
final
- digitsColor → Color
-
Color of the unselected digits text
final
- enableMonthText → bool
-
Set to true to show the month text field: Default value is false
final
- enableWeekNumberText → bool
-
Set to false to hide the week number text field: Default value is true
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedBackgroundColor → Color
-
Color of the selected digits text
final
- selectedDigitColor → Color
-
Color of the unselected digits text
final
- weekDayCapitalize → bool
-
Set week name as capitalize by setting true: Default value is false
final
- weekDayText → String
-
Specifies the weekday text: default is 'Week'
final
- weekDayTextColor → Color
-
Set the color of the week days 'Mon', 'Tue'...
final
- weekDayType → WeekDayType
-
Specifies the weekday type which you want to display in date picker: Default is WeekDayType.TYPE_2
final
- weekNumberColor → Color
-
Color of the weekday container
final
- weekNumberTextColor → Color
-
Color of the weekday text
final
- weekPosition → WeekPosition
-
Specifies the position of week number position: Default value is WeekPosition.LEFT
final
Methods
-
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.
inherited