Search packages, repositories and app categories

brightness_pro cover
Package detailsv0.0.5

brightness_pro

This package allows you to adjust the screen brightness using drag and slider functionalities.

AndroidiOSmacOSWindows
30-day downloads
86
Likes
5
Pub points
150

Install package

flutter pub add brightness_pro

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Brightness_Pro is a Flutter package that enables users to adjust screen brightness through intuitive drag and slider interfaces. It supports Android, iOS, macOS, and Windows, making it ideal for cross-platform applications requiring brightness control. The package provides a simple API to programmatically set brightness levels, enhancing user experience in apps like media players, reading tools, or dark mode utilities. It integrates seamlessly with existing Flutter projects.

Use cases

  • Adjusting screen brightness in media apps
  • Enhancing readability in reading applications
  • Implementing dark mode with dynamic brightness
  • Creating accessibility features
  • Customizing display settings in productivity apps

Key features

  • Drag-based brightness adjustment
  • Slider interface for precise control
  • Cross-platform support (Android, iOS, macOS, Windows)
  • Simple API for setting brightness levels
  • Real-time brightness updates

Suitable for

  • Developers building media or reading apps
  • Accessibility-focused application creators
  • Cross-platform app developers
  • Apps needing dynamic display customization

Considerations

  • Requires appropriate system permissions on some platforms
  • Behavior may vary slightly across different operating systems
  • Not suitable for non-display-related use cases
  • Limited to brightness control only
  • May require additional handling for background execution

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

This package allows you to adjust the screen brightness using drag and slider functionalities. It provides precise control over the screen brightness, allowing you to tailor it to your specific needs and preferences. With this package, you can set the screen brightness to a maximum of 100 units. This capability enables you to finely adjust the screen brightness and make the most of it according to your requirements

Features

XRecorder_Edited_21112023_164921

XRecorder_21112023_170151

Getting started

dependencies:
  brightness_pro: ^0.0.5

How to use


import 'package:brightness_pro/brightness_pro_slider.dart';

example

BrightnessProSlider()
BrightnessProSlider(display: Display.horizantal),                          
BrightnessProSlider.brightnessProDragDirection()
BrightnessProSlider.brightnessProSlideBottom(),

Additional information

If you have any issues, questions, or suggestions related to this package, please feel free to contact us at [swan.dev1993@gmail.com](mailto:swan.dev1993@gmail.com). We welcome your feedback and will do our best to address any problems or provide assistance.

For more information about this package, you can also visit our GitHub repository where you can find additional resources, contribute to the package's development, and file issues or bug reports. We appreciate your contributions and feedback, and we aim to make this package as useful as possible for our users.

Thank you for using our package, and we look forward to hearing from you!

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package

No data available yet.