CustomMonthPickerDialog class

A custom dialog for picking a single month.

Constructors

CustomMonthPickerDialog({required BuildContext context, required Color primaryColor, required Color secondaryColor, required DateTime initialDate, required dynamic onConfirm(DateTime)})
Creates a CustomMonthPickerDialog with the provided context, primaryColor, secondaryColor, initialDate, and onConfirm callback.

Properties

context BuildContext
The build context of the parent widget.
final
hashCode int
The hash code for this object.
no setterinherited
initialDate DateTime
The initially selected date when the dialog is first displayed.
final
onConfirm → dynamic Function(DateTime)
The callback function to be executed when the user confirms their selection.
final
primaryColor Color
The primary color used for text and icons.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondaryColor Color
The secondary color used for backgrounds.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
show() → void
Displays the month picker dialog.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited