搜索插件、代码仓与 APP 分类

brightness_pro 封面
插件详情v0.0.5

brightness_pro

该包允许您使用拖动和滑块功能来调整屏幕亮度。

AndroidiOSmacOSWindows
近 30 天下载
86
喜欢数
5
Pub 分数
150

安装插件

flutter pub add brightness_pro

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

Brightness_Pro 是一个 Flutter 包,允许用户通过直观的拖动和滑块界面调整屏幕亮度。它支持 Android、iOS、macOS 和 Windows,非常适合需要亮度控制的跨平台应用程序。该包提供了一个简单的 API,可编程地设置亮度级别,从而在媒体播放器、阅读工具或深色模式实用程序等应用中提升用户体验。它可无缝集成到现有的 Flutter 项目中。

适合场景

  • 调整媒体应用中的屏幕亮度
  • 增强阅读应用中的可读性
  • 使用动态亮度实现深色模式
  • 创建可访问性功能
  • 自定义生产力应用程序中的显示设置

主要特点

  • 基于拖动的亮度调节
  • 用于精确控制的滑块界面
  • 跨平台支持(Android、iOS、macOS、Windows)
  • 设置亮度级别的简单 API
  • 实时亮度更新

适合对象

  • 开发媒体或阅读类应用的开发者
  • 专注于可访问性的应用程序创建者
  • 跨平台应用开发者
  • 需要动态显示自定义的应用

使用建议

  • 在某些平台上需要适当的系统权限
  • 行为可能在不同操作系统之间略有差异
  • 不适用于非显示相关的用例
  • 仅限亮度控制
  • 可能需要额外处理以支持后台执行

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

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!

所属分类

依赖

依赖清单 1 项

源码仓库

使用此插件的项目

暂无相关数据。