LockWidget constructor

LockWidget(
  1. LockProvider _lockProvider, {
  2. Color iconColor = WidgetStyleConstants.deviceDetailIconColorActive,
  3. Color textColor = WidgetStyleConstants.darkTextColor,
  4. Color warningTextColor = WidgetStyleConstants.globalWarningColor,
  5. double iconSize = 100,
  6. Key? key,
})

Implementation

LockWidget(this._lockProvider,
    {Color iconColor = WidgetStyleConstants.deviceDetailIconColorActive,
    Color textColor = WidgetStyleConstants.darkTextColor,
    Color warningTextColor = WidgetStyleConstants.globalWarningColor,
    double iconSize = 100,
    Key? key})
    : super(key: key) {
  this._iconColor = iconColor;
  this._textColor = textColor;
  this._warningTextColor = warningTextColor;
  this._iconSize = iconSize;
}