UnknownWidget constructor

UnknownWidget({
  1. String? name,
  2. Color iconColor = WidgetStyleConstants.deviceDetailIconColorActive,
  3. Color textColor = WidgetStyleConstants.darkTextColor,
  4. double iconSize = 100.0,
  5. Key? key,
})

Implementation

UnknownWidget(
    {String? name,
    Color iconColor = WidgetStyleConstants.deviceDetailIconColorActive,
    Color textColor = WidgetStyleConstants.darkTextColor,
    double iconSize = 100.0,
    Key? key})
    : super(key: key) {
  this._iconColor = iconColor;
  this._textColor = textColor;
  this._iconSize = iconSize;
  this._name = name ?? 'UNKNOWN';
}