AdvancedDatePickerPlusDatePicker class

Inheritance

Constructors

AdvancedDatePickerPlusDatePicker({Key? key, required DateTime maxDate, required DateTime minDate, ValueChanged<DateTime>? onDateSelected, ValueChanged<DateTime>? onDoubleTap, DateTime? initialDate, DateTime? selectedDate, DateTime? currentDate, EdgeInsets padding = const EdgeInsets.all(16), PickerType initialPickerType = PickerType.days, TextStyle? daysOfTheWeekTextStyle, TextStyle? enabledCellsTextStyle, BoxDecoration enabledCellsDecoration = const BoxDecoration(), TextStyle? disabledCellsTextStyle, BoxDecoration disabledCellsDecoration = const BoxDecoration(), TextStyle? currentDateTextStyle, BoxDecoration? currentDateDecoration, TextStyle? selectedCellTextStyle, BoxDecoration? selectedCellDecoration, TextStyle? leadingDateTextStyle, Color? slidersColor, double? slidersSize, Color? highlightColor, Color? splashColor, double? splashRadius, bool centerLeadingDate = false, String? previousPageSemanticLabel, String? nextPageSemanticLabel, DatePredicate? disabledDayPredicate, VoidCallback? onOk, VoidCallback? onCancel, bool showOkCancel = true, EdgeInsets? buttonPadding, TextStyle? cancelButtonStyle, TextStyle? okButtonStyle, bool? isRangePicker = false, ValueChanged<DateTimeRange<DateTime>>? onRangeSelected, VoidCallback? onLeadingDateTap, ValueChanged<DateTime>? onStartDateChanged, ValueChanged<DateTime>? onEndDateChanged, DateTimeRange<DateTime>? selectedRange, TextStyle? selectedCellsTextStyle, BoxDecoration? selectedCellsDecoration, TextStyle? singleSelectedCellTextStyle, BoxDecoration? singleSelectedCellDecoration})
const

Properties

buttonPadding EdgeInsets?
final
cancelButtonStyle TextStyle?
final
centerLeadingDate bool
final
currentDate DateTime?
final
currentDateDecoration BoxDecoration?
final
currentDateTextStyle TextStyle?
final
daysOfTheWeekTextStyle TextStyle?
final
disabledCellsDecoration BoxDecoration
final
disabledCellsTextStyle TextStyle?
final
disabledDayPredicate DatePredicate?
final
enabledCellsDecoration BoxDecoration
final
enabledCellsTextStyle TextStyle?
final
hashCode int
The hash code for this object.
no setterinherited
highlightColor Color?
final
initialDate DateTime?
final
initialPickerType PickerType
final
isRangePicker bool?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
leadingDateTextStyle TextStyle?
final
maxDate DateTime
final
minDate DateTime
final
nextPageSemanticLabel String?
final
okButtonStyle TextStyle?
final
onCancel VoidCallback?
final
onDateSelected ValueChanged<DateTime>?
final
onDoubleTap ValueChanged<DateTime>?
final
onEndDateChanged ValueChanged<DateTime>?
final
onLeadingDateTap VoidCallback?
final
onOk VoidCallback?
final
onRangeSelected ValueChanged<DateTimeRange<DateTime>>?
final
onStartDateChanged ValueChanged<DateTime>?
final
padding EdgeInsets
final
previousPageSemanticLabel String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedCellDecoration BoxDecoration?
final
selectedCellsDecoration BoxDecoration?
final
selectedCellsTextStyle TextStyle?
final
selectedCellTextStyle TextStyle?
final
selectedDate DateTime?
final
selectedRange DateTimeRange<DateTime>?
final
showOkCancel bool
final
singleSelectedCellDecoration BoxDecoration?
final
singleSelectedCellTextStyle TextStyle?
final
slidersColor Color?
final
slidersSize double?
final
splashColor Color?
final
splashRadius double?
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<AdvancedDatePickerPlusDatePicker>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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