DatePickerTheme class
Constructors
- DatePickerTheme({String yearSuffix = '年', String monthSuffix = '月', String daySuffix = '日', TextStyle style = const TextStyle(fontSize: 14, color: Color(0xFF333333)), TextStyle confirmStyle = const TextStyle(fontSize: 14, color: Color(0xFF2878FF)), TextStyle cancelStyle = const TextStyle(fontSize: 14, color: Color(0xFF333333)), BoxDecoration? cancelDecoration, BoxDecoration? confirmDecoration, EdgeInsets topBarPadding = const EdgeInsets.symmetric(horizontal: 14, vertical: 10)})
-
const
Properties
- cancelDecoration → BoxDecoration?
-
cancel container decoration
final
- cancelStyle → TextStyle
-
cancel text style
final
- cancelText → String
-
cancel text
final
- confirmDecoration → BoxDecoration?
-
confirm container decoration
final
- confirmStyle → TextStyle
-
confirm text text style
final
- confirmText → String
-
confirm text
final
- daySuffix → String
-
day picker option suffix text
daySuffix
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- monthSuffix → String
-
month picker option suffix text
monthSuffix
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → TextStyle
-
picker option style
final
- topBarPadding → EdgeInsets
-
top bar container padding
final
- yearSuffix → String
-
year picker option suffix text
monthSuffix
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