DatePickerStyles class

All styles for a date picker.

This class can be set once and then used for all date pickers.

Constructors

DatePickerStyles({DatePickerStyle dateStyle: const DatePickerStyle(decoration: BoxDecoration(color: Colors.lightBlueAccent), textStyle: TextStyle(fontWeight: FontWeight.bold, fontSize: 24.0)), DatePickerStyle headerStyle: const DatePickerStyle(decoration: BoxDecoration(color: Colors.amberAccent)), DatePickerStyle monthStyle: const DatePickerStyle(textStyle: TextStyle(color: Colors.black)), DatePickerStyle nextMonthStyle: const DatePickerStyle(textStyle: TextStyle(color: Colors.black38)), DatePickerStyle prevMonthStyle: const DatePickerStyle(textStyle: TextStyle(color: Colors.black38)), DatePickerStyle todayStyle: const DatePickerStyle(decoration: BoxDecoration(color: Colors.red, shape: BoxShape.circle)), DatePickerStyle selectedStyle: const DatePickerStyle(decoration: BoxDecoration(color: Colors.cyanAccent, shape: BoxShape.circle)), DatePickerStyle weekStyle: const DatePickerStyle(decoration: BoxDecoration(color: Colors.black12))})
const

Properties

dateStyle DatePickerStyle
Styles the written selected date on top or left of the picker
final
hashCode int
The hash code for this object. [...]
read-only, inherited
headerStyle DatePickerStyle
Styles the written selected date on top or left of the picker
final
monthStyle DatePickerStyle
Styles the written selected date on top or left of the picker
final
nextMonthStyle DatePickerStyle
Styles the written selected date on top or left of the picker
final
prevMonthStyle DatePickerStyle
Styles the written selected date on top or left of the picker
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
selectedStyle DatePickerStyle
Styles the written selected date on top or left of the picker
final
todayStyle DatePickerStyle
Styles the written selected date on top or left of the picker
final
weekStyle DatePickerStyle
Styles the written selected date on top or left of the picker
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited