YearButtonCustomizer class
A data class for customizing buttons of CbYearDropDown
Constructors
- YearButtonCustomizer({Color? borderColorOnSelected, Color? borderColorOnDisabled, Color? borderColorOnEnabled, Color? textColorOnSelected, Color? textColorOnDisabled, Color? textColorOnEnabled, Color? splashColor, Color? hoverColor, void onPressed(bool isButtonDisabled, DateTime selectedYear)?, bool shrinkOnButtonPressed = true})
- constructor
Properties
- borderColorOnDisabled → Color?
-
Apply border color to button When buttton is
Disabled
final - borderColorOnEnabled → Color?
-
Apply border color to button When buttton is
Enabled
final - borderColorOnSelected → Color?
-
Apply border color to button When buttton is
selected
final - hashCode → int
-
The hash code for this object.
no setterinherited
- hoverColor → Color?
-
Change hover color of button
final
- onPressed → (void Function(bool isButtonDisabled, DateTime selectedYear)?)
-
onPress calback when buttton is pressed
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shrinkOnButtonPressed → bool
-
shrink expanded On Buttton Pressed bool
default
true
final - splashColor → Color?
-
Change spalash color of button
final
- textColorOnDisabled → Color?
-
change text color of
Disabled
year inside Buttonfinal - textColorOnEnabled → Color?
-
change text color of
enabled
year inside Buttonfinal - textColorOnSelected → Color?
-
change text color of
selected
year inside Buttonfinal
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