BrightnessSlimWidget constructor
BrightnessSlimWidget(
- BrightnessProvider _brightnessProvider, {
- Color iconColor = WidgetStyleConstants.deviceDetailIconColorActive,
- Key? key,
- Color backgroundColor = Colors.white70,
Implementation
BrightnessSlimWidget(this._brightnessProvider,
{Color iconColor = WidgetStyleConstants.deviceDetailIconColorActive,
Key? key,
Color backgroundColor = Colors.white70})
: super(key: key) {
_iconColor = iconColor;
_backgroundColor = backgroundColor;
}