PowerWidget constructor

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

Implementation

PowerWidget(this._powerTraitProvider,
    {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;
}