DatePickerDialogBox class

Inheritance

Constructors

DatePickerDialogBox({required DateTime? initialDate, required OnPickDate? onSubmit, required PickDateFormat pickDateFormat, required double borderRadius, required int? maxYear, required int? minYear, required Color? primaryColor, required Color? onPrimaryColor, required Color? background, required BoxDecoration? titleBoxStyle, required ButtonStyle? titleButtonStyle, required ButtonStyle? titleSelectedButtonStyle, required TextStyle? titleTextStyle, required TextStyle? titleSelectedTextStyle, required ButtonStyle? dateButtonStyle, required ButtonStyle? dateSelectedButtonStyle, required TextStyle? dateTextStyle, required TextStyle? dateSelectedTextStyle, required ButtonStyle? submitButtonStyle, required TextStyle? submitTextStyle, required ButtonStyle? cancelButtonStyle, required TextStyle? cancelTextStyle, required String? submitTitle, required String? cancelTitle, required CalendarType calendarType, required bool useGoToTodayButton, required ButtonStyle? goButtonStyle, required TextStyle? goTextStyle, required String? goTitle, required bool showTodayBanner, required TextStyle? todayDateBannerTextStyle, required TextStyle? todayTitleBannerTextStyle, Key? key})
const

Properties

background Color?
final
borderRadius double
final
calendarType CalendarType
final
cancelButtonStyle ButtonStyle?
final
cancelTextStyle TextStyle?
final
cancelTitle String?
final
dateButtonStyle ButtonStyle?
final
dateSelectedButtonStyle ButtonStyle?
final
dateSelectedTextStyle TextStyle?
final
dateTextStyle TextStyle?
final
goButtonStyle ButtonStyle?
final
goTextStyle TextStyle?
final
goTitle String?
final
hashCode int
The hash code for this object.
no setterinherited
initialDate DateTime?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
maxYear int?
final
minYear int?
final
onPrimaryColor Color?
final
onSubmit OnPickDate?
final
pickDateFormat PickDateFormat
final
primaryColor Color?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showTodayBanner bool
final
submitButtonStyle ButtonStyle?
final
submitTextStyle TextStyle?
final
submitTitle String?
final
titleBoxStyle BoxDecoration?
final
titleButtonStyle ButtonStyle?
final
titleSelectedButtonStyle ButtonStyle?
final
titleSelectedTextStyle TextStyle?
final
titleTextStyle TextStyle?
final
todayDateBannerTextStyle TextStyle?
final
todayTitleBannerTextStyle TextStyle?
final
useGoToTodayButton bool
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<DatePickerDialogBox>
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