


# SmeupTimePickerButton constructor







SmeupTimePickerButton([SmeupTimePickerData](../../smeup_widgets_smeup_timepicker/SmeupTimePickerData-class.md) data, [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, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) id = '', [Color](https://api.flutter.dev/flutter/dart-ui/Color-class.html) backColor, [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) 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) 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 = SmeupTimePickerModel.defaultUnderline, [Alignment](https://api.flutter.dev/flutter/painting/Alignment-class.html) align = SmeupTimePickerModel.defaultAlign, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) label = SmeupTimePickerModel.defaultLabel, [double](https://api.flutter.dev/flutter/dart-core/double-class.html) width = SmeupTimePickerModel.defaultWidth, [double](https://api.flutter.dev/flutter/dart-core/double-class.html) height = SmeupTimePickerModel.defaultHeight, [EdgeInsetsGeometry](https://api.flutter.dev/flutter/painting/EdgeInsetsGeometry-class.html) padding = SmeupTimePickerModel.defaultPadding, [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) showborder = SmeupTimePickerModel.defaultShowBorder, [List](https://api.flutter.dev/flutter/dart-core/List-class.html)&lt;[String](https://api.flutter.dev/flutter/dart-core/String-class.html)> minutesList, [Function](https://api.flutter.dev/flutter/dart-core/Function-class.html) clientOnChange})





## Implementation

```dart
SmeupTimePickerButton(
  this.data,
  this.buttonStyle,
  this.textStyle, {
  this.scaffoldKey,
  this.formKey,
  this.id = '',
  this.backColor,
  this.fontSize,
  this.fontColor,
  this.borderColor,
  this.borderWidth,
  this.borderRadius,
  this.fontBold,
  this.elevation,
  this.captionFontBold,
  this.captionFontSize,
  this.captionFontColor,
  this.captionBackColor,
  this.underline = SmeupTimePickerModel.defaultUnderline,
  this.align = SmeupTimePickerModel.defaultAlign,
  this.label = SmeupTimePickerModel.defaultLabel,
  this.width = SmeupTimePickerModel.defaultWidth,
  this.height = SmeupTimePickerModel.defaultHeight,
  this.padding = SmeupTimePickerModel.defaultPadding,
  this.showborder = SmeupTimePickerModel.defaultShowBorder,
  this.minutesList,
  this.clientOnChange,
}) {
  SmeupTimePickerModel.setDefaults(this);
}
```







