MonthButtonCustomizer class
customozer calss for Month button
Constructors
- MonthButtonCustomizer({void onPressed(DateTime selectedDate)?, TextStyle? textStyleOnEnabled, TextStyle? textStyleOnDisabled, TextStyle? textStyleOnSelected, TextStyle? currentDayTextStyle, TextStyle? highlightedTextStyle, Color? colorOnDisabled, Color? borderColorOnEnabled, Color? colorOnSelected, Color? eventColor, Color? eventColorOnDisabled, Color? highlightedColor, Color? currentDayColor, PaintingStyle highlightedPaintingStyle = PaintingStyle.stroke, PaintingStyle currentDayPaintingStyle = PaintingStyle.fill, double borderStrokeWidth = 1, PaintingStyle paintStyleOnEnabled = PaintingStyle.stroke, PaintingStyle paintStyleOnDisabled = PaintingStyle.fill, double? height, double? width})
Properties
- borderColorOnEnabled → Color?
-
border color on Enabled
final
- borderStrokeWidth → double
-
border Stroke width on Enabled
final
- colorOnDisabled → Color?
-
color on Disabled
final
- colorOnSelected → Color?
-
color on selected
final
- currentDayColor → Color?
-
Current Day Color/BorderColor
final
- currentDayPaintingStyle → PaintingStyle
-
CurrentDay Button Painting Style
default =
PaintingStyle.fill
final - currentDayTextStyle → TextStyle?
-
Text Style on CurrentDay
final
- eventColor → Color?
-
event dot color on Enabled
final
- eventColorOnDisabled → Color?
-
event color on Disabled
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
height of month button
final
- highlightedColor → Color?
-
Highlight Color/Border Color
final
- highlightedPaintingStyle → PaintingStyle
-
Highlighted Button Painting Style
default =
PaintingStyle.stroke
final - highlightedTextStyle → TextStyle?
-
Text Style on Highlighted
final
- onPressed → (void Function(DateTime selectedDate)?)
-
on month Button pressed
final
- paintStyleOnDisabled → PaintingStyle
-
default =
PaintingStyle.fill
final - paintStyleOnEnabled → PaintingStyle
-
default =
PaintingStyle.stroke
final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textStyleOnDisabled → TextStyle?
-
Text Style on Disabled
final
- textStyleOnEnabled → TextStyle?
-
Text Style on Enabled
final
- textStyleOnSelected → TextStyle?
-
Text Style on Selected
final
- width → double?
-
width of month button
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