


# SmeupDatePickerButton class











**Inheritance**

- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)
- [DiagnosticableTree](https://api.flutter.dev/flutter/foundation/DiagnosticableTree-class.html)
- [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html)
- [StatefulWidget](https://api.flutter.dev/flutter/widgets/StatefulWidget-class.html)
- SmeupDatePickerButton






## Constructors

[SmeupDatePickerButton](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/SmeupDatePickerButton.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) id, [ButtonStyle](https://api.flutter.dev/flutter/material/ButtonStyle-class.html) buttonStyle, [TextStyle](https://api.flutter.dev/flutter/painting/TextStyle-class.html) textStyle, {[GlobalKey](https://api.flutter.dev/flutter/widgets/GlobalKey-class.html)&lt;[ScaffoldState](https://api.flutter.dev/flutter/material/ScaffoldState-class.html)> scaffoldKey, [GlobalKey](https://api.flutter.dev/flutter/widgets/GlobalKey-class.html)&lt;[FormState](https://api.flutter.dev/flutter/widgets/FormState-class.html)> formKey, [DateTime](https://api.flutter.dev/flutter/dart-core/DateTime-class.html) value, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) display, [Color](https://api.flutter.dev/flutter/dart-ui/Color-class.html) borderColor, [double](https://api.flutter.dev/flutter/dart-core/double-class.html) borderWidth, [double](https://api.flutter.dev/flutter/dart-core/double-class.html) borderRadius, [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) fontBold, [double](https://api.flutter.dev/flutter/dart-core/double-class.html) fontSize, [Color](https://api.flutter.dev/flutter/dart-ui/Color-class.html) fontColor, [Color](https://api.flutter.dev/flutter/dart-ui/Color-class.html) backColor, [double](https://api.flutter.dev/flutter/dart-core/double-class.html) elevation, [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) captionFontBold, [double](https://api.flutter.dev/flutter/dart-core/double-class.html) captionFontSize, [Color](https://api.flutter.dev/flutter/dart-ui/Color-class.html) captionFontColor, [Color](https://api.flutter.dev/flutter/dart-ui/Color-class.html) captionBackColor, [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) underline = SmeupDatePickerModel.defaultUnderline, [Alignment](https://api.flutter.dev/flutter/painting/Alignment-class.html) align = SmeupDatePickerModel.defaultAlign, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) label = SmeupDatePickerModel.defaultLabel, [double](https://api.flutter.dev/flutter/dart-core/double-class.html) width = SmeupDatePickerModel.defaultWidth, [double](https://api.flutter.dev/flutter/dart-core/double-class.html) height = SmeupDatePickerModel.defaultHeight, [EdgeInsetsGeometry](https://api.flutter.dev/flutter/painting/EdgeInsetsGeometry-class.html) padding = SmeupDatePickerModel.defaultPadding, [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) showborder = SmeupDatePickerModel.defaultShowBorder})

    


## Properties

##### [align](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/align.md) &#8594; [Alignment](https://api.flutter.dev/flutter/painting/Alignment-class.html)



   
_final_



##### [backColor](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/backColor.md) &#8596; [Color](https://api.flutter.dev/flutter/dart-ui/Color-class.html)



   
_read / write_



##### [borderColor](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/borderColor.md) &#8596; [Color](https://api.flutter.dev/flutter/dart-ui/Color-class.html)



   
_read / write_



##### [borderRadius](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/borderRadius.md) &#8596; [double](https://api.flutter.dev/flutter/dart-core/double-class.html)



   
_read / write_



##### [borderWidth](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/borderWidth.md) &#8596; [double](https://api.flutter.dev/flutter/dart-core/double-class.html)



   
_read / write_



##### [buttonStyle](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/buttonStyle.md) &#8594; [ButtonStyle](https://api.flutter.dev/flutter/material/ButtonStyle-class.html)



   
_final_



##### [captionBackColor](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/captionBackColor.md) &#8596; [Color](https://api.flutter.dev/flutter/dart-ui/Color-class.html)



   
_read / write_



##### [captionFontBold](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/captionFontBold.md) &#8596; [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)



   
_read / write_



##### [captionFontColor](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/captionFontColor.md) &#8596; [Color](https://api.flutter.dev/flutter/dart-ui/Color-class.html)



   
_read / write_



##### [captionFontSize](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/captionFontSize.md) &#8596; [double](https://api.flutter.dev/flutter/dart-core/double-class.html)



   
_read / write_



##### [display](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/display.md) &#8594; [String](https://api.flutter.dev/flutter/dart-core/String-class.html)



   
_final_



##### [elevation](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/elevation.md) &#8596; [double](https://api.flutter.dev/flutter/dart-core/double-class.html)



   
_read / write_



##### [fontBold](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/fontBold.md) &#8596; [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)



   
_read / write_



##### [fontColor](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/fontColor.md) &#8596; [Color](https://api.flutter.dev/flutter/dart-ui/Color-class.html)



   
_read / write_



##### [fontSize](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/fontSize.md) &#8596; [double](https://api.flutter.dev/flutter/dart-core/double-class.html)



   
_read / write_



##### [formKey](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/formKey.md) &#8594; [GlobalKey](https://api.flutter.dev/flutter/widgets/GlobalKey-class.html)&lt;[FormState](https://api.flutter.dev/flutter/widgets/FormState-class.html)>



   
_final_



##### [hashCode](https://api.flutter.dev/flutter/widgets/Widget/hashCode.html) &#8594; [int](https://api.flutter.dev/flutter/dart-core/int-class.html)



The hash code for this object. [...](https://api.flutter.dev/flutter/widgets/Widget/hashCode.html)  
_@[nonVirtual](https://pub.dev/documentation/meta/1.7.0/meta/nonVirtual-constant.html), read-only, inherited_



##### [height](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/height.md) &#8594; [double](https://api.flutter.dev/flutter/dart-core/double-class.html)



   
_final_



##### [id](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/id.md) &#8594; [String](https://api.flutter.dev/flutter/dart-core/String-class.html)



   
_final_



##### [key](https://api.flutter.dev/flutter/widgets/Widget/key.html) &#8594; [Key](https://api.flutter.dev/flutter/foundation/Key-class.html)



Controls how one widget replaces another widget in the tree. [...](https://api.flutter.dev/flutter/widgets/Widget/key.html)  
_final, inherited_



##### [label](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/label.md) &#8594; [String](https://api.flutter.dev/flutter/dart-core/String-class.html)



   
_final_



##### [padding](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/padding.md) &#8594; [EdgeInsetsGeometry](https://api.flutter.dev/flutter/painting/EdgeInsetsGeometry-class.html)



   
_final_



##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) &#8594; [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html)



A representation of the runtime type of the object.   
_read-only, inherited_



##### [scaffoldKey](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/scaffoldKey.md) &#8594; [GlobalKey](https://api.flutter.dev/flutter/widgets/GlobalKey-class.html)&lt;[ScaffoldState](https://api.flutter.dev/flutter/material/ScaffoldState-class.html)>



   
_final_



##### [showborder](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/showborder.md) &#8594; [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)



   
_final_



##### [textStyle](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/textStyle.md) &#8594; [TextStyle](https://api.flutter.dev/flutter/painting/TextStyle-class.html)



   
_final_



##### [underline](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/underline.md) &#8596; [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)



   
_read / write_



##### [value](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/value.md) &#8594; [DateTime](https://api.flutter.dev/flutter/dart-core/DateTime-class.html)



   
_final_



##### [width](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/width.md) &#8594; [double](https://api.flutter.dev/flutter/dart-core/double-class.html)



   
_final_




## Methods

##### [createElement](https://api.flutter.dev/flutter/widgets/StatefulWidget/createElement.html)() [StatefulElement](https://api.flutter.dev/flutter/widgets/StatefulElement-class.html)



Creates a <a href="https://api.flutter.dev/flutter/widgets/StatefulElement-class.html">StatefulElement</a> to manage this widget's location in the tree. [...](https://api.flutter.dev/flutter/widgets/StatefulWidget/createElement.html)  
_inherited_



##### [createState](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/createState.md)() _SmeupDatePickerButtonState



Creates the mutable state for this widget at a given location in the tree. [...](../smeup_widgets_smeup_datepicker_button/SmeupDatePickerButton/createState.md)  
_override_



##### [debugDescribeChildren](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/debugDescribeChildren.html)() [List](https://api.flutter.dev/flutter/dart-core/List-class.html)&lt;[DiagnosticsNode](https://api.flutter.dev/flutter/foundation/DiagnosticsNode-class.html)>



Returns a list of <code>DiagnosticsNode</code> objects describing this node's
children. [...](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/debugDescribeChildren.html)  
_@[protected](https://pub.dev/documentation/meta/1.7.0/meta/protected-constant.html), inherited_



##### [debugFillProperties](https://api.flutter.dev/flutter/widgets/Widget/debugFillProperties.html)([DiagnosticPropertiesBuilder](https://api.flutter.dev/flutter/foundation/DiagnosticPropertiesBuilder-class.html) properties) void



Add additional properties associated with the node. [...](https://api.flutter.dev/flutter/widgets/Widget/debugFillProperties.html)  
_inherited_



##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic



Invoked when a non-existent method or property is accessed. [...](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)  
_inherited_



##### [toDiagnosticsNode](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toDiagnosticsNode.html)({[String](https://api.flutter.dev/flutter/dart-core/String-class.html) name, [DiagnosticsTreeStyle](https://api.flutter.dev/flutter/foundation/DiagnosticsTreeStyle.html) style}) [DiagnosticsNode](https://api.flutter.dev/flutter/foundation/DiagnosticsNode-class.html)



Returns a debug representation of the object that is used by debugging
tools and by <a href="https://api.flutter.dev/flutter/foundation/DiagnosticsNode/toStringDeep.html">DiagnosticsNode.toStringDeep</a>. [...](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toDiagnosticsNode.html)  
_inherited_



##### [toString](https://api.flutter.dev/flutter/foundation/Diagnosticable/toString.html)({[DiagnosticLevel](https://api.flutter.dev/flutter/foundation/DiagnosticLevel.html) minLevel = DiagnosticLevel.info}) [String](https://api.flutter.dev/flutter/dart-core/String-class.html)



A string representation of this object. [...](https://api.flutter.dev/flutter/foundation/Diagnosticable/toString.html)  
_inherited_



##### [toStringDeep](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringDeep.html)({[String](https://api.flutter.dev/flutter/dart-core/String-class.html) prefixLineOne = '', [String](https://api.flutter.dev/flutter/dart-core/String-class.html) prefixOtherLines, [DiagnosticLevel](https://api.flutter.dev/flutter/foundation/DiagnosticLevel.html) minLevel = DiagnosticLevel.debug}) [String](https://api.flutter.dev/flutter/dart-core/String-class.html)



Returns a string representation of this node and its descendants. [...](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringDeep.html)  
_inherited_



##### [toStringShallow](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringShallow.html)({[String](https://api.flutter.dev/flutter/dart-core/String-class.html) joiner = ', ', [DiagnosticLevel](https://api.flutter.dev/flutter/foundation/DiagnosticLevel.html) minLevel = DiagnosticLevel.debug}) [String](https://api.flutter.dev/flutter/dart-core/String-class.html)



Returns a one-line detailed description of the object. [...](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringShallow.html)  
_inherited_



##### [toStringShort](https://api.flutter.dev/flutter/widgets/Widget/toStringShort.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html)



A short, textual description of this widget.   
_inherited_




## Operators

##### [operator ==](https://api.flutter.dev/flutter/widgets/Widget/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)



The equality operator. [...](https://api.flutter.dev/flutter/widgets/Widget/operator_equals.html)  
_@[nonVirtual](https://pub.dev/documentation/meta/1.7.0/meta/nonVirtual-constant.html), inherited_











