Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

codifyiq_brightness_button

pub package

A simple wrapper around AdaptiveTheme to toggle between Light, Dark, and System brightness modes. Drop it into an AppBar or settings screen.

Installation

dependencies:
  codifyiq_brightness_button: ^1.0.0

Usage

import 'package:codifyiq_brightness_button/codifyiq_brightness_button.dart';

AppBar(actions: const [BrightnessButton()]);

Your app must be wrapped in AdaptiveTheme (see the adaptive_theme setup) for the toggle to take effect.


Part of the CodifyIQ component family · pub.dev/publishers/codifyiq.com