CustomWeekPickerDialog class

A custom dialog for picking a week range.

Constructors

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

Properties

context → BuildContext
The build context of the parent widget.
final
endDate → DateTime
The end date of the initial selected range.
final
hashCode → int
The hash code for this object.
no setterinherited
onConfirm → dynamic Function(DateTime, 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
startDate → DateTime
The start date of the initial selected range.
final

Methods

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

Operators

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