brightnessProDragDirection static method
Implementation
static Widget brightnessProDragDirection({
/// [width] : The width of the widget. Defaults to 50.
final double width = 50,
/// [height] : The height of the widget. Defaults to 250.
final double height = 250,
/// [textFontSize]: The font size of the text.
final double? textFontSize,
/// [textColor]: The color of the text. Defaults to white.
final Color? textColor,
/// [iconColor]: The color of the icon.
final Color? iconColor,
/// [brightnessIcon]: The icon to use for the brightness control. Defaults to CupertinoIcons.brightness_solid.
final IconData? brightnessIcon,
}) {
return BrightnessProDragDirection(
width: width,
height: height,
textFontSize: textFontSize,
textColor: textColor,
iconColor: iconColor,
brightnessIcon: brightnessIcon,
);
}