BrightnessWidget constructor

BrightnessWidget(
  1. BrightnessProvider _brightnessProvider, {
  2. Color iconColor = WidgetStyleConstants.deviceDetailIconColorActive,
  3. Color textColor = WidgetStyleConstants.darkTextColor,
  4. double iconSize = 100,
  5. Key? key,
})

Implementation

BrightnessWidget(this._brightnessProvider,
    {Color iconColor = WidgetStyleConstants.deviceDetailIconColorActive,
    Color textColor = WidgetStyleConstants.darkTextColor,
    double iconSize = 100,
    Key? key})
    : super(key: key) {
  this._iconColor = iconColor;
  this._textColor = textColor;
  this._iconSize = iconSize;
}