brightnessProDragDirection static method

Widget brightnessProDragDirection({
  1. double width = 50,
  2. double height = 250,
  3. double? textFontSize,
  4. Color? textColor,
  5. Color? iconColor,
  6. IconData? brightnessIcon,
})

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,
  );
}